On Thu, 18 Feb 2016 22:44:12 +0100 Sascha Silbe <[email protected]> wrote:
> 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 <[email protected]> > Signed-off-by: Sascha Silbe <[email protected]> > --- > v1->v2: new patch > --- > qdev-monitor.c | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > Reviewed-by: Cornelia Huck <[email protected]>
