From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:55862) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TRo7F-0002Qt-Ik for qemu-devel@nongnu.org; Fri, 26 Oct 2012 13:54:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TRo7E-0006W6-RQ for qemu-devel@nongnu.org; Fri, 26 Oct 2012 13:54:41 -0400 Received: from 38.0.169.217.in-addr.arpa ([217.169.0.38]:42950 helo=mnementh.archaic.org.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TRo7E-0006Vv-LO for qemu-devel@nongnu.org; Fri, 26 Oct 2012 13:54:40 -0400 From: Peter Maydell Date: Fri, 26 Oct 2012 18:29:27 +0100 Message-Id: <1351272569-14009-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH v5 0/2] qdev: Detect duplicate device properties List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Anthony Liguori , patches@linaro.org Detect and abort on duplicate properties in a qdev Property array. The only change v4->v5 is I fixed the commit message in the first patch not to talk about "critical errors" any more, and added Anthony's reviewed-by tags. Peter Maydell (2): qom: Detect attempts to add a property that already exists hw/qdev: Abort rather than ignoring errors adding device properties hw/qdev.c | 10 +++++++--- qom/object.c | 13 ++++++++++++- 2 files changed, 19 insertions(+), 4 deletions(-) -- 1.7.9.5