Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Sep 2022 08:34:03 +0200
From:      Emmanuel Vadot <manu@bidouilliste.com>
To:        Filipe da Silva Santos <contact@mail.shiori.com.br>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: WITH_BHYVE_SNAPSHOT broken after 9cc9abf4
Message-ID:  <20220913083403.800ee2bf1cbe115ad38c7aaa@bidouilliste.com>
In-Reply-To: <86sfkw2nye.fsf@mail.shiori.com.br>
References:  <86sfkw2nye.fsf@mail.shiori.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 12 Sep 2022 23:05:29 +0000
Filipe da Silva Santos <contact@mail.shiori.com.br> wrote:

> int vcpu declared in line 1247 isn't being used, since it's now being
> redefined inside the for loop in line 1589.
> 
> diff --git a/usr.sbin/bhyve/bhyverun.c b/usr.sbin/bhyve/bhyverun.c
> index 550cc9d15..27f1d8ea8 100644
> --- a/usr.sbin/bhyve/bhyverun.c
> +++ b/usr.sbin/bhyve/bhyverun.c
> @@ -1244,7 +1244,6 @@ main(int argc, char *argv[])
>  #ifdef BHYVE_SNAPSHOT
> 	char *restore_file;
> 	struct restore_state rstate;
> -       int vcpu;
> 
> 	restore_file = NULL;
>  #endif

 Hello Filipe,

 Sorry for the breakage, should be fixed in 10c6af344108.

-- 
Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20220913083403.800ee2bf1cbe115ad38c7aaa>