can't up the eth in the vm and access to network

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>

Attachment: system
Description: Binary data

Attachment: Screenshot.png
Description: PNG image


[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux