From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52941) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDHUq-0008Pb-Q2 for qemu-devel@nongnu.org; Wed, 15 Jun 2016 16:33:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bDHUm-0005jJ-Lq for qemu-devel@nongnu.org; Wed, 15 Jun 2016 16:33:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53357) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDHUm-0005j2-GE for qemu-devel@nongnu.org; Wed, 15 Jun 2016 16:33:04 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4EF498E3E6 for ; Wed, 15 Jun 2016 20:33:03 +0000 (UTC) From: Eduardo Habkost Date: Wed, 15 Jun 2016 17:32:43 -0300 Message-Id: <1466022773-8965-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH 00/10] globals: Clean up validation and error checking List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, Markus Armbruster Cc: Paolo Bonzini , Marcel Apfelbaum , Igor Mammedov This series includes multiple changes to the way errors are handled by the global property system. The series is based on my machine-next branch, available at: https://github.com/ehabkost/qemu.git machine-next The series itself can be found at: https://github.com/ehabkost/qemu-hacks.git work/global-error-handling Eduardo Habkost (10): qdev: Don't stop applying globals on first error qdev: Eliminate qemu_add_globals() function vl: Reject invalid class names on -global qdev: Use error_prepend() for errors applying globals qdev: GlobalProperty.errp field machine: Add machine_register_compat_props() function vl: Set errp to &error_abort on machine compat_props qdev: Eliminate "global not used" warning qdev: Eliminate GlobalProperty 'used' and 'user_provided' fields machine: Skip global registration for non-existing classes hw/core/machine.c | 27 +++++++++++++++++++++++ hw/core/qdev-properties-system.c | 21 +----------------- hw/core/qdev-properties.c | 46 ++++++---------------------------------- include/hw/boards.h | 1 + include/hw/qdev-core.h | 9 ++++---- include/hw/qdev-properties.h | 1 - include/qemu/config-file.h | 1 - vl.c | 38 ++++++++++++++++++++++++++------- 8 files changed, 70 insertions(+), 74 deletions(-) -- 2.5.5