pc-dimm: pass in the machine and to the MemoryHotplugState
commitbd6c3e4a4975ee1e5cadbc1826af9bd0ca0954c2
authorDavid Hildenbrand <david@redhat.com>
Mon, 23 Apr 2018 16:51:19 +0000 (23 18:51 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Mon, 7 May 2018 13:00:02 +0000 (7 10:00 -0300)
tree4eb408b4c4f9303ec23b14b9aff2059581beb9dc
parentacc7fa17e6fe96bd68ad9af04fde5091383ef25e
pc-dimm: pass in the machine and to the MemoryHotplugState

We use the machine internally either way, so let's just pass it in then.

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20180423165126.15441-5-david@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/i386/pc.c
hw/mem/pc-dimm.c
hw/ppc/spapr.c
include/hw/mem/pc-dimm.h