pc: factor out pc specific dimm checks into pc_memory_pre_plug()
commitd468115b1c7a4d0843f18bc9da41f2c44f93877e
authorDavid Hildenbrand <david@redhat.com>
Tue, 19 Jun 2018 13:41:34 +0000 (19 15:41 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 28 Jun 2018 17:05:33 +0000 (28 19:05 +0200)
treec0956c78c8d739c7723e43ff90a1d35581e990aa
parent9995c759510391ad9d3f7997c93c1ecdc6ed08b8
pc: factor out pc specific dimm checks into pc_memory_pre_plug()

We can perform these checks before the device is actually realized.

Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20180619134141.29478-6-david@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/i386/pc.c