qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH RFC qom-next 0/4] QOM'ification of pci-bridge ty


From: Andreas Färber
Subject: Re: [Qemu-devel] [PATCH RFC qom-next 0/4] QOM'ification of pci-bridge types
Date: Tue, 23 Jul 2013 00:05:52 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7

Am 22.07.2013 19:22, schrieb Andreas Färber:
> Am 21.07.2013 22:26, schrieb Michael S. Tsirkin:
>> On Sun, Jul 21, 2013 at 04:09:00PM +0200, Andreas Färber wrote:
>>> Hello Michael et al.,
>>>
>>> This series turns PCIBridge, PCIEPort and PCIESlot into abstract QOM types,
>>> so that we can use QOM casts to obtain a pointer.
>>>
>>> Possibly this was prompted by q35's PCIe?
>>
>> What was prompted?
> 
> This refactoring series.
> 
>> What's the question exactly?
> 
> Why I prepared this series on an offline train ride on Wednesday. ;) Not
> for you to answer - something PCIe must've gotten in the way of some QOM
> realize conversion but the branch is missing the final patch showing
> what these types and casts are good for.

Doh, stumbled over it again: pci_bridge_initfn() should become
PCIBridge's realizefn, and walking down the type hierarchy
pcie_port_init_reg() should become PCIEPort's (which needs
TYPE_PCIE_PORT), etc. That's a bigger refactoring though, so v2 will
come without it.

Andreas

> Since we're in Soft Freeze I
> rather wanted to flush my queues for review though rather than spend
> more time puzzling why I did this. :)
> 
> Andreas
> 
>>
>>> Don't remember ATM...
>>>
>>> Regards,
>>> Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg



reply via email to

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