qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] pci: add standard bridge device


From: Wen Congyang
Subject: Re: [Qemu-devel] [PATCH] pci: add standard bridge device
Date: Tue, 06 Sep 2011 11:06:23 +0800
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100413 Fedora/3.0.4-2.fc13 Thunderbird/3.0.4

At 09/04/2011 04:25 PM, Avi Kivity Write:
> On 09/02/2011 05:56 AM, Wen Congyang wrote:
>> >
>> >  You could use something like kvm-unit-tests.git to write a simple test
>> >  that sets up a BAR (say from hw/ivshmem.c), writes and reads to see
>> that
>> >  it is visible, programs the bridge to filter part of the BAR out, then
>> >  writes and reads again to verify that the correct part is filtered
>> out.
>>
>> I am testing ivshmem now. But I do not know how to access the memory
>> specified in the BAR.
>>
>>
> 
> Use the uio driver -
> http://docs.blackfin.uclinux.org/kernel/generated/uio-howto/.  You just
> mmap() the BAR from userspace and play with it.

When I try to bind ivshmem to uio_pci_generic, I get the following messages:
uio_pci_generic 0000:01:01.0: No IRQ assigned to device: no support for 
interrupts?

Thanks
Wen Congyang



reply via email to

[Prev in Thread] Current Thread [Next in Thread]