qemu aio: add XML parsing

Allows io={threads|native} as an optional attribute to <driver>.

Signed-off-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
Matthias Dahl
2010-04-21 16:28:21 +02:00
committed by Eric Blake
parent eb1be58e0e
commit 91ef4e05ea
6 changed files with 83 additions and 7 deletions

View File

@@ -696,6 +696,9 @@
<optional>
<ref name="driverErrorPolicy"/>
</optional>
<optional>
<ref name="driverIO"/>
</optional>
<empty/>
</element>
</define>
@@ -727,6 +730,14 @@
</choice>
</attribute>
</define>
<define name="driverIO">
<attribute name="io">
<choice>
<value>threads</value>
<value>native</value>
</choice>
</attribute>
</define>
<define name="controller">
<element name="controller">
<choice>