Received: from eggs.gnu.org ([2001:4830:134:3::10]:36019) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XSHCB-0004bE-RO for qemu-devel@nongnu.org; Thu, 11 Sep 2014 23:06:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XSHC6-0003QK-Pp for qemu-devel@nongnu.org; Thu, 11 Sep 2014 23:06:47 -0400 Date: Fri, 12 Sep 2014 11:06:36 +0800 From: Fam Zheng Message-ID: <20140912030636.GA5478@fam-t430.nay.redhat.com> References: <1410477659-9163-1-git-send-email-mdroth@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1410477659-9163-1-git-send-email-mdroth@linux.vnet.ibm.com> Subject: Re: [Qemu-devel] [PATCH 0/3] qapi: fix crash in dealloc visitor for union types List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Roth Cc: armbru@redhat.com, qemu-stable@nongnu.org, qemu-devel@nongnu.org, lcapitulino@redhat.com, pbonzini@redhat.com On Thu, 09/11 18:20, Michael Roth wrote: > This series introduces visit_start_enum and visit_end_enum as a way > of allowing visitors to trigger generated code to bail out on visiting > union fields if the visitor implementation deems doing so to be unsafe. > > See patch 1 for the circumstances that cause the segfault in the > dealloc visitor. > > This is a spin-off of a patch submitted by Fam Zheng earlier. See the > thread for additional background on why we're taking this approach: > > http://thread.gmane.org/gmane.comp.emulators.qemu/296090 > > Fam, if you'd like to break out your iotest into another patch I > can include it as part of this series, otherwise it can be sent as > a follow-up. It's a good exercise of this bug from the user interface, I'll reply my patch to this series. Thanks for taking care of this, Michael. Fam