open-power-host-os / linux

Linux kernel source tree
Other
3 stars 4 forks source link

vcpu hotplug triggers a guest kernel warning `WARNING: workqueue cpumask: online intersect > possible intersect` #31

Closed sathnaga closed 5 years ago

sathnaga commented 6 years ago
Mirrored with LTC bug https://bugzilla.linux.ibm.com/show_bug.cgi?id=168836 Guest kernel prints a kernel warning after it receives vcpu hotplug event. ENV: ``` Host: 4.17.0-1.dev.git5ce3eac.el7.ppc64le Guest: 4.17.0-1.dev.git5ce3eac.el7.ppc64le qemu: qemu-2.12.0-2.dev.gitd36f3ee.el7.ppc64le libvirt: libvirt-4.3.0-1.dev.git3096ff1.el7.ppc64le ``` testcase: 685-guest.with_numa.with_hugepage.with_hugepage_pin.with_pin.import.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.HostOS.ppc64le.powerkvm-libvirt.libvirt_vcpu_plug_unplug.positive_test.vcpu_set.live.vm_operate.reboot Steps to reproduce: 1. Boot a guest with numa 2. Do vcpuhotplug -------------> guest kernel shows warning message. ``` vcpu hotplug from host: 21:50:49 DEBUG| Running virsh command: setvcpus virt-tests-vm1 3 --live 21:50:49 INFO | Running '/bin/virsh setvcpus virt-tests-vm1 3 --live' 21:50:49 DEBUG| [stdout] 21:50:49 INFO | Command '/bin/virsh setvcpus virt-tests-vm1 3 --live' finished with 0 after 0.067715883255s 21:50:49 DEBUG| status: 0 Guest console: 2018-06-12 21:50:49: [ 27.794386] WARNING: workqueue cpumask: online intersect > possible intersect ```
sathnaga commented 6 years ago

testresult: testresult.zip