Bug 1316363 - cmd vcpupin/emulatorpin output wrong info if vcpu bind to a not exist cpu in config
cmd vcpupin/emulatorpin output wrong info if vcpu bind to a not exist cpu in ...
Status: CLOSED WONTFIX
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libvirt (Show other bugs)
7.3
x86_64 Linux
low Severity low
: rc
: ---
Assigned To: Peter Krempa
Virtualization Bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-03-10 00:08 EST by Luyao Huang
Modified: 2016-09-16 11:20 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-09-16 11:20:44 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Luyao Huang 2016-03-10 00:08:19 EST
Description of problem:
cmd vcpupin output wrong info if vcpu bind to a not exist cpu in config

Version-Release number of selected component (if applicable):
libvirt-1.3.2-1.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1.
# virsh dumpxml rhel7.0-rhel
...
  <cputune>
    <vcpupin vcpu='0' cpuset='30'/>
    <emulatorpin cpuset='30'/>
  </cputune>
...

2.
# lscpu 
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                4
On-line CPU(s) list:   0-3
...


3.
# virsh vcpupin rhel7.0-rhel --config
VCPU: CPU Affinity
----------------------------------
   0: 

# virsh emulatorpin rhel7.0-rhel --config
emulator: CPU Affinity
----------------------------------
       *: 



Actual results:
cmd vcpupin/emulatorpin output wrong info if vcpu bind to a not exist cpu in config 

Expected results:
show the correct result

# virsh vcpupin rhel7.0-rhel --config
VCPU: CPU Affinity
----------------------------------
   0: 30

# virsh emulatorpin rhel7.0-rhel --config
emulator: CPU Affinity
----------------------------------
       *: 30



Additional info:
Comment 1 Peter Krempa 2016-09-16 11:20:44 EDT
The configuration is impossible to achieve using virsh vcpupin. Fixing this is not really worth it.

Note You need to log in before you can comment on or make changes to this bug.