numa: Handle virtio-mem in NUMA stats
commit16647a82241fa6fb3cd4f8928c5cbf8b93a11671
authorDavid Hildenbrand <david@redhat.com>
Fri, 26 Jun 2020 07:22:41 +0000 (26 09:22 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 3 Jul 2020 11:57:04 +0000 (3 07:57 -0400)
treefc348401ee36089a3010050de8350b40a916738f
parent2e70874b16ac1d228b7f88a9e45209a5f4265841
numa: Handle virtio-mem in NUMA stats

Account the memory to the configured nid.

Reviewed-by: Pankaj Gupta <pankaj.gupta.linux@gmail.com>
Cc: Eduardo Habkost <ehabkost@redhat.com>
Cc: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20200626072248.78761-15-david@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/core/numa.c