[libvirt-users] can't up the eth in the vm and access to network
guan qin
qinguan0619 at gmail.com
Sun May 1 08:38:22 UTC 2011
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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20110501/7b8e0e94/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: system
Type: application/octet-stream
Size: 31550 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20110501/7b8e0e94/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot.png
Type: image/png
Size: 163573 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20110501/7b8e0e94/attachment.png>
More information about the libvirt-users
mailing list