From nobody Tue Sep 13 13:49:46 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 4MRlFq6SJXz4cQ36; Tue, 13 Sep 2022 13:49:51 +0000 (UTC) (envelope-from mhorne@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MRlFq5vMtz3v58; Tue, 13 Sep 2022 13:49:51 +0000 (UTC) (envelope-from mhorne@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663076991; 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: in-reply-to:in-reply-to:references:references; bh=XhwisujifQbg0iQFgZqnARr7s9CcaGoY1g5EVJte0sM=; b=duvFEBERSwP1k3lTPTEZHzXKsGYiK2Lv+JxV03MO/8zvFIBEve7BQZfLmSRLMB94i6vcLT Gi8Y4+YJUYttxoZcBsfR0DmElcPbjle5/tMvJje5zqhcRlvnwr6WL4ScFo6kfwXZQ/swMv 8TGHxlPjE6JsRxDTtWAK7UaEksJn5BsL+FK82kRCDoCffE0UMq7bP6b0fnLlIlymavEo8i T8LhYkU5qvF0Y143d51iTdmCwKWs6Ei9mu9vKchzL7s/hq76w0DTk1w+iPcr5mIUg8zwxT n/N2V4eVb6sQQfZK3sXZkPWhMPjLLXKLgCxqcpzoZfAowdISomw7yqxHhapT9Q== Received: from [192.168.1.106] (host-173-212-68-18.public.eastlink.ca [173.212.68.18]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: mhorne) by smtp.freebsd.org (Postfix) with ESMTPSA id 4MRlFq3N0rzZcl; Tue, 13 Sep 2022 13:49:51 +0000 (UTC) (envelope-from mhorne@freebsd.org) Message-ID: <9903ef54-80a9-67e6-f9ab-1371c42916ff@freebsd.org> Date: Tue, 13 Sep 2022 10:49:46 -0300 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 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: git: 10c6af344108 - main - bhyve: Fix build when BHYVE_SNAPSHOT is set Content-Language: en-CA To: Emmanuel Vadot , src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org References: <202209130632.28D6WdW9021176@gitrepo.freebsd.org> From: Mitchell Horne In-Reply-To: <202209130632.28D6WdW9021176@gitrepo.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663076991; 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: in-reply-to:in-reply-to:references:references; bh=XhwisujifQbg0iQFgZqnARr7s9CcaGoY1g5EVJte0sM=; b=KxJvojymSVari6UMBC6+I5t+ZBeV73UN72HeiCLwr/H6KCz4y+VllDVN9puN73IgZEqMhr D2BODHl9d6qS+9OSs53YnJ7jb6upJ4wz16ksxAtRKzn4oDHQO7MgqaIcqrKDPSqUqudKgv ZxlxClL2sgi8OeVZC5BAxHw21E9fGM6HxpqpFanoK1iJOUFZ5TmeWp2ssLy3uBLNdMNInc AkfEHk/Zo2v09cHvEY1h14z6UqdpVJpaj/sFIofEndWg84Xv1xMWUAwVn4QzNZZhaHmLcO /8VM9YTFOvj0oqoNg/pHyATXAl6baFtkJMayC37QtsMg6Hs/sbb6tzcFJ9NG9Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663076991; a=rsa-sha256; cv=none; b=tRWgkdxaF0URB2cuivAnMvnpPYAWnSDec3cNTz54d9OtxjpradIpj/vORpdiOi7kBzoyDz oeX0VcjitCZt/1k1I3rhELAYIJce7o83X+2l0PdD1OoH4m5Apdwg0WPEyQwk51IhNQb5NB 65JDwTWJBDDZ5RZI+lPAgbnqcxXQ54I+Aq/DZEZVkSjZUYI8aXKKnS16ob4sxVBeiVJXkq i1lh6+sln1BGHQVapQvTMcHgq7cmScewMhlT/me2Mli3Qd96+q7qIZwphgzkUqaxIXyPC+ 7OBdvkjaAM/5jVtcSYNMsqh57EIbrQJZtCFJ1hTnmAo7au0LWiK7uhiDqITalg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N On 9/13/22 03:32, Emmanuel Vadot wrote: > 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 > Can this option be added to LINT? Mitchell > 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