]> git.proxmox.com Git - mirror_qemu.git/blobdiff - device-hotplug.c
nbd/server: fix NBD_CMD_CACHE
[mirror_qemu.git] / device-hotplug.c
index cd427e2c764ca074efa243ce63a7ffae0faf7e73..23fd6656f1be2211cab1be2f17f927a465acda47 100644 (file)
@@ -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: