xref: /openbmc/qemu/hw/virtio/virtio-md-stubs.c (revision 838f8246)
1 #include "qemu/osdep.h"
2 #include "qapi/error.h"
3 #include "hw/virtio/virtio-md-pci.h"
4 
5 void virtio_md_pci_pre_plug(VirtIOMDPCI *vmd, MachineState *ms, Error **errp)
6 {
7     error_setg(errp, "virtio based memory devices not supported");
8 }
9 
10 void virtio_md_pci_plug(VirtIOMDPCI *vmd, MachineState *ms, Error **errp)
11 {
12     error_setg(errp, "virtio based memory devices not supported");
13 }
14 
15 void virtio_md_pci_unplug_request(VirtIOMDPCI *vmd, MachineState *ms,
16                                   Error **errp)
17 {
18     error_setg(errp, "virtio based memory devices not supported");
19 }
20 
21 void virtio_md_pci_unplug(VirtIOMDPCI *vmd, MachineState *ms, Error **errp)
22 {
23     error_setg(errp, "virtio based memory devices not supported");
24 }
25