qemu-e2k/hw/i386
Bharata B Rao 759048ac20 pc: Fix DIMMs capacity calculation
pc_existing_dimms_capacity() is returning DIMMs count rather than capacity.
Fix this to return the capacity. Also consider only realized devices for
capacity calculation.

Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2015-01-27 14:46:17 +02:00
..
kvm kvm/apic: fix 2.2->2.1 migration 2014-12-15 12:21:02 +01:00
xen
acpi-build.c bios-linker-loader: move header to common location 2015-01-27 14:46:17 +02:00
acpi-build.h
acpi-defs.h
acpi-dsdt-cpu-hotplug.dsl pc: acpi: fix WindowsXP BSOD when memory hotplug is enabled 2015-01-26 20:25:52 +02:00
acpi-dsdt-dbug.dsl
acpi-dsdt-hpet.dsl
acpi-dsdt-isa.dsl
acpi-dsdt-mem-hotplug.dsl target-i386: move generic memory hotplug methods to DSDTs 2014-11-24 20:57:10 +02:00
acpi-dsdt-pci-crs.dsl
acpi-dsdt.dsl target-i386: move generic memory hotplug methods to DSDTs 2014-11-24 20:57:10 +02:00
acpi-dsdt.hex.generated acpi: update generated hex files 2015-01-27 14:45:18 +02:00
intel_iommu_internal.h
intel_iommu.c
kvmvapic.c
Makefile.objs bios-linker-loader: move source to common location 2015-01-27 14:46:17 +02:00
multiboot.c Add bootloader name to multiboot implementation 2014-12-15 12:21:01 +01:00
multiboot.h
pc_piix.c hw/usb: simplified usb_enabled 2015-01-08 17:32:27 +00:00
pc_q35.c hw/usb: simplified usb_enabled 2015-01-08 17:32:27 +00:00
pc_sysfw.c x86: Drop superfluous conditionals around g_free() 2014-12-15 12:21:02 +01:00
pc.c pc: Fix DIMMs capacity calculation 2015-01-27 14:46:17 +02:00
q35-acpi-dsdt.dsl target-i386: move generic memory hotplug methods to DSDTs 2014-11-24 20:57:10 +02:00
q35-acpi-dsdt.hex.generated acpi: update generated hex files 2015-01-27 14:45:18 +02:00
smbios.c smbios: Don't report unknown CPU speed (fix SVVP regression) 2015-01-27 14:46:17 +02:00
ssdt-mem.dsl
ssdt-mem.hex.generated target-i386: move generic memory hotplug methods to DSDTs 2014-11-24 20:57:10 +02:00
ssdt-misc.dsl target-i386: move generic memory hotplug methods to DSDTs 2014-11-24 20:57:10 +02:00
ssdt-misc.hex.generated target-i386: move generic memory hotplug methods to DSDTs 2014-11-24 20:57:10 +02:00
ssdt-pcihp.dsl
ssdt-pcihp.hex.generated
ssdt-proc.dsl
ssdt-proc.hex.generated
ssdt-tpm.dsl
ssdt-tpm.hex.generated