[libvirt] Cannot add iothreads label in libvirt xml configuration file
harrynjit at gmail.com
Thu Dec 22 19:55:22 UTC 2016
On Thu, Dec 22, 2016 at 4:33 AM, Daniel P. Berrange <berrange at redhat.com> wrote:
> On Wed, Dec 21, 2016 at 12:11:51PM -0500, Weiwei Jia wrote:
>> I cannot add iothreads
>> (https://libvirt.org/formatdomain.html#elementsIOThreadsAllocation) in
>> the libvirt xml configuration file. Once I add
>> "<iothreads>4</iothreads>" and other related config for IOthreads into
>> the libvirt xml configuration file with virsh command and save it,
>> these iothreads related configuration will disappear after I open
>> libvirt xml configuration file again for double-check.
> If XML disappears after saving it, this usually indicates that either you
> made a mistake and used the wrong XML element or in the wrong place, or
> that your libvirt version is too old to support it. You can use the
> virt-xml-validate too to verify your XML file against the schema for
> your installed version of libvirt, which will report any errrors.
virt-xml-validate has no help. Let me try libvirt 2.5.0 and QEMU
2.7.0. Thank you.
More information about the libvir-list