From owner-freebsd-virtualization@freebsd.org Sun Nov 5 03:31:57 2017 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E8A62E6087A for ; Sun, 5 Nov 2017 03:31:57 +0000 (UTC) (envelope-from araujobsdport@gmail.com) Received: from mail-lf0-x22a.google.com (mail-lf0-x22a.google.com [IPv6:2a00:1450:4010:c07::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5EA4C6B4D8 for ; Sun, 5 Nov 2017 03:31:57 +0000 (UTC) (envelope-from araujobsdport@gmail.com) Received: by mail-lf0-x22a.google.com with SMTP id b190so7066586lfg.9 for ; Sat, 04 Nov 2017 20:31:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc; bh=7nHEOiSCHxMFoJzt6DmI/vUNfhk1araWLYDEPx+0Tzo=; b=UCd3dMpsq81UHhND7MEuUyLwayy0/qxGG/8LelLiCN1otnzkaGzslsbht1IYgm7K26 zcXSCmFbeIcnnEraqLnL3gfCLKrJ4DpOZz/C0BQEW0QBzaT0c/0cB+21fBVO0gVU+Z6Q g1Womou2UCZlS5wMap9HHOxiKkOdj/B1BA34QTHifmV+g5qAnatYFQgevons1su1woWH KrxPFYUuh0+rlARxZycd2gov9s/8WSv4OpbfFRhuHcwAR7ARB8/S17rzHgNguiVrXjxp htzSe62X02Kl6C2xgsET4/D16ueGyY1UPfxM4zMbERX+P9UcXxlM5ViWjOEw/cPUZwgg ZQKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc; bh=7nHEOiSCHxMFoJzt6DmI/vUNfhk1araWLYDEPx+0Tzo=; b=UrOBhbWj9A1kglDhp34g9yJJYv//qONYc9XY4xZyZfLDom9McH1Am8j9AjDv6LDmQu FiI+PMO1UJYq2BkpNFoYQiF3cFgLOmWHvfVOwAnQxOv3FE37CJywdsd77nbZr6JJYXeO Ck85JZLJe0COdY+Y+cAIynkQNWOXGmJxvQVgkD5vxNmzKlcJI13HDPb0Ayv0H2Xdr18h qeF32xJq4DtnBFxYI6qrzuy8Py7dclLhM/S6r744aCJlBHwBGwQH53LG1nH/q636e+zu zp4rj8LTe4/+ZZS4nZUn+I7qCuA7pxrLbh4GzxF0iUZXIVXtfSyZY3cz9sADcpTUBsxI NymA== X-Gm-Message-State: AMCzsaVTKI4pgPCsT72sr9oZi3arjizuevoPoXZiWknBGlOKlABw9lYB VR6yrU/cawLKYGsudormdqnUUIEEw+/UUAZeu5Vq4w== X-Google-Smtp-Source: ABhQp+T4TUczH471x5p+gouissHvOgtCoBCo0udy8a3fgogEe5WvfDMulJSxTQFCgu2nGUDHo5FxlkjOe7M1tSNw+Ds= X-Received: by 10.46.65.14 with SMTP id o14mr4940367lja.172.1509852715041; Sat, 04 Nov 2017 20:31:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.208.83 with HTTP; Sat, 4 Nov 2017 20:31:54 -0700 (PDT) Reply-To: araujo@freebsd.org In-Reply-To: References: <201711041742.vA4HgsZP001453@pdx.rh.CN85.dnsmgr.net> From: Marcelo Araujo Date: Sun, 5 Nov 2017 11:31:54 +0800 Message-ID: Subject: Re: VNC and non-US keymap in bhyve To: Farid Joubbi Cc: "Rodney W. Grimes" , freebsd-virtualization@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Nov 2017 03:31:58 -0000 Hi all, I'm the one working on this patch! What happened is, I first always try to bring the changes first on FreeBSD[1] and then to FreeNAS/TrueNAS/TrueOS, but after waiting for a while for reviews and etc on FreeBSD; I could not do the same on FreeNAS/TrueNAS side, lots of people opened tickets and I needed to handle it properly, so yes, unfortunately there is this patch on FreeNAS/TrueNAS/TrueOS and not yet on FreeBSD. There are few things that need to be fixed to let us include this patch officially on bhyve, but I spent lots of time to create libhyve-remote + bhyve patch + tests with different OSS; that I'm afraid I can't spend again any more time on it. I'm a bit overloaded with work, but I will try. What you can do for now is: Install devel/libhyve-remote and choose BHYVE at port configuration (you can do make config inside the port) it will apply the patch that is under review[1] and will rebuild your bhyve. To use bhyve with libvncserver you just need to add vncserver at the same line of fbuf, such like: -s 2,fbuf,tcp=0.0.0.0:5937,w=800,h=600,password=1234567,*vncserver*,wait Any doubt or suggestion, just ping me back! And sorry for the confusion about this topic. [1] https://reviews.freebsd.org/D11768 2017-11-05 4:53 GMT+08:00 Farid Joubbi : > Thanks for the reply! > > I'm running 11.1 Release. The fix is not there yet at least. > > I read the whole bug report and understood that he was involved on both > sides. > My question was a bit more general about the changes coming from FreeNAS to > FreeBSD and the other way around. > > Is there a way for me to see when this particular change, or some other > change that I might be interested about in the future will be available in > FreeBSD release, stable or current? > > > On Sat, Nov 4, 2017 at 6:42 PM, Rodney W. Grimes < > freebsd-rwg@pdx.rh.cn85.dnsmgr.net> wrote: > > > > Hello, > > > > > > I use bhyve and have a problem with non-US keymap and the VNC server. > > > This is a bug that was reported at least to FreeNAS and was fixed a few > > > weeks ago according to the bug report here: > > > https://bugs.freenas.org/issues/24450 > > > > > > When will this fix come into FreeBSD? > > > How does the process work for changes into FreeNAS and then into > FreeBSD? > > > > For this specific instance Marcelo, the person working the bug from the > > FreeNAS side, is also a member of the FreeBSD developers group working > > on bhyve so he tends to make sure his fixes get brought over. > > > > > > > Or is it that the change was first made into FreeBSD and then from > there > > > found its way into FreeNAS? > > > > I am unclear in this case, but from reading the full text of the > > bugs.freenas.org report it is clear that he is working on both > > FreeBSD and FreeNAS to resolve the issue. > > > > > I could not find this information anywhere other than that FreeNAS is > > based > > > on FreeBSD. > > > > I think if you read the bug report carefully you should find the > > following text excerpt: > > -- begin excerpt -- > > > > Updated by Marcelo Araujo 5 months ago > > > > Priority changed from No priority to Important > > Status changed from Unscreened to Investigation > > Target version set to 49 > > > > Hi all, > > > > It is a know issue with bhyve, I'm working to import libvncserver to > > replace the current implementation of rfb on FreeBSD. It will take a bit > of > > time as I need first commit it on FreeBSD and then merge it to FreeNAS. > > > > The process to commit on FreeBSD can take a bit of time, because we have > a > > review process and a merge process as well. > > > > But I will keep you guys updated about my progress. > > > > Best, > > -- end excerpt -- > > -- begin excerpt -- > > Updated by Marcelo Araujo about 1 month ago > > > > Target version changed from 11.2 to 11.1 > > Status changed from Fix In Progress to Ready For Release > > > > I added libhyve-remote and all the bits necessary to improve VNC server. > > Python bits were reviewed by williamgr and C bits by kris. > > -- begin excerpt -- > > > > In this second one 11.2 and 11.1 are refering to FreeBSD releases, > > I do believe this is fixed in FreeBSD 11.1. > > > > -- > > Rod Grimes > > rgrimes@freebsd.org > > > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization- > unsubscribe@freebsd.org" > -- -- Marcelo Araujo (__)araujo@FreeBSD.org \\\'',)http://www.FreeBSD.org \/ \ ^ Power To Server. .\. /_) From owner-freebsd-virtualization@freebsd.org Sun Nov 5 16:32:19 2017 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6DF14E37962 for ; Sun, 5 Nov 2017 16:32:19 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 410DA178A for ; Sun, 5 Nov 2017 16:32:18 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id vA5GWFdi005896; Sun, 5 Nov 2017 08:32:15 -0800 (PST) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd-rwg@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id vA5GWF2u005895; Sun, 5 Nov 2017 08:32:15 -0800 (PST) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201711051632.vA5GWF2u005895@pdx.rh.CN85.dnsmgr.net> Subject: Re: Onboard USB controller passthrough In-Reply-To: <6721cf76-3d40-fa2c-4b84-8882f92fd6f1@gmail.com> To: Rajil Saraswat Date: Sun, 5 Nov 2017 08:32:15 -0800 (PST) CC: freebsd-virtualization X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Nov 2017 16:32:19 -0000 > Hello, > > I have an Supermicro X10DRi-T motherboard which has 2 EHCI controllers > and 1 xHCI controller. I want to pass one of the EHCI controller to the > VM running Ubuntu. Unfortunately, the VM immediately quits when i pass > the USB controller. I am using vm-bhye to manage the VM's running on > FreeBSD 11.1. > > The controllers looks like this > > # pciconf -l -BbcV ppt2@pci0:0:26:0 > ppt2@pci0:0:26:0: class=0x0c0320 card=0x72708086 chip=0x8d2d8086 > rev=0x05 hdr=0x00 > bar [10] = type Memory, range 32, base 0xc6134000, size 1024, enabled ^^^^^^^^^^^^ > cap 01[50] = powerspec 2 supports D0 D3 current D0 > cap 0a[58] = EHCI Debug Port at offset 0xa0 in map 0x14 > cap 13[98] = PCI Advanced Features: FLR TP > > Any idea how to fix this? Do you get an error about a BAR that is not page sized, or not paged aligned? At this time the bhyve passthrough code can only deal with things that are page sized and paged aligned. The above device has a 1k memory region, that is only a 1/4 page. I do not know if there is any way to "fix" this, as it is a limitation of the IOMMU hardware. -- Rod Grimes rgrimes@freebsd.org From owner-freebsd-virtualization@freebsd.org Sun Nov 5 17:42:45 2017 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 775ECE4C276 for ; Sun, 5 Nov 2017 17:42:45 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 2FF443BA2 for ; Sun, 5 Nov 2017 17:42:44 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id 21AD320ADC0D for ; Mon, 6 Nov 2017 03:42:42 +1000 (AEST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id 4A216280ABD for ; Mon, 6 Nov 2017 03:42:39 +1000 (AEST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 7dxgtmzrxrrI for ; Mon, 6 Nov 2017 03:42:39 +1000 (AEST) Received: from Peters-MacBook-Pro-2.local (c-67-180-92-13.hsd1.ca.comcast.net [67.180.92.13]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id B69E6280990; Mon, 6 Nov 2017 03:42:36 +1000 (AEST) Subject: Re: Onboard USB controller passthrough To: "Rodney W. Grimes" , Rajil Saraswat Cc: freebsd-virtualization References: <201711051632.vA5GWF2u005895@pdx.rh.CN85.dnsmgr.net> From: Peter Grehan Message-ID: <9207cb98-6c53-0173-4842-7f5c5f7324de@freebsd.org> Date: Sun, 5 Nov 2017 09:42:40 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <201711051632.vA5GWF2u005895@pdx.rh.CN85.dnsmgr.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.2 cv=XKlAcUpE c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=5eVCmCvhg37cu/pjidAGzw==:17 a=IkcTkHD0fZMA:10 a=sC3jslCIGhcA:10 a=f2Nz9j3qiE_Pcr4nQxAA:9 a=QEXdDO2ut3YA:10 wl=host:3 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Nov 2017 17:42:45 -0000 >> The controllers looks like this >> >> # pciconf -l -BbcV ppt2@pci0:0:26:0 >> ppt2@pci0:0:26:0: class=0x0c0320 card=0x72708086 chip=0x8d2d8086 >> rev=0x05 hdr=0x00 >> bar [10] = type Memory, range 32, base 0xc6134000, size 1024, enabled > ^^^^^^^^^^^^ > >> cap 01[50] = powerspec 2 supports D0 D3 current D0 >> cap 0a[58] = EHCI Debug Port at offset 0xa0 in map 0x14 >> cap 13[98] = PCI Advanced Features: FLR TP More importantly, EHCI controllers don't support MSI/MSI-x interrupts which is currently required for bhyve PCI-passthru. later, Peter. From owner-freebsd-virtualization@freebsd.org Sun Nov 5 19:27:04 2017 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EA2DCE4EFFF for ; Sun, 5 Nov 2017 19:27:04 +0000 (UTC) (envelope-from rajil.s@gmail.com) Received: from mail-pf0-x22e.google.com (mail-pf0-x22e.google.com [IPv6:2607:f8b0:400e:c00::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C08FE66AFD for ; Sun, 5 Nov 2017 19:27:04 +0000 (UTC) (envelope-from rajil.s@gmail.com) Received: by mail-pf0-x22e.google.com with SMTP id p87so6117429pfj.3 for ; Sun, 05 Nov 2017 11:27:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=bOKAOh8ITndok77KB9T5/4NWeOyV3Jd94RwzpiVEogE=; b=ZMZDC2+9tPhDGkh/gXmj2gRaIANVMdvYqnq9uiOWGwgrLQb4/4Q2rIfkXCJdoA9CEg yiwgj/L6dzOmfYySbeBG0sDl9W/Uz6CgzTyaLLOGvP7NiBaBPZDCXJJ9z+npgHEBruGZ 6iInYvjUHN0oLGQiI3hFJdPCPFzfzOhUGWvQ8w4IJdsV7vw6NGkkVrZjgLMnuCykPaB6 6tQ/h8SphumHUHWcJzRNwoS5ZV9wtoquwEjjght+gbZPaYcqAQpXOEjQV1lw7eHVlWpt CdcN6opg8tSCbg9EkrXUn2c9AylA7g7nFWybr3YiAMtPrHKw23ReMaWXnQ0E7bvhx76m rfTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=bOKAOh8ITndok77KB9T5/4NWeOyV3Jd94RwzpiVEogE=; b=NbKuJRlmbValHCkkArWmiZHUAQAFdjIGgwngJ26MwS1hBDJxAIDWEHGYLmNHYWlklL NWKe6f4X8tDJrr/oJmGuLJxlkALsr8H5ybuvXHiXq5+rc4DSFYxeRp9KukG4WbIwyuxz nY9QttjCNNPOoB7zS4KGaJ4R1JLyhYjjFn5447YvJ3z7pjO6hTGuX2dfh0/HhBBeGdgb dsMuV1Sg2uCU+u+byV6j49s0k8AWd94WOOqWSi1Pz+wTIHXVt7mY08jXiLf/aWtYDZmv GyL69yHjnnla+TWQZ/ZI/dG/bSbyExeG/OTrSHoW19sXTB2a0ByonIgzGbwH3suWSC8r q+Yw== X-Gm-Message-State: AMCzsaW82cdgiR75NFTNEJOe3TyvkFFjxdz4ab0VO240+Py8GKnP1J/k bBHHE5/69MKvw0ovRHo8g6UNdxBB X-Google-Smtp-Source: ABhQp+RoEeEgCTyvpQkQMM6RGigFq/tQ3Nkb48aApfoK4bZalvAtIhQLQlFOOBQzNkr7rHlHARYPBw== X-Received: by 10.84.217.206 with SMTP id d14mr12808152plj.196.1509910023385; Sun, 05 Nov 2017 11:27:03 -0800 (PST) Received: from ?IPv6:2601:2c2:880:6cc:f151:cc3:5b51:8a24? ([2601:2c2:880:6cc:f151:cc3:5b51:8a24]) by smtp.gmail.com with ESMTPSA id o22sm21927268pfi.85.2017.11.05.11.27.01 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 05 Nov 2017 11:27:02 -0800 (PST) Subject: Re: Onboard USB controller passthrough To: freebsd-virtualization References: <201711051632.vA5GWF2u005895@pdx.rh.CN85.dnsmgr.net> <9207cb98-6c53-0173-4842-7f5c5f7324de@freebsd.org> From: Rajil Saraswat Message-ID: <75ebab85-8259-10d7-687e-c77b9098387e@gmail.com> Date: Sun, 5 Nov 2017 13:26:58 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: <9207cb98-6c53-0173-4842-7f5c5f7324de@freebsd.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Nov 2017 19:27:05 -0000 On 11/05/2017 11:42 AM, Peter Grehan wrote: > > More importantly, EHCI controllers don't support MSI/MSI-x interrupts > which is currently required for bhyve PCI-passthru. > > later, > > Peter. The onboard xHCI controller (C610/X99 series chipset) does support MSI, # pciconf -l -BbcV xhci0@pci0:0:20:0 xhci0@pci0:0:20:0: class=0x0c0330 card=0x72708086 chip=0x8d318086 rev=0x05 hdr=0x00 bar [10] = type Memory, range 64, base 0xc6100000, size 65536, enabled cap 01[70] = powerspec 2 supports D0 D3 current D0 cap 05[80] = MSI supports 8 messages, 64 bit enabled with 1 message I will give this a try. Thanks, Rajil From owner-freebsd-virtualization@freebsd.org Mon Nov 6 16:07:35 2017 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EA73DE61B7D for ; Mon, 6 Nov 2017 16:07:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D8D2175375 for ; Mon, 6 Nov 2017 16:07:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vA6G7ZoU009057 for ; Mon, 6 Nov 2017 16:07:35 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 203994] bhyve kernel module may need to relax some checks when running nested under KVM Date: Mon, 06 Nov 2017 16:07:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: novel@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2017 16:07:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203994 --- Comment #18 from Roman Bogorodskiy --- Any updates? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Mon Nov 6 21:59:15 2017 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D5134E681EB for ; Mon, 6 Nov 2017 21:59:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B88A431F6 for ; Mon, 6 Nov 2017 21:59:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vA6LxFYd002663 for ; Mon, 6 Nov 2017 21:59:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 222916] [bhyve] Debian guest kernel panics with message "CPU#0 stuck for Xs!" Date: Mon, 06 Nov 2017 21:59:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: karihre@gmail.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2017 21:59:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222916 karihre@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |Not A Bug --- Comment #7 from karihre@gmail.com --- So the vm has now been running for more than 3 weeks without problems, with= 4 vcpus and 32 GB of memory. I think it is safe to say this was not a bug, bu= t in fact a memory oversubscription. Thank you for your quick comments/advise! Hopefully this (non-)bug report will shed a light on similar problems for others. Marking this as closed/not-a-bug, feel free to change the status to something else as appropriate. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Wed Nov 8 07:05:16 2017 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 682C0E6FC0A for ; Wed, 8 Nov 2017 07:05:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 512506DC8C for ; Wed, 8 Nov 2017 07:05:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vA875FPO041252 for ; Wed, 8 Nov 2017 07:05:16 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 222996] FreeBSD 11.1 on Hyper-V with PCI Express Pass Through Date: Wed, 08 Nov 2017 07:05:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dmitry_kuleshov@ukr.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Nov 2017 07:05:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222996 --- Comment #4 from Dmitry --- I have noticed, that in Generation 1 Hyper-V 2016 VM PCI passthrough works without issues, in Generation 2 VM it cannot works. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Wed Nov 8 22:18:46 2017 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 04628E5D2FE for ; Wed, 8 Nov 2017 22:18:46 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [212.12.50.234]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gilb.zs64.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C160E6995E for ; Wed, 8 Nov 2017 22:18:45 +0000 (UTC) (envelope-from stb@lassitu.de) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id 332AA1C3E2F for ; Wed, 8 Nov 2017 22:18:36 +0000 (UTC) From: Stefan Bethke Content-Type: multipart/signed; boundary="Apple-Mail=_A3B2998F-8FF2-4746-97E5-21B5F1BA0AFF"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 11.0 \(3445.1.7\)) Subject: Vagrantboxen stblassitude/freebsd-11 and stblassitude/freebsd-10 with workaround for sudo Message-Id: <20BA134F-DC3E-459E-AD46-B6F711CA505A@lassitu.de> Date: Wed, 8 Nov 2017 23:18:34 +0100 To: freebsd-virtualization X-Mailer: Apple Mail (2.3445.1.7) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Nov 2017 22:18:46 -0000 --Apple-Mail=_A3B2998F-8FF2-4746-97E5-21B5F1BA0AFF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I=E2=80=99ve just updated my Vagrant boxes with a workaround for sudo = segfaulting when no hostname is set (by setting a default hostname in = the box). The up to date versions are available from: https://app.vagrantup.com/stblassitude/boxes/freebsd-11 https://app.vagrantup.com/stblassitude/boxes/freebsd-10 The packet template and scripts are at = https://github.com/stblassitude/packer-freebsd Stefan -- Stefan Bethke Fon +49 151 14070811 --Apple-Mail=_A3B2998F-8FF2-4746-97E5-21B5F1BA0AFF Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEzBAEBCgAdFiEEJ+hF98o4r3eU/HiPD885WK4W4sEFAloDgroACgkQD885WK4W 4sFPSgf/bdchF27Tj2CeMIl8440AaIxsY5dO014C1pIeoAXBt9VsrUR+aTm4VIAQ Pt8dUAvsss9HACNwGH1l0xTR0eRfF+ZMP5u7bKtEAmaTWieltYSuuPG+61iSGsFg pnvqiWJHRNrA36oPpy0I0qca6ImnVeZ5VdNrk2uoz2dV3SF/g3+/1npkD7Dld9hC YB5qvCu5Hsnb8AbBoUo/wEG2Vp42c1RpA27pRNm8CX0vofpsWrfYwIbZjgbusVG8 PvDkFvUS5PbsZ4tEFd1VzXhWnr/ne0YydmCrSE7zDAyaRwetfqfcbjHVuLfr6eKU sr4K/UKtn+a/a2kMgRl8sbRK2jho8Q== =afS8 -----END PGP SIGNATURE----- --Apple-Mail=_A3B2998F-8FF2-4746-97E5-21B5F1BA0AFF-- From owner-freebsd-virtualization@freebsd.org Thu Nov 9 05:42:15 2017 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 81491E6B5C2 for ; Thu, 9 Nov 2017 05:42:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6F114788F4 for ; Thu, 9 Nov 2017 05:42:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vA95gFBT026581 for ; Thu, 9 Nov 2017 05:42:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 223531] Instant kernel panic on 'kldload virtio_console' on oVirt 3.5 VM Date: Thu, 09 Nov 2017 05:42:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Nov 2017 05:42:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223531 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-virtualization@Free | |BSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Nov 9 08:05:23 2017 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DA28DE6E642 for ; Thu, 9 Nov 2017 08:05:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C81827CB89 for ; Thu, 9 Nov 2017 08:05:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vA985N7x035223 for ; Thu, 9 Nov 2017 08:05:23 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 223531] Instant kernel panic on 'kldload virtio_console' on oVirt 3.5 VM Date: Thu, 09 Nov 2017 08:05:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: vermaden@interia.pl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Nov 2017 08:05:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223531 --- Comment #8 from vermaden@interia.pl --- Generally FreeBSD 11/12 runs ok on this RHEV/oVirt/KVM hypervisor. I just wanted to install and try the 'ovirt-guest-agent' / 'rhevm-guest-age= nt' so that FreeBSD's guests IP and HOSTNAMEs would be printed in the management GUI. To do so I downloaded the 'ovirt-guest-agent' from git and compiled it from source as its not in the Ports tree. Of course it comes with tons of Linuxi= sms like '#!/usr/bin/python' or hardcoded config paths to /etc or /usr/share ..= . so I started to modify all this and 'stopped' on the lack of /dev/virtio-ports= on FreeBSD 11. I also read that it is only implemented on FreeBSD 12 so I downloaded CURRENT to continue the work there, and there was a kernel panic= on the module load. I am not sure what else would be needed to make this 'ovirt-guest-agent' wo= rk on FreeBSD, but here are instructions/commands from 'history' that I used to make it compile without errors. Maybe someone will find is useful in the future. Regards, vermaden # pkg install autoreconf autoconf automake libtool py27-pep8 pkgconf py27-pkgconfig git # git clone http://gerrit.ovirt.org/p/ovirt-guest-agent.git # cd ovirt-guest-agent/ # aclocal --print-ac-dir // this probably should be done as 'ovirtagent' user # env ACLOCAL_PATH=3D/usr/local/share/aclocal ./autogen.sh // this probably should be done as 'ovirtagent' user # ./configure --without-gdm-plugin --without-gdm2-plugin --without-kdm-plug= in --without-pam-ovirt-cred --with-gdm-plugin=3Dno --with-gdm2-plugin=3Dno --with-kdm-plugin=3Dno --with-pam-ovirt-cred=3Dno --disable-gdm-plugin --disable-gdm2-plugin --disable-kdm-plugin --disable-pam-ovirt-cred --enable-gdm-plugin=3Dno --enable-gdm2-plugin=3Dno --enable-kdm-plugin=3Dno --prefix=3D/opt/ovirt-guest-agent --without-sso # echo $? // this probably should be done as 'ovirtagent' user # make # echo $? # make install # cd /opt/ovirt-guest-agent/ # chmod +x /usr/share/ovirt-guest-agent/ovirt-guest-agent.py # adduser # su - ovirtagent $ cd /opt/ovirt-guest-agent/share/ # vi ovirt-guest-agent.py # grep -r formatters . # grep -r default-logger.conf . # ls /opt/ovirt-guest-agent/share/ovirt-guest-agent/default-logger.conf # ls /opt/ovirt-guest-agent/share/ovirt-guest-agent/default.conf # vi ovirt-guest-agent.py # mkdir /var/log/ovirt-guest-agent # : > ovirt-guest-agent.log # chown ovirtagent /var/log/ovirt-guest-agent # : > /var/run/ovirt-guest-agent.pid # chown ovirtagent /var/run/ovirt-guest-agent.pid $ su - ovirtagent -c /usr/share/ovirt-guest-agent/ovirt-guest-agent.py # cat /var/log/ovirt-guest-agent/ovirt-guest-agent.log # ls # ls -l /dev | grep -i virt # kldload virtio_console.ko # dmesg --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Nov 9 08:07:58 2017 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B94B9E6E705 for ; Thu, 9 Nov 2017 08:07:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A7CFA7CC38 for ; Thu, 9 Nov 2017 08:07:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vA987wxT038897 for ; Thu, 9 Nov 2017 08:07:58 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 223531] Instant kernel panic on 'kldload virtio_console' on oVirt 3.5 VM Date: Thu, 09 Nov 2017 08:07:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: vermaden@interia.pl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Nov 2017 08:07:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223531 --- Comment #9 from vermaden@interia.pl --- (In reply to Conrad Meyer from comment #6) I would try that for sure (and maybe that would have helped) but the oVirt/= RHEV version we have here is 3.5, so I will not be able to try that. Thanks You for suggestion thou. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Nov 9 08:11:53 2017 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3AD7AE6E8EF for ; Thu, 9 Nov 2017 08:11:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 286437CEC9 for ; Thu, 9 Nov 2017 08:11:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vA98BqkV051211 for ; Thu, 9 Nov 2017 08:11:53 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 223531] Instant kernel panic on 'kldload virtio_console' on oVirt 3.5 VM Date: Thu, 09 Nov 2017 08:11:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: vermaden@interia.pl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Nov 2017 08:11:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223531 --- Comment #10 from vermaden@interia.pl --- Created attachment 187876 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D187876&action= =3Dedit rhev-ovirt-manager For the record, here is how it looks on the management panel / manager. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Nov 9 08:39:35 2017 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0F5C6E6ED89 for ; Thu, 9 Nov 2017 08:39:35 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from kagate.punkt.de (kagate.punkt.de [217.29.33.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8E5477D71D for ; Thu, 9 Nov 2017 08:39:34 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from hugo10.ka.punkt.de (hugo10.ka.punkt.de [217.29.44.10]) by gate2.intern.punkt.de with ESMTP id vA98WKB8007391; Thu, 9 Nov 2017 09:32:20 +0100 (CET) Received: from [217.29.44.221] ([217.29.44.221]) by hugo10.ka.punkt.de (8.14.2/8.14.2) with ESMTP id vA98WKCR018990; Thu, 9 Nov 2017 09:32:20 +0100 (CET) (envelope-from hausen@punkt.de) From: "Patrick M. Hausen" Message-Id: <798A6704-8C3A-4871-A434-A7375C4DD7AC@punkt.de> Content-Type: multipart/signed; boundary="Apple-Mail=_545F7CD7-FEF5-4401-BBD3-2ED0AEC365AE"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Vagrantboxen stblassitude/freebsd-11 and stblassitude/freebsd-10 with workaround for sudo Date: Thu, 9 Nov 2017 09:32:21 +0100 In-Reply-To: <20BA134F-DC3E-459E-AD46-B6F711CA505A@lassitu.de> Cc: freebsd-virtualization To: Stefan Bethke References: <20BA134F-DC3E-459E-AD46-B6F711CA505A@lassitu.de> X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Nov 2017 08:39:35 -0000 --Apple-Mail=_545F7CD7-FEF5-4401-BBD3-2ED0AEC365AE Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hey, guys, > Am 08.11.2017 um 23:18 schrieb Stefan Bethke : >=20 > I=E2=80=99ve just updated my Vagrant boxes with a workaround for sudo = segfaulting when no hostname is set (by setting a default hostname in = the box). So did we - I did not think this was honoring a mention ;) https://app.vagrantup.com/punktde Patrick -- punkt.de GmbH Internet - Dienstleistungen - Beratung Kaiserallee 13a Tel.: 0721 9109-0 Fax: -100 76133 Karlsruhe info@punkt.de http://punkt.de AG Mannheim 108285 Gf: Juergen Egeling --Apple-Mail=_545F7CD7-FEF5-4401-BBD3-2ED0AEC365AE Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEzBAEBCgAdFiEEgzqrjO/mj9CSsTg2kG8u4u3aiVwFAloEEpUACgkQkG8u4u3a iVz8cggAq8Ed3DvIZFUbI0CQJXh3cF+Klwjr2VxosuAWGiCzGmkFssYq/XdUDrFi ItvuzRa6ytTgB+CPI4BMDAGimKkJb0kcP/x4Gvswmo1lwGdqGKc8z50C+7X7NffG 3ic5abP/idkt7iN/pnBirJiOUrkcAToYIr3lw/ww8HcLMQlUUao5mTxylyzoDv8i 9So2434HXpLg2QrLtCUo59AZtpCnawYjaAfkqTsSzUsLCdeMm76vm3yCKtsQllNa UI3tT/XaNAIP+48rAtadW0dBvDZsgTJdVwUZSlyeHreJifCIcAi9xrpM9hIRJ0zK 2tcBJuggDG/+xKh+2p/1b8nM6OqmaQ== =3aZy -----END PGP SIGNATURE----- --Apple-Mail=_545F7CD7-FEF5-4401-BBD3-2ED0AEC365AE-- From owner-freebsd-virtualization@freebsd.org Thu Nov 9 17:08:49 2017 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1B044E5642C for ; Thu, 9 Nov 2017 17:08:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 08A906F9F8 for ; Thu, 9 Nov 2017 17:08:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vA9H8jRA095762 for ; Thu, 9 Nov 2017 17:08:48 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 203994] bhyve kernel module may need to relax some checks when running nested under KVM Date: Thu, 09 Nov 2017 17:08:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: grehan@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Nov 2017 17:08:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203994 --- Comment #19 from Peter Grehan --- No updates. Do you have a specific kernel version that you are interested in ? If so I could restrict my testing to just that. My concern was that there would be a never-ending set of fidelity issues in= KVM with kernels <=3D 4.10. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Sat Nov 11 13:51:31 2017 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 27166E6B53E for ; Sat, 11 Nov 2017 13:51:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1515C1D00 for ; Sat, 11 Nov 2017 13:51:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vABDpRQt007644 for ; Sat, 11 Nov 2017 13:51:30 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 203994] bhyve kernel module may need to relax some checks when running nested under KVM Date: Sat, 11 Nov 2017 13:51:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: novel@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Nov 2017 13:51:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203994 --- Comment #20 from Roman Bogorodskiy --- (In reply to Peter Grehan from comment #19) As for me, kernels >=3D 4.10 are fine for me. I use Fedora for my Linux-rel= ated stuff, Fedora 26 comes with 4.11, and Fedora 27 that will be released soon = will have 4.13 I think. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Sat Nov 11 15:45:06 2017 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 05E6CE6DB5B for ; Sat, 11 Nov 2017 15:45:06 +0000 (UTC) (envelope-from me@cschwarz.com) Received: from orion.uberspace.de (orion.uberspace.de [95.143.172.79]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 73E0C647CC for ; Sat, 11 Nov 2017 15:45:04 +0000 (UTC) (envelope-from me@cschwarz.com) Received: (qmail 1257 invoked from network); 11 Nov 2017 15:38:19 -0000 Received: from localhost (HELO csarch) (127.0.0.1) by orion.uberspace.de with SMTP; 11 Nov 2017 15:38:19 -0000 Message-ID: <1510414698.13439.8.camel@cschwarz.com> Subject: grub-bhyve: support overriding just --root flag From: Christian Schwarz To: freebsd-virtualization@freebsd.org Date: Sat, 11 Nov 2017 16:38:18 +0100 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Nov 2017 15:45:06 -0000 (Disclaimer: also submitted this to the libvirt mailing list, but this list seems more appropriate) Hi, I was trying to get a GPT-formatted VM boot on FreeBSD using the bhyve driver and the grub-bhyve bootloader. Turns out that libvirt 3.9.0 hardcodes the boot partition to (hd0,msdos1) or allows overriding it completly using . I hacked together a patch that allows overring just the --root argument to grub-bhyve and updated the documentation: https://github.com/problame/libvirt/commit/5fd1265c05987d907d9f1d9913dbee832a227889 Obviously, this does not meet quality standards and should not be merged as is, but maybe spawn some discussion (if anyone is actually using bhyve + libvirt). Cheers, Christian --- commit 5fd1265c05987d907d9f1d9913dbee832a227889 Author: Christian Schwarz Date: Sat Nov 11 16:15:05 2017 +0100 bhyve: grub-bhyve: support overriding just the --root argument in domain config diff --git a/docs/drvbhyve.html.in b/docs/drvbhyve.html.in index 63260afae..2583bfa01 100644 --- a/docs/drvbhyve.html.in +++ b/docs/drvbhyve.html.in @@ -300,17 +300,26 @@ are omitted, libvirt will try and infer boot ordering from user-supplied <boot order='N'> configuration in the domain. Failing that, it will boot the first disk in the domain (either cdrom- or disk-type devices). If the disk type is disk, it will -attempt to boot from the first partition in the disk image.

+attempt to boot from the first partition in the disk image, assuming +an msdos partitioning scheme +(i.e. grub-bhyve --root hd0,msdos1). +You can override this behavior using bootloader_args or bootloader_grub_root. +

 ...
 <bootloader>/usr/local/sbin/grub-bhyve</bootloader>
+<!-- the following tag overrides all args to grub-bhyve -->
 <bootloader_args>...</bootloader_args>
+<!-- the following tag overrides just the --root argument to grub-bhyve -->
+<bootloader_grub_root>hd0,gpt1</bootloader_grub_root>
 ...
 
-

Caveat: bootloader_args does not support any quoting. -Filenames, etc, must not have spaces or they will be tokenized incorrectly.

+

Caveats when using bootloader_args: it does not support any quoting. +Filenames, etc, must not have spaces or they will be tokenized incorrectly. +Additionally, you will have to maintain your own --device-map +file and keep it in sync with the domain XML.

Using UEFI bootrom, VNC, and USB tablet

diff --git a/src/bhyve/bhyve_command.c b/src/bhyve/bhyve_command.c index 55032ae1d..6cab6e516 100644 --- a/src/bhyve/bhyve_command.c +++ b/src/bhyve/bhyve_command.c @@ -774,15 +774,21 @@ virBhyveProcessBuildGrubbhyveCmd(virDomainDefPtr def, } virCommandAddArg(cmd, "--root"); - if (userdef != NULL) { - if (userdef->device == VIR_DOMAIN_DISK_DEVICE_CDROM) + if (def->os.bootloaderGrubRoot != NULL) { + virCommandAddArg(cmd, def->os.bootloaderGrubRoot); + } else { + + if (userdef != NULL) { + if (userdef->device == VIR_DOMAIN_DISK_DEVICE_CDROM) + virCommandAddArg(cmd, "cd"); + else + virCommandAddArg(cmd, "hd0,msdos1"); + } else if (cd != NULL) { virCommandAddArg(cmd, "cd"); - else + } else { virCommandAddArg(cmd, "hd0,msdos1"); - } else if (cd != NULL) { - virCommandAddArg(cmd, "cd"); - } else { - virCommandAddArg(cmd, "hd0,msdos1"); + } + } virCommandAddArg(cmd, "--device-map"); diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index 7dfd7b54e..ecd1f71dd 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -18141,6 +18141,7 @@ virDomainDefParseXML(xmlDocPtr xml, def->os.bootloader = virXPathString("string(./bootloader)", ctxt); def->os.bootloaderArgs = virXPathString("string(./bootloader_args)", ctxt); + def->os.bootloaderGrubRoot = virXPathString("string(./bootloader_grub_root)", ctxt); tmp = virXPathString("string(./os/type[1])", ctxt); if (!tmp) { diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h index e3f060b12..f969e9195 100644 --- a/src/conf/domain_conf.h +++ b/src/conf/domain_conf.h @@ -1884,6 +1884,7 @@ struct _virDomainOSDef { char *slic_table; virDomainLoaderDefPtr loader; char *bootloader; + char *bootloaderGrubRoot; char *bootloaderArgs; int smbios_mode; From owner-freebsd-virtualization@freebsd.org Sat Nov 11 23:46:31 2017 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EEE64E500CD for ; Sat, 11 Nov 2017 23:46:31 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from mx1.scaleengine.net (mx1.scaleengine.net [209.51.186.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D086073DA5 for ; Sat, 11 Nov 2017 23:46:31 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from T530-Allan.HML3.ScaleEngine.net (unknown [220.134.17.187]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id C93631456D for ; Sat, 11 Nov 2017 23:46:23 +0000 (UTC) Subject: Re: grub-bhyve: support overriding just --root flag To: freebsd-virtualization@freebsd.org References: <1510414698.13439.8.camel@cschwarz.com> From: Allan Jude Message-ID: <161c3f27-41fd-ada6-4edb-b8d2b3c1dc48@freebsd.org> Date: Sat, 11 Nov 2017 18:46:20 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <1510414698.13439.8.camel@cschwarz.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Nov 2017 23:46:32 -0000 On 11/11/2017 10:38, Christian Schwarz wrote: > (Disclaimer: also submitted this to the libvirt mailing list, but this list > seems more appropriate) > > Hi, > > I was trying to get a GPT-formatted VM boot on FreeBSD using the bhyve driver > and the grub-bhyve bootloader. > > Turns out that libvirt 3.9.0 hardcodes the boot partition to (hd0,msdos1) > or allows overriding it completly using . > > I hacked together a patch that allows overring just the --root argument to > grub-bhyve and updated the documentation: > > https://github.com/problame/libvirt/commit/5fd1265c05987d907d9f1d9913dbee832a227889 > > Obviously, this does not meet quality standards and should not be merged as is, > but maybe spawn some discussion (if anyone is actually using bhyve + libvirt). > > Cheers, > > Christian > > > freebsd-virtualization@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org" > Does libvirt support using the bhyve UEFI-CSM firmware instead? That would let the VM boot using the native grub installed inside the VM, and avoid this issue entirely. It also makes starting a bhyve a single command instead of 2. -- Allan Jude