]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vcpu: add current attribute to <vcpu> element
authorEric Blake <eblake@redhat.com>
Mon, 27 Sep 2010 23:36:06 +0000 (17:36 -0600)
committerEric Blake <eblake@redhat.com>
Tue, 19 Oct 2010 15:58:18 +0000 (09:58 -0600)
commita74f4e44649906dcd82151f7ef837f66d7fa2ab1
treefe19e50f64ee11978d2ea0b38cf7f235e148047a
parent7d79da247a47343743364799cac65b148759fe6e
vcpu: add current attribute to <vcpu> element

Syntax agreed on in
https://www.redhat.com/archives/libvir-list/2010-September/msg00476.html

<domain ...>
  <vcpu current='x'>y</vcpu>
...

can now be used to specify 1 <= x <= y current vcpus, in relation
to the boot-time max of y vcpus.  If current is omitted, then
current and max are assumed to be the same value.

* docs/schemas/domain.rng: Add new attribute.
* docs/formatdomain.html.in: Document it.
* tests/qemuxml2argvdata/qemuxml2argv-smp.xml: Add to
domainschematest.
* tests/xml2sexprdata/xml2sexpr-pv-vcpus.xml: Likewise.
docs/formatdomain.html.in
docs/schemas/domain.rng
tests/qemuxml2argvdata/qemuxml2argv-smp.xml [new file with mode: 0644]
tests/xml2sexprdata/xml2sexpr-pv-vcpus.xml [new file with mode: 0644]