Message ID | 1399316644-20700-2-git-send-email-afaerber@suse.de |
---|---|
State | New |
Headers | show |
diff --git a/qdev-monitor.c b/qdev-monitor.c index 6189780..02cbe43 100644 --- a/qdev-monitor.c +++ b/qdev-monitor.c @@ -206,7 +206,7 @@ int qdev_device_help(QemuOpts *opts) } } - if (!klass) { + if (!object_class_dynamic_cast(klass, TYPE_DEVICE)) { return 0; } do {