RE: How to use PCI-passthrough with kvm

2008-12-14 Thread Han, Weidong
element type > libkvm-x86.c:264: error: invalid application of 'sizeof' to incomplete > type 'struct kvm_pit_state' > libkvm-x86.c:264: error: invalid application of 'sizeof' to incomplete > type 'struct kvm_pit_state' > make[1]: *** [libkvm-x86.o] Er

Re: How to use PCI-passthrough with kvm

2008-12-14 Thread w1ndoz
x27;sizeof' to incomplete type 'struct kvm_pit_state' make[1]: *** [libkvm-x86.o] Error 1 make[1]: Leaving directory `/home/ddk/vtd/libkvm' make: *** [libkvm] Error 2 Any advice or tips will help? Thanks, Kazushi From: "Han, Weidong" Subject: RE: How to use PCI-pass

RE: How to use PCI-passthrough with kvm

2008-12-11 Thread Han, Weidong
It's not related to shared irq. MSI is already supported in KVM, so if the device has MSI capability, there is no sharing irq issue. Can you try latest kvm.git and kvm-userspace.git? At least you are not using latest kvm-userspace because there is output "BUG: kvm_destroy_phys_mem: invalid para

Re: How to use PCI-passthrough with kvm

2008-12-11 Thread w1ndoz
Hi Weidong, Thank you for your advice. The other messages which I found are the following messages which KVM outputs: BUG: kvm_destroy_phys_mem: invalid parameters (slot=-1) BUG: kvm_destroy_phys_mem: invalid parameters (slot=-1) and, IRQ status is as follows: /proc/interrupt of the host OS is

RE: How to use PCI-passthrough with kvm

2008-12-10 Thread Han, Weidong
Hi, This onboard NIC assignment works for me. I used RHEL5u1 guest and e1000e 0.2.9.5 driver. So I don't think this issue is caused by PCI passthrough on KVM. Is there any error messages of assigning device? Pls note that the device that shares IRQ with other devices in host cannot work by PCI

Re: How to use PCI-passthrough with kvm

2008-12-10 Thread w1ndoz
Hi Weidong, Thank you for your advice Finally, I could recognize a Intel NIC from the guest OS. But, I had a new problem. A guest os have been able to recognize the NIC with pci-passthrough. However the NIC could not get a IP address on a guest os The NIC causes the following errors and stops:

RE: How to use PCI-passthrough with kvm

2008-12-10 Thread Han, Weidong
Hi Kazushi, Make sure unload the driver of the device before assign it. Regards, Weidong w1ndoz wrote: > Hi > > I'm interested in PCI passthrough support. > > I downloaded Linux Kernel 2.6.28-rc7 and build and ran KVM (which > is KVM-79) on this kernel. > I started KVM with the following comm

How to use PCI-passthrough with kvm

2008-12-09 Thread w1ndoz
Hi I'm interested in PCI passthrough support. I downloaded Linux Kernel 2.6.28-rc7 and build and ran KVM (which is KVM-79) on this kernel. I started KVM with the following command-lines: $ qemu-system-x86_64 -boot c -m 512 -hda test.qcow -localtime -k en-us -pcidevice host=00:19.0 (00:19.0 is Int

How to use PCI-passthrough with kvm

2008-12-09 Thread w1ndoz
Hi I'm interested in PCI passthrough support. I downloaded Linux Kernel 2.6.28-rc7 and build and ran KVM (which is KVM-79) on this kernel. I started KVM with the following command-lines: $ qemu-system-x86_64 -boot c -m 512 -hda test.qcow -localtime -k en-us -pcidevice host=00:19.0 (00:19.0 is Int