[libvirt] RFC: add <currentVcpu> element
Eric Blake
eblake at redhat.com
Mon Sep 27 16:33:42 UTC 2010
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 at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
More information about the libvir-list
mailing list