summary refs log tree commit diff stats
path: root/qemu-io-cmds.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2017-06-08 00:36:23 +1000
committerDavid Gibson <david@gibson.dropbear.id.au>2017-06-30 14:03:32 +1000
commit9c914e53702354bc681dedef2e1e6b43fc349043 (patch)
treedc585fc18f4aab55318217f866b57767caf0f536 /qemu-io-cmds.c
parent307b7715d0256c95444cada36a02882e46bada2f (diff)
downloadfocaccia-qemu-9c914e53702354bc681dedef2e1e6b43fc349043.tar.gz
focaccia-qemu-9c914e53702354bc681dedef2e1e6b43fc349043.zip
spapr: Split DRC release from DRC detach
spapr_drc_detach() is called when qemu generic code requests a device be
unplugged.  It makes a number of tests, which could well delay further
action until later, before actually detach the device from the DRC.

This splits out the part which actually removes the device from the DRC
into spapr_drc_release().  This will be useful for further cleanups.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'qemu-io-cmds.c')
0 files changed, 0 insertions, 0 deletions