From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:58451) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TF5c0-0008UE-U0 for qemu-devel@nongnu.org; Fri, 21 Sep 2012 11:57:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TF5by-0007kU-Lx for qemu-devel@nongnu.org; Fri, 21 Sep 2012 11:57:52 -0400 Received: from mail-pb0-f45.google.com ([209.85.160.45]:48129) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TF5by-0007kJ-Fn for qemu-devel@nongnu.org; Fri, 21 Sep 2012 11:57:50 -0400 Received: by pbbrp12 with SMTP id rp12so7983545pbb.4 for ; Fri, 21 Sep 2012 08:57:49 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <505C8E76.1030104@redhat.com> Date: Fri, 21 Sep 2012 17:57:42 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1348236465-23124-1-git-send-email-mdroth@linux.vnet.ibm.com> In-Reply-To: <1348236465-23124-1-git-send-email-mdroth@linux.vnet.ibm.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2] Add infrastructure for QIDL-based device serialization List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Roth Cc: blauwirbel@gmail.com, peter.maydell@linaro.org, aliguori@us.ibm.com, eblake@redhat.com, qemu-devel@nongnu.org Il 21/09/2012 16:07, Michael Roth ha scritto: > > QIDL_DECLARE(SerialDevice) { > SysBusDevice parent; > > uint8_t thr; /* transmit holding register */ > uint8_t lsr; /* line status register */ > uint8_t ier; /* interrupt enable register */ > > int int_pending qDerived; /* whether we have a pending queued interrupt */ > CharDriverState *chr qImmutable; /* backend */ > }; I thought we agreed on QIDL(derived), QIDL(immutable) etc. These prefixes just do not scale... Paolo