Received: from eggs.gnu.org ([2001:4830:134:3::10]:35840) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2mx8-0001Lv-Rb for qemu-devel@nongnu.org; Thu, 03 Jul 2014 15:46:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X2mx2-0001Id-Nc for qemu-devel@nongnu.org; Thu, 03 Jul 2014 15:45:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:64650) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2mx2-0001HF-Fd for qemu-devel@nongnu.org; Thu, 03 Jul 2014 15:45:48 -0400 From: Eduardo Habkost Date: Thu, 3 Jul 2014 16:45:33 -0300 Message-Id: <1404416735-22371-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH for-2.1 0/2] Fix crashes related to -global option List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, =?UTF-8?q?Andreas=20F=C3=A4rber?= Cc: Peter Maydell , "Michael S. Tsirkin" , Markus Armbruster , Don Slutz , Paolo Bonzini , Igor Mammedov Patch 1 (which was submitted previously but has fallen through the cracks) fixes: $ qemu-system-x86_64 -global cpu.xxx=y qemu-system-x86_64: Property '.xxx' not found Aborted (core dumped) Patch 2 fixes: $ qemu-system-x86_64 -global container.xxx=y hw/core/qdev-properties-system.c:399:qdev_add_one_global: Object 0x7f7eff234100 is not an instance of type device Aborted (core dumped) Eduardo Habkost (2): qdev: Don't abort() in case globals can't be set qdev: Fix crash when using non-device class name on -global hw/core/qdev-properties-system.c | 3 ++- hw/core/qdev.c | 8 +++++++- 2 files changed, 9 insertions(+), 2 deletions(-) -- 1.9.3