[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] [trivial] print meaningful error message in cas
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH] [trivial] print meaningful error message in case of --disable-vhost-net |
Date: |
Fri, 10 Jun 2011 09:32:35 +0100 |
On Thu, Jun 9, 2011 at 9:55 PM, Michael Tokarev <address@hidden> wrote:
> 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 <address@hidden>
> ---
> hw/vhost_net.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
This is useful. CCed Michael Tsirkin.
Stefan