diff options
| author | Luiz Capitulino | 2012-03-29 17:38:50 +0200 |
|---|---|---|
| committer | Luiz Capitulino | 2012-04-09 19:35:25 +0200 |
| commit | a15fef21c746e3aa0a94cf7b5bd9799886236666 (patch) | |
| tree | fff54a082ea3fa920725805cd44a4de3823e54e6 /qapi-schema.json | |
| parent | qdev: qdev_unplug(): use error_set() (diff) | |
| download | qemu-a15fef21c746e3aa0a94cf7b5bd9799886236666.tar.gz qemu-a15fef21c746e3aa0a94cf7b5bd9799886236666.tar.xz qemu-a15fef21c746e3aa0a94cf7b5bd9799886236666.zip | |
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 0d11d6eb14..ace55f397a 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'} } |
