Re: [Qemu-devel] PCI device assign problems!

2013-03-04 Thread Alex Williamson
On Tue, 2013-03-05 at 06:46 +0800, GaoYi wrote: > Hi Alex, > >Thanks for your prompt response. The driver is as following: > > >virt = (u64)kzalloc(size, GFP_KERNEL); > >phy_addr = virt_to_bus((void*)virt_addr); > >iowrite32( phy_addr, (void*

Re: [Qemu-devel] PCI device assign problems!

2013-03-04 Thread Alex Williamson
On Mon, 2013-03-04 at 18:13 +0800, GaoYi wrote: > Hi, > >I am trying to run a PCI card as a pass-throughed device. The PCI driver > works well on physical PC but failed on a full-virtualized PC. The KVM > confiuration is OK as a pass-throughed network card works. I debuged the > PCI driver and

[Qemu-devel] PCI device assign problems!

2013-03-04 Thread GaoYi
Hi, I am trying to run a PCI card as a pass-throughed device. The PCI driver works well on physical PC but failed on a full-virtualized PC. The KVM confiuration is OK as a pass-throughed network card works. I debuged the PCI driver and found that the some registers of this PCI card should be fi