Paolo Bonzini <pbonz...@redhat.com> writes: > On 02/17/2012 10:53 AM, Kevin Wolf wrote: >> > Note: device models call bdrv_eject() whether the state changed or not. >> > The only use for that I can see is syncing a wayward physical tray to >> > the virtual one. Shouldn't be necessary with Paolo's recent work, >> > should it? >> >> The one case that I'm unsure about is migration. I thought we sync the >> physical tray with the virtual one then (or at least we discussed it), >> but I don't really know what we do today, or even what the right thing >> to do is in some cases. > > Migration with passthrough doesn't make sense. The only way it could > work (untested) is if the destination connected via iSCSI to the > source's CD-ROM. In which case the physical and virtual tray would be > synced already.
Maybe we should prevent migration with CD-ROM pass-through just like we do for PCI pass-through.