diff options
| author | David Hildenbrand | 2020-06-26 09:22:38 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2020-07-03 13:57:04 +0200 |
| commit | 0b9a2443a48b806c775b47c4a1e9effdab03ddf2 (patch) | |
| tree | 0552ff8c2031c2bee4e9a3275b3e7dfbd2c453d8 /include | |
| parent | virtio-mem: Paravirtualized memory hot(un)plug (diff) | |
| download | qemu-0b9a2443a48b806c775b47c4a1e9effdab03ddf2.tar.gz qemu-0b9a2443a48b806c775b47c4a1e9effdab03ddf2.tar.xz qemu-0b9a2443a48b806c775b47c4a1e9effdab03ddf2.zip | |
virtio-pci: Proxy for virtio-mem
Let's add a proxy for virtio-mem, make it a memory device, and
pass-through the properties.
Reviewed-by: Pankaj Gupta <pankaj.gupta.linux@gmail.com>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Cc: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
Cc: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20200626072248.78761-12-david@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/hw/pci/pci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/pci/pci.h b/include/hw/pci/pci.h index a4e9c33416..c1bf7d5356 100644 --- a/include/hw/pci/pci.h +++ b/include/hw/pci/pci.h @@ -87,6 +87,7 @@ extern bool pci_available; #define PCI_DEVICE_ID_VIRTIO_VSOCK 0x1012 #define PCI_DEVICE_ID_VIRTIO_PMEM 0x1013 #define PCI_DEVICE_ID_VIRTIO_IOMMU 0x1014 +#define PCI_DEVICE_ID_VIRTIO_MEM 0x1015 #define PCI_VENDOR_ID_REDHAT 0x1b36 #define PCI_DEVICE_ID_REDHAT_BRIDGE 0x0001 |
