To start multiple KVM guests from one qcow2 image with transient disk option

Masayoshi Mizuma msys.mizuma at gmail.com
Mon Jan 18 00:39:48 UTC 2021


On Fri, Jan 15, 2021 at 01:49:54PM +0100, Peter Krempa wrote:
> On Thu, Jan 07, 2021 at 16:32:59 -0500, Masayoshi Mizuma wrote:
> > On Thu, Jan 07, 2021 at 09:05:42AM +0100, Peter Krempa wrote:
> > > On Tue, Jan 05, 2021 at 15:12:55 +0100, Peter Krempa wrote:
> > > > On Mon, Jan 04, 2021 at 15:30:19 -0500, Masayoshi Mizuma wrote:
> > > > > On Sat, Dec 19, 2020 at 11:30:39PM -0500, Masayoshi Mizuma wrote:
> 
> [...]
> 
> > Guest0 QMP:
> > 
> >   {"execute":"blockdev-add","arguments":{"driver":"file","filename":"/var/lib/libvirt/images/guest.TRANSIENT-Guest0","node-name":"storage2","auto-read-only":true,"discard":"unmap"}}
> > 
> > Guest1 QMP:
> > 
> >   {"execute":"blockdev-add","arguments":{"driver":"file","filename":"/var/lib/libvirt/images/guest.TRANSIENT-Guest1","node-name":"storage2","auto-read-only":true,"discard":"unmap"}}
> 
> Anyways, if you want, you can try implement this using the
> frontend-hotplug approach for 'virtio' and 'scsi' disks, but I can't
> guarantee that it will be accepted upstream in cases when the
> implementation will turn out to be too hairy.

Thanks.
I'm trying to implement this. I will submit the patches as RFC or WIP.

- Masa




More information about the libvir-list mailing list