qemu-e2k/hw/i386/xen
Like Xu 0e11fc6955 hw/i386: Replace global smp variables with machine smp properties
The global smp variables in i386 are replaced with smp machine properties.
To avoid calling qdev_get_machine() as much as possible, some related funtions
for acpi data generations are refactored. No semantic changes.

A local variable of the same name would be introduced in the declaration
phase if it's used widely in the context OR replace it on the spot if it's
only used once. No semantic changes.

Signed-off-by: Like Xu <like.xu@linux.intel.com>
Message-Id: <20190518205428.90532-8-like.xu@linux.intel.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2019-07-05 17:08:03 -03:00
..
Makefile.objs move xen-mapcache.c to hw/i386/xen/ 2017-04-25 11:04:34 -07:00
trace-events trace-events: Shorten file names in comments 2019-03-22 16:18:07 +00:00
xen-hvm.c hw/i386: Replace global smp variables with machine smp properties 2019-07-05 17:08:03 -03:00
xen-mapcache.c xen: Drop includes of xen/hvm/params.h 2019-06-24 10:42:30 +01:00
xen_apic.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
xen_platform.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
xen_pvdevice.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00