qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/4] i8254: Factor out base class for KVM reuse


From: Jan Kiszka
Subject: Re: [Qemu-devel] [PATCH 1/4] i8254: Factor out base class for KVM reuse
Date: Wed, 01 Feb 2012 13:43:13 +0100
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 2012-02-01 13:23, Paolo Bonzini wrote:
> On 01/31/2012 10:49 PM, Jan Kiszka wrote:
>>>  Just make the methods that you want to override virtual with the default
>>>  implementation and then make a KVMPIT that inherits from the PIT and
>>>  then overrides whatever virtual functions it needs to.
>>
>> That doesn't sound like the proper design for this purpose. Rather, we
>> have an abstract base class that both implementations are derived from.
> 
> Absolutely!
> 
>> If I'm not using QOM properly to achieve this, please tell me.
> 
> It looks good, besides the need to rebase to Anthony's "part 3" changes.

Given that this part is not upstream and that the relevant conversion is
scripted, I would leave this to Anthony so far. Or what is the schedule?

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]