From owner-freebsd-virtualization@freebsd.org Tue Aug 9 10:07:16 2016 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 93692BB3E43 for ; Tue, 9 Aug 2016 10:07:16 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id AF70D1E49 for ; Tue, 9 Aug 2016 10:07:14 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) X-Virus-Scanned: by clamd daemon 0.98.5_1 for FreeBSD at relay2.tomsk.ru Received: from [212.73.125.240] (HELO admin.sibptus.transneft.ru) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPS id 39312956; Tue, 09 Aug 2016 16:06:56 +0600 Received: from admin.sibptus.transneft.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.transneft.ru (8.14.9/8.14.9) with ESMTP id u79A7AKq079335; Tue, 9 Aug 2016 17:07:10 +0700 (KRAT) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.transneft.ru (8.14.9/8.14.9/Submit) id u79A770x079331; Tue, 9 Aug 2016 17:07:07 +0700 (KRAT) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.transneft.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Tue, 9 Aug 2016 17:07:07 +0700 From: Victor Sudakov To: Matt Churchyard Cc: Lars Engels , "freebsd-virtualization@freebsd.org" Subject: Re: Bhyve tests and findings Message-ID: <20160809100707.GA78888@admin.sibptus.transneft.ru> References: <20160804132810.Horde.PbxdxEormFX3MwsBMVBoRo7@mail.eeeit.de> <386acc93-afea-9c7e-bcb0-401d1f71fa1f@freebsd.org> <20160804205702.Horde.cclsReqAJZ4gP-yp7ySWYDW@mail.eeeit.de> <20160805013102.GA88553@admin.sibptus.transneft.ru> <20160805062219.GM148@e-new.0x20.net> <20160805065945.GA98590@admin.sibptus.transneft.ru> <20160805070420.GN148@e-new.0x20.net> <20160809055227.GA68689@admin.sibptus.transneft.ru> <008d6f674dd34becb787c2153029b0f4@SERVER.ad.usd-group.com> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <008d6f674dd34becb787c2153029b0f4@SERVER.ad.usd-group.com> Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.6.1 (2016-04-27) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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: Tue, 09 Aug 2016 10:07:16 -0000 Matt Churchyard wrote: > > > > > > > > > > > > uefi="yes" > > > > > > graphics="yes" > > > > > > > > > > Dear Colleagues, > > > > > > > > > > Can I enjoy and test all those nice "UEFI-GOP" features on a > > > > > 10.3-RELEASE system, or do I have to install CURRENT for that? > > > > > > > > AFAIK you can checkout usr.sbin/bhyve from the 11 branch and compile it > > > > on 10.3. > > > > > > I'm not sure how to compile something from a different branch without > > > compiling the whole world. make what? > > > > For bhyve it's easy. Check out the sources, go to usr.sbin/bhyve and run > > > > make depend; make obj; make; make install. > > >Unfortunately, after all my efforts, with libvmmapi and bhyve compiled from > >CURRENT sources: > > >Aug 09 12:46:52: warning; UEFI graphics is only available in FreeBSD 11 and newer > >Aug 09 12:46:52: booting > > >Bummer! > > It's possible that you do have a bhyve system with graphics support. Unfortunately vm-bhyve isn't aimed at users who have manually merged changes, and will blindly tell anyone that isn't running 11+ that they don't have graphics support. > > You have a couple of options - > > 1) Run bhyve manually rather than using vm-bhyve > 2) Upgrade to the 11 beta > 3) Modify vm-bhyve to not automatically skip graphics support if the version is less than 11 Aha! I've commented out the version check from vm-run, and now when trying to install, I get: ΑΧΗ 09 17:01:05: initialising ΑΧΗ 09 17:01:05: [loader: none] ΑΧΗ 09 17:01:05: [uefi: yes] ΑΧΗ 09 17:01:05: [cpu: 1] ΑΧΗ 09 17:01:05: [memory: 1G] ΑΧΗ 09 17:01:05: [hostbridge: standard] ΑΧΗ 09 17:01:05: [com ports: com1] ΑΧΗ 09 17:01:05: [uuid: 093f9134-5e18-11e6-9502-5404a6b49a66] ΑΧΗ 09 17:01:05: [utctime: no] ΑΧΗ 09 17:01:05: [debug mode: no] ΑΧΗ 09 17:01:05: [primary disk: disk0.img] ΑΧΗ 09 17:01:05: [primary disk dev: file] ΑΧΗ 09 17:01:05: generated static mac 58:9c:fc:03:77:3b (based on 'win:0:1470736865:0') ΑΧΗ 09 17:01:05: initialising network device tap5 ΑΧΗ 09 17:01:05: adding tap5 -> bridge1 (isolated) ΑΧΗ 09 17:01:05: dynamically allocated port 5900 for vnc connections ΑΧΗ 09 17:01:05: booting ΑΧΗ 09 17:01:05: [bhyve options: -c 1 -m 1G -Hwl bootrom,/d02/vm/.config/BHYVE_UEFI.fd -U 093f9134-5e18-11e6-9502-5404a6b49a66] ΑΧΗ 09 17:01:05: [bhyve devices: -s 0,hostbridge -s 31,lpc -s 4:0,ahci-hd,/d02/vm/win/disk0.img -s 5:0,virtio-net,tap5,mac=58:9c:fc:03:77:3b -s 6:0,fbuf,tcp=0.0.0.0:5900,wait] ΑΧΗ 09 17:01:05: [bhyve console: -l com1,/dev/nmdm0A] ΑΧΗ 09 17:01:05: [bhyve iso device: -s 3:0,ahci-cd,/d02/vm/.iso/bhyve_win7_x64.iso] ΑΧΗ 09 17:01:05: starting bhyve (run 1) ΑΧΗ 09 17:01:05: bhyve exited with status 1 ΑΧΗ 09 17:01:05: destroying network device tap5 ΑΧΗ 09 17:01:05: stopped -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru