From owner-freebsd-virtualization@freebsd.org Mon May 11 15:00:43 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 15ED92E3779 for ; Mon, 11 May 2020 15:00:43 +0000 (UTC) (envelope-from brandon.helsley@hotmail.com) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10olkn20810.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e88::810]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49LPJ95QtKz4fGX for ; Mon, 11 May 2020 15:00:41 +0000 (UTC) (envelope-from brandon.helsley@hotmail.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EYxJEn4FtCDnnsi5b5L3yXBbaH4O8brcHVp1HhQCMV1e7Lb4wPoYNMSFcpBgcIESpLtvSSg43EaQU0oLVkDch3V3B+bBaWse09r8jzfv2+A69hyQ9CzzOw/DJxtiFXfJUSL+RnD9jwfr9G7hS/uYN+0rkSfHQ/gpLGVKq/3cXR1aH+uE8u6cHueyAau/iusJD/XOPS6lw5j8Jhi7m39O8gnlBxyEb/mk6ZHAn9uw8QLnT/CA/KLS4Wulx1h0D//Q9RwyrNtuHEhjbreWsP+VAIA2RcPtWh8nw3n4vi+DWgQQPsAG1jT/RvBAPMJb1cJZEa9CpScIny7YGhvmNKsnUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0p7p68UWzEyCaJS0p93xwiVwqOAib3EaCfrVVM1jibc=; b=nSOcM5t4hZHhB7koDtkU9SgMdD9+eogvRr5RbzsDWGZcpYjNGtJ7A4or2G7GLXro0UNl+dlfwtPaQYYMDs0NqmQ3+p8JPnL8YsquUSAgIE2xAZIlEUqs/xAKT+ej2o5D4DmmXni7CGdYpP9kUoPbHiKmsc0hR1cER8ySkj1hlViwXmpg5PxaLfWXkAkZQHLgKqP+dHp6orpyqj3bwaCHZAA1I9vvZNcORBsnr8H5p1GjDEJyaWO34vYTr0/O4K3MqA9BLwYrQd4nbhSq3MRVm6bI6L5EG4CIhtJobxfJKC4mQLVi6PO8Gx1/1zom2pnLI6+mgwvF3aNnh1PIKaSwkA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0p7p68UWzEyCaJS0p93xwiVwqOAib3EaCfrVVM1jibc=; b=pBLFvYTsRd6hMfWRYWR1rAhICHijT10DOQxkSyCXqG5fHDz6g2oAORiQaNxN4RVLCe5YQwMUYlM3m+q1l/GYslzhuMtFYZiDWG0wVqKfUInF3BEicQiJgtdK5YgQ8XFjo0FUfz4SMFY8/jN/xN7mwPsQdWczPPDoMoxZG1jkhUtCxrk1zfg2dA73UaEEsxR0VXbZNb0rXROjDWmc3HScG/zOfHzq0CYvz8WW9YyMpPYuboQdi+KrQHhGMvT1QSbmJ4FUNjxixkfZW91BU/rj5iCmhrkcnAZDWlVpIcFRZcLw8AGXVVLYrcgOz8QhUZQ15ORgMf3D3Q0r0ne4mrSefQ== Received: from BN7NAM10FT043.eop-nam10.prod.protection.outlook.com (2a01:111:e400:7e8f::42) by BN7NAM10HT041.eop-nam10.prod.protection.outlook.com (2a01:111:e400:7e8f::302) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.27; Mon, 11 May 2020 15:00:38 +0000 Received: from CY4PR19MB1655.namprd19.prod.outlook.com (2a01:111:e400:7e8f::4c) by BN7NAM10FT043.mail.protection.outlook.com (2a01:111:e400:7e8f::110) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.27 via Frontend Transport; Mon, 11 May 2020 15:00:38 +0000 Received: from CY4PR19MB1655.namprd19.prod.outlook.com ([fe80::387e:fe14:f955:101d]) by CY4PR19MB1655.namprd19.prod.outlook.com ([fe80::387e:fe14:f955:101d%12]) with mapi id 15.20.2979.033; Mon, 11 May 2020 15:00:38 +0000 From: Brandon helsley To: Aryeh Friedman CC: "freebsd-virtualization@freebsd.org" Subject: Re: Bhyve iso Thread-Topic: Bhyve iso Thread-Index: AQHWJ5e0Bk3xdS4wjUKby2aHFAt+bqii4gWAgAADZWKAAAX+gIAADzjp Date: Mon, 11 May 2020 15:00:38 +0000 Message-ID: References: , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:0DBF95C20772D9F833262D75A8EDFFB3538C6F5D0E1C14ED132CA7C147567D67; UpperCasedChecksum:E68FD1146ED8BE9E7A4A726408BB77ECDFC9F6CC90E7CC723AB2A4AEE79CEC64; SizeAsReceived:7188; Count:46 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [LiGOddf0PhORVznqCJ6r3njiLMvWUAF1] x-ms-publictraffictype: Email x-incomingheadercount: 46 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: 8fd44872-8ea7-4e3d-de1f-08d7f5bc114c x-ms-traffictypediagnostic: BN7NAM10HT041: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: QFFJVKz/HZQ/v26yYobFS4zYW7HbdWAdx5OvzdV4B46xVQOU85Vf+TP2BV9M6kn346SPryRvc79iTTGo5+G56xzncKx6ioWmP0B6Gw9JftjRA0Rm7BUc3bUr5hgzEbIUglI9gxYYkTl1p/TfMtxGuo2SGHqlr5707To2/IlVjXmw4BBJPCr0/cybOquGh96AzeBF2IJIGEOiO/bst8Ic0q4XZyISjhodKTpwjbOjzI1IzqV+X6Oc9uJ4Ni5nKPpz x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:0; SRV:; IPV:NLI; SFV:NSPM; H:CY4PR19MB1655.namprd19.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:; DIR:OUT; SFP:1901; x-ms-exchange-antispam-messagedata: XLbJKNrMG/kNw3amIoT9YDcxkT5YiCxAbXPBkvIMcg3MhNl65pkVsx3lbcQWDg2s/42fIzaBknVbIR3Snh7WpalALePOVsM46eXfmVy2bFSG6yjKWXJ4OrPLWXuVtrIuXlUwMwy61LIcMeMb3Un3QA== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 8fd44872-8ea7-4e3d-de1f-08d7f5bc114c X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 May 2020 15:00:38.8511 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7NAM10HT041 X-Rspamd-Queue-Id: 49LPJ95QtKz4fGX X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=pBLFvYTs; dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of brandon.helsley@hotmail.com designates 2a01:111:f400:7e88::810 as permitted sender) smtp.mailfrom=brandon.helsley@hotmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[hotmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f400::/48]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[hotmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[hotmail.com,none]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US]; ARC_ALLOW(-1.00)[i=1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[hotmail.com:s=selector1]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[hotmail.com.dwl.dnswl.org : 127.0.5.0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; HTTP_TO_IP(1.00)[]; IP_SCORE(0.00)[ipnet: 2a01:111:f000::/36(-4.20), asn: 8075(-3.24), country: US(-0.05)] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 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, 11 May 2020 15:00:43 -0000 What does script mean? Sent from Outlook Mobile ________________________________ From: Aryeh Friedman Sent: Monday, May 11, 2020 8:05:59 AM To: Brandon helsley Cc: freebsd-virtualization@freebsd.org Subject: Re: Bhyve iso On Mon, May 11, 2020 at 9:45 AM Brandon helsley > wrote: What is option for adding another drive? Ahci is under -s but I don't see a= nything relevant. Here is an example script for install FreeBSD and then rebooting the VM aft= er the install: #!/bin/sh # # Generated by PetiteCloud 0.2.6 # truncate -s 750G /vms/pri/dfdebf870cff2e43 ifconfig tap6 destroy ifconfig tap6 create ifconfig tap6 up sleep 5 ifconfig bridge0 addm tap6 up bhyvectl --destroy --vm=3Dadda5345720edee1 /usr/sbin/bhyve -c cores=3D4 -m 8192 -AI -H -P -w -g 0 -s 0:0,hostbridge -s= 1,virtio-net,tap6 -s 2,ahci-hd,/vms/pri/dfdebf870cff2e43 -s 3,ahci-cd,/vms= /cds/FreeBSD-12.1-RELEASE-amd64-dvd1.iso -s 29,fbuf,tcp=3D0.0.0.0:5906,w=3D800,h=3D600 -s 30,xhci,tablet -s 31,lpc -l com1,stdio= -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd adda5345720edee1 echo $!>/var/run/petitecloud/adda5345720edee1 sleep 10 ifconfig tap6 destroy ifconfig tap6 create ifconfig tap6 up sleep 5 ifconfig bridge0 addm tap6 up bhyvectl --destroy --vm=3Dadda5345720edee1 /usr/sbin/bhyve -c cores=3D4 -m 8192 -AI -H -P -w -g 0 -s 0:0,hostbridge -s= 1,virtio-net,tap6 -s 2,ahci-hd,/vms/pri/dfdebf870cff2e43 -s 29,fbuf,tcp= =3D0.0.0.0:5906,w=3D800,h=3D600 -s 30,xhci,tablet -s = 31,lpc -l com1,/dev/nmdm6B -l bootrom,/usr/local/share/uefi-firmware/BHYVE_= UEFI.fd adda5345720edee1&>/dev/null echo $!>/var/run/petitecloud/adda5345720edee1 sleep 10 Sent from Outlook Mobile ________________________________ From: Aryeh Friedman > Sent: Monday, May 11, 2020 7:32:23 AM To: Brandon helsley > Cc: freebsd-virtualization@freebsd.org > Subject: Re: Bhyve iso On Mon, May 11, 2020 at 9:26 AM Brandon helsley > wrote: In setting up bhyve today, or at least learning how, and I'm stuck at the p= art after I create with truncate the device map image. I'm supposed to put = an iso with the devicemap.img and then boot from grub. How do I complete th= is last step with the iso? Could someone please help? See man page for bhyve but basically what you do is you add an other drive = like you do the disks but instead of saying the block device is AHCI-HD or = VirtIOBlk you say it is AHCI-CD. -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org