Re: [Qemu-devel] [PATCH 9/9] hotplug: refactor hotplug to leverage new QOM functions

2012-08-27 Thread liu ping fan
On Sun, Aug 26, 2012 at 11:51 PM, Anthony Liguori wrote: > 1) DeviceState::unplug requests for an eject to happen >- the default implementation is a forced eject > > 2) A bus can eject a device by setting the parent_bus to NULL >- this detaches the device from the bus >- this does *not

[Qemu-devel] [PATCH 9/9] hotplug: refactor hotplug to leverage new QOM functions

2012-08-26 Thread Anthony Liguori
1) DeviceState::unplug requests for an eject to happen - the default implementation is a forced eject 2) A bus can eject a device by setting the parent_bus to NULL - this detaches the device from the bus - this does *not* cause the device to disappear 3) The current implementation on unp