mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-12 07:42:56 +00:00
conf: Allow copying of shmem defs
This way we'll be able to hotplug with both --live and --config in one API call. Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
parent
9f8be11d5d
commit
921ec15fdb
@ -25019,11 +25019,14 @@ virDomainDeviceDefCopy(virDomainDeviceDefPtr src,
|
||||
case VIR_DOMAIN_DEVICE_MEMORY:
|
||||
rc = virDomainMemoryDefFormat(&buf, src->data.memory, flags);
|
||||
break;
|
||||
case VIR_DOMAIN_DEVICE_SHMEM:
|
||||
rc = virDomainShmemDefFormat(&buf, src->data.shmem, flags);
|
||||
break;
|
||||
|
||||
case VIR_DOMAIN_DEVICE_NONE:
|
||||
case VIR_DOMAIN_DEVICE_SMARTCARD:
|
||||
case VIR_DOMAIN_DEVICE_MEMBALLOON:
|
||||
case VIR_DOMAIN_DEVICE_NVRAM:
|
||||
case VIR_DOMAIN_DEVICE_SHMEM:
|
||||
case VIR_DOMAIN_DEVICE_IOMMU:
|
||||
case VIR_DOMAIN_DEVICE_LAST:
|
||||
virReportError(VIR_ERR_INTERNAL_ERROR,
|
||||
|
Loading…
x
Reference in New Issue
Block a user