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
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