diff options
author | Sascha Silbe <silbe@linux.vnet.ibm.com> | 2016-02-18 22:44:12 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2016-03-16 10:13:10 +0100 |
commit | f6b5319d412cda360695e2005737f91ca8201af0 (patch) | |
tree | b0dab7ecb58f8dd050a0f6c9020073d5fa547b00 /translate-all.c | |
parent | a6cdb77f816961f929d7934643febd2852230135 (diff) |
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 'translate-all.c')
0 files changed, 0 insertions, 0 deletions