]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemu: report properer error number when change graphics failed
authorWang Rui <moon.wangrui@huawei.com>
Mon, 8 Dec 2014 13:48:31 +0000 (21:48 +0800)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 15 Dec 2014 14:45:24 +0000 (15:45 +0100)
commit2609479b5447f5483692690cd00038f7836719a8
tree83619926ef5646f48b3e2ff4731d4d4251746e95
parent64b0484cad3e591d9697b1cfe98cac4c614ea604
qemu: report properer error number when change graphics failed

It's not supported to change some graphics arguments with '--live'.
Replace some error code VIR_ERR_INTERNAL_ERROR and VIR_ERR_INVALID_ARG
with VIR_ERR_OPERATION_UNSUPPORTED.

Signed-off-by: Wang Rui <moon.wangrui@huawei.com>
src/qemu/qemu_hotplug.c