]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: report more proper error for unsupported graphics
authorOsier Yang <jyang@redhat.com>
Fri, 21 Jan 2011 07:20:50 +0000 (15:20 +0800)
committerEric Blake <eblake@redhat.com>
Fri, 21 Jan 2011 16:27:15 +0000 (09:27 -0700)
commitaf268f2a36be381d2fef79d89ef542425fd2dc7c
tree0c4a1054b8daebc53277a262812e15fb7468469e
parent87a183f698d18dde75f348d5ab346baef12844cb
qemu: report more proper error for unsupported graphics

Report VIR_ERR_CONFIG_UNSUPPORTED instead of VIR_ERR_INTERNAL_ERROR,
as it's valid in our domain schema, just unsupported by hypervisor
here.

* src/qemu/qemu_command.c
src/qemu/qemu_command.c