Re: RFC: add <currentVcpu> element

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

 



On 09/27/2010 10:21 AM, Daniel Veillard wrote:
At the XML layer, I'm proposing the addition of a new element<currentVcpu>:

<domain ...>
   <vcpu>2</vcpu>
   <currentVcpu>1</vcpu>
...

   Hum, we already have an attribute cpuset for<vcpu>  which is used
to specify the semantic, I would rather keep an attribute here

   <vcpu current="2">4</vcpu>

instead

Possible, but consider that we have:

<domain ...>
  <memory>256</memory>
  <currentMemory>128</memory>
...
</domain>

So I was modeling after <memory>/<currentMemory> for consistency. Preferences on whether the parallel element or the attribute approach is better?

--
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

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