aboutsummaryrefslogtreecommitdiff
path: root/hw/pci-hotplug.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pci-hotplug.c')
-rw-r--r--hw/pci-hotplug.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/pci-hotplug.c b/hw/pci-hotplug.c
index 833d5d8a98..d40a3bd0cd 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;