From owner-freebsd-virtualization@freebsd.org Wed Aug 10 13:36:41 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 B464BBB42A2 for ; Wed, 10 Aug 2016 13:36:41 +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 271FC1EDF for ; Wed, 10 Aug 2016 13:36:40 +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 39314104; Wed, 10 Aug 2016 19:36:24 +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 u7ADacbY013083; Wed, 10 Aug 2016 20:36:38 +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 u7ADaYub013082; Wed, 10 Aug 2016 20:36:34 +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: Wed, 10 Aug 2016 20:36:34 +0700 From: Victor Sudakov To: Matt Churchyard Cc: "freebsd-virtualization@freebsd.org" Subject: Re: Bhyve tests and findings Message-ID: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <75264feddcff47bf920081457bbd3e7b@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: Wed, 10 Aug 2016 13:36:41 -0000 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