Merge tag 'v9.1.0'
[qemu/ar7.git] / hw / virtio / virtio-mem-pci.h
blobc50b51d6082f3d7f41a7cfdf434f9d200841d455
1 /*
2 * Virtio MEM PCI device
4 * Copyright (C) 2020 Red Hat, Inc.
6 * Authors:
7 * David Hildenbrand <david@redhat.com>
9 * This work is licensed under the terms of the GNU GPL, version 2.
10 * See the COPYING file in the top-level directory.
13 #ifndef QEMU_VIRTIO_MEM_PCI_H
14 #define QEMU_VIRTIO_MEM_PCI_H
16 #include "hw/virtio/virtio-md-pci.h"
17 #include "hw/virtio/virtio-mem.h"
18 #include "qom/object.h"
20 typedef struct VirtIOMEMPCI VirtIOMEMPCI;
23 * virtio-mem-pci: This extends VirtIOMDPCI.
25 #define TYPE_VIRTIO_MEM_PCI "virtio-mem-pci-base"
26 DECLARE_INSTANCE_CHECKER(VirtIOMEMPCI, VIRTIO_MEM_PCI,
27 TYPE_VIRTIO_MEM_PCI)
29 struct VirtIOMEMPCI {
30 VirtIOMDPCI parent_obj;
31 VirtIOMEM vdev;
32 Notifier size_change_notifier;
35 #endif /* QEMU_VIRTIO_MEM_PCI_H */