summaryrefslogtreecommitdiffstats
path: root/scripts/vmstate-static-checker.py
diff options
context:
space:
mode:
authorSascha Silbe <silbe@linux.vnet.ibm.com>2016-02-18 22:44:12 +0100
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:49:38 -0600
commitaf55701edb01ebde58a292bb705c964001257349 (patch)
tree176656e69ef5820f819e1177db84d6c41dcecbf3 /scripts/vmstate-static-checker.py
parent3ab613123841e89546bd072c60e2de81df0a6140 (diff)
downloadhqemu-af55701edb01ebde58a292bb705c964001257349.zip
hqemu-af55701edb01ebde58a292bb705c964001257349.tar.gz
qdev-monitor: improve error message when alias device is unavailable
When trying to instantiate an alias that points to a device class that doesn't exist, the error message looks like qemu misunderstood the request: $ s390x-softmmu/qemu-system-s390x -device virtio-gpu qemu-system-s390x: -device virtio-gpu: 'virtio-gpu-ccw' is not a valid device model name Special-case the error message to make it explicit that alias expansion is going on: $ s390x-softmmu/qemu-system-s390x -device virtio-gpu qemu-system-s390x: -device virtio-gpu: 'virtio-gpu' (alias 'virtio-gpu-ccw') is not a valid device model name Suggested-By: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Sascha Silbe <silbe@linux.vnet.ibm.com> Message-Id: <1455831854-49013-2-git-send-email-silbe@linux.vnet.ibm.com> Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'scripts/vmstate-static-checker.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud