From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:35365) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Smiic-0001j8-Rr for qemu-devel@nongnu.org; Thu, 05 Jul 2012 05:51:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Smiib-0005pg-4k for qemu-devel@nongnu.org; Thu, 05 Jul 2012 05:51:26 -0400 Message-ID: <4FF5638F.7040109@redhat.com> Date: Thu, 05 Jul 2012 11:51:11 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1341422373-13614-1-git-send-email-afaerber@suse.de> <1341422373-13614-15-git-send-email-afaerber@suse.de> <20120704211717.GC27653@redhat.com> <20120704212614.GA27711@redhat.com> <4FF4B7BB.8060301@codemonkey.ws> <20120705085938.GA29373@redhat.com> In-Reply-To: <20120705085938.GA29373@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3 14/14] pci: Tidy up PCI host bridges List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: jbaron@redhat.com, Alexander Graf , qemu-devel@nongnu.org, =?ISO-8859-1?Q?Andrea?= =?ISO-8859-1?Q?s_F=E4rber?= , New World , Anthony Liguori , =?ISO-8859-1?Q?Andreas_F=E4?= =?ISO-8859-1?Q?rber?= Il 05/07/2012 10:59, Michael S. Tsirkin ha scritto: > Field accesses are better. If there is a user error, code does not > compile. They are also self-documenting to some level: you look > at a struct you see all its fields. How do you know which casts > will succeed on a given type? There's no easy way. > I agree. Paolo