[Qemu-discuss] Unable to use DMA of PCI IDE bus master

2016-06-23 Thread Yanjun Yang
Hi, I was trying to use DMA to transfer a sector of data from hardisk to memory. The attached code works under VirtualBox (change bmcr address to D000) but not under newer version of qemu. An old version of qemu (1.1.2 from Debian wheezy) behave as I expected. Other version I tested are 2.5.1.1

[Qemu-discuss] USB hub passthrough

2016-06-23 Thread Dominik Csapak
Hi, does anyone know if it is possible to passthrough a USB hub to a vm? I tried using hostport/bus and vendor/productid but it did not work. passing through regular USB devices is working like expected. if it is not possible, does anyone know why not? the documentation is rather short in this re

Re: [Qemu-discuss] Unable to use DMA of PCI IDE bus master

2016-06-23 Thread Jakob Bohm
On 23/06/2016 09:02, Yanjun Yang wrote: Hi, I was trying to use DMA to transfer a sector of data from hardisk to memory. The attached code works under VirtualBox (change bmcr address to D000) but not under newer version of qemu. An old version of qemu (1.1.2 from Debian wheezy) behave as I

Re: [Qemu-discuss] How to add a new type device into qemu and make vms recognize it

2016-06-23 Thread Alex
Have you looked at PCI pass-through? It seems more related to what you're trying to accomplish than virtio drivers. /--Regards, Alex/ On 22/06/16 18:02, wukunhenggo wrote: Hello, I have a new DAQ(data acquisition) card, which can speed up special data calculation, and its driver in linux. Now

Re: [Qemu-discuss] Unable to use DMA of PCI IDE bus master

2016-06-23 Thread Yanjun Yang
On Thu, Jun 23, 2016 at 10:22 PM, Jakob Bohm wrote: > On 23/06/2016 09:02, Yanjun Yang wrote: > > Hi, > > I was trying to use DMA to transfer a sector of data from hardisk to > memory. The attached > code works under VirtualBox (change bmcr address to D000) but not under > newer version > of qe

Re: [Qemu-discuss] Unable to use DMA of PCI IDE bus master

2016-06-23 Thread Jakob Bohm
On 24/06/2016 02:13, Yanjun Yang wrote: On Thu, Jun 23, 2016 at 10:22 PM, Jakob Bohm > wrote: On 23/06/2016 09:02, Yanjun Yang wrote: Hi, I was trying to use DMA to transfer a sector of data from hardisk to memory. The attached code work

Re: [Qemu-discuss] Unable to use DMA of PCI IDE bus master

2016-06-23 Thread Yanjun Yang
On Fri, Jun 24, 2016 at 10:00 AM, Jakob Bohm wrote: > On 24/06/2016 02:13, Yanjun Yang wrote: > > >> >> On Thu, Jun 23, 2016 at 10:22 PM, Jakob Bohm > > wrote: >> >> On 23/06/2016 09:02, Yanjun Yang wrote: >> >>> Hi, >>> >>> I was trying to use DMA to t