summaryrefslogtreecommitdiffstats
path: root/stubs/pci-drive-hot-add.c
blob: 1d981458023f12e210a793e539bdd758bad563bc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#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;
}