From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwwfI-0004MV-Dg for qemu-devel@nongnu.org; Tue, 17 Jun 2014 12:55:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WwwfB-0006MT-84 for qemu-devel@nongnu.org; Tue, 17 Jun 2014 12:55:20 -0400 Received: from cantor2.suse.de ([195.135.220.15]:37188 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwwfB-0006Lw-1u for qemu-devel@nongnu.org; Tue, 17 Jun 2014 12:55:13 -0400 Message-ID: <53A072EF.10905@suse.de> Date: Tue, 17 Jun 2014 18:55:11 +0200 From: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= MIME-Version: 1.0 References: <1402505369-12526-1-git-send-email-pbonzini@redhat.com> <1402505369-12526-6-git-send-email-pbonzini@redhat.com> <53A04CD7.3080100@redhat.com> <53A0585E.5060701@redhat.com> In-Reply-To: <53A0585E.5060701@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 5/5] mc146818rtc: add "rtc" link to "/machine" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , Peter Crosthwaite , Markus Armbruster Cc: Marcelo Tosatti , "qemu-devel@nongnu.org Developers" , Stefan Hajnoczi Am 17.06.2014 17:01, schrieb Paolo Bonzini: > Il 17/06/2014 16:25, Peter Crosthwaite ha scritto: >>> > &error_warn? :) But then, /machine/rtc.tm is the only supported >>> interface, >> I have thought about &error_warn in the past, but thought the better >> of it. Warnings need user digestable message and I can't think of a >> sane implementation where you populate a message for error framework >> to raise while maintaining the needed errp =3D=3D NULL || *errp =3D=3D= NULL >> semantic at the same time. >> >>> > and it should be the same for all RTC devices so perhaps a NULL err= or >>> > pointer is enough. >>> > >> NULL Works for me. But other than source verbosity is there any reason >> to not catch the error?: >=20 > See above: it doesn't matter _which_ RTC gets the magic alias. For a > proper implementation, they should all be the same. Doesn't this "alias" potentially change the canonical path since the new property's type is going to be child? Regards, Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=C3=B6rffer; HRB 16746 AG N=C3=BC= rnberg