numa: Handle virtio-pmem in NUMA stats
commitcae02c3480b806ce1fb30a3a5c54ae1b43a412e7
authorDavid Hildenbrand <david@redhat.com>
Wed, 19 Jun 2019 09:49:06 +0000 (19 15:19 +0530)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 4 Jul 2019 21:00:32 +0000 (4 17:00 -0400)
tree119d23c97320676e2419a7a68fec40d8bf53ae43
parentd766b22bbd18c7766e2e0a28ea0d07c18db13f7e
numa: Handle virtio-pmem in NUMA stats

Account the memory to node 0 for now. Once (if ever) virtio-pmem
supports NUMA, we can account it to the right node.

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20190619094907.10131-7-pagupta@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
numa.c