diff options
author | Cornelia Huck <cohuck@redhat.com> | 2018-07-06 15:06:19 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2018-07-10 14:36:12 +0200 |
commit | 75f4cd297922e1ac352625badf548d4a1bb96089 (patch) | |
tree | 283ab653522c1920780ac15c0cc5e5938c866b96 /device-hotplug.c | |
parent | 44e8b4689c6e3aba4df08a1201f02ac7bf3d2fdb (diff) |
Revert "block: Remove deprecated -drive option addr"
This reverts commit eae3bd1eb7c6b105d30ec06008b3bc3dfc5f45bb.
Reverted to avoid conflicts for geometry options revert.
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'device-hotplug.c')
-rw-r--r-- | device-hotplug.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/device-hotplug.c b/device-hotplug.c index cd427e2c76..23fd6656f1 100644 --- a/device-hotplug.c +++ b/device-hotplug.c @@ -69,6 +69,10 @@ 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: |