Bug 1375939
Summary: | libvirt setvcpus doesn't work well with old qemu | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Luyao Huang <lhuang> |
Component: | libvirt | Assignee: | Peter Krempa <pkrempa> |
Status: | CLOSED ERRATA | QA Contact: | Jingjing Shao <jishao> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 7.3 | CC: | dyuan, jdenemar, pkrempa, rbalakri, weizhan, xuzhang |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libvirt-2.5.0-1.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-08-01 17:16:43 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Luyao Huang
2016-09-14 09:44:22 UTC
commit 80ea1cf6be4ab916fc7e2f8bb2a93d5337b272ac Author: Peter Krempa <pkrempa> Date: Wed Sep 21 07:46:25 2016 +0200 qemu: Fix coldplug of vcpus virDomainDefSetVcpus was not designed to handle coldplug of vcpus now that we can set state of vcpus individually. Introduce qemuDomainSetVcpusConfig that properly handles state changes of vcpus when coldplugging so that invalid configurations are not created. Hi Peter, I try to verify this issue, but get the result as below. The S1 is not fixed. Won't it be fixed ? The S1 is not fixed # virsh start rhel7.3 error: Failed to start domain rhel7.3 error: unsupported configuration: vcpu '1' is missing hotplug data The S2 is fixed. # virsh dumpxml rhel7.3 .... <memory unit='KiB'>1048576</memory> <currentMemory unit='KiB'>1048576</currentMemory> <vcpu placement='static' current='4'>10</vcpu> .... # virsh setvcpus rhel7.3 5 --config # virsh start rhel7.3 Domain rhel7.3 started That obviously can't be fixed. The 'S1' configuration requires new hotplug approach so that it can work properly, thus it's rejected by libvirt. (In reply to Peter Krempa from comment #4) > That obviously can't be fixed. The 'S1' configuration requires new hotplug > approach so that it can work properly, thus it's rejected by libvirt. Thanks for Peter's reply,according to the comment#3 and #4 ,change the bug status to verified Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2017:1846 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2017:1846 |