Received: from eggs.gnu.org ([2001:4830:134:3::10]:58812) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFpSj-0006x8-7x for qemu-devel@nongnu.org; Fri, 08 Aug 2014 15:04:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XFpSc-0003HC-Uw for qemu-devel@nongnu.org; Fri, 08 Aug 2014 15:04:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49410) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFpSc-0003H0-NE for qemu-devel@nongnu.org; Fri, 08 Aug 2014 15:04:18 -0400 From: Eduardo Habkost Date: Fri, 8 Aug 2014 16:03:25 -0300 Message-Id: <1407524611-10843-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH v3 0/6] Improve global validation test cases, move validation to a single function List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , "Michael S. Tsirkin" , Markus Armbruster , Don Slutz , Paolo Bonzini , Igor Mammedov , =?UTF-8?q?Andreas=20F=C3=A4rber?= New version of what was previously a single patch, submitted as: Subject: [PATCH v2] qdev: Move global validation to a single function Now the test cases run in a subprocess, and we are ensuring the warning messages are actually printed. Eduardo Habkost (6): test-qdev-global-props: Trivial comment fix test-qdev-global-props: Run tests on subprocess test-qdev-global-props: Initialize not_used=true for all props test-qdev-global-props: Test handling of hotpluggable and non-device types qdev: Rename qdev_prop_check_global() to qdev_prop_check_globals() qdev: Move global validation to a single function hw/core/qdev-properties-system.c | 18 +---- hw/core/qdev-properties.c | 30 ++++++-- include/hw/qdev-core.h | 10 +-- include/hw/qdev-properties.h | 2 +- tests/test-qdev-global-props.c | 159 ++++++++++++++++++++++++++++++++++++--- vl.c | 2 +- 6 files changed, 180 insertions(+), 41 deletions(-) -- 1.9.3