[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] configure: the error info not consistence with option.
From: |
Paolo Bonzini |
Subject: |
Re: [PATCH] configure: the error info not consistence with option. |
Date: |
Fri, 4 Sep 2020 09:54:46 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
On 04/09/20 05:54, 罗勇刚(Yonggang Luo) wrote:
>
> test "$vhost_net_user" = "" && vhost_net_user=$vhost_user
> if test "$vhost_net_user" = "yes" && test "$vhost_user" = "no";
> then
> - error_exit "--enable-vhost-net-user requires --enable-vhost-user"
> + error_exit "--enable-vhost-net requires --enable-vhost-user"
> fi
>
>
> This change seems wrong.
>
> I didn't found --enable-vhost-net-user option handling?
> you may grep it?
>
>
You're right, it is all dead code. The four lines are equivalent to
just vhost_net_user=$vhost_user. You could also add
--enable-vhost-net-user though!
Thanks,
Paolo