Eduardo Habkost 31bed5509d qdev: Use qdev_get_device_class() for -device <type>,help
Make sure we try to list properties from classes that can be safely used
with "-device".

Fixes the following crashes:

  $ qemu-system-x86_64 -device x86_64-cpu,help
  **
  ERROR:qom/object.c:336:object_initialize_with_type: assertion failed: (type->abstract == false)
  Aborted (core dumped)
  $ qemu-system-x86_64 -device host-x86_64-cpu,help
  qemu-system-x86_64: [...]/target-i386/cpu.c:1329: host_x86_cpu_initfn: Assertion `(kvm_allowed)' failed.
  Aborted (core dumped)

After applying this patch:

  $ qemu-system-x86_64 -device x86_64-cpu,help
  Parameter 'driver' expects non-abstract device type
  $ qemu-system-x86_64 -device host-x86_64-cpu,help
  Parameter 'driver' expects pluggable device type

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
2014-11-04 17:50:00 +01:00
2014-09-18 20:02:01 +01:00
2014-11-03 18:34:09 +00:00
2014-11-03 22:51:08 +00:00
2014-11-04 00:02:33 +00:00
2014-11-03 11:41:48 +00:00
2014-11-04 00:02:33 +00:00
2014-11-03 22:51:08 +00:00
2014-11-02 13:30:00 +01:00
2014-11-03 22:51:08 +00:00
2014-11-04 14:40:20 +01:00
2014-08-29 10:46:58 +01:00
2014-11-02 10:04:34 +03:00
2014-09-16 11:04:09 +02:00
2014-10-24 12:19:11 +01:00
2014-09-26 13:37:06 -04:00
2014-09-26 13:37:06 -04:00
2014-10-10 14:07:08 +01:00
2014-11-03 01:00:37 +03:00
2014-09-26 09:34:39 +01:00
2014-10-24 12:19:11 +01:00
2014-09-22 11:39:45 +01:00
2014-11-03 11:41:49 +00:00
2014-10-02 09:58:14 +02:00
2014-10-31 11:29:01 +01:00
2014-11-03 22:51:08 +00:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%