From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:37973) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UK7gA-00024Z-SG for qemu-devel@nongnu.org; Mon, 25 Mar 2013 09:43:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UK7g2-000618-QD for qemu-devel@nongnu.org; Mon, 25 Mar 2013 09:43:14 -0400 Received: from 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.d.1.0.0.b.8.0.1.0.0.2.ip6.arpa ([2001:8b0:1d0::1]:33198 helo=mnementh.archaic.org.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UK7g2-00060y-Dv for qemu-devel@nongnu.org; Mon, 25 Mar 2013 09:43:06 -0400 From: Peter Maydell Date: Mon, 25 Mar 2013 13:15:12 +0000 Message-Id: <1364217314-7400-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH v7 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 , =?UTF-8?q?Andreas=20F=C3=A4rber?= , patches@linaro.org Detect and abort on duplicate properties in a qdev Property array. This patchset actually dates back to October last year (and got reviewed then, hence Anthony's r-b tags) but it didn't get applied (maybe we were in codefreeze) and I forgot about it. Anyway, I've rebased it so here we are again. Changes v6->v7: trivial, just removed stray newline from end of error_setg() string. 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