summaryrefslogtreecommitdiffstats
path: root/stubs/pci-drive-hot-add.c
diff options
context:
space:
mode:
Diffstat (limited to 'stubs/pci-drive-hot-add.c')
-rw-r--r--stubs/pci-drive-hot-add.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/stubs/pci-drive-hot-add.c b/stubs/pci-drive-hot-add.c
deleted file mode 100644
index 1d98145..0000000
--- a/stubs/pci-drive-hot-add.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <monitor/monitor.h>
-#include <sysemu/sysemu.h>
-#include <sysemu/blockdev.h>
-
-int pci_drive_hot_add(Monitor *mon, const QDict *qdict, DriveInfo *dinfo)
-{
- /* On non-x86 we don't do PCI hotplug */
- monitor_printf(mon, "Can't hot-add drive to type %d\n", dinfo->type);
- return -1;
-}
OpenPOWER on IntegriCloud