virtio-pci: Proxy for virtio-mem
commit0b9a2443a48b806c775b47c4a1e9effdab03ddf2
authorDavid Hildenbrand <david@redhat.com>
Fri, 26 Jun 2020 07:22:38 +0000 (26 09:22 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 3 Jul 2020 11:57:04 +0000 (3 07:57 -0400)
tree0552ff8c2031c2bee4e9a3275b3e7dfbd2c453d8
parent910b25766b336a94d69f5f6e1b55c10b3aeb4326
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>
hw/virtio/Makefile.objs
hw/virtio/virtio-mem-pci.c [new file with mode: 0644]
hw/virtio/virtio-mem-pci.h [new file with mode: 0644]
include/hw/pci/pci.h