[libvirt] [PATCH] Fix documentation for NIC <model type='...'> selection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This previous message from April contains the patch which added
support for the <model type='...'/> element in NIC definitions.

https://www.redhat.com/archives/libvir-list/2008-April/msg00078.html

Unfortunately it looks like the documentation for it was applied to a
generated file so it got lost along the way.  The attached patch adds
documentation in hopefully the right place.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top
Index: docs/formatdomain.html.in =================================================================== RCS file: /data/cvs/libvirt/docs/formatdomain.html.in,v retrieving revision 1.7 diff -u -r1.7 formatdomain.html.in --- docs/formatdomain.html.in 12 Aug 2008 07:28:28 -0000 1.7 +++ docs/formatdomain.html.in 13 Oct 2008 14:20:46 -0000 @@ -581,6 +581,38 @@ </interface> ... +
Setting the NIC model
+ +
+      ...
+      <interface type='network'>
+        <source network='default'/>
+        <target dev='vnet1'/>
+        <model type='ne2k_pci'/>
+      </interface>
+      ...
+ +

+ For hypervisors which support this, you can set the model of + emulated network interface card. +

+ +

+ The values for type aren't defined specifically by + libvirt, but by what the underlying hypervisor supports (if + any). For QEMU and KVM you can get a list of supported models + with these commands: +

+ +
+qemu -net nic,model=? /dev/null
+qemu-kvm -net nic,model=? /dev/null
+
+ +

+ Typical values for QEMU and KVM include: + ne2k_isa i82551 i82557b i82559er ne2k_pci pcnet rtl8139 e1000 virtio +

Input devices

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]