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

2011-05-04 Thread Osier Yang
于 2011年05月04日 16:17, guan qin 写道: > Hi , > I look into the qemu log file ,find that : > > LC_ALL=C > PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin HOME=/ > QEMU_AUDIO_DRV=none /usr/bin/kvm -S -M pc-0.12 -enable-kvm -m 512 -smp > 1,sockets=1,cores=1,threads=1 -name vt_d_5 -uu

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

2011-05-04 Thread guan qin
Hi , I look into the qemu log file ,find that : LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin HOME=/ QEMU_AUDIO_DRV=none /usr/bin/kvm -S -M pc-0.12 -enable-kvm -m 512 -smp 1,sockets=1,cores=1,threads=1 -name vt_d_5 -uuid 05f608a3-f64f-2418-a90a-d611982c8336 -nodefault

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

2011-05-03 Thread guan qin
sorry for missing some information. I checkd the device that : # readlink /sys/bus/pci/devices/\:00\:19.0/driver ../../../bus/pci/drivers/pci-stub the device has been already claimed by pci-stub and under the control of pci_stub. so the reason that can't up the eth in VM maybe has nothing to d

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

2011-05-03 Thread guan qin
Hi,the libvirt version is 0.8.3, I just used "apt-get install libvirt-bin" to install it under debian6.0.1a. Is it necessary to install 0.8.4 or higher version ? Best regards, qinguan 在 2011年5月3日 下午4:28,Osier Yang 写道: > 于 2011年05月03日 15:38, guan qin 写道: > > Thanks a lot for your reply sincere

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

2011-05-03 Thread Osier Yang
于 2011年05月03日 15:38, guan qin 写道: > Thanks a lot for your reply sincerely! > Actually ,if I do as what > http://www.linux-kvm.org/page/How_to_assign_devices_with_VT-d_in_KVM said,: > " > # echo "8086 10b9" > /sys/bus/pci/drivers/pci-stub/new_id > # echo :01:00.0 > /sys/bus/pci/devices/:01:

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

2011-05-03 Thread guan qin
Thanks a lot for your reply sincerely! Actually ,if I do as what http://www.linux-kvm.org/page/How_to_assign_devices_with_VT-d_in_KVM said,: " echo "8086 10b9" > /sys/bus/pci/drivers/pci-stub/new_id echo :01:00.0 > /sys/bus/pci/devices/:01:00.0/driver/unbind echo :01:00.0 > /sys/bus/p

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

2011-05-02 Thread David White
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 > f

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

2011-05-02 Thread Marco van Beek
Hi, If you find that the whole VM does not come up, then it may either be permissions due to apparmor, (if you are running it), or as I found out, unless your motherboard supports IOMMU, then PCI passthough (which is what you appear to be trying to do) will apparently never work. What you would n