Re: [PATCH] finish NUMA code reorg, plug cpuset at creat time support

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

 



On Mon, 22 Oct 2007 12:39:50 -0400 Daniel Veillard wrote:
>   The following patch finishes the cleanup for NUMA parsing code:
>     - the cpuset parsing is moved to xml.c
>     - some comments and cleanups of the include
> then add the output of a (cpus '...') line based on the /domain/vcpu/@cpuset
> attributes, this is parsed and reserialized as ranges to avoid any possibility
> of misinterpretation of say ^ or any special syntax we may want to add in
> the future.
>   A few things to note:
>     - dependant on the tiny patch I sent earlier today
>     - if we notice that the set covers all CPU maybe we should
>       avoid outputing (cpus '...'), trivial to add
>     - mostly untested yet

It seems work fine for creating a guest, i.e. I can set the cpuset by
"virsh create" with XML file containing a cpuset parameter.
This fix will solve "create" of the following BZ. 
  - BZ#223833: 
    FEAT RHEL5.2: About the setting of CPU affinity at virsh create/reboot
    https://bugzilla.redhat.com/show_bug.cgi?id=223833

I think we also need to fix for "start/define/dumpxml".
So, I attached the patch for them. Could you check it ?

Anyway, I will have some more test for the cpuset.

  thanks,

Saori Fukuta

Attachment: cpuset_add.patch
Description: Binary data

--
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]