<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=GB2312" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
did you 'unbind' the device from the host OS driver?<br>
<br>
On 05/01/2011 01:38 AM, guan qin wrote:
<blockquote
cite="mid:BANLkTi=2_EHWtVc-+WL1Mp9v=ErYtRNotA@mail.gmail.com"
type="cite">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>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
libvirt-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:libvirt-users@redhat.com">libvirt-users@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/libvirt-users">https://www.redhat.com/mailman/listinfo/libvirt-users</a></pre>
</blockquote>
<br>
</body>
</html>