From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44961) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y3DJg-0008C3-AY for qemu-devel@nongnu.org; Mon, 22 Dec 2014 19:27:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y3DJb-0002ux-9H for qemu-devel@nongnu.org; Mon, 22 Dec 2014 19:27:12 -0500 Message-ID: <5498B6D2.5040406@suse.de> Date: Tue, 23 Dec 2014 01:26:58 +0100 From: Alexander Graf MIME-Version: 1.0 References: <1419293824-2654-1-git-send-email-david@gibson.dropbear.id.au> <1419293824-2654-9-git-send-email-david@gibson.dropbear.id.au> In-Reply-To: <1419293824-2654-9-git-send-email-david@gibson.dropbear.id.au> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCHv2 8/8] pseries: Export RTC time via QOM List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Gibson , aik@ozlabs.ru, mdroth@us.ibm.com Cc: amit.shah@redhat.com, pbonzini@redhat.com, qemu-ppc@nongnu.org, qemu-devel@nongnu.org On 23.12.14 01:17, David Gibson wrote: > On x86, the guest's RTC can be read with QMP, either from the RTC device's > "date" property or via the "rtc-time" property on the machine (which is an > alias to the former). This is set up in the mc146818rtc driver, and > doesn't work on other targets. > > This patch adds a similar "date" property to the pseries machine's RTAS RTC > and adds a compatible alias to the machine. > > Signed-off-by: David Gibson Very nice, can we somehow get rid of an exported spapr_rtc_read() with this as well? Alex