summaryrefslogtreecommitdiffstats
path: root/cpu-exec-common.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2015-06-18 14:39:49 +0200
committerMarc-André Lureau <marcandre.lureau@redhat.com>2015-10-24 18:02:49 +0200
commit36617792b45b5d46d574af4f6ebb3f35c77d1e69 (patch)
treefd085d514ee7295941b200074bcdc89ae9732068 /cpu-exec-common.c
parentf59bb37898d6ff44cdf68bfbadaf3bd260ae465e (diff)
downloadhqemu-36617792b45b5d46d574af4f6ebb3f35c77d1e69.zip
hqemu-36617792b45b5d46d574af4f6ebb3f35c77d1e69.tar.gz
ivshmem: improve error handling
The test whether the chardev is an AF_UNIX socket rejects "-chardev socket,id=chr0,path=/tmp/foo,server,nowait -device ivshmem,chardev=chr0", but fails to explain why. Use an explicit error on why a chardev may be rejected. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Claudio Fontana <claudio.fontana@huawei.com>
Diffstat (limited to 'cpu-exec-common.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud