pc: Support for virtio-mem-pci
commit0ed48fd32eb8dbe0113d82b6316c0ee4741cc0b0
authorDavid Hildenbrand <david@redhat.com>
Fri, 26 Jun 2020 07:22:42 +0000 (26 09:22 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 3 Jul 2020 11:57:04 +0000 (3 07:57 -0400)
treeb349975bc4adc7e5bf9477594fafb4c94ce3baba
parent16647a82241fa6fb3cd4f8928c5cbf8b93a11671
pc: Support for virtio-mem-pci

Let's wire it up similar to virtio-pmem. Also disallow unplug, so it's
harder for users to shoot themselves into the foot.

Reviewed-by: Pankaj Gupta <pankaj.gupta.linux@gmail.com>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Eduardo Habkost <ehabkost@redhat.com>
Cc: Eric Blake <eblake@redhat.com>
Cc: Markus Armbruster <armbru@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20200626072248.78761-16-david@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/Kconfig
hw/i386/pc.c