summaryrefslogtreecommitdiffstats
path: root/device-hotplug.c
diff options
context:
space:
mode:
authorKevin Wolf2018-06-13 11:01:30 +0200
committerKevin Wolf2018-06-15 14:49:44 +0200
commiteae3bd1eb7c6b105d30ec06008b3bc3dfc5f45bb (patch)
tree5044b13139e0088406493a1723160b3524250890 /device-hotplug.c
parentblock: Remove deprecated -drive geometry options (diff)
downloadqemu-eae3bd1eb7c6b105d30ec06008b3bc3dfc5f45bb.tar.gz
qemu-eae3bd1eb7c6b105d30ec06008b3bc3dfc5f45bb.tar.xz
qemu-eae3bd1eb7c6b105d30ec06008b3bc3dfc5f45bb.zip
block: Remove deprecated -drive option addr
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 23fd6656f1..cd427e2c76 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: