[PATCH 34/35] qemu: Allow <transient> disks with images shared accross VMs
jtomko at jtomko.net
Mon May 24 12:48:56 UTC 2021
On a Friday in 2021, Peter Krempa wrote:
>Implement this behaviour by skipping the disks on traditional
>commandline and hotplug them before resuming CPUs. That allows to use
>the support for hotplugging of transient disks which inherently allows
>sharing of the backing image as we open it read-only.
>This commit implements the validation code to allow it only with buses
>supporting hotplug and the hotplug code while starting up the VM.
>When we have such disk we need to issue a system-reset so that firmware
>tables are regenerated to allow booting from such device.
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> src/qemu/qemu_command.c | 6 ++++++
> src/qemu/qemu_process.c | 45 +++++++++++++++++++++++++++++++++++++++-
> src/qemu/qemu_validate.c | 24 +++++++++++++++++++++
> 3 files changed, 74 insertions(+), 1 deletion(-)
Reviewed-by: Ján Tomko <jtomko at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 488 bytes
Desc: not available
More information about the libvir-list