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: Jan Kiszka
Subject: Re: [Qemu-devel] [RFC] Memory API
Date: Thu, 19 May 2011 14:58:59 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666

On 2011-05-19 14:50, Avi Kivity wrote:
> On 05/19/2011 03:20 PM, Jan Kiszka wrote:
>>>
>>>  An example is ne2000-isa and ne2000-pci.  There's no getting around some
>>>  glue logic, but I think this API minimizes it (you can declare
>>>  everything about your memory region in common code, the only thing that
>>>  is different is registration).
>>
>> If devices register against the corresponding qbus (I expect we'll have
>> multiple ones in the future), not even that need to be different.
> 
> Eventually we may make the memory API a sub-API of qdev.  I don't want 
> to start with that however, the change is large enough already.

Touching all devices again at that point to change the way they register
regions may not be the best approach. I would try to consolidate the
refactoring work that affects the majority of device models.

Jan

-- 
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux



reply via email to

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