v3.0.0-rc4: VM fails to start after vcpuhotunplug, managedsave sequence
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
VM fails to start after vcpu hot un-plug, managedsave sequence
Host info:
Kernel: 4.18.0-
qemu: commit 6ad90805383e6d0
QEMU emulator version 2.12.94 (v3.0.0-rc4-dirty)
libvirt: commit 087de2f5a3dffb2
libvirtd (libvirt) 4.6.0
Guest Kernel: 4.18.0-
Steps to reproduce:
1. Start a guest(VM) with 2 current , 4 max vcpus
virsh start vm1
Domain vm1 started
2. Hotplug 2 vcpus
virsh setvcpus vm1 4 --live
3. Hot unplug 2 vcpus
virsh setvcpus vm1 2 --live
4. Managedsave the VM
virsh managedsave vm1
Domain vm1 state saved by libvirt
5. Start the VM ---Fails to start
virsh start vm1
error: Failed to start domain avocado-vt-vm1
error: internal error: qemu unexpectedly closed the monitor: 2018-08-
2018-08-
Testcase:
avocado run libvirt_
JOB ID : 1f869477ad87e7d
JOB LOG : /root/avocado/
(1/1) type_specific.
RESULTS : PASS 0 | ERROR 1 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB TIME : 95.89 s
Bisect result:
v3.0.0-rc0: vcpu hotplug crashes the domain - https:/ /bugs.launchpad .net/qemu/ +bug/1780928, this commit fixes that issue, b585395b655a6c1 f9d9ebf1f0890e7 6d0708eed6 ppc/xics: fix ICP reset path
v3.0.0-rc1- v3.0.0-rc4: hotplug crash bug fixed, but now we are hitting this one.