diff options
| author | Thomas Huth <thuth@redhat.com> | 2017-11-30 21:19:00 +0100 |
|---|---|---|
| committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2017-12-14 10:16:52 +0000 |
| commit | 81950da6819bbe77f38835724cc4643f19677554 (patch) | |
| tree | 0da3e22c2faa2330d37de6487c3f6120cfe31ca4 /include/hw/usb.h | |
| parent | 0a0dc59d27527b78a195c2d838d28b7b49e5a639 (diff) | |
| download | focaccia-qemu-81950da6819bbe77f38835724cc4643f19677554.tar.gz focaccia-qemu-81950da6819bbe77f38835724cc4643f19677554.zip | |
hmp-commands: Remove the deprecated usb_add and usb_del
It's easy to use device_add and device_del as replacement instead. The usb_add and usb_del commands are deprecated since QEMU 2.10, and nobody complained that they are still needed, so let's get rid of them now to make the HMP interface a little bit less overloaded. Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <1512073140-17672-1-git-send-email-thuth@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'include/hw/usb.h')
| -rw-r--r-- | include/hw/usb.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/usb.h b/include/hw/usb.h index eb28655270..9dd9c6f0d9 100644 --- a/include/hw/usb.h +++ b/include/hw/usb.h @@ -549,7 +549,6 @@ void usb_claim_port(USBDevice *dev, Error **errp); void usb_release_port(USBDevice *dev); void usb_device_attach(USBDevice *dev, Error **errp); int usb_device_detach(USBDevice *dev); -int usb_device_delete_addr(int busnr, int addr); void usb_check_attach(USBDevice *dev, Error **errp); static inline USBBus *usb_bus_from_device(USBDevice *d) |