[libvirt-users] can't up the eth in the vm and access to network

David White dwhite at speakeasy.net
Tue May 3 00:47:57 UTC 2011


did you 'unbind' the device from the host OS driver?

On 05/01/2011 01:38 AM, guan qin wrote:
> Hi,
>
> I encounter a problem that the eth can't be up in the VM by using VT-d.
> I boot the VM using "virsh create vt_d.xml".
> The VM could recongize the NIC which was assigned .then I do in VM as
> follows:
> #cat /sys/class/net/eth0/operstate
> down
> #ifconfig eth0 up
> #cat /sys/class/net/eth0/operstate
> down
> #ficonfig eth 10.100.0.5
> #cat /sys/class/net/eth0/operstate
> down
> more system information is attached.(uname 、ifconfig 、lspci、cmdline...)
>
> I can't figure out the reason why the eth is still down? can anyone
> help me ?
>
> best regards,
> qinguan
>
>
>
> vt_d.xml:
> <domain type='kvm'>
> <name>test</name>
> <description>just test using sriov!</description>
> <os>
> <type>hvm</type>
> <boot dev='hd'/>
> </os>
> <memory>524288</memory>
> <currentMemory>524288</currentMemory>
> <on_poweroff>destroy</on_poweroff>
> <on_reboot>restart</on_reboot>
> <on_crash>restart</on_crash>
>
> <features><pae/><acpi/><apic/></features>
> <clock offset='utc'/>
> <devices>
> <input type='mouse' bus='usb'/>
> <disk type='file' device='disk'>
> <source file='/home/qinguan/exp/ubuntu_1.img'/>
> <target dev='hda' bus='virtio'/>
> </disk>
> <emulator>/usr/bin/kvm</emulator>
> <graphics type='vnc' port='-1'/>
> <hostdev mode='subsystem' type='pci' managed='yes'>
> <source>
> <address bus='0x0' slot='0x19' function='0x0'/>
> </source>
> </hostdev>
> </devices>
> </domain>
>
>
> _______________________________________________
> libvirt-users mailing list
> libvirt-users at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20110502/74dacd32/attachment.htm>


More information about the libvirt-users mailing list