[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [RFC PATCH 0/3] cpu: add device_add foo-x86_64-cpu support
From: |
Gu Zheng |
Subject: |
[Qemu-devel] [RFC PATCH 0/3] cpu: add device_add foo-x86_64-cpu support |
Date: |
Fri, 27 Jun 2014 18:01:40 +0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110930 Thunderbird/7.0.1 |
This series is based on the previous patchset from Chen Fan:
https://lists.nongnu.org/archive/html/qemu-devel/2014-05/msg02360.html
This patches try to make cpu hotplug with device_add, and make
"-device foo-x86_64-cpu" availableļ¼also we can set apic-id
property with command line, if without setting apic-id property,
we offer the first unoccupied apic id as the default new apic id.
When hotplug cpu with device_add, additional check of APIC ID will be
done after cpu object initialization which was different from
'cpu_add' command that check 'ids' at the beginning.
Chen Fan (2):
cpu: introduce CpuTopoInfo structure for argument simplification
cpu: add device_add foo-x86_64-cpu support
Gu Zheng (1):
qom/cpu: move register_vmstate to common CPUClass.realizefn
exec.c | 32 ++++++++++-------
hw/intc/apic_common.c | 3 +-
include/hw/i386/apic_internal.h | 3 +-
include/qom/cpu.h | 3 ++
qdev-monitor.c | 1 +
qom/cpu.c | 2 +
target-i386/cpu.c | 76 ++++++++++++++++++++++++++++++++++++--
target-i386/topology.h | 51 ++++++++++++++++++--------
8 files changed, 135 insertions(+), 36 deletions(-)
--
1.7.7
- [Qemu-devel] [RFC PATCH 0/3] cpu: add device_add foo-x86_64-cpu support,
Gu Zheng <=