v2.12.0-2321-gb34181056c: vcpu hotplug crashes qemu-kvm with segfault
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Greg Kurz |
Bug Description
vcpu hotplug crashes upstream qemu(v2.
Host: Power8, kernel: 4.18.0-
Guest: Power8, kernel: 4.18.0-
/usr/share/
QEMU 2.12.50 monitor - type 'help' for more information
(qemu) device_add host-spapr-
Segmentation fault (core dumped)
Guest initial cpu:
# lscpu
Architecture: ppc64le
Byte Order: Little Endian
CPU(s): 1
On-line CPU(s) list: 0
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 1
NUMA node(s): 1
Model: 2.1 (pvr 004b 0201)
Model name: POWER8 (architected), altivec supported
Hypervisor vendor: KVM
Virtualization type: para
L1d cache: 64K
L1i cache: 32K
NUMA node0 CPU(s): 0
Changed in qemu: | |
status: | New → Confirmed |
Changed in qemu: | |
assignee: | nobody → Greg Kurz (gkurz) |
Changed in qemu: | |
status: | Fix Committed → Fix Released |
Reverting the below comment makes CPU hotplug work again:
commit a028dd423ee6dfd 091a8c630282408 32bf10f671
ppc/xics: introduce ICP DeviceRealize and DeviceReset handlers
This changes the ICP realize and reset handlers in DeviceRealize and
DeviceReset handlers. parent handlers are now called from the
inheriting classes which is a cleaner object pattern.