From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:53347) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpIfK-0005v2-7M for qemu-devel@nongnu.org; Mon, 23 Jan 2012 07:06:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RpIfJ-0006Tm-50 for qemu-devel@nongnu.org; Mon, 23 Jan 2012 07:06:26 -0500 Received: from david.siemens.de ([192.35.17.14]:31194) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpIfI-0006TV-P8 for qemu-devel@nongnu.org; Mon, 23 Jan 2012 07:06:25 -0500 Message-ID: <4F1D4D3C.8010708@siemens.com> Date: Mon, 23 Jan 2012 13:06:20 +0100 From: Jan Kiszka MIME-Version: 1.0 References: <1327310329-15294-1-git-send-email-hpoussin@reactos.org> <4F1D428A.1050005@siemens.com> <4F1D4BEB.3040904@reactos.org> In-Reply-To: <4F1D4BEB.3040904@reactos.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] rtc: initialize irq even if caller doesn't use rtc_init() function List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?SGVydsOpIFBvdXNzaW5lYXU=?= Cc: Anthony Liguori , "qemu-devel@nongnu.org" On 2012-01-23 13:00, Herv=C3=A9 Poussineau wrote: > Jan Kiszka a =C3=A9crit : >> On 2012-01-23 10:18, Herv=C3=A9 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? >> >=20 > I wanted to be able to instanciate it with isa_create_simple(isa_bus,=20 > "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 --=20 Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux