OSDN Git Service

qdev: expose DeviceState.hotplugged field as a property
authorIgor Mammedov <imammedo@redhat.com>
Mon, 2 Jun 2014 13:25:04 +0000 (15:25 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 19 Jun 2014 13:41:47 +0000 (16:41 +0300)
commitd012ffc189197962c8ac179611396f6af92c1860
tree0f76f5bdb3dab18559a1e4e83072347193d7c3e7
parentb74545481187945965cf9f4df70b71d2f6cded4a
qdev: expose DeviceState.hotplugged field as a property

so that management could detect via QOM interface if device was
hotplugged

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/core/qdev.c