From owner-freebsd-virtualization@freebsd.org Mon Aug 13 09:53:10 2018 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 22E01106CAAE for ; Mon, 13 Aug 2018 09:53:10 +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 65BF3729B1 for ; Mon, 13 Aug 2018 09:53:09 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) X-Virus-Scanned: by clamd daemon 0.100.1 for FreeBSD at relay.sibptus.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 40076403; Mon, 13 Aug 2018 16:53:07 +0700 Received: from admin.sibptus.transneft.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.transneft.ru (8.15.2/8.15.2) with ESMTP id w7D9r7dC099936; Mon, 13 Aug 2018 16:53:07 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.transneft.ru (8.15.2/8.15.2/Submit) id w7D9r21H099933; Mon, 13 Aug 2018 16:53:02 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.transneft.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Mon, 13 Aug 2018 16:53:01 +0700 From: Victor Sudakov To: Matt Churchyard Cc: "Rodney W. Grimes" , "freebsd-virtualization@freebsd.org" Subject: Re: Curent Centos 7 and bhyve Message-ID: <20180813095301.GA99455@admin.sibptus.transneft.ru> References: <20180812052025.GB73103@admin.sibptus.transneft.ru> <201808121459.w7CExSWX032888@pdx.rh.CN85.dnsmgr.net> <20180813020412.GA83165@admin.sibptus.transneft.ru> <1b484d237c4a4f4dabcbd7b0eece7675@SERVER.ad.usd-group.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1b484d237c4a4f4dabcbd7b0eece7675@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.9.5 (2018-04-13) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.27 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, 13 Aug 2018 09:53:10 -0000 Matt Churchyard wrote: > > Rodney W. Grimes wrote: > > [dd] > > > I've already commented on the bug, although I'll reply here as well. > If "-S" is found in bhyve_options it does currently affect both > commands. Sorry, this is not working for me (vm-bhyve 1.1.8_2 from official packages): Aug 13 16:43:09: bhyve exited with status 1 Aug 13 16:43:09: destroying network device tap0 Aug 13 16:43:09: stopped Aug 13 16:43:12: initialising Aug 13 16:43:12: [loader: bhyveload] Aug 13 16:43:12: [uefi: no] Aug 13 16:43:12: [cpu: 1] Aug 13 16:43:12: [memory: 1G] Aug 13 16:43:12: [hostbridge: standard] Aug 13 16:43:12: [com ports: com1] Aug 13 16:43:12: [uuid: e148afdb-d4af-11e6-9a94-5404a6b49a66] Aug 13 16:43:12: [utctime: yes] Aug 13 16:43:12: [debug mode: no] Aug 13 16:43:12: [primary disk: disk0.img] Aug 13 16:43:12: [primary disk dev: file] Aug 13 16:43:12: initialising network device tap0 Aug 13 16:43:12: adding tap0 -> bridge0 (main) Aug 13 16:43:12: booting Aug 13 16:43:12: bhyveload -c /dev/nmdm0A -m 1G -e autoboot_delay=3 -d /d02/vm/fido/disk0.img fido Aug 13 16:43:17: [bhyve options: -c 1 -m 1G -AHP -S -U e148afdb-d4af-11e6-9a94-5404a6b49a66 -u] Aug 13 16:43:17: [bhyve devices: -s 0,hostbridge -s 31,lpc -s 4:0,virtio-blk,/d02/vm/fido/disk0.img -s 5:0,virtio-net,tap0,mac=58:9c:fc:01:f6:ac] Aug 13 16:43:17: [bhyve console: -l com1,/dev/nmdm0A] Aug 13 16:43:17: starting bhyve (run 1) Aug 13 16:43:17: bhyve exited with status 1 Aug 13 16:43:17: destroying network device tap0 Aug 13 16:43:17: stopped Here is my complete config: guest="freebsd" loader="bhyveload" cpu=1 memory=1G network0_type="virtio-net" network0_switch="main" disk0_type="virtio-blk" disk0_name="disk0.img" utctime="yes" uuid="e148afdb-d4af-11e6-9a94-5404a6b49a66" network0_mac="58:9c:fc:01:f6:ac" bhyve_options="-S" -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN AS43859