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

Re: [libvirt] RFC: add <currentVcpu> element



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 redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


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