diff options
author | Michael Tokarev | 2011-06-09 22:55:57 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2011-06-14 15:48:04 +0200 |
commit | 35f754620615138aaae0ef72602f84c88fd8de0f (patch) | |
tree | 9089eba764647e765fc990f6f9ad49fdf8db67d7 /hw/ide/qdev.c | |
parent | virtio: compat event idx support (diff) | |
download | qemu-35f754620615138aaae0ef72602f84c88fd8de0f.tar.gz qemu-35f754620615138aaae0ef72602f84c88fd8de0f.tar.xz qemu-35f754620615138aaae0ef72602f84c88fd8de0f.zip |
print meaningful error message in case of --disable-vhost-net
When qemu gets compiled without support of vhost-net, any attempt
to use it fails with a very clear error message:
qemu-system-x86_64: -netdev ...,vhost=on: vhost-net requested but could not be initialized
there's absolutely no reason given _why_ it coult not be
initialized, and even strace'ing the process in question
does not reveal any errors. So print a message telling
what's going on.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/ide/qdev.c')
0 files changed, 0 insertions, 0 deletions