qemu/hw/i386
David Hildenbrand 8f1ffe5be8 pc-dimm: assign and verify the "slot" property during pre_plug
We can assign and verify the slot before realizing and trying to plug.
reading/writing the slot property should never fail, so let's reduce
error handling a bit by using &error_abort.

To do this during pre_plug, add and use (x86, ppc) pc_dimm_pre_plug().

Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20180801133444.11269-2-david@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2018-08-23 18:46:25 +02:00
..
kvm
xen
acpi-build.c
acpi-build.h
amd_iommu.c
amd_iommu.h
intel_iommu_internal.h
intel_iommu.c
kvmvapic.c
Makefile.objs
multiboot.c
multiboot.h
pc_piix.c
pc_q35.c
pc_sysfw.c
pc.c pc-dimm: assign and verify the "slot" property during pre_plug 2018-08-23 18:46:25 +02:00
trace-events
vmmouse.c
vmport.c
x86-iommu.c