From owner-freebsd-virtualization@freebsd.org Wed Aug 10 15:14:40 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 08F3CBB5F43 for ; Wed, 10 Aug 2016 15:14:40 +0000 (UTC) (envelope-from lists@yamagi.org) Received: from mail1.yamagi.org (yugo.yamagi.org [212.48.122.103]) (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 C224F1242 for ; Wed, 10 Aug 2016 15:14:38 +0000 (UTC) (envelope-from lists@yamagi.org) Received: from [10.42.10.101] (helo=aka) by mail1.yamagi.org with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.86 (FreeBSD)) (envelope-from ) id 1bXUbA-000LMg-DX; Wed, 10 Aug 2016 16:35:42 +0200 Date: Wed, 10 Aug 2016 16:35:12 +0200 From: Yamagi Burmeister To: vas@mpeks.tomsk.su Cc: matt.churchyard@userve.net, freebsd-virtualization@freebsd.org Subject: Re: Bhyve tests and findings Message-Id: <20160810163512.b66797a68546fedefa97eaee@yamagi.org> In-Reply-To: <20160810133634.GA13041@admin.sibptus.transneft.ru> References: <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> <20160809100707.GA78888@admin.sibptus.transneft.ru> <6b97a900f4c446fd875b080780f6938b@SERVER.ad.usd-group.com> <20160810030200.GA90959@admin.sibptus.transneft.ru> <75264feddcff47bf920081457bbd3e7b@SERVER.ad.usd-group.com> <20160810133634.GA13041@admin.sibptus.transneft.ru> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.29; amd64-portbld-freebsd10.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: Wed, 10 Aug 2016 15:14:40 -0000 Hi, to be able to use the GOP instructions on FreeBSD 10.3 you'll need to merge r296103 [0]. If it's an AMD system it's a good idea to merge r297806 [1], too. Otherwise most Linux distros will panic at startup. Regards, Yamagi 0: https://svnweb.freebsd.org/base?view=revision&revision=296103 1: https://svnweb.freebsd.org/base?view=revision&revision=297806 On Wed, 10 Aug 2016 20:36:34 +0700 Victor Sudakov wrote: > Matt Churchyard wrote: > > > > >I have tried replicating manually all the options vm is passing to bhyve, like > > > > >bhyve -c 1 -m 1G -Hwl bootrom,/d02/vm/.config/BHYVE_UEFI.fd \ > > > -U 093f9134-5e18-11e6-9502-5404a6b49a66 \ > > >> -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 \ > > > -l com1,stdio \ > > > -s 3:0,ahci-cd,/d02/vm/.iso/bhyve_win7_x64.iso > > > > > But bhyve just spits out the "usage" help (that's why it exits immediately). But I cannot find out what's incorrect with the options. > > > > You just need the vm name (win) on the end: > > > > # bhyve [options] vm-name > > > > Sorry, I was being stupid. With the vm name on the end, it just exits > with error code 1 and without printing anytning. > > I have recompiled bhyve itself and the libvmmapi, maybe it's not > enough? The kernel module? It still remains that from 10.3 > > -- > Victor Sudakov, VAS4-RIPE, VAS47-RIPN > sip:sudakov@sibptus.tomsk.ru > _______________________________________________ > 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" -- Homepage: www.yamagi.org XMPP: yamagi@yamagi.org GnuPG/GPG: 0xEFBCCBCB