RFC cpu: add device_add foo-x86_64-cpu support
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | cpu: introduce CpuTopoInfo structure for argument simplificationtarget-i386/ | +17 | 1 reply | |
| 2/3 | qom/cpu: move register_vmstate to common CPUClass.realizefnexec.c hw/ include/ +3 more | +35 | 0 replies | |
| 3/3 | cpu: add device_add foo-x86_64-cpu supportinclude/ qdev-monitor.c target-i386/ +1 more | +83 | 0 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Eduardo Habkost |
|---|---|
| 1/3 | R-b |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [RFC PATCH 0/3] cpu: add device_add foo-x86_64-cpu support
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(-)
Signature · 1 line
1.7.7