aboutsummaryrefslogtreecommitdiff
path: root/device-hotplug.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2018-06-13 11:01:30 +0200
committerKevin Wolf <kwolf@redhat.com>2018-08-15 12:50:39 +0200
commit7f8fc971558219891ced425e8fe7a65d2a8f131f (patch)
treeb635806d72fa15b15f56d60cf209da95454cad1e /device-hotplug.c
parentb24ec3c46281286a6a5624d0ceb5fa6f30bd8a4f (diff)
downloadqemu-7f8fc971558219891ced425e8fe7a65d2a8f131f.zip
qemu-7f8fc971558219891ced425e8fe7a65d2a8f131f.tar.gz
qemu-7f8fc971558219891ced425e8fe7a65d2a8f131f.tar.bz2
block: Remove deprecated -drive option addr
This reinstates commit eae3bd1eb7c6b105d30ec06008b3bc3dfc5f45bb, which was temporarily reverted for the 3.0 release so that libvirt gets some extra time to update their command lines. The -drive option addr was deprecated in QEMU 2.10. It's time to remove it. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Jeff Cody <jcody@redhat.com>
Diffstat (limited to 'device-hotplug.c')
-rw-r--r--device-hotplug.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/device-hotplug.c b/device-hotplug.c
index 23fd665..cd427e2 100644
--- a/device-hotplug.c
+++ b/device-hotplug.c
@@ -69,10 +69,6 @@ void hmp_drive_add(Monitor *mon, const QDict *qdict)
if (!dinfo) {
goto err;
}
- if (dinfo->devaddr) {
- monitor_printf(mon, "Parameter addr not supported\n");
- goto err;
- }
switch (dinfo->type) {
case IF_NONE: