qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Eduardo Habkost <ehabkost@redhat.com>
To: qemu-devel@nongnu.org, "Andreas Färber" <afaerber@suse.de>
Cc: Peter Maydell <peter.maydell@linaro.org>,
	"Michael S. Tsirkin" <mst@redhat.com>,
	Markus Armbruster <armbru@redhat.com>,
	Don Slutz <dslutz@verizon.com>,
	Paolo Bonzini <pbonzini@redhat.com>,
	Igor Mammedov <imammedo@redhat.com>
Subject: [Qemu-devel] [PATCH for-2.1 0/2] Fix crashes related to -global option
Date: Thu,  3 Jul 2014 16:45:33 -0300	[thread overview]
Message-ID: <1404416735-22371-1-git-send-email-ehabkost@redhat.com> (raw)

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

             reply	other threads:[~2014-07-03 19:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-03 19:45 Eduardo Habkost [this message]
2014-07-03 19:45 ` [Qemu-devel] [PATCH for-2.1 1/2] qdev: Don't abort() in case globals can't be set Eduardo Habkost
2014-07-03 19:45 ` [Qemu-devel] [PATCH for-2.1 2/2] qdev: Fix crash when using non-device class name on -global Eduardo Habkost
2014-07-03 20:25   ` Eric Blake
2014-07-03 21:42     ` Don Slutz
2014-07-07  6:41   ` Igor Mammedov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1404416735-22371-1-git-send-email-ehabkost@redhat.com \
    --to=ehabkost@redhat.com \
    --cc=afaerber@suse.de \
    --cc=armbru@redhat.com \
    --cc=dslutz@verizon.com \
    --cc=imammedo@redhat.com \
    --cc=mst@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).