mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +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.
|
||||
* In cases when the VM crashed while adding the disk, -2 is returned. */
|
||||
static int
|
||||
int
|
||||
qemuDomainAttachDiskGeneric(virQEMUDriver *driver,
|
||||
virDomainObj *vm,
|
||||
virDomainDiskDef *disk,
|
||||
|
@ -58,6 +58,12 @@ int qemuDomainAttachControllerDevice(virQEMUDriver *driver,
|
||||
int qemuDomainAttachDeviceDiskLive(virQEMUDriver *driver,
|
||||
virDomainObj *vm,
|
||||
virDomainDeviceDef *dev);
|
||||
|
||||
int qemuDomainAttachDiskGeneric(virQEMUDriver *driver,
|
||||
virDomainObj *vm,
|
||||
virDomainDiskDef *disk,
|
||||
qemuDomainAsyncJob asyncJob);
|
||||
|
||||
int qemuDomainAttachNetDevice(virQEMUDriver *driver,
|
||||
virDomainObj *vm,
|
||||
virDomainNetDef *net);
|
||||
|
Loading…
Reference in New Issue
Block a user