qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH for-2.1 0/2] Fix crashes related to -global option
@ 2014-07-03 19:45 Eduardo Habkost
  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
  0 siblings, 2 replies; 6+ messages in thread
From: Eduardo Habkost @ 2014-07-03 19:45 UTC (permalink / raw)
  To: qemu-devel, Andreas Färber
  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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-07-07  6:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-03 19:45 [Qemu-devel] [PATCH for-2.1 0/2] Fix crashes related to -global option Eduardo Habkost
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

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).