[PATCH 00/35] qemu: Implement support for transient disk hotplug and backing store sharing

Pavel Hrdina phrdina at redhat.com
Mon May 24 15:13:04 UTC 2021


On Fri, May 21, 2021 at 02:47:00PM +0200, Peter Krempa wrote:
> This series refactors the qemu disk hotplug code so that it can be
> easily extended for hotplug of transient disks and then also used at
> startup to plug in disks where the users want to share the backing
> image.
> 
> Masayoshi Mizuma (1):
>   qemu_snapshot: Add the guest name to the transient disk path
> 
> Peter Krempa (34):
>   qemu: snapshot: Extract setup of snapshot disk definition for
>     transient disks
>   qemu: process: Setup transient disks only when starting a fresh VM
>   qemuSnapshotDiskPrepareOne: Pass in qemuSnapshotDiskContext
>   qemuSnapshotDiskContext: Store virQEMUDriverConfig in the struct
>   qemuSnapshotDiskPrepareOne: Use data from qemuSnapshotDiskContext
>   qemuSnapshotDiskCreate: Use 'cfg' from the qemuSnapshotDiskContext
>   qemu: snapshot: move transient snapshot code to qemu_process
>   qemu: Move 'bootindex' handling for disks out of command line
>     formatter
>   qemu: Move bootindex usage logic into qemuBuildDiskDeviceStr
>   qemuxml2argvtest: Remove pointless tests for keywrapping on s390
>   qemu: Move iothread and s390 address validation for disk devices into
>     the validator
>   Replace virDomainDiskInsertPreAlloced by virDomainDiskInsert
>   conf: remove virDomainDiskInsertPreAlloced
>   qemuBlockStorageSourceChainData: Add handling of 'copy-on-read' filter
>     layer
>   qemuDomainAttachDiskGeneric: Move 'copy-on-read' handling to
>     qemuBlockStorageSourceChainData
>   qemuDomainRemoveDiskDevice: Move 'copy-on-read' handling to
>     qemuBlockStorageSourceChainData
>   qemuDomainAttachDeviceDiskLiveInternal: Absorb
>     qemuDomainAttachUSBMassStorageDevice
>   qemuDomainAttachDeviceDiskLiveInternal: Absorb
>     qemuDomainAttachVirtioDiskDevice
>   qemuDomainAttachDeviceDiskLiveInternal: Absorb
>     qemuDomainAttachSCSIDisk
>   qemuDomainAttachDeviceDiskLiveInternal: Simplify call to
>     qemuDomainAttachDiskGeneric
>   qemuDomainAttachDiskGeneric: Move setup of disk into
>     qemuDomainAttachDeviceDiskLiveInternal
>   qemu: hotplug: Move post-insertion steps of disk hotplug to
>     qemuDomainAttachDeviceDiskLiveInternal
>   qemuDomainAttachDiskGeneric: Fix whitespace
>   qemuDomainAttachDiskGeneric: Refactor cleanup
>   qemuDomainAttachDiskGeneric: Move PR helper attach into
>     qemuDomainAttachDeviceDiskLiveInternal
>   qemuDomainAttachDiskGeneric: Refactor rollback handling
>   qemuDomainAttachDiskGeneric: Split up frontend and backend attachment
>   qemu: Track creation of <transient> disk overlay individually
>   qemuDomainAttachDiskGeneric: Implement hotplug of <transient> disk
>   qemuDomainAttachDiskGeneric: Pass the qemu async job type
>   qemuDomainAttachDiskGeneric: Export
>   conf: Introduce 'shareBacking' for <transient> disks
>   qemu: Allow <transient> disks with images shared accross VMs
>   tests: Add qemuxml2argv and qemuxml2xml test for <transient
>     shareBacking='yes'>

With the issues fixed

Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20210524/bc5725c4/attachment-0001.sig>


More information about the libvir-list mailing list