Skip to contentSkip to conversation

cpu_set <n+1> online causing a guest to hang.

DISCUSSION Vinod Chegu 1 participant 1 message Jan 27, 2012 KVM

lore
Share & tools
lore
#0 lore raw

Hello,

Wanted to check about the current status of the cpu hotplug support in KVM guests.

Pl. excuse me if the following is a known issue (pl. point me to the appropriate status/issue/bug-report if it is).

I have an RHEL6.2 (x86_64)+ KVM host with a KVM guest running RHEL 6.2.

The guest is up and configured with 8 vCPUs (0-7)

[root@testvm1 cpu]# ls

cpu0  cpu2  cpu4  cpu6  cpufreq  kernel_max  online    present
cpu1  cpu3  cpu5  cpu7  cpuidle  offline     possible

(I had set the maximum vcpus to 12).

I tried to hotplug add a new cpu and so I tried the following command from my host.

[root@host ~]# virsh qemu-monitor-command testvm1 --hmp cpu_set 8 online

The guest hung and was non responsive.

Did I miss any step or is some functionality missing?

Any help/pointers would be appreciated.

Thanks
Vinod