Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jan 2023 18:54:34 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: fc3a180c1723 - stable/13 - bhyve: Fix build when BHYVE_SNAPSHOT is set
Message-ID:  <202301261854.30QIsYfR034394@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=fc3a180c17238b6f78657877d05b0ce39f80366b

commit fc3a180c17238b6f78657877d05b0ce39f80366b
Author:     Filipe da Silva Santos <contact@mail.shiori.com.br>
AuthorDate: 2022-09-13 06:30:41 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-01-26 18:52:30 +0000

    bhyve: Fix build when BHYVE_SNAPSHOT is set
    
    Fixes:          9cc9abf409cc ("bhyve: create all vcpus on startup")
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
    X-MFC-With:     9cc9abf409cc
    
    (cherry picked from commit 10c6af344108a8cfdc431b5b304de9c0fddcec47)
---
 usr.sbin/bhyve/bhyverun.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/usr.sbin/bhyve/bhyverun.c b/usr.sbin/bhyve/bhyverun.c
index 48d9a66ea624..2aa96039f2fc 100644
--- a/usr.sbin/bhyve/bhyverun.c
+++ b/usr.sbin/bhyve/bhyverun.c
@@ -1267,7 +1267,6 @@ main(int argc, char *argv[])
 #ifdef BHYVE_SNAPSHOT
 	char *restore_file;
 	struct restore_state rstate;
-	int vcpu;
 
 	restore_file = NULL;
 #endif



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