[libvirt] interface description

?Hi, I have an interface xml description the "model" is missing, is that normal ? if it is normal, what is the exposed model ? <interface type="network"> <mac address="52:54:00:50:3a:98" /> <source network="default" /> <target dev="vnet0" /> <alias name="net0" /> <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0" /> </interface> Regards Arnaud

On 01/31/2011 12:10 PM, arnaud.champion@devatom.fr wrote:
Hi, I have an interface xml description the "model" is missing, is that normal ? if it is normal, what is the exposed model ?
It's not required to specify <model type="..."/> in the XML. If you don't give a model, it looks like it defaults to rtl8139 (see qemuBuildNicDevStr()).
<interfacetype="*network*">
<mac address="*52:54:00:50:3a:98*"/>
**<source network="*default*"/> **<target dev="*vnet0*"/> **<alias name="*net0*"/> **<address type="*pci*"domain="*0x0000*"bus="*0x00*"slot="*0x03*"function="*0x0*"/> </interface> Regards Arnaud
-- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
participants (2)
-
arnaud.champion@devatom.fr
-
Laine Stump