diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2012-03-29 12:38:50 -0300 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2012-04-09 14:35:25 -0300 |
commit | a15fef21c746e3aa0a94cf7b5bd9799886236666 (patch) | |
tree | fff54a082ea3fa920725805cd44a4de3823e54e6 /qapi-schema.json | |
parent | 56f9107e439c32aa00d58d117a9b664551328f1e (diff) | |
download | qemu-a15fef21c746e3aa0a94cf7b5bd9799886236666.zip qemu-a15fef21c746e3aa0a94cf7b5bd9799886236666.tar.gz qemu-a15fef21c746e3aa0a94cf7b5bd9799886236666.tar.bz2 |
qapi: convert device_del
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'qapi-schema.json')
-rw-r--r-- | qapi-schema.json | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/qapi-schema.json b/qapi-schema.json index 0d11d6e..ace55f3 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -1701,3 +1701,23 @@ # Since: 1.1 ## { 'command': 'xen-save-devices-state', 'data': {'filename': 'str'} } + +## +# @device_del: +# +# Remove a device from a guest +# +# @id: the name of the device +# +# Returns: Nothing on success +# If @id is not a valid device, DeviceNotFound +# If the device does not support unplug, BusNoHotplug +# +# Notes: When this command completes, the device may not be removed from the +# guest. Hot removal is an operation that requires guest cooperation. +# This command merely requests that the guest begin the hot removal +# process. +# +# Since: 0.14.0 +## +{ 'command': 'device_del', 'data': {'id': 'str'} } |