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