[Libvir] [PATCH] Show Xen vif<domid>.<n> device name in domain XML
Richard W.M. Jones
rjones at redhat.com
Mon Aug 20 16:26:35 UTC 2007
This patch changes the Xen domain XML so that it shows the target device
(ie. vif<domid>.<n>), which you can then use to collect interface stats.
For example:
# virsh dumpxml fc6_1
...
<interface type='bridge'>
<source bridge='xenbr0'/>
<target dev='vif2.0'/>
<mac address='00:16:3e:1a:2f:8c'/>
<script path='vif-bridge'/>
</interface>
Note that this patch only adds to the XML, it doesn't change any XML
that was being returned before.
Rich.
--
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvirt-xend-target-dev-20070820.patch
Type: text/x-patch
Size: 1422 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070820/d8818990/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070820/d8818990/attachment-0003.bin>
More information about the libvir-list
mailing list