qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC] Memory API


From: Richard Henderson
Subject: Re: [Qemu-devel] [RFC] Memory API
Date: Wed, 18 May 2011 13:13:30 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Thunderbird/3.1.10

On 05/18/2011 09:47 AM, Avi Kivity wrote:
> Yes.  We'd change pci_register_bar() to accept a MemoryRegion.

Surely this detail would be hidden on the pci_dev->bus?

>> However, we are yet in troubles if we want to change that because
>> devices can only be on one bus - at least so far.
> 
> Nothing prohibits a device from calling pci_register_bar() for one region and 
> some other API for another.

Sure, but the majority of PCI devices are plain pci, and 
that sort of complexity should be hidden by default.


r~




reply via email to

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