mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-24 13:35:17 +00:00
qemuDomainAttachDiskGeneric: Export
Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
bd47d007a2
commit
aa6e33edcc
@ -711,7 +711,7 @@ qemuDomainAttachDiskGenericTransient(virDomainObj *vm,
|
|||||||
*
|
*
|
||||||
* Attaches disk to a VM. This function aggregates common code for all bus types.
|
* Attaches disk to a VM. This function aggregates common code for all bus types.
|
||||||
* In cases when the VM crashed while adding the disk, -2 is returned. */
|
* In cases when the VM crashed while adding the disk, -2 is returned. */
|
||||||
static int
|
int
|
||||||
qemuDomainAttachDiskGeneric(virQEMUDriver *driver,
|
qemuDomainAttachDiskGeneric(virQEMUDriver *driver,
|
||||||
virDomainObj *vm,
|
virDomainObj *vm,
|
||||||
virDomainDiskDef *disk,
|
virDomainDiskDef *disk,
|
||||||
|
@ -58,6 +58,12 @@ int qemuDomainAttachControllerDevice(virQEMUDriver *driver,
|
|||||||
int qemuDomainAttachDeviceDiskLive(virQEMUDriver *driver,
|
int qemuDomainAttachDeviceDiskLive(virQEMUDriver *driver,
|
||||||
virDomainObj *vm,
|
virDomainObj *vm,
|
||||||
virDomainDeviceDef *dev);
|
virDomainDeviceDef *dev);
|
||||||
|
|
||||||
|
int qemuDomainAttachDiskGeneric(virQEMUDriver *driver,
|
||||||
|
virDomainObj *vm,
|
||||||
|
virDomainDiskDef *disk,
|
||||||
|
qemuDomainAsyncJob asyncJob);
|
||||||
|
|
||||||
int qemuDomainAttachNetDevice(virQEMUDriver *driver,
|
int qemuDomainAttachNetDevice(virQEMUDriver *driver,
|
||||||
virDomainObj *vm,
|
virDomainObj *vm,
|
||||||
virDomainNetDef *net);
|
virDomainNetDef *net);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user