]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Remove code from JSON monitor for commands that won't be ported
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 14 Apr 2010 14:23:38 +0000 (15:23 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 15 Apr 2010 16:57:50 +0000 (17:57 +0100)
commitefd4ee7871a631a9293e94d58fc4384c162388a7
treec29a77ae95c419546b7d97486278492578fe992b
parentf6770e866547e155d9e6de719d83e62aac6284c6
Remove code from JSON monitor for commands that won't be ported

The QEMU developers have stated that they will not be porting
the commands 'pci_add', 'pci_del', 'usb_add', 'usb_del' to the
JSON mode monitor, since they're obsoleted by 'device_add'
and 'device_del'. libvirt has (untested) code that would have
supported those commands in theory, but since we already use
device_add/del where available, there's no need to keep the
legacy stuff anymore.

The text mode monitor keeps support for all commands for sake
of historical compatability.

* src/qemu/qemu_monitor_json.c: Remove 'pci_add', 'pci_del',
  'usb_add', 'usb_del' commands
src/qemu/qemu_monitor_json.c