[PATCH 0/4] RFC: vcpupin: some improvements of virsh vcpupin command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

 This patchset improves virsh vcpupin command like the following:

 (i) introduce special markup "-" and "^" which are similar to XML schema 
     of "cpuset" attribute

 # virsh vcpupin VM 0 0-8,^4 --config
 # virsh dumpxml VM
 ...
  <vcpu>4</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='0-3,5-8'/>
  </cputune>
 ...

 (ii) allow to receive the special keyword 'r' as a cpulist parameter 
      when resetting vcpupin setting.
 # virsh vcpupin VM 0 r --config

 (iii) when resetting, that is, pinning the specified virtual cpu to
       all host physical cpus, vcpupin setting will be deleted
 # virsh dumpxml VM
 ...
  <vcpu>4</vcpu>
  <cputune>
  </cputune>
 ...


 The following my patchset is the prerequisite of this:
   http://www.redhat.com/archives/libvir-list/2011-June/msg00390.html

 *[PATCH 1/4] vcpupin: improve vcpupin definition of virsh vcpupin
 *[PATCH 2/4] vcpupin: add reset option to virsh vcpupin command
 *[PATCH 3/4] vcpupin: add virDomainVcpupinDel function
 *[PATCH 4/4] vcpupin: add vcpupin resetting feature to qemu driver

Best regards,
Taku Izumi


--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]