[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] rtc: initialize irq even if caller doesn't use
From: |
Jan Kiszka |
Subject: |
Re: [Qemu-devel] [PATCH] rtc: initialize irq even if caller doesn't use rtc_init() function |
Date: |
Mon, 23 Jan 2012 13:06:20 +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-01-23 13:00, Hervé Poussineau wrote:
> Jan Kiszka a écrit :
>> On 2012-01-23 10:18, Hervé Poussineau wrote:
>>> rtc instanciated with -device has now a working irq line
>>
>> That makes no sense. The mc146818rtc is no_user - for a reason.
>>
>> What is the use case you are trying to address?
>>
>
> I wanted to be able to instanciate it with isa_create_simple(isa_bus,
> "mc146818rtc") in machine init code.
Why?
> I don't see any good reason why a rtc created this way can't work.
You will still need to set the base year then, manually. And your
machine has no legacy RTC replacement logic like the PC?
I just don't get the benefit.
Jan
--
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux