Hi all,

I'll resend this patchset because what sent yesterday was broken.
Sorry to be a nuisance.

---

 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/msg00441.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@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to