summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShradha Shah <sshah@solarflare.com>2012-08-16 16:41:41 +0100
committerLaine Stump <laine@laine.org>2012-08-17 15:43:26 -0400
commit1446003419c25c87b6ef8561706e043254d8c6ff (patch)
treeaf80280a9d750847551fe27e9e7c8b063ba51f4f /tests/networkxml2xmlin/hostdev.xml
parentnetwork: helper function to create interface pool from PF (diff)
downloadlibvirt-1446003419c25c87b6ef8561706e043254d8c6ff.tar.gz
libvirt-1446003419c25c87b6ef8561706e043254d8c6ff.tar.bz2
libvirt-1446003419c25c87b6ef8561706e043254d8c6ff.zip
conf: parser/formatter/rng for <forward mode='hostdev'>
This patch introduces the new forward mode='hostdev' along with attribute managed. Includes updates to the network RNG and new xml parser/formatter code. Signed-off-by: Shradha Shah <sshah@solarflare.com>
Diffstat (limited to 'tests/networkxml2xmlin/hostdev.xml')
-rw-r--r--tests/networkxml2xmlin/hostdev.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/networkxml2xmlin/hostdev.xml b/tests/networkxml2xmlin/hostdev.xml
new file mode 100644
index 000000000..03f141106
--- /dev/null
+++ b/tests/networkxml2xmlin/hostdev.xml
@@ -0,0 +1,10 @@
+<network>
+ <name>hostdev</name>
+ <uuid>81ff0d90-c91e-6742-64da-4a736edb9a9b</uuid>
+ <forward mode='hostdev' managed='yes'>
+ <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x1'/>
+ <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x2'/>
+ <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x3'/>
+ <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x4'/>
+ </forward>
+</network>