Re: [libvirt] [PATCH 2/2] qemu: Call virDomainDefCompatibleDevice when live add cdrom/floppy

2018-03-05 Thread Jiri Denemark
On Thu, Mar 01, 2018 at 08:03:39 -0500, John Ferlan wrote: > Prior to calling qemuDomainChangeEjectableMedia when adding > the cdrom/floppy to the guest, make a second pass at the > virDomainDefCompatibleDevice with the old_disk that's being > updated by the call. > > This is similar to the qemuDo

[libvirt] [PATCH 2/2] qemu: Call virDomainDefCompatibleDevice when live add cdrom/floppy

2018-03-01 Thread John Ferlan
Prior to calling qemuDomainChangeEjectableMedia when adding the cdrom/floppy to the guest, make a second pass at the virDomainDefCompatibleDevice with the old_disk that's being updated by the call. This is similar to the qemuDomainChangeDiskLive path from qemuDomainUpdateDeviceLive prior to making