Re: [Qemu-devel] [PATCH 08/10] qdev: rename qdev_unplug to qdev_unplug_req

2012-08-24 Thread Paolo Bonzini
Il 24/08/2012 11:49, Liu Ping Fan ha scritto: > From: Liu Ping Fan > > Unplug divides into two steps: request and complete > The name "req" show more clearly about its meaning But not enough. Let's make it "qdev_request_unplug", and change the method name in the DeviceClass too. > and as to th

[Qemu-devel] [PATCH 08/10] qdev: rename qdev_unplug to qdev_unplug_req

2012-08-24 Thread Liu Ping Fan
From: Liu Ping Fan Unplug divides into two steps: request and complete The name "req" show more clearly about its meaning and as to the complete, it is qdev_delete_subtree() Also adding ret to indicate the request can be eject or not Signed-off-by: Liu Ping Fan --- hw/pci-hotplug.c |4