Bug 638065
| Summary: | The output of vcpuinfo is incorrect after setvcpus for a running guest | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Min Zhan <mzhan> |
| Component: | kvm | Assignee: | Virtualization Maintenance <virt-maint> |
| Status: | CLOSED WONTFIX | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 5.6 | CC: | berrange, dyuan, llim, mkenneth, mzhan, tburke, virt-maint, ykaul |
| Target Milestone: | rc | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-12-15 10:57:10 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 580946 | ||
|
Description
Min Zhan
2010-09-28 05:39:59 UTC
Hi, dlaor I re-test it with the following scenarios, got some different error report. RHEL5.5 kvm: # virsh setvcpus kvm 2 error: this function is not supported by the hypervisor: cannot change vcpu count of an active domain RHEL5.5 xen: # virsh setvcpus guest 2 error: Too many virtual CPUs. RHEL5.6 xen: # virsh setvcpus guest 2 error: Too many virtual CPUs. But for RHEL5.6 kvm, there is NO error report and the <vcpu> element in xml is updated acturally. So I think the bug summary should be "the output of vcpuinfo is incorrect after setvcpus for a running guest". Is that right ? It might be a libvirt issue. You do get an error message. Anyway, we won't support hot plug for rhel5 but if it's kvm issue we can fix the error message. Daniel do you know who is the faulty component? ----For RHEL5.6 guest It works fine for RHEL5.6 guest. According to test result, setvcpus is supported by RHEL5.6. ----For RHEL5.5 guest Original description above use RHEL5u5 guest. Also if i manually edit guest xml to change vcpu number,still incorrect when use vcpuinfo to check. I think we should locate this bug to vcpuinfo problem. right? I have modified the summary for this bug. > But for RHEL5.6 kvm, there is NO error report and the <vcpu> element in xml is > updated acturally. This says libvirt in RHEL 5.6 has performed the vCPUs hotplug operation you asked it for succesfully. Where is the actual bug ? > So I think the bug summary should be "the output of vcpuinfo is incorrect after > setvcpus for a running guest". Is that right ? What is the actual thing that fails ? The test quoted just above is operating as expected @dor vCPU hotplug works fine in RHEL5 kvm (as far as the QEMU monitor is concerned), even if you didn't intend it to # rpm -q kvm kvm-83-205.el5 # /usr/libexec/qemu-kvm -vnc :1 -monitor stdio -cdrom /root/boot.iso QEMU 0.9.1 monitor - type 'help' for more information (qemu) info cpus * CPU #0: pc=0x00000000000f08d3 thread_id=19203 (qemu) cpu_set 1 online (qemu) cpu_set 2 online (qemu) cpu_set 3 online (qemu) info cpus * CPU #0: pc=0x00000000000f0d6e thread_id=19203 CPU #1: pc=0x00000000000ffff0 thread_id=19206 CPU #2: pc=0x00000000000ffff0 thread_id=19207 CPU #3: pc=0x00000000000ffff0 thread_id=19208 (qemu) quit |