qdev: Validate class name for -device <class>, help
Status from this message: Thanks, applied to qom-next as is:
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | qdev: Create qdev_get_device_class() functionqdev-monitor.c | +42 | 2 replies | |
| 2/3 | qdev: Move error printing to the end of qdev_device_help()qdev-monitor.c | +6 | 0 replies | |
| 3/3 | qdev: Use qdev_device_add_get_class() for -device <type>, helpqdev-monitor.c | +3 | 4 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 0/3] qdev: Validate class name for -device <class>, help
This 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: /home/ehabkost/rh/proj/virt/qemu/target-i386/cpu.c:1329: host_x86_cpu_initfn: Assertion `(kvm_allowed)' failed. Aborted (core dumped)
Cc Stefan Hajnoczi <[email protected]>
Cc Gonglei <[email protected]>
Cc Igor Mammedov <[email protected]>
Cc Andreas Färber <[email protected]>
Cc Paolo Bonzini <[email protected]>
Eduardo Habkost (3):
qdev: Create qdev_get_device_class() function
qdev: Move error printing to the end of qdev_device_help()
qdev: Use qdev_device_add_get_class() for -device <type>,help
qdev-monitor.c | 88 ++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 51 insertions(+), 37 deletions(-)
Signature · 1 line
1.9.3