1559e0d4b5
The situation with device-hotplug.c is similar to qdev-monitor.c. Add a stub for pci_drive_hot_add, so that it can be compiled once, and move it out of hw/. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 lines
298 B
C
11 lines
298 B
C
#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;
|
|
}
|