From nobody Tue Sep 13 06:32:39 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MRYYM3j6qz4cdPn; Tue, 13 Sep 2022 06:32:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MRYYM2M1pz3MGm; Tue, 13 Sep 2022 06:32:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663050759; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YI5gx2zgORrL1OR3IKp/15iGL/yMrJD1NWlUpOLBpMU=; b=JYFB0bsPI9FAM6NEuRw8FRYsXDSX3gugbeFFgk7eAmqsqPvc4/E7HdpEa+rchVQuoRAaDc 8CiTtO2RLrOiKPLeMoXdFioh6p7JWGfqrf5QyVnt10BizH7DO1lgDuz7imS6YMFBFaWcAb eQ6TxOkfIJKU4Kmk4OMwYp20UZaGIbGYCRhsHRf2dhKHSOU6o0CDJjjSOndFMJmIaNv+F7 IHHTvZNSbBX/qdMU6DbSul2R9hUPifwj6kGsdcLk7a/6mZSAgMhwBj29mk+G3dSgTtTJna xHi7nP4RhKlYtDGB/uIhXuhIuSpIzHSzw8cMNxLtRHoqpxKumqjOlmtU70Q8hA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MRYYM1RsqzFjb; Tue, 13 Sep 2022 06:32:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 28D6WdX2021177; Tue, 13 Sep 2022 06:32:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28D6WdW9021176; Tue, 13 Sep 2022 06:32:39 GMT (envelope-from git) Date: Tue, 13 Sep 2022 06:32:39 GMT Message-Id: <202209130632.28D6WdW9021176@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Emmanuel Vadot Subject: git: 10c6af344108 - main - bhyve: Fix build when BHYVE_SNAPSHOT is set List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: manu X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 10c6af344108a8cfdc431b5b304de9c0fddcec47 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663050759; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YI5gx2zgORrL1OR3IKp/15iGL/yMrJD1NWlUpOLBpMU=; b=twPcmUMmReUalmeXHSLhNfZniy3XsCx0vAkyIK35jw6p/xyPrsUci53UoFmlnvfqQdBjeS TdqIH9+WBmsRXzQsgVQ50oH6YFX7G8HklDN5iNzrgXhdfxe9PvRbbAuplC3V/xsHYqqjMU WbehdBn+Tvrk4f680cv0ymxPVpk+09UJolYbIh73TYqWnWS7bfY7RUDAXSOm+GYbQrBGPT A34wj079SgfXLKM/NenIEv5aHCvB2xtDM2bZgNur9oHbZY9hv/gPtAxgyHOHn5wtDSkn+w tNv8O27we0Xhhiy+j8p+Vtm2ZctDJPxs/ByVtAP/Kr2jomHJu+QzXEJwNz8vSQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663050759; a=rsa-sha256; cv=none; b=D55afmccBVbxjLHOuwarNmUEPreDiyXQYUtnDXvcOCNKy4Tzd4rHPixs/cBf/izIkDnrGZ e2MsezeEpcMhFUPP9xt3gw4ih/WVG7tQRtXWq+o1qLUyUonZEofBEdUEM8gIyoBeE4BBo/ aEoETElgCW+TutZlO4nTVAxa3Lr1IjTWUWuKa6W5y8BDMzUNuz/8A2W3AzTmZwvZoTB63H NtisXH8E2KXXenogk4DnmsV2TuRY8L/bBkBHPiwU8zmlZpV1yach/kLawohS6gtS/EezhX hQfpTt7ZWUWEzIWkSn/PUsPE4idohPlpLB7v8P3rGWChWoABVSHs8pv+1fOqEA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=10c6af344108a8cfdc431b5b304de9c0fddcec47 commit 10c6af344108a8cfdc431b5b304de9c0fddcec47 Author: Filipe da Silva Santos AuthorDate: 2022-09-13 06:30:41 +0000 Commit: Emmanuel Vadot CommitDate: 2022-09-13 06:32:09 +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 --- 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 550cc9d15477..27f1d8ea8892 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