From nobody Tue Dec 12 19:08:16 2023 X-Original-To: virtualization@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 4SqSnK2tqZz54JtX for ; Tue, 12 Dec 2023 19:08:21 +0000 (UTC) (envelope-from kirjanov@gmail.com) Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SqSnJ65Wvz3Xx9 for ; Tue, 12 Dec 2023 19:08:20 +0000 (UTC) (envelope-from kirjanov@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-50c0b80ca9cso1544453e87.0 for ; Tue, 12 Dec 2023 11:08:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702408097; x=1703012897; darn=freebsd.org; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=uUInc8Ci8CeTe2A7n8hDz88dNvd0sr6iz/Gl4wd4pU0=; b=NeYPjCcDUnghSzMSZISE8A6AsCWqRSniXyzwCK+fTfZ89JTEL5nFOfzR9KxC/KgUnT j1JMXkuLcfZohHn0Q3QlNHWVy0E6e44AxLpBA4/PSGeUos/jE2o8APq+PFXZNBrx9/Uv bzHkoqhl4vkYkjbS0WBgRPZB/zk+BCPnE23MDG1z3OUi6eKnzaNpHxGE727Wt1WbrLY4 VOJxXblYecIihfWb+TBOqjfyFCVTFchtKwd4+jQaAkt2HLtZUVAZbF47FouFHVefFlSB F0R4khmiZSBEChmBAy1InTC7DeFmw1O8r1uhhPoxnitLwopdTdVsmsyUOym5iU1+Etai Y8Sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702408097; x=1703012897; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=uUInc8Ci8CeTe2A7n8hDz88dNvd0sr6iz/Gl4wd4pU0=; b=MzzI9VwmmrAfBpcCxBfZeYsTHEHr0V9czkBWejjaxeXRzDkbaJ0bDYnJq7GuEQE9bM K0+fNGqZz+nSvUGldtytHEcZQaifjrDpYK518eAcNxpc2tLgF1CY68aJZxE8x6Gc3q9i U+QeU4wRMKC6zMZ9Qo/FU8wgdFbyithIJbCsaTT8qiO/fd5ExVN10hJJSpMTuNUHMHFU zudXvtJjeyzDi7Ngl/I27XDAqhGbLEM25gELCEIZEr5hxyH7KjOF1VAF79z1YlRe7s+e ZodPbZZU1SWRmPRBjPv9igBe6xtw6oXTqocFQ6Zyzi9gKMK9UGeJ28X6wIEUDTiKuDaw Wgxw== X-Gm-Message-State: AOJu0YyGzg0LKrl9jaIfInBWCUaCO4vrA0QaTtXS0ZUOUuFCa5FRpIZ4 xmiUlbC7aMGKMU1a3+E+lzZx3VO1aYcFFG3FviRJmB8gfWJ20g== X-Google-Smtp-Source: AGHT+IGLKz6MJ6pl08tvSkK+QEfPTvodae7kIQHqlfxp34fbCU/9HXl4XFdyBjX+mL0qEbO86lWYZpnL6CbzPR8SjPo= X-Received: by 2002:a19:4f0a:0:b0:50c:1bc:33e3 with SMTP id d10-20020a194f0a000000b0050c01bc33e3mr5039585lfb.2.1702408097243; Tue, 12 Dec 2023 11:08:17 -0800 (PST) List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 Received: by 2002:a54:278e:0:b0:241:83ff:5087 with HTTP; Tue, 12 Dec 2023 11:08:16 -0800 (PST) In-Reply-To: References: From: Denis Kirjanov Date: Tue, 12 Dec 2023 22:08:16 +0300 Message-ID: Subject: Re: building bhyve from source To: Sean McBride Cc: "virtualization@freebsd.org" Content-Type: multipart/alternative; boundary="000000000000e62620060c54c583" X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4SqSnJ65Wvz3Xx9 --000000000000e62620060c54c583 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable =D0=B2=D1=82=D0=BE=D1=80=D0=BD=D0=B8=D0=BA, 12 =D0=B4=D0=B5=D0=BA=D0=B0=D0= =B1=D1=80=D1=8F 2023=E2=80=AF=D0=B3. =D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE= =D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C Sean McBride < sean@rogue-research.com> =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB: > Hi all, > > I'm trying to build bhyve from source, with the ultimate goal of fixing > https://reviews.freebsd.org/D39620 in my production TrueNAS Core system. > > I've followed the TrueNAS build instructions at > https://github.com/truenas/core-build and although some packages failed > to build, the FreeBSD build seemed to work and I seem to have builds of: > > - bhyve > - bhyvectl > - bhyveload > - libvmmapi.so.5 > - vmm.ko > > Are those indeed the entirety of bhyve? To use my build of bhyve, is it > just a matter of replacing those 5 files? > The patch mentions only the kernel, so you have to rebuild the vmm module > Thanks, > > Sean > --=20 Regards / Mit besten Gr=C3=BC=C3=9Fen, Denis --000000000000e62620060c54c583 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

=D0=B2=D1=82=D0=BE=D1=80=D0=BD=D0=B8=D0=BA, 12 =D0=B4=D0=B5=D0=BA= =D0=B0=D0=B1=D1=80=D1=8F 2023=E2=80=AF=D0=B3. =D0=BF=D0=BE=D0=BB=D1=8C=D0= =B7=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C Sean McBride <sean@rogue-research.com> =D0=BD=D0=B0= =D0=BF=D0=B8=D1=81=D0=B0=D0=BB:

Hi all,

I'm trying to build bhyve from source, with the ultimat= e goal of fixing https://reviews.freebsd.org/D39620 = in my production TrueNAS Core system.

I've followed the TrueNAS build instructions at https://github.com/truenas/core-build and although som= e packages failed to build, the FreeBSD build seemed to work and I seem to = have builds of:

  • bhyve
  • bhyvectl
  • bhyveload
  • libvmmapi.so.5
  • vmm.ko

Are those indeed the entirety of bhyve? To use my build of= bhyve, is it just a matter of replacing those 5 files?


The patch mentions only the kernel, so y= ou have to rebuild the vmm module=C2=A0

Thanks,

Sean



--
Regards / Mit besten Gr=C3=BC=C3=9Fen,
Denis=

--000000000000e62620060c54c583--