mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
qemu_hotplug.h: Reformat according to new coding style
Fix the mixed style by unifying the formatting. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
712c39f987
commit
7087d8b46f
@ -24,52 +24,62 @@
|
|||||||
#include "qemu_conf.h"
|
#include "qemu_conf.h"
|
||||||
#include "qemu_domain.h"
|
#include "qemu_domain.h"
|
||||||
|
|
||||||
void qemuDomainDelTLSObjects(virDomainObj *vm,
|
void
|
||||||
virDomainAsyncJob asyncJob,
|
qemuDomainDelTLSObjects(virDomainObj *vm,
|
||||||
const char *secAlias,
|
virDomainAsyncJob asyncJob,
|
||||||
const char *tlsAlias);
|
const char *secAlias,
|
||||||
|
const char *tlsAlias);
|
||||||
|
|
||||||
int qemuDomainAddTLSObjects(virDomainObj *vm,
|
int
|
||||||
virDomainAsyncJob asyncJob,
|
qemuDomainAddTLSObjects(virDomainObj *vm,
|
||||||
virJSONValue **secProps,
|
virDomainAsyncJob asyncJob,
|
||||||
virJSONValue **tlsProps);
|
virJSONValue **secProps,
|
||||||
|
virJSONValue **tlsProps);
|
||||||
|
|
||||||
int qemuDomainGetTLSObjects(qemuDomainSecretInfo *secinfo,
|
int
|
||||||
const char *tlsCertdir,
|
qemuDomainGetTLSObjects(qemuDomainSecretInfo *secinfo,
|
||||||
bool tlsListen,
|
const char *tlsCertdir,
|
||||||
bool tlsVerify,
|
bool tlsListen,
|
||||||
const char *alias,
|
bool tlsVerify,
|
||||||
virJSONValue **tlsProps,
|
const char *alias,
|
||||||
virJSONValue **secProps);
|
virJSONValue **tlsProps,
|
||||||
|
virJSONValue **secProps);
|
||||||
|
|
||||||
int qemuDomainAttachDiskGeneric(virDomainObj *vm,
|
int
|
||||||
virDomainDiskDef *disk,
|
qemuDomainAttachDiskGeneric(virDomainObj *vm,
|
||||||
virDomainAsyncJob asyncJob);
|
virDomainDiskDef *disk,
|
||||||
|
virDomainAsyncJob asyncJob);
|
||||||
|
|
||||||
int qemuDomainFindGraphicsIndex(virDomainDef *def,
|
int
|
||||||
virDomainGraphicsDef *dev);
|
qemuDomainFindGraphicsIndex(virDomainDef *def,
|
||||||
int qemuDomainChangeGraphicsPasswords(virDomainObj *vm,
|
virDomainGraphicsDef *dev);
|
||||||
int type,
|
int
|
||||||
virDomainGraphicsAuthDef *auth,
|
qemuDomainChangeGraphicsPasswords(virDomainObj *vm,
|
||||||
const char *defaultPasswd,
|
int type,
|
||||||
int asyncJob);
|
virDomainGraphicsAuthDef *auth,
|
||||||
|
const char *defaultPasswd,
|
||||||
|
int asyncJob);
|
||||||
|
|
||||||
int qemuDomainAttachDeviceLive(virDomainObj *vm,
|
int
|
||||||
virDomainDeviceDef *dev,
|
qemuDomainAttachDeviceLive(virDomainObj *vm,
|
||||||
virQEMUDriver *driver);
|
virDomainDeviceDef *dev,
|
||||||
|
virQEMUDriver *driver);
|
||||||
|
|
||||||
int qemuDomainDetachDeviceLive(virDomainObj *vm,
|
int
|
||||||
virDomainDeviceDef *match,
|
qemuDomainDetachDeviceLive(virDomainObj *vm,
|
||||||
virQEMUDriver *driver,
|
virDomainDeviceDef *match,
|
||||||
bool async);
|
virQEMUDriver *driver,
|
||||||
|
bool async);
|
||||||
|
|
||||||
int qemuDomainUpdateDeviceLive(virDomainObj *vm,
|
int
|
||||||
virDomainDeviceDef *dev,
|
qemuDomainUpdateDeviceLive(virDomainObj *vm,
|
||||||
virQEMUDriver *driver,
|
virDomainDeviceDef *dev,
|
||||||
bool force);
|
virQEMUDriver *driver,
|
||||||
|
bool force);
|
||||||
|
|
||||||
void qemuDomainRemoveVcpuAlias(virDomainObj *vm,
|
void
|
||||||
const char *alias);
|
qemuDomainRemoveVcpuAlias(virDomainObj *vm,
|
||||||
|
const char *alias);
|
||||||
|
|
||||||
int
|
int
|
||||||
qemuDomainChrInsert(virDomainDef *vmdef,
|
qemuDomainChrInsert(virDomainDef *vmdef,
|
||||||
@ -78,33 +88,40 @@ virDomainChrDef *
|
|||||||
qemuDomainChrRemove(virDomainDef *vmdef,
|
qemuDomainChrRemove(virDomainDef *vmdef,
|
||||||
virDomainChrDef *chr);
|
virDomainChrDef *chr);
|
||||||
|
|
||||||
int qemuDomainRemoveDevice(virQEMUDriver *driver,
|
int
|
||||||
|
qemuDomainRemoveDevice(virQEMUDriver *driver,
|
||||||
|
virDomainObj *vm,
|
||||||
|
virDomainDeviceDef *dev);
|
||||||
|
|
||||||
|
bool
|
||||||
|
qemuDomainSignalDeviceRemoval(virDomainObj *vm,
|
||||||
|
const char *devAlias,
|
||||||
|
qemuDomainUnpluggingDeviceStatus status);
|
||||||
|
|
||||||
|
int
|
||||||
|
qemuDomainSetVcpusInternal(virQEMUDriver *driver,
|
||||||
virDomainObj *vm,
|
virDomainObj *vm,
|
||||||
virDomainDeviceDef *dev);
|
virDomainDef *def,
|
||||||
|
virDomainDef *persistentDef,
|
||||||
|
unsigned int nvcpus,
|
||||||
|
bool hotpluggable);
|
||||||
|
|
||||||
bool qemuDomainSignalDeviceRemoval(virDomainObj *vm,
|
int
|
||||||
const char *devAlias,
|
qemuDomainSetVcpuInternal(virQEMUDriver *driver,
|
||||||
qemuDomainUnpluggingDeviceStatus status);
|
virDomainObj *vm,
|
||||||
|
virDomainDef *def,
|
||||||
|
virDomainDef *persistentDef,
|
||||||
|
virBitmap *vcpus,
|
||||||
|
bool state);
|
||||||
|
|
||||||
int qemuDomainSetVcpusInternal(virQEMUDriver *driver,
|
unsigned long long
|
||||||
virDomainObj *vm,
|
qemuDomainGetUnplugTimeout(virDomainObj *vm) G_NO_INLINE;
|
||||||
virDomainDef *def,
|
|
||||||
virDomainDef *persistentDef,
|
|
||||||
unsigned int nvcpus,
|
|
||||||
bool hotpluggable);
|
|
||||||
|
|
||||||
int qemuDomainSetVcpuInternal(virQEMUDriver *driver,
|
int
|
||||||
virDomainObj *vm,
|
qemuHotplugAttachDBusVMState(virQEMUDriver *driver,
|
||||||
virDomainDef *def,
|
virDomainObj *vm,
|
||||||
virDomainDef *persistentDef,
|
virDomainAsyncJob asyncJob);
|
||||||
virBitmap *vcpus,
|
|
||||||
bool state);
|
|
||||||
|
|
||||||
unsigned long long qemuDomainGetUnplugTimeout(virDomainObj *vm) G_NO_INLINE;
|
int
|
||||||
|
qemuHotplugRemoveDBusVMState(virDomainObj *vm,
|
||||||
int qemuHotplugAttachDBusVMState(virQEMUDriver *driver,
|
virDomainAsyncJob asyncJob);
|
||||||
virDomainObj *vm,
|
|
||||||
virDomainAsyncJob asyncJob);
|
|
||||||
|
|
||||||
int qemuHotplugRemoveDBusVMState(virDomainObj *vm,
|
|
||||||
virDomainAsyncJob asyncJob);
|
|
||||||
|
Loading…
Reference in New Issue
Block a user