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

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

Reply via email to