[Top][All Lists]

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

Re: [Qemu-devel] [PATCH] pci: implement bridge filtering

From: Wen Congyang
Subject: Re: [Qemu-devel] [PATCH] pci: implement bridge filtering
Date: Wed, 14 Sep 2011 09:48:06 +0800
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100413 Fedora/3.0.4-2.fc13 Thunderbird/3.0.4

At 09/05/2011 02:13 AM, Michael S. Tsirkin Write:
> Support bridge filtering on top of the memory
> API as suggested by Avi Kivity:
> Create a memory region for the bridge's address space.  This region is
> not directly added to system_memory or its descendants.  Devices under
> the bridge see this region as its pci_address_space().  The region is
> as large as the entire address space - it does not take into account
> any windows.
> For each of the three windows (pref, non-pref, vga), create an alias
> with the appropriate start and size.  Map the alias into the bridge's
> parent's pci_address_space(), as subregions.
> Signed-off-by: Michael S. Tsirkin <address@hidden>
> ---
> The below seems to work fine for me so I applied this.
> Still need to test bridge filtering, any help with this
> appreciated.

I test bridge filtering, and the BAR still can be visible on guest even if
I change the memory region.

Wen Congyang

reply via email to

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