diff --git a/hw/pci-hotplug.c b/hw/pci-hotplug.c index 833d5d8a984ce9270633d7957616df400d0ad9cf..d40a3bd0cdfb8a56bca4986ac92d4ed5f99ac6a8 100644 --- a/hw/pci-hotplug.c +++ b/hw/pci-hotplug.c @@ -91,6 +91,9 @@ void drive_hot_add(Monitor *mon, const QDict *qdict) dinfo->bus, dinfo->unit); break; + case IF_NONE: + monitor_printf(mon, "OK\n"); + break; default: monitor_printf(mon, "Can't hot-add drive to type %d\n", type); goto err;