Il 23/08/2012 00:40, Anthony Liguori ha scritto: > I don't really like the notion of a "forced eject" where we delete a > device when the guest is using it and not cooperative. I don't see the > benefit at all. > > Forcing detachment of a BlockDriverState from a device followed by EIO > being reported to the guest for all I/O ops makes sense to me. But not > forced removal of virtio-blk-pci.
PCI express even has support for detecting surprise removal early (with card presence detection pins, that break contact before others) and remove power before damaging the hardware. It's very much a real thing. You could surprise-remove an assigned card from under the feet of a non-cooperating guest, for example. Paolo