From owner-freebsd-virtualization@FreeBSD.ORG Sun Oct 6 05:25:42 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A3C2FCB3; Sun, 6 Oct 2013 05:25:42 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-pa0-x234.google.com (mail-pa0-x234.google.com [IPv6:2607:f8b0:400e:c03::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7457627AA; Sun, 6 Oct 2013 05:25:42 +0000 (UTC) Received: by mail-pa0-f52.google.com with SMTP id kl14so5840108pab.25 for ; Sat, 05 Oct 2013 22:25:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=2xuG96hez4wKIteAvlQfI+dI9D0XIlTEwbt0pDGkZXs=; b=pSy3vzx6mMZJFK85n8kXJajvxvGMn/aHKHgc9JC07K6B/5oDRmzEMrDC6oSGUPkZul XSx8bDujk8BsJeVNFepRJj6VXbH02EJ43tHKb5HIOAswD8GDIt7foXjOfESPcrdhgG3t itBauj9k+A8P3lMjP2OEWZC0o7g2qRg2kgvIrZgBq1BsuO2HnZhzHKtcBmYNNWDPgzrC AS5kxDvQVXHx0RT5L8dQ1MjNNNUjBUqM5CStebfQlaJaOuStvZwWMXiCsFS05rGzoFjl nLIBIBlMAo/bKoPXjEcgbf1RygZFWZ0zTeC3x8toudJrK2qlsDKb5bOhIULUiVnRGSVl BevQ== MIME-Version: 1.0 X-Received: by 10.68.218.69 with SMTP id pe5mr23693779pbc.71.1381037141980; Sat, 05 Oct 2013 22:25:41 -0700 (PDT) Received: by 10.68.253.162 with HTTP; Sat, 5 Oct 2013 22:25:41 -0700 (PDT) In-Reply-To: <201310052122.r95LMZBr052297@svn.freebsd.org> References: <201310052122.r95LMZBr052297@svn.freebsd.org> Date: Sun, 6 Oct 2013 01:25:41 -0400 Message-ID: Subject: Re: svn commit: r256072 - in head: lib/libvmmapi sys/amd64/amd64 sys/amd64/include sys/amd64/vmm sys/amd64/vmm/amd sys/amd64/vmm/intel sys/amd64/vmm/io usr.sbin/bhyve usr.sbin/bhyvectl usr.sbin/bhyveload From: Aryeh Friedman To: Neel Natu , "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Sun, 06 Oct 2013 05:25:42 -0000 A few questions on this commit and the ones Peter did yesterday: * Does this mean bhyve can now run recursively (using a guest as a host)? * If not what new functionality does this allow? * The new arg for allowing ahci cd's and disks allows for cd and disk host devices to be passed to the guest but the -d option still must be a file? From owner-freebsd-virtualization@FreeBSD.ORG Sun Oct 6 15:47:09 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BF55E674; Sun, 6 Oct 2013 15:47:09 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 7BF0620EB; Sun, 6 Oct 2013 15:47:09 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id B09F0123CE; Mon, 7 Oct 2013 01:47:01 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro-2.local (50-197-184-177-static.hfc.comcastbusiness.net [50.197.184.177]) by dommail.onthenet.com.au (MOS 4.2.4-GA) with ESMTP id BPA78492 (AUTH peterg@ptree32.com.au); Mon, 7 Oct 2013 01:47:00 +1000 Message-ID: <525185F1.4090202@freebsd.org> Date: Sun, 06 Oct 2013 08:46:57 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Aryeh Friedman Subject: Re: svn commit: r256072 - in head: lib/libvmmapi sys/amd64/amd64 sys/amd64/include sys/amd64/vmm sys/amd64/vmm/amd sys/amd64/vmm/intel sys/amd64/vmm/io usr.sbin/bhyve usr.sbin/bhyvectl usr.sbin/bhyveload References: <201310052122.r95LMZBr052297@svn.freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Neel Natu , "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Sun, 06 Oct 2013 15:47:09 -0000 Hi Aryeh, > A few questions on this commit and the ones Peter did yesterday: > > * Does this mean bhyve can now run recursively (using a guest as a host)? No. > * If not what new functionality does this allow? Neel's commit allows demand-paging/swapping of guest memory i.e. overcommit, just like the VM system does for user processes. Since it uses the existing amd64 pmap module for this, features of that are also made available for guest EPT mappings e.g. transparent superpages. > * The new arg for allowing ahci cd's and disks allows for cd and disk host > devices to be passed to the guest but the -d option still must be a file? The ahci emulation allows files/block devices to be presented to the guest as AHCI sata/atapi drives. I've not tried CD/DVD devices with the ahci emulation - it may not work. Filesystem images and zvols definitely do. The issue with the -d option to bhyveload is the block size of the underlying device. I'm working on a fix for that. later, Peter. From owner-freebsd-virtualization@FreeBSD.ORG Mon Oct 7 06:31:31 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A227BAD3; Mon, 7 Oct 2013 06:31:31 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: from mail-lb0-x22c.google.com (mail-lb0-x22c.google.com [IPv6:2a00:1450:4010:c04::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DDAB62757; Mon, 7 Oct 2013 06:31:30 +0000 (UTC) Received: by mail-lb0-f172.google.com with SMTP id x18so5215062lbi.31 for ; Sun, 06 Oct 2013 23:31:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=XJokHoaB+jM18btcyj5/fAhgxk28IqpOsXXCzyYRLK8=; b=BjFGMpbHYKGRGy/MSOVq2Pa41HyQhknn5t2oGMVE0Gfd57PFksQxd8DOekmdpeNABh 2DM/GvZfeaQastcJRfWO7VuFSs0STPjcv9+hVvA4IWq/BgwR1fA9qk3iR3KfUuLolL7s NjWcTdpTMRs4ZDsqCRMDY7YAJv6C/t6nineTn5iFjAHefCL/jZLJ6bfeuTJYqVJlBm87 0WpyLsP/Cdnhk28c6xVSPriYlJK5Xxia1+dkQe4KcW0JmjFw+/+dBOnMrpPr05nmJ52z jcDmuUKhr4SCzaLokRXnsaLWXp3h/gryZp2elEP2rYCTyJdDOoDpmDnvfBq1ggngIE+E S3hw== MIME-Version: 1.0 X-Received: by 10.152.7.100 with SMTP id i4mr317260laa.35.1381127488793; Sun, 06 Oct 2013 23:31:28 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.139.132 with HTTP; Sun, 6 Oct 2013 23:31:28 -0700 (PDT) In-Reply-To: <524F27A5.5010307@freebsd.org> References: <524F27A5.5010307@freebsd.org> Date: Sun, 6 Oct 2013 23:31:28 -0700 X-Google-Sender-Auth: QJMESrPt6nW4xZNdwk3g5pHM0bs Message-ID: Subject: Re: Use humanize_number() inside bhyveload? From: Craig Rodrigues To: Peter Grehan Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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, 07 Oct 2013 06:31:31 -0000 On Fri, Oct 4, 2013 at 1:40 PM, Peter Grehan wrote: > Hi Craig, > > > Can we use expand_number() in bhyve_load? >> > > Please commit this change :) > > later, > > Peter. > > Here is a bigger patch, which uses expand_number() in bhyveload and bhyve, and also changes comments in vmrun.sh to reflect the change. Index: share/examples/bhyve/vmrun.sh =================================================================== --- share/examples/bhyve/vmrun.sh (revision 256073) +++ share/examples/bhyve/vmrun.sh (working copy) @@ -31,7 +31,7 @@ BHYVECTL=/usr/sbin/bhyvectl FBSDRUN=/usr/sbin/bhyve -DEFAULT_MEMSIZE=512 +DEFAULT_MEMSIZE=512M DEFAULT_CPUS=2 DEFAULT_TAPDEV=tap0 @@ -47,7 +47,7 @@ echo " -g: listen for connection from kgdb at " echo " -i: force boot of the Installation CDROM image" echo " -I: Installation CDROM image location (default is ${DEFAULT_ISOFILE})" - echo " -m: memory size in MB (default is ${DEFAULT_MEMSIZE}MB)" + echo " -m: memory size (default is ${DEFAULT_MEMSIZE})" echo " -t: tap device for virtio-net (default is $DEFAULT_TAPDEV)" echo "" echo " This script needs to be executed with superuser privileges" Index: usr.sbin/bhyve/Makefile =================================================================== --- usr.sbin/bhyve/Makefile (revision 256073) +++ usr.sbin/bhyve/Makefile (working copy) @@ -17,8 +17,8 @@ NO_MAN= -DPADD= ${LIBVMMAPI} ${LIBMD} ${LIBPTHREAD} -LDADD= -lvmmapi -lmd -lpthread +DPADD= ${LIBVMMAPI} ${LIBMD} ${LIBUTIL} ${LIBPTHREAD} +LDADD= -lvmmapi -lmd -lutil -lpthread WARNS?= 2 Index: usr.sbin/bhyve/bhyverun.c =================================================================== --- usr.sbin/bhyve/bhyverun.c (revision 256073) +++ usr.sbin/bhyve/bhyverun.c (working copy) @@ -37,7 +37,9 @@ #include #include +#include #include +#include #include #include #include @@ -541,6 +543,9 @@ break; case 'm': memsize = strtoul(optarg, NULL, 0) * MB; + if (expand_number(optarg, &memsize) == -1) + errx(EXIT_FAILURE, + "invalid size argument `%s'", optarg); break; case 'H': guest_vmexit_on_hlt = 1; Index: usr.sbin/bhyveload/Makefile =================================================================== --- usr.sbin/bhyveload/Makefile (revision 256073) +++ usr.sbin/bhyveload/Makefile (working copy) @@ -4,8 +4,8 @@ SRCS= bhyveload.c MAN= bhyveload.8 -DPADD+= ${LIBVMMAPI} -LDADD+= -lvmmapi +DPADD+= ${LIBVMMAPI} ${LIBUTIL} +LDADD+= -lvmmapi -lutil WARNS?= 3 Index: usr.sbin/bhyveload/bhyveload.8 =================================================================== --- usr.sbin/bhyveload/bhyveload.8 (revision 256073) +++ usr.sbin/bhyveload/bhyveload.8 (working copy) @@ -1,4 +1,4 @@ -.\" +\" .\" Copyright (c) 2012 NetApp Inc .\" All rights reserved. .\" @@ -60,13 +60,29 @@ .Sh OPTIONS The following options are available: .Bl -tag -width indent -.It Fl m Ar mem-size +.It Fl m Ar mem-size Xo +.Sm off +.Op Cm K | k | M | m | G | g | T | t +.Xc +.Sm on .Ar mem-size -is the amount of memory allocated to the guest in units of megabytes. +is the amount of memory allocated to the guest. .Pp +The +.Ar mem-size +argument may be suffixed with one of +.Cm K , +.Cm M , +.Cm G +or +.Cm T +(either upper or lower case) to indicate a multiple of +Kilobytes, Megabytes, Gigabytes or Terabytes +respectively. +.Pp The default value of .Ar mem-size -is 256. +is 256M. .It Fl d Ar disk-path The .Ar disk-path @@ -83,7 +99,7 @@ .Pa /freebsd/release.iso and has 1GB memory allocated to it: .Pp -.Dl "bhyveload -m 1024 -d /freebsd/release.iso freebsd-vm" +.Dl "bhyveload -m 1G -d /freebsd/release.iso freebsd-vm" .Sh SEE ALSO .Xr bhyve 4 , .Xr bhyve 8 , Index: usr.sbin/bhyveload/bhyveload.c =================================================================== --- usr.sbin/bhyveload/bhyveload.c (revision 256073) +++ usr.sbin/bhyveload/bhyveload.c (working copy) @@ -67,9 +67,11 @@ #include #include #include +#include #include #include #include +#include #include #include #include @@ -581,7 +583,9 @@ break; case 'm': - mem_size = strtoul(optarg, NULL, 0) * MB; + if (expand_number(optarg, &mem_size) == -1) + errx(EXIT_FAILURE, + "invalid size argument `%s'", optarg); break; case '?': From owner-freebsd-virtualization@FreeBSD.ORG Mon Oct 7 11:06:54 2013 Return-Path: Delivered-To: freebsd-virtualization@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E23CB917 for ; Mon, 7 Oct 2013 11:06:54 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CF80F284D for ; Mon, 7 Oct 2013 11:06:54 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r97B6swn077901 for ; Mon, 7 Oct 2013 11:06:54 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r97B6sQN077899 for freebsd-virtualization@FreeBSD.org; Mon, 7 Oct 2013 11:06:54 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 7 Oct 2013 11:06:54 GMT Message-Id: <201310071106.r97B6sQN077899@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-virtualization@FreeBSD.org Subject: Current problem reports assigned to freebsd-virtualization@FreeBSD.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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, 07 Oct 2013 11:06:54 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/165252 virtualization[vimage] [pf] [panic] kernel panics with VIMAGE and PF o kern/161094 virtualization[vimage] [pf] [panic] kernel panic with pf + VIMAGE wh o kern/160541 virtualization[vimage][pf][patch] panic: userret: Returning on td 0x o kern/160496 virtualization[vimage] [pf] [patch] kernel panic with pf + VIMAGE o kern/148155 virtualization[vimage] [pf] Kernel panic with PF + VIMAGE kernel opt a kern/147950 virtualization[vimage] [carp] VIMAGE + CARP = kernel crash s kern/143808 virtualization[pf] pf does not work inside jail 7 problems total. From owner-freebsd-virtualization@FreeBSD.ORG Tue Oct 8 04:12:41 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D8F04C7E for ; Tue, 8 Oct 2013 04:12:41 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-pb0-x233.google.com (mail-pb0-x233.google.com [IPv6:2607:f8b0:400e:c01::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B56752092 for ; Tue, 8 Oct 2013 04:12:41 +0000 (UTC) Received: by mail-pb0-f51.google.com with SMTP id jt11so7979067pbb.38 for ; Mon, 07 Oct 2013 21:12:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=XC0woG2dVE61opOyumnDrjtpqs1YHtxlwM2D5LMWT38=; b=bS2n2HkMqp0N+UkJXq4CyZfo2ykdzvPTmE7Hh/NzgTEhtqpbw4ee5xvS1zuFJFnaUk Ux/ZY0X49LLnyaO0BqnYeapVezeJaCtrGJ/YYpOrmxwqFNqpglyk80PptTZcXAWWr8T6 AQTCJuN+E7IDg/yW/PwPqaUuRMVL6GTBzGB0/Py+ZU0smYFp4VgZl0EQEXcCOZO/6TNe LNzBF0E4VmY2TTIzL7p1KZQm/tv27NgEcwi7iPo9UBWHQyIJkFm/O4JJzJFrZ0i20han nOGyhKV0WCNPJRnxkj1maAYFSZWL2X33GYM0z6DUXq1+BOGymw0VGHRTCTGNUIQL1WnN 5TNA== MIME-Version: 1.0 X-Received: by 10.66.233.37 with SMTP id tt5mr1031817pac.95.1381205561450; Mon, 07 Oct 2013 21:12:41 -0700 (PDT) Received: by 10.68.59.3 with HTTP; Mon, 7 Oct 2013 21:12:41 -0700 (PDT) Date: Tue, 8 Oct 2013 00:12:41 -0400 Message-ID: Subject: CFT: Petitecloud 0.1.9 From: Aryeh Friedman To: "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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, 08 Oct 2013 04:12:41 -0000 What's New: * Full guest instance control (start, stop, install and delete) from the web interface. * Full ability to control which guest instances start at host boot time from within the web interface. Other news: * We consider this alpha quality instead of just pre-alpha now. * This is the last public release before 0.2 (between here and 0.2 will be mostly user interface polishing, improved documentation and refactoring). Download from http://www.petitecloud.org/download.jsp From owner-freebsd-virtualization@FreeBSD.ORG Tue Oct 8 04:18:11 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 24437E41 for ; Tue, 8 Oct 2013 04:18:11 +0000 (UTC) (envelope-from sfourman@gmail.com) Received: from mail-ve0-x231.google.com (mail-ve0-x231.google.com [IPv6:2607:f8b0:400c:c01::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D5A6420BF for ; Tue, 8 Oct 2013 04:18:10 +0000 (UTC) Received: by mail-ve0-f177.google.com with SMTP id db12so4041979veb.8 for ; Mon, 07 Oct 2013 21:18:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=mcZD/k7kRPF/J9+s4+f+ZcJtiI3lFJWkB59LmpNqML0=; b=lXNhkJmBFnVTIRvX9MZIm8E9W66tIFNmHo+R9Dxz6DrjWfoekmA9oXqKZ7ylUq2fPA 2pbknAv7b2CAtOe6nu9R8xDG+5R/bJd0c6BWmhGFHzPOhUsCqfF5Oj2txvjt8gH9kyHt qV+E+R4X9ISWRjnTxaIRf/Yw1y/VXOtX4T6ma2vfNa2g+M0hPSMDlE/sM5p8XVYcUBhQ m2FSP2m5ZhJLbEjVM1S7ZXCGohXsCwHI31wm+EuSu6dJ/VIMixk2+lkm2ngh2Y++Qfk6 879rvhRPCfliLoZ0Io0JHPK1Qq/LBuAXY/TIRmsryLven986CQSv1SvNKzs6QMsOR7kO lX7g== MIME-Version: 1.0 X-Received: by 10.220.79.204 with SMTP id q12mr86470vck.20.1381205889846; Mon, 07 Oct 2013 21:18:09 -0700 (PDT) Received: by 10.220.111.200 with HTTP; Mon, 7 Oct 2013 21:18:09 -0700 (PDT) In-Reply-To: References: Date: Tue, 8 Oct 2013 00:18:09 -0400 Message-ID: Subject: Re: CFT: Petitecloud 0.1.9 From: "Sam Fourman Jr." To: Aryeh Friedman Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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, 08 Oct 2013 04:18:11 -0000 your link is broken On Tue, Oct 8, 2013 at 12:12 AM, Aryeh Friedman wrote: > What's New: > > * Full guest instance control (start, stop, install and delete) from the > web interface. > * Full ability to control which guest instances start at host boot time > from within the web interface. > > Other news: > > * We consider this alpha quality instead of just pre-alpha now. > * This is the last public release before 0.2 (between here and 0.2 will be > mostly user interface polishing, improved documentation and refactoring). > > Download from http://www.petitecloud.org/download.jsp > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to " > freebsd-virtualization-unsubscribe@freebsd.org" > -- Sam Fourman Jr. From owner-freebsd-virtualization@FreeBSD.ORG Tue Oct 8 04:35:22 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id EBAEE1D8 for ; Tue, 8 Oct 2013 04:35:22 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-pa0-x22a.google.com (mail-pa0-x22a.google.com [IPv6:2607:f8b0:400e:c03::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C509A2196 for ; Tue, 8 Oct 2013 04:35:22 +0000 (UTC) Received: by mail-pa0-f42.google.com with SMTP id lj1so8380640pab.29 for ; Mon, 07 Oct 2013 21:35:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=H+rnLHy2FIHT9mo2b40J99Q6OFqGPaUnCJUhwr9uFuo=; b=Q3H2snf2P7zBZh/2CsTR2gjJiUYekPX7TIzQhHFillJo8tpDKf0aNUJJbxQoGPn/mf ceCjhtTSKxzJejb7x3xqgQeLLWHIyMMCe9tOZbY4n8gMMUbiFBya5xpWlgoEXchnyORj 3Gx1VnxKraOxQmzBVO32Wif/+NXfILQrSJVu/SjtV0nUBwxh7Zn0veavwcgJclKSPDYI QijA2wD4dIDIpUcQaiQqwIQGf6+tUZV8FN/rVpts7tkK1wr1IhEBj9ATF39Wjv6OUBxB iKxshK8cCymzdHfhxwzjWNhpTexjDLqp8kG2BfcwRPtAF4C9jXJMGfEFkGwZ64AmmqhA CoTA== MIME-Version: 1.0 X-Received: by 10.68.130.104 with SMTP id od8mr34818222pbb.29.1381206922384; Mon, 07 Oct 2013 21:35:22 -0700 (PDT) Received: by 10.68.59.3 with HTTP; Mon, 7 Oct 2013 21:35:22 -0700 (PDT) In-Reply-To: References: Date: Tue, 8 Oct 2013 00:35:22 -0400 Message-ID: Subject: Re: CFT: Petitecloud 0.1.9 From: Aryeh Friedman To: "Sam Fourman Jr." , "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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, 08 Oct 2013 04:35:23 -0000 Does this one work any better: http://www.petitecloud.org/download.jsp On Tue, Oct 8, 2013 at 12:18 AM, Sam Fourman Jr. wrote: > your link is broken > > > On Tue, Oct 8, 2013 at 12:12 AM, Aryeh Friedman wrote: > >> What's New: >> >> * Full guest instance control (start, stop, install and delete) from the >> web interface. >> * Full ability to control which guest instances start at host boot time >> from within the web interface. >> >> Other news: >> >> * We consider this alpha quality instead of just pre-alpha now. >> * This is the last public release before 0.2 (between here and 0.2 will be >> mostly user interface polishing, improved documentation and refactoring). >> >> Download from http://www.petitecloud.org/download.jsp >> _______________________________________________ >> freebsd-virtualization@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization >> To unsubscribe, send any mail to " >> freebsd-virtualization-unsubscribe@freebsd.org" >> > > > > -- > > Sam Fourman Jr. > From owner-freebsd-virtualization@FreeBSD.ORG Wed Oct 9 04:00:44 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 95DA26CC; Wed, 9 Oct 2013 04:00:44 +0000 (UTC) (envelope-from neelnatu@gmail.com) Received: from mail-qc0-x232.google.com (mail-qc0-x232.google.com [IPv6:2607:f8b0:400d:c01::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 33AE92762; Wed, 9 Oct 2013 04:00:44 +0000 (UTC) Received: by mail-qc0-f178.google.com with SMTP id r5so175359qcx.37 for ; Tue, 08 Oct 2013 21:00:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=H5/w1UVfisuI3n8HBSFZqsUSAPAy12XljVbX6lgAVjg=; b=lyRZT2SM0gJh0HodHNuoobhDHYTDHrBLvbt+baHneN7w2+qZq7g6m6YPx2H0mBP4H1 gONYiV2bnxOjZsXQ9C0q9nZcES4ojNChiWXN9SEFc1X00MZklkZrnNRZhVlAAT6xyWSd hX0nbMnDxaguihBlr+A96s9NcSubqTqUkyHe1OnzJRCxHJcr7zl9ftodYbpowCKYpbAE BBwdtLygEqQWCr/K1BmqL7jGHTByvq4pOU0IX7Bk4VKuTVnBKcM4dOF2wqRxJHzPxtCj M78u1dwI8b2YTDkReyKs2SCpTQFilkaQnKQUOa4sKxg1M1YiXTNJqtk9zHOllodsvxbl ttEw== MIME-Version: 1.0 X-Received: by 10.49.70.129 with SMTP id m1mr6541075qeu.69.1381291243263; Tue, 08 Oct 2013 21:00:43 -0700 (PDT) Received: by 10.140.102.38 with HTTP; Tue, 8 Oct 2013 21:00:43 -0700 (PDT) In-Reply-To: References: <524F27A5.5010307@freebsd.org> Date: Tue, 8 Oct 2013 21:00:43 -0700 Message-ID: Subject: Re: Use humanize_number() inside bhyveload? From: Neel Natu To: Craig Rodrigues Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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, 09 Oct 2013 04:00:44 -0000 Hi Craig, On Sun, Oct 6, 2013 at 11:31 PM, Craig Rodrigues wrote: > On Fri, Oct 4, 2013 at 1:40 PM, Peter Grehan wrote: > > > Hi Craig, > > > > > > Can we use expand_number() in bhyve_load? > >> > > > > Please commit this change :) > > > > later, > > > > Peter. > > > > > Here is a bigger patch, which uses expand_number() in bhyveload and bhyve, > and also changes comments > in vmrun.sh to reflect the change. > > Thanks for the patch - submitted as r256176 with some modifications to preserve backward compatibility. best Neel > Index: share/examples/bhyve/vmrun.sh > =================================================================== > --- share/examples/bhyve/vmrun.sh (revision 256073) > +++ share/examples/bhyve/vmrun.sh (working copy) > @@ -31,7 +31,7 @@ > BHYVECTL=/usr/sbin/bhyvectl > FBSDRUN=/usr/sbin/bhyve > > -DEFAULT_MEMSIZE=512 > +DEFAULT_MEMSIZE=512M > DEFAULT_CPUS=2 > DEFAULT_TAPDEV=tap0 > > @@ -47,7 +47,7 @@ > echo " -g: listen for connection from kgdb at " > echo " -i: force boot of the Installation CDROM image" > echo " -I: Installation CDROM image location (default is > ${DEFAULT_ISOFILE})" > - echo " -m: memory size in MB (default is ${DEFAULT_MEMSIZE}MB)" > + echo " -m: memory size (default is ${DEFAULT_MEMSIZE})" > echo " -t: tap device for virtio-net (default is $DEFAULT_TAPDEV)" > echo "" > echo " This script needs to be executed with superuser privileges" > Index: usr.sbin/bhyve/Makefile > =================================================================== > --- usr.sbin/bhyve/Makefile (revision 256073) > +++ usr.sbin/bhyve/Makefile (working copy) > @@ -17,8 +17,8 @@ > > NO_MAN= > > -DPADD= ${LIBVMMAPI} ${LIBMD} ${LIBPTHREAD} > -LDADD= -lvmmapi -lmd -lpthread > +DPADD= ${LIBVMMAPI} ${LIBMD} ${LIBUTIL} ${LIBPTHREAD} > +LDADD= -lvmmapi -lmd -lutil -lpthread > > WARNS?= 2 > > Index: usr.sbin/bhyve/bhyverun.c > =================================================================== > --- usr.sbin/bhyve/bhyverun.c (revision 256073) > +++ usr.sbin/bhyve/bhyverun.c (working copy) > @@ -37,7 +37,9 @@ > > #include > #include > +#include > #include > +#include > #include > #include > #include > @@ -541,6 +543,9 @@ > break; > case 'm': > memsize = strtoul(optarg, NULL, 0) * MB; > + if (expand_number(optarg, &memsize) == -1) > + errx(EXIT_FAILURE, > + "invalid size argument `%s'", optarg); > break; > case 'H': > guest_vmexit_on_hlt = 1; > Index: usr.sbin/bhyveload/Makefile > =================================================================== > --- usr.sbin/bhyveload/Makefile (revision 256073) > +++ usr.sbin/bhyveload/Makefile (working copy) > @@ -4,8 +4,8 @@ > SRCS= bhyveload.c > MAN= bhyveload.8 > > -DPADD+= ${LIBVMMAPI} > -LDADD+= -lvmmapi > +DPADD+= ${LIBVMMAPI} ${LIBUTIL} > +LDADD+= -lvmmapi -lutil > > WARNS?= 3 > > Index: usr.sbin/bhyveload/bhyveload.8 > =================================================================== > --- usr.sbin/bhyveload/bhyveload.8 (revision 256073) > +++ usr.sbin/bhyveload/bhyveload.8 (working copy) > @@ -1,4 +1,4 @@ > -.\" > +\" > .\" Copyright (c) 2012 NetApp Inc > .\" All rights reserved. > .\" > @@ -60,13 +60,29 @@ > .Sh OPTIONS > The following options are available: > .Bl -tag -width indent > -.It Fl m Ar mem-size > +.It Fl m Ar mem-size Xo > +.Sm off > +.Op Cm K | k | M | m | G | g | T | t > +.Xc > +.Sm on > .Ar mem-size > -is the amount of memory allocated to the guest in units of megabytes. > +is the amount of memory allocated to the guest. > .Pp > +The > +.Ar mem-size > +argument may be suffixed with one of > +.Cm K , > +.Cm M , > +.Cm G > +or > +.Cm T > +(either upper or lower case) to indicate a multiple of > +Kilobytes, Megabytes, Gigabytes or Terabytes > +respectively. > +.Pp > The default value of > .Ar mem-size > -is 256. > +is 256M. > .It Fl d Ar disk-path > The > .Ar disk-path > @@ -83,7 +99,7 @@ > .Pa /freebsd/release.iso > and has 1GB memory allocated to it: > .Pp > -.Dl "bhyveload -m 1024 -d /freebsd/release.iso freebsd-vm" > +.Dl "bhyveload -m 1G -d /freebsd/release.iso freebsd-vm" > .Sh SEE ALSO > .Xr bhyve 4 , > .Xr bhyve 8 , > Index: usr.sbin/bhyveload/bhyveload.c > =================================================================== > --- usr.sbin/bhyveload/bhyveload.c (revision 256073) > +++ usr.sbin/bhyveload/bhyveload.c (working copy) > @@ -67,9 +67,11 @@ > #include > #include > #include > +#include > #include > #include > #include > +#include > #include > #include > #include > @@ -581,7 +583,9 @@ > break; > > case 'm': > - mem_size = strtoul(optarg, NULL, 0) * MB; > + if (expand_number(optarg, &mem_size) == -1) > + errx(EXIT_FAILURE, > + "invalid size argument `%s'", optarg); > break; > > case '?': > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to " > freebsd-virtualization-unsubscribe@freebsd.org" > From owner-freebsd-virtualization@FreeBSD.ORG Wed Oct 9 17:55:25 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 78D9B96E; Wed, 9 Oct 2013 17:55:25 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: from mail-lb0-x22b.google.com (mail-lb0-x22b.google.com [IPv6:2a00:1450:4010:c04::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CA500297A; Wed, 9 Oct 2013 17:55:24 +0000 (UTC) Received: by mail-lb0-f171.google.com with SMTP id u14so1088544lbd.2 for ; Wed, 09 Oct 2013 10:55:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=KV90gIWk4ebqT57oIoXtnNAvUTzpNPnYkglSPqjCpUA=; b=ZukWXeh6KzciUN1tZ9UWQQvzdjmutatBvuriTr6uvI4BpHJhUY+2YQ/knHWrszzAHG wxpdFBQv3yACufhWSMzyFlGIBPy0YmQZmsq6RhP58RvtvKXFNz5slgrlHdLOc4o2tokz BBFSfmLplv4m+BSX8R2gGdbzQRoDaQ0DB5bXCWL5BjP5U2jYcgnx2QuPF0QTjnP3e9XH IsJAOBuK7tUljnajs+f5lctiVTVtamwVNKC8X8LwcFHWTv3bvDY+ar90bN+p+VN531ac 9+49KtBuINGLG5BFQWVTivSKvJntZOyAGSHqiiYXEcy60G+XsOVdfFksKzFi2KbD4Sq1 P3ng== MIME-Version: 1.0 X-Received: by 10.112.14.102 with SMTP id o6mr8179422lbc.28.1381341322541; Wed, 09 Oct 2013 10:55:22 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.139.132 with HTTP; Wed, 9 Oct 2013 10:55:22 -0700 (PDT) In-Reply-To: References: <524F27A5.5010307@freebsd.org> Date: Wed, 9 Oct 2013 10:55:22 -0700 X-Google-Sender-Auth: y4Mwb_V_hODaGf_OOINmp5M7daI Message-ID: Subject: Re: Use humanize_number() inside bhyveload? From: Craig Rodrigues To: Neel Natu Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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, 09 Oct 2013 17:55:25 -0000 On Tue, Oct 8, 2013 at 9:00 PM, Neel Natu wrote: > > Thanks for the patch - submitted as r256176 with some modifications to > preserve backward compatibility. > > best > Neel > > Thanks! -- Craig From owner-freebsd-virtualization@FreeBSD.ORG Wed Oct 9 23:30:53 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id EEC712F3 for ; Wed, 9 Oct 2013 23:30:53 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: from mail-lb0-x22e.google.com (mail-lb0-x22e.google.com [IPv6:2a00:1450:4010:c04::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C4D0A2E43 for ; Wed, 9 Oct 2013 23:30:52 +0000 (UTC) Received: by mail-lb0-f174.google.com with SMTP id w6so1411783lbh.5 for ; Wed, 09 Oct 2013 16:30:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=SbbG6nyj1v1vN0cIkGbXURXy1UJaUn1XJTComjbc8yc=; b=rvi/oibxrxwrafZKee9OMQLxWxIbRWzMj8DthPXSczHv33KlugcC29x4SJK/sufm3Q nxTFlWNgI2Ah2OSoZAY6M89HQX20dRLUILsoHarhDgLnLClj7Y36q3HgUFRE/nQ4Mmva sw/ilpek/s8tHK2NLwbhA27SllUsOD2o3IPx504I9anop1e35wWYiM6Ke3Dk4e1Z66xz 4w83tBF88R+9Efa5Y8kDiOnPGEdFO2OLPpB+LVnKvD9PTMYGd+tynp1H9gmA88F+C7Ek tYcO76b3MglUoEtNJLx2ilgtxbsqt4urxgaGxVERfA4oQ9fAh5x/Dn9DphtYHMc2cbl1 PMYg== MIME-Version: 1.0 X-Received: by 10.112.190.1 with SMTP id gm1mr9178743lbc.30.1381361450719; Wed, 09 Oct 2013 16:30:50 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.139.132 with HTTP; Wed, 9 Oct 2013 16:30:50 -0700 (PDT) Date: Wed, 9 Oct 2013 16:30:50 -0700 X-Google-Sender-Auth: fVmJMa27s-uGLjE9xkqE-qhT_Lc Message-ID: Subject: Using wlan0 device over tap0 device with BHyve? From: Craig Rodrigues To: "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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, 09 Oct 2013 23:30:54 -0000 Hi, I am using this script to set up my tap device before running BHyve: ================================================================= #!/bin/sh #iface=em0 iface=wlan0 ifconfig bridge0 create ifconfig tap0 create ifconfig bridge0 addm $iface addm tap0 up sysctl net.link.tap.user_open=1 sysctl net.link.tap.up_on_open=1 ================================================================= If I change the value of "iface" so that it uses em0 instead of wlan0, networking works without a problem in my BHyve VM, and my BHyve VM can send out a DHCP request, and get an address. However, if I set the value of "iface" to wlan0, to use the wireless NIC in my laptop, then networking does not work in my BHyve VM, and my BHyve VM tries to send out a DHCP request to get an address, but it doesn't go out over the network. Any ideas why this isn't working for me? ================================================================ em0: flags=8843 metric 0 mtu 1500 options=4219b ether e4:11:5b:55:a2:2c nd6 options=29 media: Ethernet autoselect status: no carrier iwn0: flags=8843 metric 0 mtu 2290 ether 8c:70:5a:1b:92:54 nd6 options=21 media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng status: associated lo0: flags=8049 metric 0 mtu 16384 options=600003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 nd6 options=21 wlan0: flags=8943 metric 0 mtu 1500 ether 8c:70:5a:1b:92:54 inet 10.2.1.110 netmask 0xffff0000 broadcast 10.2.255.255 nd6 options=29 media: IEEE 802.11 Wireless Ethernet MCS mode 11ng status: associated ssid Blahblah channel 1 (2412 MHz 11g ht/20) bssid 20:aa:4b:38:55:91 country US authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 11 bmiss 10 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 64 protmode CTS ampdulimit 64k ampdudensity 8 -amsdutx amsdurx shortgi wme roaming MANUAL bridge0: flags=8843 metric 0 mtu 1500 ether 02:3e:3a:7a:d0:00 nd6 options=9 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: tap0 flags=143 ifmaxaddr 0 port 6 priority 128 path cost 2000000 member: wlan0 flags=143 ifmaxaddr 0 port 4 priority 128 path cost 33333 tap0: flags=8902 metric 0 mtu 1500 options=80000 ether 00:bd:8e:95:01:00 nd6 options=29 media: Ethernet autoselect status: no carrier ================================================================ -- Craig From owner-freebsd-virtualization@FreeBSD.ORG Wed Oct 9 23:36:12 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 14B8C462 for ; Wed, 9 Oct 2013 23:36:12 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-pd0-x230.google.com (mail-pd0-x230.google.com [IPv6:2607:f8b0:400e:c02::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E26852E9F for ; Wed, 9 Oct 2013 23:36:11 +0000 (UTC) Received: by mail-pd0-f176.google.com with SMTP id q10so1677890pdj.7 for ; Wed, 09 Oct 2013 16:36:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=A7nJ1zc1gG2U/wjS6BHDNrQPJTIstnaLNecUK3EDZ3M=; b=fb5UWExIK1W7GQPLi7P0QyF/FVlDOAnJZ+xVPbSrDKd+y6qTxkBh4qdyjizM9cI6xg Jh68DZspdCcBqJtSqT/GvBXJkeNLNFR/R7gTmbQwnTCmanfGJNM12D6xOBj3lZeifzJ6 F5Ph+9ylV4QVBBerbD1R0eykcPCu3eOMre5mpOdRkrkBhoRrne3eXAIQZp+KpJsBW3aC VA126GGarjj/3Ir42Ol0MDyrA2OlUi3CPTeVVHLXbhgDri9cj1vjeDfQMbx4OkI9YZUX XwnYNo0Nvyuw6PMB4H9ebHARVoycmBTaO4tqdElkEd0KhPmLZFqCUGk7+ruq94/RzOuj 7CCg== MIME-Version: 1.0 X-Received: by 10.68.218.68 with SMTP id pe4mr4938333pbc.181.1381361771561; Wed, 09 Oct 2013 16:36:11 -0700 (PDT) Received: by 10.68.59.3 with HTTP; Wed, 9 Oct 2013 16:36:11 -0700 (PDT) In-Reply-To: References: Date: Wed, 9 Oct 2013 19:36:11 -0400 Message-ID: Subject: Re: Using wlan0 device over tap0 device with BHyve? From: Aryeh Friedman To: "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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, 09 Oct 2013 23:36:12 -0000 It sometimes doesn't like adding both the lan nic and tap to the bridge at the same time On Wed, Oct 9, 2013 at 7:30 PM, Craig Rodrigues wrote: > Hi, > > I am using this script to set up my tap device before > running BHyve: > > ================================================================= > #!/bin/sh > > > #iface=em0 > iface=wlan0 > > ifconfig bridge0 create > ifconfig tap0 create > ifconfig bridge0 addm $iface addm tap0 up > > sysctl net.link.tap.user_open=1 > sysctl net.link.tap.up_on_open=1 > ================================================================= > > > If I change the value of "iface" so that it uses em0 instead of > wlan0, networking works without a problem in my BHyve VM, and my BHyve VM > can send out a DHCP request, and get an address. > > However, if I set the value of "iface" to wlan0, to use the wireless NIC > in my laptop, then networking does not work in my BHyve VM, and > my BHyve VM tries to send out a DHCP request to get an address, but it > doesn't go out over the network. > > Any ideas why this isn't working for me? > > ================================================================ > em0: flags=8843 metric 0 mtu 1500 > > > options=4219b > ether e4:11:5b:55:a2:2c > nd6 options=29 > media: Ethernet autoselect > status: no carrier > iwn0: flags=8843 metric 0 mtu 2290 > ether 8c:70:5a:1b:92:54 > nd6 options=21 > media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng > status: associated > lo0: flags=8049 metric 0 mtu 16384 > options=600003 > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 > inet 127.0.0.1 netmask 0xff000000 > nd6 options=21 > wlan0: flags=8943 metric 0 > mtu 1500 > ether 8c:70:5a:1b:92:54 > inet 10.2.1.110 netmask 0xffff0000 broadcast 10.2.255.255 > nd6 options=29 > media: IEEE 802.11 Wireless Ethernet MCS mode 11ng > status: associated > ssid Blahblah channel 1 (2412 MHz 11g ht/20) bssid > 20:aa:4b:38:55:91 > country US authmode WPA2/802.11i privacy ON deftxkey UNDEF > AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 11 bmiss 10 scanvalid > 60 > bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 64 > protmode CTS ampdulimit 64k ampdudensity 8 -amsdutx amsdurx shortgi > wme roaming MANUAL > bridge0: flags=8843 metric 0 mtu > 1500 > ether 02:3e:3a:7a:d0:00 > nd6 options=9 > id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 > maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 > root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 > member: tap0 flags=143 > ifmaxaddr 0 port 6 priority 128 path cost 2000000 > member: wlan0 flags=143 > ifmaxaddr 0 port 4 priority 128 path cost 33333 > tap0: flags=8902 metric 0 mtu 1500 > options=80000 > ether 00:bd:8e:95:01:00 > nd6 options=29 > media: Ethernet autoselect > status: no carrier > ================================================================ > > -- > Craig > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to " > freebsd-virtualization-unsubscribe@freebsd.org" > From owner-freebsd-virtualization@FreeBSD.ORG Thu Oct 10 00:27:29 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 20ED0E3B for ; Thu, 10 Oct 2013 00:27:29 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: from mail-lb0-x232.google.com (mail-lb0-x232.google.com [IPv6:2a00:1450:4010:c04::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 85B71214C for ; Thu, 10 Oct 2013 00:27:28 +0000 (UTC) Received: by mail-lb0-f178.google.com with SMTP id z5so1472885lbh.37 for ; Wed, 09 Oct 2013 17:27:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=oPXi9CwCSWM2a7cFaw8qIY+iB+gSv6hecA1xXwBwjl8=; b=QiEspRXjsma3uMJY+g4ZhroMZAe92M7gMp3dtdQE4TBGfOzbYct3WYlbouZM78+K0A t1kBJ0uEG1H1fv+/z7Ei3Bmejq9Zpcc2j1kt8tozpmrMon5DMr6wsLYnB8rXG7i4f0dG 8k4FVRT6S1c17gWWkpZPi2FgSy44ALy0ulLyG736O6rHNtGyugfBfXjfWCLn8fp+KfVI 2hOfFBESbv4UTPSQhUvFyMOIJMboGIu1Mpt+wVHov4zN82FyQQpEDSiPiQ55/CNaLLqm wYfnopDzCHSQZup8jVC8Ij5NrqJNAbHCUYmkjhW0oiZRCp3LT4jL1KikHrkKEhP7GGL1 kr9w== MIME-Version: 1.0 X-Received: by 10.112.64.36 with SMTP id l4mr9394663lbs.15.1381364846534; Wed, 09 Oct 2013 17:27:26 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.139.132 with HTTP; Wed, 9 Oct 2013 17:27:26 -0700 (PDT) In-Reply-To: References: Date: Wed, 9 Oct 2013 17:27:26 -0700 X-Google-Sender-Auth: UOrLy6eOhPhT-IQ6TTFijwCFRjU Message-ID: Subject: Re: Using wlan0 device over tap0 device with BHyve? From: Craig Rodrigues To: Aryeh Friedman Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Thu, 10 Oct 2013 00:27:29 -0000 Aryeh, In this case, I am not connected to the lan nic. From you look at the ifconfig output from my previous posting, you will see that my bridge0 interface only has two members: tap0 wlan0 -- Craig On Wed, Oct 9, 2013 at 4:36 PM, Aryeh Friedman wrote: > It sometimes doesn't like adding both the lan nic and tap to the bridge at > the same time > > > On Wed, Oct 9, 2013 at 7:30 PM, Craig Rodrigues > wrote: > > > Hi, > > > > I am using this script to set up my tap device before > > running BHyve: > > > > ================================================================= > > #!/bin/sh > > > > > > #iface=em0 > > iface=wlan0 > > > > ifconfig bridge0 create > > ifconfig tap0 create > > ifconfig bridge0 addm $iface addm tap0 up > > > > sysctl net.link.tap.user_open=1 > > sysctl net.link.tap.up_on_open=1 > > ================================================================= > > > > > > If I change the value of "iface" so that it uses em0 instead of > > wlan0, networking works without a problem in my BHyve VM, and my BHyve VM > > can send out a DHCP request, and get an address. > > > > However, if I set the value of "iface" to wlan0, to use the wireless NIC > > in my laptop, then networking does not work in my BHyve VM, and > > my BHyve VM tries to send out a DHCP request to get an address, but it > > doesn't go out over the network. > > > > Any ideas why this isn't working for me? > > > > ================================================================ > > em0: flags=8843 metric 0 mtu 1500 > > > > > > > options=4219b > > ether e4:11:5b:55:a2:2c > > nd6 options=29 > > media: Ethernet autoselect > > status: no carrier > > iwn0: flags=8843 metric 0 mtu > 2290 > > ether 8c:70:5a:1b:92:54 > > nd6 options=21 > > media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng > > status: associated > > lo0: flags=8049 metric 0 mtu 16384 > > options=600003 > > inet6 ::1 prefixlen 128 > > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 > > inet 127.0.0.1 netmask 0xff000000 > > nd6 options=21 > > wlan0: flags=8943 metric > 0 > > mtu 1500 > > ether 8c:70:5a:1b:92:54 > > inet 10.2.1.110 netmask 0xffff0000 broadcast 10.2.255.255 > > nd6 options=29 > > media: IEEE 802.11 Wireless Ethernet MCS mode 11ng > > status: associated > > ssid Blahblah channel 1 (2412 MHz 11g ht/20) bssid > > 20:aa:4b:38:55:91 > > country US authmode WPA2/802.11i privacy ON deftxkey UNDEF > > AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 11 bmiss 10 scanvalid > > 60 > > bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 64 > > protmode CTS ampdulimit 64k ampdudensity 8 -amsdutx amsdurx > shortgi > > wme roaming MANUAL > > bridge0: flags=8843 metric 0 mtu > > 1500 > > ether 02:3e:3a:7a:d0:00 > > nd6 options=9 > > id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 > > maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 > > root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 > > member: tap0 flags=143 > > ifmaxaddr 0 port 6 priority 128 path cost 2000000 > > member: wlan0 flags=143 > > ifmaxaddr 0 port 4 priority 128 path cost 33333 > > tap0: flags=8902 metric 0 mtu 1500 > > options=80000 > > ether 00:bd:8e:95:01:00 > > nd6 options=29 > > media: Ethernet autoselect > > status: no carrier > > ================================================================ > > > > -- > > Craig > > _______________________________________________ > > freebsd-virtualization@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > > To unsubscribe, send any mail to " > > freebsd-virtualization-unsubscribe@freebsd.org" > > > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to " > freebsd-virtualization-unsubscribe@freebsd.org" > From owner-freebsd-virtualization@FreeBSD.ORG Thu Oct 10 00:40:31 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 69644248; Thu, 10 Oct 2013 00:40:31 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-pb0-x229.google.com (mail-pb0-x229.google.com [IPv6:2607:f8b0:400e:c01::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3ADE121F7; Thu, 10 Oct 2013 00:40:31 +0000 (UTC) Received: by mail-pb0-f41.google.com with SMTP id rp2so1731819pbb.28 for ; Wed, 09 Oct 2013 17:40:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=R81aFYVLjFfKuuqP5A2lolKhH9ncGvprZ6WrduhIV34=; b=EBZ0gUDNx8J2u9loaFLXRTy04oS9XP0EsdV2Xa4v+v5yjWQTvphqrtshrv7VxHtF0y PFz7/VHpU/Z/wEpZ4dRB8oEX8dr2yzMvqwCfKqV5pprTWyGbpVWW81KmSnJmv51PseXE lHbOezTTQ5iydIDXEQKK2Msc3/WD/MLaLeXQcpkbLceQ+kEeU8n1+ENgkdrNbjnCNIQi YghSa/kMnU2LlTJhhf3E250t3nKN2+6yil+yB+PYzE7V3TZVDCgFJArOgxSjmoWr+g48 sLlb6lk8H1Ne9KGMnkfigcRpsRnVMTd2BbqKZgFPVw3UPMAMY0Jr/YaWaGwfsJvUjstk leSA== MIME-Version: 1.0 X-Received: by 10.68.219.33 with SMTP id pl1mr10661071pbc.147.1381365630666; Wed, 09 Oct 2013 17:40:30 -0700 (PDT) Received: by 10.68.59.3 with HTTP; Wed, 9 Oct 2013 17:40:30 -0700 (PDT) In-Reply-To: References: Date: Wed, 9 Oct 2013 20:40:30 -0400 Message-ID: Subject: Re: Using wlan0 device over tap0 device with BHyve? From: Aryeh Friedman To: Craig Rodrigues Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Thu, 10 Oct 2013 00:40:31 -0000 I was refering to how it behavs in general and was using LAN NIC as an example of a non-virtual NIC On Wed, Oct 9, 2013 at 8:27 PM, Craig Rodrigues wrote: > Aryeh, > > In this case, I am not connected to the lan nic. From you look > at the ifconfig output from my previous posting, > you will see that my bridge0 interface only has two members: > > tap0 > wlan0 > > -- > Craig > > On Wed, Oct 9, 2013 at 4:36 PM, Aryeh Friedman wrote: > >> It sometimes doesn't like adding both the lan nic and tap to the bridge at >> the same time >> >> >> On Wed, Oct 9, 2013 at 7:30 PM, Craig Rodrigues >> wrote: >> >> > Hi, >> > >> > I am using this script to set up my tap device before >> > running BHyve: >> > >> > ================================================================= >> > #!/bin/sh >> > >> > >> > #iface=em0 >> > iface=wlan0 >> > >> > ifconfig bridge0 create >> > ifconfig tap0 create >> > ifconfig bridge0 addm $iface addm tap0 up >> > >> > sysctl net.link.tap.user_open=1 >> > sysctl net.link.tap.up_on_open=1 >> > ================================================================= >> > >> > >> > If I change the value of "iface" so that it uses em0 instead of >> > wlan0, networking works without a problem in my BHyve VM, and my BHyve >> VM >> > can send out a DHCP request, and get an address. >> > >> > However, if I set the value of "iface" to wlan0, to use the wireless NIC >> > in my laptop, then networking does not work in my BHyve VM, and >> > my BHyve VM tries to send out a DHCP request to get an address, but it >> > doesn't go out over the network. >> > >> > Any ideas why this isn't working for me? >> > >> > ================================================================ >> > em0: flags=8843 metric 0 mtu >> 1500 >> > >> > >> > >> options=4219b >> > ether e4:11:5b:55:a2:2c >> > nd6 options=29 >> > media: Ethernet autoselect >> > status: no carrier >> > iwn0: flags=8843 metric 0 mtu >> 2290 >> > ether 8c:70:5a:1b:92:54 >> > nd6 options=21 >> > media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng >> > status: associated >> > lo0: flags=8049 metric 0 mtu 16384 >> > options=600003 >> > inet6 ::1 prefixlen 128 >> > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 >> > inet 127.0.0.1 netmask 0xff000000 >> > nd6 options=21 >> > wlan0: flags=8943 >> metric 0 >> > mtu 1500 >> > ether 8c:70:5a:1b:92:54 >> > inet 10.2.1.110 netmask 0xffff0000 broadcast 10.2.255.255 >> > nd6 options=29 >> > media: IEEE 802.11 Wireless Ethernet MCS mode 11ng >> > status: associated >> > ssid Blahblah channel 1 (2412 MHz 11g ht/20) bssid >> > 20:aa:4b:38:55:91 >> > country US authmode WPA2/802.11i privacy ON deftxkey UNDEF >> > AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 11 bmiss 10 >> scanvalid >> > 60 >> > bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 64 >> > protmode CTS ampdulimit 64k ampdudensity 8 -amsdutx amsdurx >> shortgi >> > wme roaming MANUAL >> > bridge0: flags=8843 metric 0 mtu >> > 1500 >> > ether 02:3e:3a:7a:d0:00 >> > nd6 options=9 >> > id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 >> > maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 >> > root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 >> > member: tap0 flags=143 >> > ifmaxaddr 0 port 6 priority 128 path cost 2000000 >> > member: wlan0 flags=143 >> > ifmaxaddr 0 port 4 priority 128 path cost 33333 >> > tap0: flags=8902 metric 0 mtu 1500 >> > options=80000 >> > ether 00:bd:8e:95:01:00 >> > nd6 options=29 >> > media: Ethernet autoselect >> > status: no carrier >> > ================================================================ >> > >> > -- >> > Craig >> > _______________________________________________ >> > freebsd-virtualization@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization >> > To unsubscribe, send any mail to " >> > freebsd-virtualization-unsubscribe@freebsd.org" >> > >> _______________________________________________ >> freebsd-virtualization@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization >> To unsubscribe, send any mail to " >> freebsd-virtualization-unsubscribe@freebsd.org" >> > > From owner-freebsd-virtualization@FreeBSD.ORG Thu Oct 10 00:42:19 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id ABE982A4; Thu, 10 Oct 2013 00:42:19 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 6B5A3220D; Thu, 10 Oct 2013 00:42:18 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id 5A26B11F39; Thu, 10 Oct 2013 10:42:17 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro-2.local ([64.245.0.210]) by dommail.onthenet.com.au (MOS 4.2.4-GA) with ESMTP id BPC63781 (AUTH peterg@ptree32.com.au); Thu, 10 Oct 2013 10:42:16 +1000 Message-ID: <5255F7E6.8010505@freebsd.org> Date: Wed, 09 Oct 2013 17:42:14 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Craig Rodrigues Subject: Re: Using wlan0 device over tap0 device with BHyve? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Thu, 10 Oct 2013 00:42:19 -0000 Hi Craig, > In this case, I am not connected to the lan nic. From you look > at the ifconfig output from my previous posting, > you will see that my bridge0 interface only has two members: > > tap0 > wlan0 APs generally only allow a single MAC per client, so any packets with a source address other than wlan0's will be dropped. There are esoteric ways around this e.g. http://wireless.kernel.org/en/users/Documentation/iw#Using_4-address_for_AP_and_client_mode later, Peter. From owner-freebsd-virtualization@FreeBSD.ORG Thu Oct 10 02:00:11 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 13EEA5F7 for ; Thu, 10 Oct 2013 02:00:11 +0000 (UTC) (envelope-from miguelmclara@gmail.com) Received: from mail-wi0-x232.google.com (mail-wi0-x232.google.com [IPv6:2a00:1450:400c:c05::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A1E582542 for ; Thu, 10 Oct 2013 02:00:10 +0000 (UTC) Received: by mail-wi0-f178.google.com with SMTP id hn3so432544wib.17 for ; Wed, 09 Oct 2013 19:00:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=M4KhNYrT0OdrfQBs/cN2SCwAt/Cw3xeEcBB7Ar1Elgk=; b=x9HmEIurTwJ8m5r7YiwFjHPxgBC06SSlluRpLzqVqsbpr6g2hNOJdsoElCWBdil4Ys 9qg2cgYow7dhoQFNKodpUKkyyHyxKqMpy3y31TsEEOTjBMXsQeTD8mQSO/DOYuiMXSxQ uK0Lqo744IKoAsiTCZ6PhZu0O+5QiNug+gC8vINVZoUt65h20wsV/JSgk8Xq6vmio9uu QF1yU1VRfN94UNbXxAgp6V6JxEVqYUR1ZyMeSwRP/kGqo6mWhTA2V/G7Dyw0PAZ+969w eocw4rkGBP4PUT4L/+ZrWq0Ar9ypJd6cBDCJc8hNy+JC3VO632ZhPpKHFvKBplleIqtn obiQ== X-Received: by 10.194.174.36 with SMTP id bp4mr9368405wjc.7.1381370409141; Wed, 09 Oct 2013 19:00:09 -0700 (PDT) Received: from [10.10.50.70] (52.91.249.5.rev.vodafone.pt. [5.249.91.52]) by mx.google.com with ESMTPSA id ma3sm20750888wic.1.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 09 Oct 2013 19:00:08 -0700 (PDT) Message-ID: <52560A22.6030402@gmail.com> Date: Thu, 10 Oct 2013 03:00:02 +0100 From: "Mike C." User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: Using wlan0 device over tap0 device with BHyve? References: <5255F7E6.8010505@freebsd.org> In-Reply-To: <5255F7E6.8010505@freebsd.org> X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Thu, 10 Oct 2013 02:00:11 -0000 I run into this problem too, and in my case my laptop (where I'm testing bhyve) only has one NIC and its wireless! I have an ath card "MAC spoofinc" is not availeble, so for now I opted for nating with PF and I assign manual IP's to the host tap0 and the guest's vtnet0. However it would be nice to be able to do this with DWDS, my router supports WDS and can act has an AP! I know freebsd supports DWDS but I couldn't find much info on how to set it up as a client.... If I could get it to work It would allow the bridge to work! If anyone knows how to do this or were I can find more info please share! Melhores Cumprimentos // Best Regards ------------------------------------------------------------------------ Miguel Clara *nix Sys Admin Freelance ------------------------------- On 10/10/13 01:42, Peter Grehan wrote: > Hi Craig, > >> In this case, I am not connected to the lan nic. From you look >> at the ifconfig output from my previous posting, >> you will see that my bridge0 interface only has two members: >> >> tap0 >> wlan0 > > APs generally only allow a single MAC per client, so any packets with a > source address other than wlan0's will be dropped. > > There are esoteric ways around this e.g. > > > http://wireless.kernel.org/en/users/Documentation/iw#Using_4-address_for_AP_and_client_mode > > > later, > > Peter. > > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to > "freebsd-virtualization-unsubscribe@freebsd.org" From owner-freebsd-virtualization@FreeBSD.ORG Thu Oct 10 16:44:03 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 931D9146 for ; Thu, 10 Oct 2013 16:44:03 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from smtp.digiware.nl (unknown [IPv6:2001:4cb8:90:ffff::3]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5497E2A51 for ; Thu, 10 Oct 2013 16:44:03 +0000 (UTC) Received: from rack1.digiware.nl (unknown [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id BFAA0153438 for ; Thu, 10 Oct 2013 18:28:28 +0200 (CEST) X-Virus-Scanned: amavisd-new at digiware.nl Received: from smtp.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wrR_sa2knoSK; Thu, 10 Oct 2013 18:28:16 +0200 (CEST) Received: from [IPv6:2001:4cb8:3:1:d4e4:a82d:5c79:81ac] (unknown [IPv6:2001:4cb8:3:1:d4e4:a82d:5c79:81ac]) by smtp.digiware.nl (Postfix) with ESMTP id 7296C153437 for ; Thu, 10 Oct 2013 18:28:16 +0200 (CEST) Message-ID: <5256D59A.20904@digiware.nl> Date: Thu, 10 Oct 2013 18:28:10 +0200 From: Willem Jan Withagen Organization: Digiware Management b.v. User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Running bhyve on a AMD 1075T Phenom Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Thu, 10 Oct 2013 16:44:03 -0000 I'm trying to test bhyve on this testsystem I have. But is does not create /dev/vmm Is this because this processor does not support the right set of features? Thanx, --WjW This is what dmesg says: FreeBSD 10.0-ALPHA5 #3 r256191M: Wed Oct 9 15:25:35 CEST 2013 ...... CPU: AMD Phenom(tm) II X6 1075T Processor (3013.83-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x100fa0 Family = 0x10 Model = 0xa Stepping = 0 Features=0x178bfbff Features2=0x802009 AMD Features=0xee500800 AMD Features2=0x37ff En this is what i get when I try to load the kernel module. Oct 10 17:24:03 freetest kernel: amd_iommu_init: not implemented Oct 10 17:24:03 freetest kernel: amdv_init: not implemented Oct 10 17:24:03 freetest kernel: amdv_cleanup: not implemented Oct 10 17:24:03 freetest kernel: module_register_init: MOD_LOAD (vmm, 0xffffffff81413c40, 0) error 6 From owner-freebsd-virtualization@FreeBSD.ORG Thu Oct 10 17:00:29 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 807E7AD0 for ; Thu, 10 Oct 2013 17:00:29 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 428A52B80 for ; Thu, 10 Oct 2013 17:00:29 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id 655AF122F8; Fri, 11 Oct 2013 03:00:28 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro-2.local (c-69-181-164-196.hsd1.ca.comcast.net [69.181.164.196]) by dommail.onthenet.com.au (MOS 4.2.4-GA) with ESMTP id BPD11598 (AUTH peterg@ptree32.com.au); Fri, 11 Oct 2013 03:00:27 +1000 Message-ID: <5256DD29.6090007@freebsd.org> Date: Thu, 10 Oct 2013 10:00:25 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Willem Jan Withagen Subject: Re: Running bhyve on a AMD 1075T Phenom References: <5256D59A.20904@digiware.nl> In-Reply-To: <5256D59A.20904@digiware.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Thu, 10 Oct 2013 17:00:29 -0000 Hi, > I'm trying to test bhyve on this testsystem I have. > But is does not create /dev/vmm > > Is this because this processor does not support the right set of features? The bhyve code in 10.0 is Intel-only. If you're willing to build FreeBSD from source, there is a project branch with AMD SVM support at: http://svnweb.freebsd.org/base/projects/bhyve_svm/ > AMD Phenom(tm) II X6 1075T I have one of these - the project branch works fine with this CPU model. later, Peter. From owner-freebsd-virtualization@FreeBSD.ORG Thu Oct 10 18:11:05 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id ED3DBA0C; Thu, 10 Oct 2013 18:11:05 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-pd0-x22a.google.com (mail-pd0-x22a.google.com [IPv6:2607:f8b0:400e:c02::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C10382100; Thu, 10 Oct 2013 18:11:05 +0000 (UTC) Received: by mail-pd0-f170.google.com with SMTP id x10so3007956pdj.29 for ; Thu, 10 Oct 2013 11:11:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=u3PrhhmjBkrqRvokT4QnpKHWWfP8jgQNWNVQ+xGyIDY=; b=y6BP3FgKWio8NzfVyK0vefFPqb42150KVKLHmTd9szW2aD2XV/HXeVeNOwYDDrwiil 3yQayJ+Hwi2hMmFHxTypzPwOJsXsRJ59jap9l96n79BYwNXzR6+sQOGpmFOE2g8x9C6b fNNR+BTIrs8mUS0u3Dil2/X3IZ3oCU73bKV2jCeYp6cZhR7MB5UXxiPMSrKfiU4MDAHB 83XBN8CF+fds+EWvkTwyv3xDZhK4RnFapbe+gnuG8ko6vCJcSmLRRG7bcBDgRVhkOefe GkRHktwMK7mw+gRhREIR0kXyJNcVO/HRgWqvpYcLqtfxODJ9mgP6rk1A/BYDmnKTWuVd boKQ== MIME-Version: 1.0 X-Received: by 10.66.217.166 with SMTP id oz6mr17231047pac.22.1381428665385; Thu, 10 Oct 2013 11:11:05 -0700 (PDT) Received: by 10.68.59.3 with HTTP; Thu, 10 Oct 2013 11:11:05 -0700 (PDT) In-Reply-To: <5256DD29.6090007@freebsd.org> References: <5256D59A.20904@digiware.nl> <5256DD29.6090007@freebsd.org> Date: Thu, 10 Oct 2013 14:11:05 -0400 Message-ID: Subject: Re: Running bhyve on a AMD 1075T Phenom From: Aryeh Friedman To: Peter Grehan Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Thu, 10 Oct 2013 18:11:06 -0000 On Thu, Oct 10, 2013 at 1:00 PM, Peter Grehan wrote: > The bhyve code in 10.0 is Intel-only. > > If you're willing to build FreeBSD from source, there is a project branch > with AMD SVM support at: > > http://svnweb.freebsd.org/base/projects/bhyve_svm/ > Will bhyve ever support AMD directly and, if not, will the above project be included in the future releases? Also thanks for the heads up -- I will update our almost complete draft of a FreeBSD handbook entry (more added since last official update on it)... btw the URL again is http://www.petitecloud.org/handbook.jsp From owner-freebsd-virtualization@FreeBSD.ORG Thu Oct 10 18:16:15 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 92004CDC for ; Thu, 10 Oct 2013 18:16:15 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 5224A2156 for ; Thu, 10 Oct 2013 18:16:15 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id 2DC421236D; Fri, 11 Oct 2013 04:16:13 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro-2.local (c-67-161-27-37.hsd1.ca.comcast.net [67.161.27.37]) by dommail.onthenet.com.au (MOS 4.2.4-GA) with ESMTP id BPD13570 (AUTH peterg@ptree32.com.au); Fri, 11 Oct 2013 04:16:12 +1000 Message-ID: <5256EEEA.6070000@freebsd.org> Date: Thu, 10 Oct 2013 11:16:10 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Aryeh Friedman Subject: Re: Running bhyve on a AMD 1075T Phenom References: <5256D59A.20904@digiware.nl> <5256DD29.6090007@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Thu, 10 Oct 2013 18:16:15 -0000 Hi Aryeh, > Will bhyve ever support AMD directly and, if not, will the above project > be included in the future releases? Yes - the project branch will be merged into HEAD when it is done. Not sure if it can make 10.0. If not, will definitely make 10.1 later, Peter. From owner-freebsd-virtualization@FreeBSD.ORG Thu Oct 10 19:09:12 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 6DE89B70; Thu, 10 Oct 2013 19:09:12 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from smtp.digiware.nl (smtp.digiware.nl [31.223.170.169]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2C8DD2532; Thu, 10 Oct 2013 19:09:12 +0000 (UTC) Received: from rack1.digiware.nl (unknown [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id C9229153439; Thu, 10 Oct 2013 21:09:09 +0200 (CEST) X-Virus-Scanned: amavisd-new at digiware.nl Received: from smtp.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id b_LkM-S6Z4DR; Thu, 10 Oct 2013 21:09:08 +0200 (CEST) Received: from [192.168.10.120] (10G [192.168.10.120]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPS id CF79A153438; Thu, 10 Oct 2013 21:09:08 +0200 (CEST) References: <5256D59A.20904@digiware.nl> <5256DD29.6090007@freebsd.org> In-Reply-To: <5256DD29.6090007@freebsd.org> Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Message-Id: <14A565E7-7D26-4C32-B73A-F5FAA16BC837@digiware.nl> X-Mailer: iPad Mail (9B206) From: Willem Jan Withagen Subject: Re: Running bhyve on a AMD 1075T Phenom Date: Thu, 10 Oct 2013 21:09:15 +0200 To: Peter Grehan Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Thu, 10 Oct 2013 19:09:12 -0000 Op 10 okt. 2013 om 19:00 heeft Peter Grehan het volgend= e geschreven: > Hi, >=20 >> I'm trying to test bhyve on this testsystem I have. >> But is does not create /dev/vmm >>=20 >> Is this because this processor does not support the right set of features= ? >=20 > The bhyve code in 10.0 is Intel-only. >=20 > If you're willing to build FreeBSD from source, there is a project branch w= ith AMD SVM support at: >=20 > http://svnweb.freebsd.org/base/projects/bhyve_svm/ Ah, ok=C3=A9, building is no problem.=20 I've been doing that ever since 1.0. :) Is it just de vmm driver, or is there a lot more? --WjW > > AMD Phenom(tm) II X6 1075T >=20 > I have one of these - the project branch works fine with this CPU model. >=20 > later, >=20 > Peter. >=20 From owner-freebsd-virtualization@FreeBSD.ORG Thu Oct 10 20:02:32 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D7B096A6; Thu, 10 Oct 2013 20:02:32 +0000 (UTC) (envelope-from akgupt3@gmail.com) Received: from mail-wi0-x234.google.com (mail-wi0-x234.google.com [IPv6:2a00:1450:400c:c05::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5013528CC; Thu, 10 Oct 2013 20:02:32 +0000 (UTC) Received: by mail-wi0-f180.google.com with SMTP id hj8so25572wib.13 for ; Thu, 10 Oct 2013 13:02:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Qiho0rNJ411aB/kka45pJwZGGiuexUZGyEzY5Q90i6M=; b=C1N4UoYV7OT8Ju6bgeaCcZGJ4h7A/zWk+NR0o+SvrCqkqPVEcdfTzRMX6XbHDZqqjN lqJyxrs34+C7MbJX6IO72k5sSa3JrXWDjoxskrl3vq51gWqfYmSUgKujd20PXitN/i98 5PJIeMKxW1Ao/GvVZL50WgwoDpDawhYKoIrPwfS6rO+0of5cJDIBsZfBeRkvj+X8z9nu WDum5TNrC9R0d8NArP06Bc74NrK+Y/VvWg+J4y4lAfxHzkdXL2uS1ccmRdNhZQSi7Uco tNC6Ehj6vcvUF4llEx/VDEfcNksnimvRL6H6GK3H/xSVlbzG99i+inhkbrQctOFRsO4C T64w== MIME-Version: 1.0 X-Received: by 10.180.12.45 with SMTP id v13mr9169124wib.57.1381435350059; Thu, 10 Oct 2013 13:02:30 -0700 (PDT) Received: by 10.194.2.33 with HTTP; Thu, 10 Oct 2013 13:02:29 -0700 (PDT) In-Reply-To: <14A565E7-7D26-4C32-B73A-F5FAA16BC837@digiware.nl> References: <5256D59A.20904@digiware.nl> <5256DD29.6090007@freebsd.org> <14A565E7-7D26-4C32-B73A-F5FAA16BC837@digiware.nl> Date: Thu, 10 Oct 2013 13:02:29 -0700 Message-ID: Subject: Re: Running bhyve on a AMD 1075T Phenom From: Anish To: Willem Jan Withagen Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Thu, 10 Oct 2013 20:02:32 -0000 >Is it just de vmm driver, or is there a lot more? Yes, it only enable vmm AMD support, nothing else. -Anish On Thu, Oct 10, 2013 at 12:09 PM, Willem Jan Withagen wrot= e: > > > Op 10 okt. 2013 om 19:00 heeft Peter Grehan het > volgende geschreven: > > > Hi, > > > >> I'm trying to test bhyve on this testsystem I have. > >> But is does not create /dev/vmm > >> > >> Is this because this processor does not support the right set of > features? > > > > The bhyve code in 10.0 is Intel-only. > > > > If you're willing to build FreeBSD from source, there is a project > branch with AMD SVM support at: > > > > http://svnweb.freebsd.org/base/projects/bhyve_svm/ > > Ah, ok=E9, building is no problem. > I've been doing that ever since 1.0. :) > > Is it just de vmm driver, or is there a lot more? > > --WjW > > > > AMD Phenom(tm) II X6 1075T > > > > I have one of these - the project branch works fine with this CPU model= . > > > > later, > > > > Peter. > > > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to " > freebsd-virtualization-unsubscribe@freebsd.org" From owner-freebsd-virtualization@FreeBSD.ORG Thu Oct 10 21:59:10 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BFF1676C for ; Thu, 10 Oct 2013 21:59:10 +0000 (UTC) (envelope-from dnixon-fnre@nyclocal.net) Received: from homiemail-a32.g.dreamhost.com (caiajhbdccac.dreamhost.com [208.97.132.202]) by mx1.freebsd.org (Postfix) with ESMTP id A3212217A for ; Thu, 10 Oct 2013 21:59:10 +0000 (UTC) Received: from homiemail-a32.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a32.g.dreamhost.com (Postfix) with ESMTP id 5777E584056 for ; Thu, 10 Oct 2013 14:59:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=nyclocal.net; h=message-id :date:subject:from:to:mime-version:content-type: content-transfer-encoding; s=nyclocal.net; bh=YXQW7LFsJoZrX6nKR+ ZcA7xchyU=; b=UHcXMrKYSkcRDBsBbwcqngHt5walki/mYAfoDHJfdfOFVdidhh 1CKI0/QC6GeW0ohXBgMJVSnBiEWTk4kGt9WsKCPUMGAmZ7P8MvmX9dnOFCazOXI2 6Y8qIuXT2VLAYl7HYN1wttY14ov0DieEaf1g/5tJ9wq3tcA8k63TenczY= Received: from webmail.nyclocal.net (caiajhbihbdd.dreamhost.com [208.97.187.133]) (Authenticated sender: dnixon-fnre@nyclocal.net) by homiemail-a32.g.dreamhost.com (Postfix) with ESMTPA id 3BA39584054 for ; Thu, 10 Oct 2013 14:59:04 -0700 (PDT) Received: from 50.14.66.127 (proxying for 50.14.66.127) (SquirrelMail authenticated user dnixon-fnre@nyclocal.net) by webmail.nyclocal.net with HTTP; Thu, 10 Oct 2013 17:59:04 -0400 Message-ID: <1b3fa9535a9d8cd00eac41a2e3623f25.squirrel@webmail.nyclocal.net> Date: Thu, 10 Oct 2013 17:59:04 -0400 Subject: RFC: Changes to handbook on virtualization From: "Dee Nixon" To: "FreeBSD virtualization" User-Agent: SquirrelMail/1.4.21 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Thu, 10 Oct 2013 21:59:10 -0000 A few weeks ago we volunteered to add some new material, primarily about bhyve, to the section on virtualiation in the FreeBSD handbook. You can see our nearly-final draft (pending any comments from the list, and pending the repair of VirtualBox so it can work with FreeBSD 10) at: http://www.petitecloud.org/handbook.jsp We would appreciate comments, especially any corrections or suggested clarifications regarding bhyve. From owner-freebsd-virtualization@FreeBSD.ORG Thu Oct 10 23:28:15 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 44AA0796; Thu, 10 Oct 2013 23:28:15 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from smtp.digiware.nl (smtp.digiware.nl [31.223.170.169]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DE37E26FC; Thu, 10 Oct 2013 23:28:14 +0000 (UTC) Received: from rack1.digiware.nl (unknown [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id 1E51615343A; Fri, 11 Oct 2013 01:28:12 +0200 (CEST) X-Virus-Scanned: amavisd-new at digiware.nl Received: from smtp.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a_06-o72ZxBT; Fri, 11 Oct 2013 01:28:10 +0200 (CEST) Received: from [192.168.10.120] (10G [192.168.10.120]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPS id 53618153434; Fri, 11 Oct 2013 01:28:10 +0200 (CEST) References: <5256D59A.20904@digiware.nl> <5256DD29.6090007@freebsd.org> <14A565E7-7D26-4C32-B73A-F5FAA16BC837@digiware.nl> In-Reply-To: Mime-Version: 1.0 (1.0) Message-Id: <9A4BF6B0-91F1-43C5-B5D5-90486123336D@digiware.nl> X-Mailer: iPad Mail (9B206) From: Willem Jan Withagen Subject: Re: Running bhyve on a AMD 1075T Phenom Date: Fri, 11 Oct 2013 01:28:17 +0200 To: Anish Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Thu, 10 Oct 2013 23:28:15 -0000 Op 10 okt. 2013 om 22:02 heeft Anish het volgende geschr= even: > >Is it just de vmm driver, or is there a lot more? > Yes, it only enable vmm AMD support, nothing else.=20 My questionnaire was more like: I already have the sources for head Can I just grab the vmm driver in the tree with the AMD stuff and plug that i= n the sources that I already have? --WjW=20 >=20 >=20 > On Thu, Oct 10, 2013 at 12:09 PM, Willem Jan Withagen wr= ote: >=20 >=20 > Op 10 okt. 2013 om 19:00 heeft Peter Grehan het volge= nde geschreven: >=20 > > Hi, > > > >> I'm trying to test bhyve on this testsystem I have. > >> But is does not create /dev/vmm > >> > >> Is this because this processor does not support the right set of featur= es? > > > > The bhyve code in 10.0 is Intel-only. > > > > If you're willing to build FreeBSD from source, there is a project branc= h with AMD SVM support at: > > > > http://svnweb.freebsd.org/base/projects/bhyve_svm/ >=20 > Ah, ok=C3=A9, building is no problem. > I've been doing that ever since 1.0. :) >=20 > Is it just de vmm driver, or is there a lot more? >=20 > --WjW >=20 > > > AMD Phenom(tm) II X6 1075T > > > > I have one of these - the project branch works fine with this CPU model.= > > > > later, > > > > Peter. > > > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freeb= sd.org" >=20 From owner-freebsd-virtualization@FreeBSD.ORG Thu Oct 10 23:31:20 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8331B810 for ; Thu, 10 Oct 2013 23:31:20 +0000 (UTC) (envelope-from miguelmclara@gmail.com) Received: from mail-wg0-x22b.google.com (mail-wg0-x22b.google.com [IPv6:2a00:1450:400c:c00::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 204072740 for ; Thu, 10 Oct 2013 23:31:19 +0000 (UTC) Received: by mail-wg0-f43.google.com with SMTP id c11so2348431wgh.10 for ; Thu, 10 Oct 2013 16:31:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=5g4QwKv9cYPKDOZNIggQjiEsM0GMxApgXt/tkmqptyE=; b=o7/woGRLvLxtQ2ZY4vWUfWcvr3FuKtdFE7r+PrD+b/AtpAHbiDgjQF3pFC0eGwNdR6 7rqSUIym1K3qY8D5t57tD2mr2dswht2FL4ZFXtVT2wZkd+6MnD4mVPOHD4hO/kBkP6Jy Ws20BAo2J5js/cY0wvUa6s/mWU+o6GnDJtXH2i7DYs1ylC0sZ/Lt03LBXgrjCiFqhEKe E/4G3WM8p6bWlYqAMGjTXUiLwM9kb+7aMnEBs4kWH1cfe13tjn8XoR7QQDZrUfutb9wb mUT+feuW1wVk9lhjOAJWD2hCEH1MTPNYDtu3KvM2SryaadtPkeCglA4MgI9TZn4oFhCY ZgoA== X-Received: by 10.180.77.82 with SMTP id q18mr600055wiw.7.1381447878531; Thu, 10 Oct 2013 16:31:18 -0700 (PDT) Received: from [10.10.50.70] (52.91.249.5.rev.vodafone.pt. [5.249.91.52]) by mx.google.com with ESMTPSA id l9sm159034wif.10.2013.10.10.16.31.18 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 10 Oct 2013 16:31:18 -0700 (PDT) Message-ID: <525738C1.7040401@gmail.com> Date: Fri, 11 Oct 2013 00:31:13 +0100 From: "Mike C." User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: "freebsd-virtualization@freebsd.org" Subject: Bhyve "Exit Console" keyboard shortcut? X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Thu, 10 Oct 2013 23:31:20 -0000 Hi, I've been testing with bhyve but so far found no away to get out of the console without shutting down the guest! Am I missing something is this really not possible? Also is there any way to list running guests? Thanks! From owner-freebsd-virtualization@FreeBSD.ORG Thu Oct 10 23:31:30 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1A4C384C for ; Thu, 10 Oct 2013 23:31:30 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id CECB02742 for ; Thu, 10 Oct 2013 23:31:29 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id 9FFD11235C; Fri, 11 Oct 2013 09:31:28 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro-2.local ([64.245.0.210]) by dommail.onthenet.com.au (MOS 4.2.4-GA) with ESMTP id BPD29667 (AUTH peterg@ptree32.com.au); Fri, 11 Oct 2013 09:31:27 +1000 Message-ID: <525738CE.9000708@freebsd.org> Date: Thu, 10 Oct 2013 16:31:26 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Willem Jan Withagen Subject: Re: Running bhyve on a AMD 1075T Phenom References: <5256D59A.20904@digiware.nl> <5256DD29.6090007@freebsd.org> <14A565E7-7D26-4C32-B73A-F5FAA16BC837@digiware.nl> <9A4BF6B0-91F1-43C5-B5D5-90486123336D@digiware.nl> In-Reply-To: <9A4BF6B0-91F1-43C5-B5D5-90486123336D@digiware.nl> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Thu, 10 Oct 2013 23:31:30 -0000 > I already have the sources for head > Can I just grab the vmm driver in the tree with the AMD stuff and plug > that in the sources that I already have? I think that should work (though, the resulting vmm.ko will only work on an AMD system) later, Peter. From owner-freebsd-virtualization@FreeBSD.ORG Thu Oct 10 23:34:53 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A0566944 for ; Thu, 10 Oct 2013 23:34:53 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 631D5276A for ; Thu, 10 Oct 2013 23:34:53 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id 6D59C124EE for ; Fri, 11 Oct 2013 09:34:52 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro-2.local ([64.245.0.210]) by dommail.onthenet.com.au (MOS 4.2.4-GA) with ESMTP id BPD29986 (AUTH peterg@ptree32.com.au); Fri, 11 Oct 2013 09:34:51 +1000 Message-ID: <5257399A.7020002@freebsd.org> Date: Thu, 10 Oct 2013 16:34:50 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: Bhyve "Exit Console" keyboard shortcut? References: <525738C1.7040401@gmail.com> In-Reply-To: <525738C1.7040401@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Thu, 10 Oct 2013 23:34:53 -0000 > Hi, I've been testing with bhyve but so far found no away to get out of > the console without shutting down the guest! > > Am I missing something is this really not possible? It takes over stdin/stdout with no way of escaping. One way to get around this is to start bhyve under tmux/screen. > Also is there any way to list running guests? ls /dev/vmm/* later, Peter. From owner-freebsd-virtualization@FreeBSD.ORG Thu Oct 10 23:36:31 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 2B7CA99F for ; Thu, 10 Oct 2013 23:36:31 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: from mail-la0-x230.google.com (mail-la0-x230.google.com [IPv6:2a00:1450:4010:c03::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AD06C277A for ; Thu, 10 Oct 2013 23:36:30 +0000 (UTC) Received: by mail-la0-f48.google.com with SMTP id er20so2661019lab.7 for ; Thu, 10 Oct 2013 16:36:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=QXJ1TSFPMF9y24ozbiCbUV4IiJxU735EYJrrSloIlEk=; b=Co24dYh1yjkqnIgk8OGmt+R0/gFzfLSRMVeyhLu3LbE+GOLyq281WjTE00zXacgmqw v5IGWCdX0tPCcL2Ln/kXi1q4kJJ6oq5VRiYVsQSP6lj3rHZdjQV5m5iYHoQjetnVD8aN 2WSdrqAHdh60huY66Rj+vIjgLaRpVD/ZjcDCTAQrWkLye6NxsM7aQVdGhXiJvqhaY/3K +hCw5N/I9HG1BeVUkMLBHIo+zdDyG+BvGMmDW00TnE+w7VRIRKEkfsLb853K6WMw14hN 3s5PHVLb/pfBFqZ6ZxMkYNhpvTTWlsZswHc79aIzMywkcishOYUcdNLMN8oXP/8wKMsy wb8g== MIME-Version: 1.0 X-Received: by 10.112.143.3 with SMTP id sa3mr14015614lbb.12.1381448188720; Thu, 10 Oct 2013 16:36:28 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.139.132 with HTTP; Thu, 10 Oct 2013 16:36:28 -0700 (PDT) Date: Thu, 10 Oct 2013 16:36:28 -0700 X-Google-Sender-Auth: oNbl9-Ssdv2T_Bt9JdDuGPEg_Ec Message-ID: Subject: Running FreeNAS under BHyve From: Craig Rodrigues To: "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Thu, 10 Oct 2013 23:36:31 -0000 Hi, Here is what I have been doing to run FreeNAS under BHyve. (1) Download latest FreeNAS-9.2.0-ALPHA ISO from: http://sourceforge.net/projects/freenas/files/FreeNAS-nightlies/2013-10-09/x64/ (2) Run this script to set up tap device: ================================================================= #!/bin/sh # Change following to your network interface iface=em0 ifconfig bridge0 create ifconfig tap0 create ifconfig bridge0 addm $iface addm tap0 up sysctl net.link.tap.user_open=1 sysctl net.link.tap.up_on_open=1 ================================================================= (3) Create a 4G disk image: truncate -s 4G /tmp/disk.img (4) Run the FreeNAS installer under BHyve and install it to the disk created in step (3): sh /usr/share/examples/bhyve/vmrun.sh -I FreeNAS-9.2.0-ALPHA-a2fb413-x64.iso -d /tmp/disk.img -m 4096 -t tap0 freenas_vm (5) Once the installer has completed, select Shutdown. (6) In a separate window, kill the vm bhyvectl --destroy --vm=freenas_vm (7) Restart BHyve, but this time, do not boot off the ISO image: sh /usr/share/examples/bhyve/vmrun.sh -d /tmp/disk.img -m 4G -t tap0 freenas_vm If DHCP works, you should be able to access the FreeNAS web GUI using a web browser, via the IP address that the BHyve VM got from DHCP. -- Craig From owner-freebsd-virtualization@FreeBSD.ORG Fri Oct 11 01:17:18 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id DD23145D for ; Fri, 11 Oct 2013 01:17:18 +0000 (UTC) (envelope-from miguelmclara@gmail.com) Received: from mail-we0-x230.google.com (mail-we0-x230.google.com [IPv6:2a00:1450:400c:c03::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 76E922B99 for ; Fri, 11 Oct 2013 01:17:18 +0000 (UTC) Received: by mail-we0-f176.google.com with SMTP id w62so3422750wes.35 for ; Thu, 10 Oct 2013 18:17:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=SQk9FtZyDiUFmKdLM4B3j+CNH2RzyDdZpdTcII1Il/g=; b=j3YfNzYbL+Do4CRYR2tJEBC2j5EvbckBlR2M04w+wa4J5vs777hiTebCpYfTuGJ+rY zoDbJGyI1jL3YrThfp2JuXYqwRG3V1g1TVEdXJmrSE1H9CXhqju0CzlfowRvc/y3H6ue r4kec1CXiuQ8ZfXPsK0eKNiwF9yKHousFxJo7BvSnf3cb3oTXj6sawZEVVMW+S2gVfx9 QXbhGbYfwbTSjGS/FTOU9+GhiciqfAziVFIQGmA1siFn+oQWnkRknh/8G7QJkeWf7LBW BCXdoR7jLd25CWmqj+FyW7BfBJGNcxgsvTFtpaxaIknCM6lmFdN6lpIhAF/Ybsg9GRxn uLUw== X-Received: by 10.180.211.205 with SMTP id ne13mr969052wic.26.1381454236604; Thu, 10 Oct 2013 18:17:16 -0700 (PDT) Received: from [10.10.50.70] (52.91.249.5.rev.vodafone.pt. [5.249.91.52]) by mx.google.com with ESMTPSA id ev4sm709381wib.7.2013.10.10.18.17.16 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 10 Oct 2013 18:17:16 -0700 (PDT) Message-ID: <52575197.4010600@gmail.com> Date: Fri, 11 Oct 2013 02:17:11 +0100 From: "Mike C." User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: Bhyve "Exit Console" keyboard shortcut? References: <525738C1.7040401@gmail.com> <5257399A.7020002@freebsd.org> In-Reply-To: <5257399A.7020002@freebsd.org> X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Fri, 11 Oct 2013 01:17:18 -0000 On 10/11/13 00:34, Peter Grehan wrote: >> Hi, I've been testing with bhyve but so far found no away to get out of >> the console without shutting down the guest! >> >> Am I missing something is this really not possible? > > It takes over stdin/stdout with no way of escaping. > > One way to get around this is to start bhyve under tmux/screen. Its what I've been doing for now, but even in tmux one might want to exit the console similar to with we do with Xen. > >> Also is there any way to list running guests? > > ls /dev/vmm/* I guees it works for now, I notice that ps also shows some info, acttualty it shows the process with the full arguments! > > later, > > Peter. > > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to > "freebsd-virtualization-unsubscribe@freebsd.org" From owner-freebsd-virtualization@FreeBSD.ORG Fri Oct 11 01:23:33 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D024C5DA for ; Fri, 11 Oct 2013 01:23:33 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 914DB2BF3 for ; Fri, 11 Oct 2013 01:23:33 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id C68BF121EF for ; Fri, 11 Oct 2013 11:23:30 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro-2.local ([64.245.0.210]) by dommail.onthenet.com.au (MOS 4.2.4-GA) with ESMTP id BPD38726 (AUTH peterg@ptree32.com.au); Fri, 11 Oct 2013 11:23:30 +1000 Message-ID: <52575310.8010502@freebsd.org> Date: Thu, 10 Oct 2013 18:23:28 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: Bhyve "Exit Console" keyboard shortcut? References: <525738C1.7040401@gmail.com> <5257399A.7020002@freebsd.org> <52575197.4010600@gmail.com> In-Reply-To: <52575197.4010600@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Fri, 11 Oct 2013 01:23:33 -0000 >> One way to get around this is to start bhyve under tmux/screen. > > Its what I've been doing for now, but even in tmux one might want to > exit the console similar to with we do with Xen. I quite like how Xen does it. bhyve will hopefully have something similar soon. >>> Also is there any way to list running guests? >> >> ls /dev/vmm/* > > I guees it works for now, I notice that ps also shows some info, > acttualty it shows the process with the full arguments! Try 'top' with the H option - it will show the individual vCPU and i/o worker threads. later, Peter. From owner-freebsd-virtualization@FreeBSD.ORG Fri Oct 11 01:31:01 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8885E698; Fri, 11 Oct 2013 01:31:01 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-pb0-x22c.google.com (mail-pb0-x22c.google.com [IPv6:2607:f8b0:400e:c01::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5F0E92C43; Fri, 11 Oct 2013 01:31:01 +0000 (UTC) Received: by mail-pb0-f44.google.com with SMTP id xa7so3420870pbc.17 for ; Thu, 10 Oct 2013 18:31:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=S14EKgg8gAjZhdoEP65MIL6DT1Q1f+fGJX3pv5XvneE=; b=fGy3rjAsTx7lG13OHFhpPIRdViAYUmq5RdPEFzIuMA5/3n4y24nDKxepUR/8Exe6t/ SC0D8XGUcwPaiesa74nDbxaNhxp3jlj7ROl8zKee6TyISaJb/kK4ZWNuNEN1nb9ywLwF KPEmkgS0Aj6SuTKJMdU4xCzVM/TfTr6bRQRBDb0zCKmhrLrHn37OfCE3pBbwWtqyAeLg 1pLEPEJEAGImSK67x5Wu2GzfwjQ06Z1tvtpWilfi1b34LmbwPz3rD7UQWJf1S3yVf+ZD mIk/AocX653B5Kui8RhRR06Da7EXFmqcmTu2bDL6kEuWX940UtvU0DRyH2pPm1ueuxaT 9fvw== MIME-Version: 1.0 X-Received: by 10.68.98.229 with SMTP id el5mr12225113pbb.164.1381455061050; Thu, 10 Oct 2013 18:31:01 -0700 (PDT) Received: by 10.68.59.3 with HTTP; Thu, 10 Oct 2013 18:31:00 -0700 (PDT) In-Reply-To: References: Date: Thu, 10 Oct 2013 21:31:00 -0400 Message-ID: Subject: Re: Running FreeNAS under BHyve From: Aryeh Friedman To: Craig Rodrigues Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Fri, 11 Oct 2013 01:31:01 -0000 On Thu, Oct 10, 2013 at 7:36 PM, Craig Rodrigues wrote: > > If DHCP works, you should be able to access the FreeNAS web GUI > using a web browser, via the IP address that the BHyve VM got from DHCP. > > > How do you find this out sort of asking your local DHCP server which may or may not be available depending on setup of DHCP From owner-freebsd-virtualization@FreeBSD.ORG Fri Oct 11 01:34:52 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5D01070E for ; Fri, 11 Oct 2013 01:34:52 +0000 (UTC) (envelope-from miguelmclara@gmail.com) Received: from mail-wg0-x22d.google.com (mail-wg0-x22d.google.com [IPv6:2a00:1450:400c:c00::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EC2662C5D for ; Fri, 11 Oct 2013 01:34:51 +0000 (UTC) Received: by mail-wg0-f45.google.com with SMTP id z12so1970603wgg.12 for ; Thu, 10 Oct 2013 18:34:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=E9McqQbr5HJe83hYJJxWNYREvt5bwWTU/1JZibZoLVE=; b=f2150C02fhEL3GZFH1pf+ZUiO+xdTPfoi61uhyPi8RMlGa+yRSR0qtNSgeFuugu1+k 1EqTbLDJ79Nrz659wMwqvsa7GWyZbS1ebE2zesQ6AIJas7BGIOZ3ec8L2rKomIayHwFZ j0XrE5161MK3THu1LT28f2lgkB7NwYCFH+zmXkG/r3hyQn3dQpUwiSg0g7WX2YvwHihs lbfJAu8LOg3sHwTUADwosVgP8dyXWwe0ePdIZx/rCjMBId39YidmYtuVnvU9mXcKP9Uc PvZG+7FACdIecaipcRy0drYjJcLDDTHeMTFyYqCNqoeYKUqoFG0Z+ZO0EDIpi4K6ZqEA nSag== X-Received: by 10.180.185.101 with SMTP id fb5mr918437wic.11.1381455290278; Thu, 10 Oct 2013 18:34:50 -0700 (PDT) Received: from [10.10.50.70] (52.91.249.5.rev.vodafone.pt. [5.249.91.52]) by mx.google.com with ESMTPSA id mw9sm1296976wib.0.2013.10.10.18.34.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 10 Oct 2013 18:34:49 -0700 (PDT) Message-ID: <525755B4.7090508@gmail.com> Date: Fri, 11 Oct 2013 02:34:44 +0100 From: "Mike C." User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: Bhyve "Exit Console" keyboard shortcut? References: <525738C1.7040401@gmail.com> <5257399A.7020002@freebsd.org> <52575197.4010600@gmail.com> <52575310.8010502@freebsd.org> In-Reply-To: <52575310.8010502@freebsd.org> X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Fri, 11 Oct 2013 01:34:52 -0000 On 10/11/13 02:23, Peter Grehan wrote: >>> One way to get around this is to start bhyve under tmux/screen. >> >> Its what I've been doing for now, but even in tmux one might want to >> exit the console similar to with we do with Xen. > > I quite like how Xen does it. bhyve will hopefully have something > similar soon. > That would be awesome! Another thing I like in xen is xl/xm list command showing runnig guest, id, name, memory, sate and time Would be nice to a "byve -l" or something like that! >>>> Also is there any way to list running guests? >>> >>> ls /dev/vmm/* >> >> I guees it works for now, I notice that ps also shows some info, >> acttualty it shows the process with the full arguments! > > Try 'top' with the H option - it will show the individual vCPU and i/o > worker threads. > > later, > > Peter. > > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to > "freebsd-virtualization-unsubscribe@freebsd.org" From owner-freebsd-virtualization@FreeBSD.ORG Fri Oct 11 01:45:31 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 18E209C0 for ; Fri, 11 Oct 2013 01:45:31 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-pb0-x230.google.com (mail-pb0-x230.google.com [IPv6:2607:f8b0:400e:c01::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E4E872CCC for ; Fri, 11 Oct 2013 01:45:30 +0000 (UTC) Received: by mail-pb0-f48.google.com with SMTP id ma3so3392787pbc.7 for ; Thu, 10 Oct 2013 18:45:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=qAkxcyoxVSlT27tD8J8dcA/Nfbsl16TXgICQw+dhsgk=; b=WDIbNr2/X1N/mnbODOid9rkl9ckle5KyCwITBg+Oeu9NZH+EK8NXPctXZY98z+QLXU /73+ljrNjbQHdsM/TnxCiM7RA7lbQemRnIXLxzKuR/yIhKJxkgtOCrC607R9xUCi6bEn p7aAybRt5a7fKKGMzBm5GfbkO299fDcGf6ZZc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=qAkxcyoxVSlT27tD8J8dcA/Nfbsl16TXgICQw+dhsgk=; b=c9/lrO2rF4HffQj7f3lg75/VWkK6sjXX5FCzh0AVr0RrrUle3X2buEGNK50lw6eH1C c+ILwEQaRMGS08mjWG5fNFB5hm8xTE83cNdJTgB+s+W03sQgDk//7XQH/sWNOAFuEqtV 9+oQH2ZlXGfX/yJzKhde18ertFOFhbjPmiS+o9PrkqdIcUhibhfKVkrFAzuS6hqK69N/ mVN4tg0sq+P5vtX02Fu3CRJU2uwAAWKrBHT5L4dFXzWXZc+SrfIAaoQAdZ8uIJvinsyj EiF2ASSkgKix3/t8Fxn/Oy2FNaQEwx4srms9xaHkoanff8HbOvFHtY262rHb3VHfvXGj AwZQ== X-Gm-Message-State: ALoCoQkqSZtB+vIj3NSy46wTBm/JbhOSFaEfA7ByJNPwh7K6VFuzDY8z7bLWhf4z+FuX6Mac0nRg X-Received: by 10.68.190.197 with SMTP id gs5mr17088876pbc.90.1381455930585; Thu, 10 Oct 2013 18:45:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.70.6.3 with HTTP; Thu, 10 Oct 2013 18:44:50 -0700 (PDT) In-Reply-To: <52575310.8010502@freebsd.org> References: <525738C1.7040401@gmail.com> <5257399A.7020002@freebsd.org> <52575197.4010600@gmail.com> <52575310.8010502@freebsd.org> From: Eitan Adler Date: Thu, 10 Oct 2013 21:44:50 -0400 Message-ID: Subject: Re: Bhyve "Exit Console" keyboard shortcut? To: Peter Grehan Content-Type: text/plain; charset=UTF-8 Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Fri, 11 Oct 2013 01:45:31 -0000 On Thu, Oct 10, 2013 at 9:23 PM, Peter Grehan wrote: >>> One way to get around this is to start bhyve under tmux/screen. >> >> >> Its what I've been doing for now, but even in tmux one might want to >> exit the console similar to with we do with Xen. > > > I quite like how Xen does it. bhyve will hopefully have something similar > soon. For the clueless, how does Xen do it? -- Eitan Adler From owner-freebsd-virtualization@FreeBSD.ORG Fri Oct 11 03:26:38 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0D0DB492 for ; Fri, 11 Oct 2013 03:26:38 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id C1BF621F4 for ; Fri, 11 Oct 2013 03:26:37 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id 95891121F2; Fri, 11 Oct 2013 13:26:35 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro-2.local ([12.250.97.26]) by dommail.onthenet.com.au (MOS 4.2.4-GA) with ESMTP id BPD47178 (AUTH peterg@ptree32.com.au); Fri, 11 Oct 2013 13:26:34 +1000 Message-ID: <52576FE8.5010107@freebsd.org> Date: Thu, 10 Oct 2013 20:26:32 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Eitan Adler Subject: Re: Bhyve "Exit Console" keyboard shortcut? References: <525738C1.7040401@gmail.com> <5257399A.7020002@freebsd.org> <52575197.4010600@gmail.com> <52575310.8010502@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Fri, 11 Oct 2013 03:26:38 -0000 Hi Eitan, > how does Xen do it? Described here: http://wiki.xen.org/wiki/Xen_FAQ_Console#How_do_I_connect_to_or_detach_from_a_console.3F later, Peter. From owner-freebsd-virtualization@FreeBSD.ORG Fri Oct 11 03:38:58 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5EBEE78B for ; Fri, 11 Oct 2013 03:38:58 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2F7A82280 for ; Fri, 11 Oct 2013 03:38:58 +0000 (UTC) Received: from jre-mbp.elischer.org (ppp121-45-246-96.lns20.per2.internode.on.net [121.45.246.96]) (authenticated bits=0) by vps1.elischer.org (8.14.7/8.14.7) with ESMTP id r9B3cr88048738 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Thu, 10 Oct 2013 20:38:56 -0700 (PDT) (envelope-from julian@freebsd.org) Message-ID: <525772CB.2090605@freebsd.org> Date: Fri, 11 Oct 2013 11:38:51 +0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: RFC: Changes to handbook on virtualization References: <1b3fa9535a9d8cd00eac41a2e3623f25.squirrel@webmail.nyclocal.net> In-Reply-To: <1b3fa9535a9d8cd00eac41a2e3623f25.squirrel@webmail.nyclocal.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Fri, 11 Oct 2013 03:38:58 -0000 On 10/11/13 5:59 AM, Dee Nixon wrote: > A few weeks ago we volunteered to add some new material, primarily > about bhyve, to the section on virtualiation in the FreeBSD > handbook. You can see our nearly-final draft (pending any comments > from the list, and pending the repair of VirtualBox so it can work > with FreeBSD 10) at: > > http://www.petitecloud.org/handbook.jsp "Firefox can't find the server at www.petitecloud.org." > > We would appreciate comments, especially any corrections or > suggested clarifications regarding bhyve. > > > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org" > From owner-freebsd-virtualization@FreeBSD.ORG Fri Oct 11 05:41:16 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D1367B1F; Fri, 11 Oct 2013 05:41:16 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-qc0-x230.google.com (mail-qc0-x230.google.com [IPv6:2607:f8b0:400d:c01::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8101C27C7; Fri, 11 Oct 2013 05:41:16 +0000 (UTC) Received: by mail-qc0-f176.google.com with SMTP id t7so2599789qcv.7 for ; Thu, 10 Oct 2013 22:41:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=/n0fFfPRLli2hUWZqnbDYMCahadWi4b9S80kbwyEvoM=; b=ZEhGCeI1i4Z8+hgyBPhiA6Rl4EAQFth5ECGTKPLvJB50G50SXkzWcDinOGC8MHYlfH lqP1tE1rBZB+rceykydIWgk7Zr8gsVHnv3SqLe3Ud1JBmDqgB1sro43oB+pjE05zDOkF xuJckKIGw71RRVsKd1miUlPYT9F4Zli4p74qdtZ98+Ju8KNZfy523BEorHBpq2Jh0lx/ OjCGtx8rz/c9BZURCmBa8VLM0cnjUojDMgGsQF+2u4okYuSgxJPidDt4Dnwxpw5Epkso u1I6oXFsk91Jugcz7u9fv20C0rDZsm61GciOTQySbjgnUe5OSjPl0++yOVgDRHRptbmU UNyg== MIME-Version: 1.0 X-Received: by 10.49.70.129 with SMTP id m1mr5442695qeu.69.1381470075598; Thu, 10 Oct 2013 22:41:15 -0700 (PDT) Received: by 10.49.35.175 with HTTP; Thu, 10 Oct 2013 22:41:15 -0700 (PDT) In-Reply-To: <525785E4.2000508@callfortesting.org> References: <525785E4.2000508@callfortesting.org> Date: Fri, 11 Oct 2013 01:41:15 -0400 Message-ID: Subject: Fwd: bhyve on other host os's From: Aryeh Friedman To: "freebsd-virtualization@freebsd.org" , Michael Dexter , Dee Nixon , Peter Grehan , Neel Natu Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Fri, 11 Oct 2013 05:41:16 -0000 I forgot to add virtualization to the original to line of the message ---------- Forwarded message ---------- From: Michael Dexter Date: Fri, Oct 11, 2013 at 1:00 AM Subject: Re: bhyve on other host os's To: Aryeh Friedman Cc: Peter Grehan , Neel Natu , Dee Nixon On 10/10/13 9:54 PM, Aryeh Friedman wrote: > 1. Do you mean it will have the necessary facilities to allow some > non-FreeBSD OS to act as a host (i.e. run guests)? Yep. Few details are public as I understand it. Michael From owner-freebsd-virtualization@FreeBSD.ORG Fri Oct 11 07:56:58 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 11115A01 for ; Fri, 11 Oct 2013 07:56:58 +0000 (UTC) (envelope-from joris.dedieu@gmail.com) Received: from mail-la0-x22d.google.com (mail-la0-x22d.google.com [IPv6:2a00:1450:4010:c03::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8FF412EE4 for ; Fri, 11 Oct 2013 07:56:57 +0000 (UTC) Received: by mail-la0-f45.google.com with SMTP id eh20so2994586lab.4 for ; Fri, 11 Oct 2013 00:56:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=XxWNtXc566xL07YoQS5Dq2vEfrMs1A9aiDoXh8j7T9c=; b=lhYxsC6gUnXaZxkTlCV3wq33AhJ7lSpn9z/Ww+rW522WQ9HNwF5DTRfzw5sn3zV/E8 A8bBv4gW9IP0qV2yO77biPDD68HgvVntr1hyddsn3ihUj5Cu1PVpPR8WcFxQkPUFg0Kx m+09v4KWSs/XZ3o/qZKPVl9IPqGbwRPplp2hX9kQgdEv61SNnvZ2Hn0kpIWzArNGPh5/ YYPqOhFyn68Q1uMup+k7ZsBJbZ6jfY3b1symOsfpuW4xjLawAp99ppJoRsPazbaxe6da L62KrwIuSJ/Inff1W2vzllGOqAD9t0+h5ovn7PGhnd/yC/4nZmZqKxsUXNma3QiEQoWi AsAw== MIME-Version: 1.0 X-Received: by 10.112.154.70 with SMTP id vm6mr15301022lbb.1.1381478215224; Fri, 11 Oct 2013 00:56:55 -0700 (PDT) Received: by 10.114.22.99 with HTTP; Fri, 11 Oct 2013 00:56:55 -0700 (PDT) In-Reply-To: References: <525738C1.7040401@gmail.com> <5257399A.7020002@freebsd.org> <52575197.4010600@gmail.com> <52575310.8010502@freebsd.org> Date: Fri, 11 Oct 2013 09:56:55 +0200 Message-ID: Subject: Re: Bhyve "Exit Console" keyboard shortcut? From: joris dedieu To: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Fri, 11 Oct 2013 07:56:58 -0000 2013/10/11 Eitan Adler : > On Thu, Oct 10, 2013 at 9:23 PM, Peter Grehan wrote: >>>> One way to get around this is to start bhyve under tmux/screen. >>> >>> >>> Its what I've been doing for now, but even in tmux one might want to >>> exit the console similar to with we do with Xen. >> >> >> I quite like how Xen does it. bhyve will hopefully have something similar >> soon. > > For the clueless, how does Xen do it? xenconsole works exactily like a serial console client (with termios(4)). If the main loop intercepts an escape sequence, it restores the term. By default this sequence is the same as telnet (^]). See : http://xenbits.xen.org/gitweb/?p=xen.git;a=tree;f=tools/console/daemon;h=cfd2f772a53ec2c71b07d9358441cedbb252b24c;hb=HEAD Joris > > > > -- > Eitan Adler > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org" From owner-freebsd-virtualization@FreeBSD.ORG Fri Oct 11 09:42:13 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 26D35B2D; Fri, 11 Oct 2013 09:42:13 +0000 (UTC) (envelope-from lars@netapp.com) Received: from mx11.netapp.com (mx11.netapp.com [216.240.18.76]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0467024A9; Fri, 11 Oct 2013 09:42:12 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.90,1079,1371106800"; d="asc'?scan'208";a="58701324" Received: from vmwexceht05-prd.hq.netapp.com ([10.106.77.35]) by mx11-out.netapp.com with ESMTP; 11 Oct 2013 02:42:12 -0700 Received: from SACEXCMBX01-PRD.hq.netapp.com ([169.254.2.51]) by vmwexceht05-prd.hq.netapp.com ([10.106.77.35]) with mapi id 14.03.0123.003; Fri, 11 Oct 2013 02:42:12 -0700 From: "Eggert, Lars" To: =?iso-8859-1?Q?Roger_Pau_Monn=E9?= Subject: Re: FreeBSD PVHVM call for testing Thread-Topic: FreeBSD PVHVM call for testing Thread-Index: AQHOUAhUarkKsbBK/kezEngwlOBx55nwoZgA Date: Fri, 11 Oct 2013 09:42:11 +0000 Message-ID: <7BE1E0BE-C4E8-4706-8751-23A30D733A94@netapp.com> References: <519131D8.9010307@citrix.com> In-Reply-To: <519131D8.9010307@citrix.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-originating-ip: [10.106.53.51] Content-Type: multipart/signed; boundary="Apple-Mail=_9DE669EF-5CCC-4C07-943E-26ED56506F2F"; protocol="application/pgp-signature"; micalg=pgp-sha1 MIME-Version: 1.0 Cc: "freebsd-xen@freebsd.org" , xen-devel , "freebsd-virtualization@freebsd.org" , "xen-users@lists.xen.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Fri, 11 Oct 2013 09:42:13 -0000 --Apple-Mail=_9DE669EF-5CCC-4C07-943E-26ED56506F2F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Hi, On May 13, 2013, at 20:32, Roger Pau Monn=E9 = wrote: > Right now the code is in a state where it can be tested by users, so = we > would like to encourage FreeBSD and Xen users to test it and provide > feedback. any idea if/when this code will be merged into -CURRENT? Thanks, Lars --Apple-Mail=_9DE669EF-5CCC-4C07-943E-26ED56506F2F Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQCVAwUBUlfH8tZcnpRveo1xAQKOyQQAq6Zt8IoHJ4HD4L1oeZouwVy/ncC8Mwvi eLUDhfjBwv5NaA7+j1inu301y/TWlacw/yzNjQS+NLNvcOK/nvBtOl7TzRvYiUTe trC3rEFqmg+iR9iM6jnh5y/xjBoIEV14desmX9wh2SUkOibukiTC89GdSD4RAt2Y Y8RNyB/5knM= =p8yF -----END PGP SIGNATURE----- --Apple-Mail=_9DE669EF-5CCC-4C07-943E-26ED56506F2F-- From owner-freebsd-virtualization@FreeBSD.ORG Fri Oct 11 09:47:41 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 474CFBE9 for ; Fri, 11 Oct 2013 09:47:41 +0000 (UTC) (envelope-from vvm@tut.by) Received: from mail-ee0-x234.google.com (mail-ee0-x234.google.com [IPv6:2a00:1450:4013:c00::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C4C1724DF for ; Fri, 11 Oct 2013 09:47:40 +0000 (UTC) Received: by mail-ee0-f52.google.com with SMTP id c41so1753912eek.11 for ; Fri, 11 Oct 2013 02:47:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tut.by; s=google; h=message-id:from:to:cc:subject:date:mime-version:content-type :content-transfer-encoding; bh=jslL48QV+gRcFSIgoBjPKWCsDuC+rVy+1KUX+/MiyXY=; b=cCfWRtO8MmON7P9e1hVITy9gbPtf2z74mYoBWdYDcnRWk3UTVRI3ebNQ/kZcLblcnW BszWiiY94PlCnih+f7TBT2yquivdFRW/Jtq17GWK2ZSjO9L7D3jdb7qmnx+NqpH2tRru E5KdToa8tRb14O9yaYsC6kT+K1yXHhwStIiHM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:from:to:cc:subject:date:mime-version :content-type:content-transfer-encoding; bh=jslL48QV+gRcFSIgoBjPKWCsDuC+rVy+1KUX+/MiyXY=; b=AFX7tmCYszmtB7Yy96Z0sSbr2kZrdpLFJWsEnvLlIEswJ3SETALV9O+uQn0PvS3UTL FbUMMmOr4JrOLqL2bE7xnvA8uG6s6DAspSk/olJtsNlxrTBN3fCRp86ZMW9bx/0XHeU6 OYKY8MkSsRUaV7Q4APUn7NLsCC2ZTXa7KiTyGoXiUvYkYi5UZI2pQjaIEIu55ZOXNJAb 8yfXMBxxFnmeKf0rp4d3XyG3ravoRz6tRzMYKbn0aFBpTnK15pCEeVkJXpqTdiE+oSFY hDvvtc0glkALqJC94EZAYvM4u4UtqiNXE/YuzdZ3VuGVoEQH7CF/CxCp8zrW+yL+r7M6 SFUw== X-Gm-Message-State: ALoCoQnc3B2MUKcSfrNnakg/XfPxlJCnL+x3QGPtBHcX3BAM91K9CKxwPi4wK9L6d0CVzyGo4nq2 X-Received: by 10.15.81.137 with SMTP id x9mr958476eey.77.1381484859099; Fri, 11 Oct 2013 02:47:39 -0700 (PDT) Received: from TSVVM2 (ns1.st.by. [217.23.123.90]) by mx.google.com with ESMTPSA id l49sm28450994eeo.12.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 11 Oct 2013 02:47:38 -0700 (PDT) Message-ID: <3A3C17DC0E6E483BBB6A3902E20F48D4@local.st.by> From: "Victor Miasnikov" To: Subject: Good news: _Both_ FastIDE and CD-Rom work in FreeBSD 10 on Hyper-V Re: disable BlkVSC (paravirtual IDE) functional On ATA Channel N2 -- minimum Re: ATA controller and Hyper-V "synthetic storage driver" handle the IDE disks devices ( but not for the CD-ROM) Date: Fri, 11 Oct 2013 12:47:35 +0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.3790.4548 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4913 Cc: Alexander Motin , KY Srinivasan X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Fri, 11 Oct 2013 09:47:41 -0000 Hi! Short: Good news: _Both_ FastIDE and CD-Rom work in FreeBSD 10 on Hyper-V http://svnweb.freebsd.org/base?view=revision&sortby=log&revision=256304 == Revision 256304 Modified Thu Oct 10 22:46:49 2013 UTC . . . Allow the legacy CDROM device to be accessed in a FreeBSD guest, while still using enlightened drivers for other block devices. . . . == Details, and some info for Hyper-V sysadmins : http://vvm.blog.tut.by/category/freebsd/ http://vvm.blog.tut.by/2013/10/08/freebsd-10-on-hyper-v/ == Microsoft hyperv dev team: One of the issues with Hyper-V is that it does not virtualize the CD device and therefore we rely on the ATA driver in the guest operating system to manage CDROMs. What we would like to do is disable the ATA driver for all device types except the CDROM in the presence of Hyper-V. vvm : >> Disable both primary and secondary ATA controller prevent use CD-ROM >> device in VM ( guest) >> >> Because "synthetic storage driver" not handle CD-ROM devices >> ( IMHO, even more: Hyper-V host work with CD-ROM only as "PCI bus" device) mav@ : A.M.> Then may be possibility of blocking/hiding specific ATA channels or A.M.> devices could be investigated. mav@ : >> Unfortunately, CAM subsystem used for both ATA and SCSI stacks in >> FreeBSD 9.x and above is mostly unaware of "NewBus" infrastructure >> used for driver probe and attachment. That is why you can't replace >> driver for a single disk in the same way as you replaced driver for >> the whole controller. The highest level present in "NewBus" is ATA >> channel. So if disk and CD-ROM are always live on different channels, >> you can create dummy driver not for the whole controller (atapciX), >> but for single hardcoded ATA channel (ataX). Microsoft hyperv dev team: > > We have decided to have the DVD and the root device on different channels > as that appears to be the simplest way to address this problem. . . . > . . . dummy driver for a single hardcoded ATA channel. The boot device has to be on the first channel, this would > require the ISO device to be on the second channel. > mav@ : == Revision 256304 (view) . . .- [select for diffs] Modified Thu Oct 10 22:46:49 2013 UTC File length: 5783 byte(s) Allow the legacy CDROM device to be accessed in a FreeBSD guest, while still using enlightened drivers for other block devices. Submitted by: Microsoft hyperv dev team, mav@ Approved by: re@ == From: vvm To: mav@ == Thanks for patch! == Microsoft hyperv dev team: == Thanks Alexander. == Microsoft hyperv dev team: == We tested the patch and it seems to work fine. We observed that the CDROM is not accessible on channel 0 but is accessible on channel 1 as intended. The solution is good enough as the Hyper-V UI in general biases a user to attach the root device to channel 0 and the CDROM to channel 1 and we can further reinforce this for FreeBSD users. I think this solution is good enough for now and we can explore more later. == vvm: == Yes: "this solution" ( "the root device to channel 0" with syntectic ATA driver , "CDROM accessible on channel 1" with non-Hyper-V specific ATA driver ) "is good enough for now" I.e.: 1) "this solution" "will let the ATA driver install FreeBSD" 2) and is "way to enable FastIDE" == Microsoft hyperv dev team: == Many many thanks for getting this to work. == Best regards, Victor Miasnikov Blog: http://vvm.blog.tut.by/ P.P.S. Some history messages: ----- Original Message ----- From: "Victor Miasnikov" To: "Abhishek Gupta (LIS)"; Cc: "Alexander Motin" ; "KY Srinivasan" ; "Larry Melia" Sent: Tuesday, October 01, 2013 10:34 AM Subject: Again: Tmp. disable BlkVSC (paravirtual IDE) functional? On ATA Channel N2 -- minimum Re: Disabling ATA driver for IDE devices on Hyper-V Re: ATA controller and Hyper-V "synthetic storage driver" handle the IDE disks devices ( but not for the CD-ROM) Hi! > This may have been asked before but the solution we have currently is less than ideal. Please bear with me on the > repetition and provide any suggestions you may have. > > One of the issues with Hyper-V is that it does not virtualize the CD device and therefore we rely on the ATA driver in > the guest operating system to manage CDROMs. > What we would like to do is disable the ATA driver for all device types except the CDROM in the presence of Hyper-V. Yes: "disable . . . except the CDROM" need for "LiveCD and (or) .ISO for setup FreeBSD" See P.P.P.S. == ----- Original Message ----- From: "Victor Miasnikov" To: "Alexander Motin" Cc: ; "Larry Melia" ( in fact to 3 e-mail address ) Sent: Tuesday, May 07, 2013 12:00 PM Subject: Re: ATA controller and Hyper-V "synthetic storage driver" handle the IDE disks devices ( but not for the CD-ROM) Re: Hyper-V on FreeBSD . . . > On 07.05.2013 10:40, Victor Miasnikov wrote: >>> prevent default OS driver from attaching to emulated ATA controller >>> when Hyper-V >> >> Disable both primary and secondary ATA controller prevent use CD-ROM >> device in VM ( guest) >> >> Because "synthetic storage driver" not handle CD-ROM devices >> ( IMHO, even more: Hyper-V host work with CD-ROM only as "PCI bus" device) > A.M.> Then may be possibility of blocking/hiding specific ATA channels or A.M.> devices could be investigated. IMHO, this ( or some like this) must be investigated In any case, need carefully testing work CD-ROM ( primary for LiveCD and (or) .ISO for setup FreeBSD) in Hyper-V enviroment == > As of now we have implemented a disengage driver that disables ATA driver permanently on Hyper-V. As _first_ step: temporary disable BlkVSC (paravirtual IDE) functional ( Or ( as best tmp. solution): "turn on" hw.ata.disk_enable by default i.e. implement hw.ata.disk_disable When Hyper-V sysadmin need syntetic/"Hyper-V specific" ATA driver functional, sysadmin use hw.ata.disk_disable When Hyper-V sysadmin need CD-ROM -- sysadmin skip/not use hw.ata.disk_disable ) See in P.P.S. == L.M.>>> Removing our ATA patches, on the other hand, results in a huge L.M.>>> performance loss. This is because the root file system is managed by the L.M.>>> ATA driver, which is emulated under Hyper-V. VVM>> Place on IDE disk only "\boot" ( and bootloader), other on SCSI . + VVM>> Disable both primary and secondary ATA controller prevent use CD-ROM device in VM ( guest) VVM>> Because "synthetic storage driver" not handle CD-ROM devices May be temporary disable BlkVSC (paravirtual IDE) functional? And enable [imm.]after implement work on Hyper-V both CD-ROM and ATA disks == ( And not forget about hv_ata_pci_disengage.c ) >However this is less than desirable and we are looking for a better solution. Please let us know if you have some >thoughts. On _second_ step, we can start inplement "better solution" > Can someone help us in answering the following in this regard: > > a) What is the correct location in the FreeBSD ATA code where we can put in selective disabling? > > b) Is this a good approach? Is there something cleaner you can think of? > Disable non-syntetic/"legacy" ATA driver on ATA channel N1 ( for HDD ) , but enable non-syntetic/"legacy" ATA driver on ATA channel N2 ( for CD-Rom devices) ( Of cource: Enable syntetic/"Hyper-V specific" ATA driver on ATA channel N1 ( for HDD ); Disable syntetic/"Hyper-V specific" ATA driver on ATA channel N2 ( for CD-Rom devices) ) See: ----- Original Message ----- From: "Alexander Motin" To: "Larry Melia" Cc: "Abhishek Gupta (LIS)" ; "KY Srinivasan" ; Sent: Tuesday, June 04, 2013 7:23 PM Subject: Re: more granular detection and control to disable/enable PCI-ATA devices . . . That is why you can't replace driver for a single disk in the same way as you replaced driver for the whole controller. The highest level present in "NewBus" is ATA channel. So if disk and CD-ROM are always live on different channels, you can create dummy driver not for the whole controller (atapciX), but for single hardcoded ATA channel (ataX). . . . -- Best regards, Victor Miasnikov Blog: http://vvm.blog.tut.by/ P.S. ----- Original Message ----- From: "Abhishek Gupta (LIS)" To: freebsd-virtualization (at) freebsd.org Sent: Tuesday, October 01, 2013 12:02 AM Subject: Disabling ATA driver for IDE devices on Hyper-V Hi folks, This may have been asked before but the solution we have currently is less than ideal. Please bear with me on the repetition and provide any suggestions you may have. One of the issues with Hyper-V is that it does not virtualize the CD device and therefore we rely on the ATA driver in the guest operating system to manage CDROMs. What we would like to do is disable the ATA driver for all device types except the CDROM in the presence of Hyper-V. Can someone help us in answering the following in this regard: a) What is the correct location in the FreeBSD ATA code where we can put in selective disabling? b) Is this a good approach? Is there something cleaner you can think of? As of now we have implemented a disengage driver that disables ATA driver permanently on Hyper-V. However this is less than desirable and we are looking for a better solution. Please let us know if you have some thoughts. Thanks, Abhishek -- ----- Original Message ----- From: "Alexander Motin" To: "Larry Melia" Cc: "Abhishek Gupta (LIS)" ;"KY Srinivasan" ; Sent: Tuesday, June 04, 2013 7:23 PM Subject: Re: more granular detection and control to disable/enable PCI-ATA devices Hi. On 04.06.2013 18:30, Larry Melia wrote: > With you suggestions, I finally was able to get the override driver > working-see > https://github.com/FreeBSDonHyper-V/freebsd-snapshot/blob/hyperv-dev-ata-override/sys/dev/hyperv/stordisengage/hv_ata_pci_disengage.c. > While it operates wonderfully, allowing our "enlightened" driver to > improve performance, some versions of Hyper-V still use the native > CD-ROM driver, because there is no "enlightened" support for it in the > hypervisor. From my limited knowledge of the ATA drivers, it seems > likely that the PCI-ATA driver be attached when a CD-ROM is detected, > but lower-level drivers disabled (during a probe) when a hard drive is > detected. On Hyper-V, therefore, a user would be able to configure a > PCI/IDE virtual controller with two devices, the first device a hard > disk and the second one a CD-ROM. The CD-ROM would operate via the > native driver, whereas the hard disk would use the "enlightened" driver > (to improve performance). Is there an easy way to add more granular > detection, disabling the native ATA driver(s) selectively for hard > drives, while allowing CD-ROM devices to be natively attached? Any > suggestions would be very much appreciated. Unfortunately, CAM subsystem used for both ATA and SCSI stacks in FreeBSD 9.x and above is mostly unaware of "NewBus" infrastructure used for driver probe and attachment. That is why you can't replace driver for a single disk in the same way as you replaced driver for the whole controller. The highest level present in "NewBus" is ATA channel. So if disk and CD-ROM are always live on different channels, you can create dummy driver not for the whole controller (atapciX), but for single hardcoded ATA channel (ataX). Another possible way is to make controller driver not dummy, making it mostly duplicating default one, but filtering out unwanted devices. That may look like overkill, but it is not necessary so, because ATA stack is quite modularized, and you probably don't need to implement all ATA functionality such as mode setting, etc. Only thing that should be different in your driver is a reset method -- never reporting ATA disks to upper layers, only ATAPI devices. You may find number of drivers for example in sys/dev/ata/chipsets. The later way is definitely more complicated then just a few lines hack blocking CAM ada driver (ATA disk driver), but it still can be made modular and non-invasive. -- Alexander Motin P.P.S. ----- Original Message ----- From: "Victor Miasnikov" To: ; "Alexander Motin" ; "Larry Melia" Cc: "Larry Melia" Sent: Saturday, May 18, 2013 9:06 AM Subject: Tmp. disable BlkVSC (paravirtual IDE) functional? Re: ATA controller and Hyper-V "synthetic storage driver" handle the IDE disks devices ( but not for the CD-ROM) Re: Hyper-V on FreeBSD Hi! Short: {{ L.M.>>> Removing our ATA patches, on the other hand, results in a huge L.M.>>> performance loss. This is because the root file system is managed by the L.M.>>> ATA driver, which is emulated under Hyper-V. VVM>> Place on IDE disk only "\boot" ( and bootloader), other on SCSI . + VVM>> Disable both primary and secondary ATA controller prevent use CD-ROM device in VM ( guest) VVM>> Because "synthetic storage driver" not handle CD-ROM devices May be temporary disable BlkVSC (paravirtual IDE) functional? And enable [imm.]after implement work on Hyper-V both CD-ROM and ATA disks == --- 000\hv_storvsc_drv_freebsd.c Wed Apr 10 06:18:58 2013 +++ hv_storvsc_drv_freebsd.c Wed May 08 11:59:06 2013 . . . * Using the type GUID, determine if this is a StorVSC (paravirtual * SCSI or BlkVSC (paravirtual IDE) device. . . . if (!memcmp(p, &gBlkVscDeviceType, sizeof(hv_guid))) { - return DRIVER_BLKVSC; + /* TODO: enable after implement work on Hyper-V both CD-ROM and ATA disks + * return DRIVER_BLKVSC; + */ + return (DRIVER_UNKNOWN); . . . == }} Full: > On Tue, May 7, 2013 at 12:40 AM, Victor Miasnikov wrote: L.M.>> == L.M.>> . . . L.M.>> On 23.04.2013 17:07, Larry Melia wrote: L.M.>> . . . L.M.>> L.M.>>> Removing our ATA patches, on the other hand, results in a huge L.M.>>> performance loss. This is because the root file system is managed by the L.M.>>> ATA driver, which is emulated under Hyper-V. L.M.>>> L.M.>> == VVM>> VVM>> Place on IDE disk only "\boot" ( and bootloader), other on SCSI . VVM>> >>> >>> prevent default OS driver from attaching to emulated ATA controller when Hyper-V >>> VVM>> VVM>> Disable both primary and secondary ATA controller prevent use CD-ROM device in VM ( guest) VVM>> VVM>> Because "synthetic storage driver" not handle CD-ROM devices VVM>> ( IMHO, even more: Hyper-V host work with CD-ROM only as "PCI bus" device) L.M.>Regarding the CD-ROM drive, there's a known problem with CD-ROM support and using our synthetic storage driver. L.M.>At the moment, it's not supported correctly on FreeBSD, L.M.>but . . . there's a workaround ( details skipped by VVM, {= not all simply , "long story" ) , L.M.>which we will try to get working on FreeBSD. L.M.>This will be addressed shortly, but . . . ( skipped by VVM ) . May be temporary disable BlkVSC (paravirtual IDE) functional? And enable after implement work on Hyper-V both CD-ROM and ATA disks == --- 000\hv_storvsc_drv_freebsd.c Wed Apr 10 06:18:58 2013 +++ hv_storvsc_drv_freebsd.c Wed May 08 11:59:06 2013 @@ -1449,22 +1449,25 @@ /** * @brief Determine type of storage device from GUID * * Using the type GUID, determine if this is a StorVSC (paravirtual * SCSI or BlkVSC (paravirtual IDE) device. * * @param dev a device * returns an enum */ static enum hv_storage_type storvsc_get_storage_type(device_t dev) { const char *p = vmbus_get_type(dev); if (!memcmp(p, &gBlkVscDeviceType, sizeof(hv_guid))) { - return DRIVER_BLKVSC; + /* TODO: enable after implement work on Hyper-V both CD-ROM and ATA disks + * return DRIVER_BLKVSC; + */ + return (DRIVER_UNKNOWN); } else if (!memcmp(p, &gStorVscDeviceType, sizeof(hv_guid))) { return DRIVER_STORVSC; } return (DRIVER_UNKNOWN); } == Best regards, Victor Miasnikov Blog: http://vvm.blog.tut.by/ P.S. Sorry, for code style -- is primary demo of _idea_ P.P.P.S. ----- Original Message ----- From: "Victor Miasnikov" To: "Alexander Motin" Cc: ; "Larry Melia" ( in fact to 3 e-mail address ) Sent: Tuesday, May 07, 2013 12:00 PM Subject: Re: ATA controller and Hyper-V "synthetic storage driver" handle the IDE disks devices ( but not for the CD-ROM) Re: Hyper-V on FreeBSD Hi! > On 07.05.2013 10:40, Victor Miasnikov wrote: >>> prevent default OS driver from attaching to emulated ATA controller >>> when Hyper-V >> >> Disable both primary and secondary ATA controller prevent use CD-ROM >> device in VM ( guest) >> >> Because "synthetic storage driver" not handle CD-ROM devices >> ( IMHO, even more: Hyper-V host work with CD-ROM only as "PCI bus" device) > A.M.> Then may be possibility of blocking/hiding specific ATA channels or A.M.> devices could be investigated. IMHO, this ( or some like this) must be investigated In any case, need carefully testing work CD-ROM ( primary for LiveCD and (or) .ISO for setup FreeBSD) in Hyper-V enviroment >> http://lists.freebsd.org/pipermail/freebsd-virtualization/2013-April/001180.html >> >> == >> . . . >> On 23.04.2013 17:07, Larry Melia wrote: >> . . . L.M.>>> Removing our ATA patches, on the other hand, results in a huge L.M.>>> performance loss. This is because the root file system is managed by the L.M.>>> ATA driver, which is emulated under Hyper-V. >> == VVM>> VVM>> Place on IDE disk only "\boot" ( and bootloader), other on SCSI . VVM>> A.M.> A.M.> May be instead of splitting filesystem it could be better to boot from A.M.> "SCSI" completely and forget about "ATA"? A.M.> Or there is no option ROM for SCSI boot in Hyper-V? A.M.> Yes, boot from SCSI disk in Hyper-V VM ( "guest") is impossible Best regards, Victor Miasnikov Blog: http://vvm.blog.tut.by/ == From owner-freebsd-virtualization@FreeBSD.ORG Fri Oct 11 13:56:34 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C5C076E9; Fri, 11 Oct 2013 13:56:34 +0000 (UTC) (envelope-from roger.pau@citrix.com) Received: from SMTP02.CITRIX.COM (smtp02.citrix.com [66.165.176.63]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D1EC026EE; Fri, 11 Oct 2013 13:56:32 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.90,1081,1371081600"; d="scan'208";a="60070029" Received: from accessns.citrite.net (HELO FTLPEX01CL01.citrite.net) ([10.9.154.239]) by FTLPIPO02.CITRIX.COM with ESMTP; 11 Oct 2013 13:56:24 +0000 Received: from [IPv6:::1] (10.80.16.47) by smtprelay.citrix.com (10.13.107.78) with Microsoft SMTP Server id 14.2.342.4; Fri, 11 Oct 2013 09:56:24 -0400 Message-ID: <52580386.1020802@citrix.com> Date: Fri, 11 Oct 2013 15:56:22 +0200 From: =?ISO-8859-1?Q?Roger_Pau_Monn=E9?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: "Eggert, Lars" Subject: Re: FreeBSD PVHVM call for testing References: <519131D8.9010307@citrix.com> <7BE1E0BE-C4E8-4706-8751-23A30D733A94@netapp.com> In-Reply-To: <7BE1E0BE-C4E8-4706-8751-23A30D733A94@netapp.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-DLP: MIA2 Cc: "freebsd-xen@freebsd.org" , xen-devel , "freebsd-virtualization@freebsd.org" , "xen-users@lists.xen.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Fri, 11 Oct 2013 13:56:34 -0000 On 11/10/13 11:42, Eggert, Lars wrote: > Hi, > > On May 13, 2013, at 20:32, Roger Pau Monné wrote: >> Right now the code is in a state where it can be tested by users, so we >> would like to encourage FreeBSD and Xen users to test it and provide >> feedback. > > any idea if/when this code will be merged into -CURRENT? It's already in HEAD, and will hopefully be part of the 10 release. Roger. From owner-freebsd-virtualization@FreeBSD.ORG Fri Oct 11 14:00:30 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B32C8819; Fri, 11 Oct 2013 14:00:30 +0000 (UTC) (envelope-from dnixon-fnre@nyclocal.net) Received: from homiemail-a106.g.dreamhost.com (caiajhbdcaib.dreamhost.com [208.97.132.81]) by mx1.freebsd.org (Postfix) with ESMTP id 94CC92751; Fri, 11 Oct 2013 14:00:30 +0000 (UTC) Received: from homiemail-a106.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a106.g.dreamhost.com (Postfix) with ESMTP id D55BD2005D103; Fri, 11 Oct 2013 07:00:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=nyclocal.net; h=message-id :in-reply-to:references:date:subject:from:to:cc:mime-version :content-type:content-transfer-encoding; s=nyclocal.net; bh=m0ao F2Dzs6rPYjrAYouE8lLvbu8=; b=FtBAEitC+2QSGLFgvVXR4puMk8OLkuWsuGce L0xoHfOsq1gUanW0A50cNHfsLVaJnBmQ+e1bfKIillD5rnoYRtqpSYp0KWZicume u3bD/kEQ3vi1oaX6jYYEf2/fxjEGXN0/qSwl9QDIuQgGpWBPpE1JKNeEenwWSUlN yjIQj9k= Received: from webmail.nyclocal.net (caiajhbihbdd.dreamhost.com [208.97.187.133]) (Authenticated sender: dnixon-fnre@nyclocal.net) by homiemail-a106.g.dreamhost.com (Postfix) with ESMTPA id 98F532005D100; Fri, 11 Oct 2013 07:00:29 -0700 (PDT) Received: from 50.14.66.127 (proxying for 50.14.66.127) (SquirrelMail authenticated user dnixon-fnre@nyclocal.net) by webmail.nyclocal.net with HTTP; Fri, 11 Oct 2013 10:00:29 -0400 Message-ID: <39e2d1f5749851e0255265e3e287ee76.squirrel@webmail.nyclocal.net> In-Reply-To: References: <1b3fa9535a9d8cd00eac41a2e3623f25.squirrel@webmail.nyclocal.net> <525772CB.2090605@freebsd.org> Date: Fri, 11 Oct 2013 10:00:29 -0400 Subject: Re: RFC: Changes to handbook on virtualization From: "Dee Nixon" To: "FreeBSD virtualization" User-Agent: SquirrelMail/1.4.21 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Fri, 11 Oct 2013 14:00:30 -0000 Must have been a brief temporary glitch. The link is indeed working: http://www.petitecloud.org/handbook.jsp On Fri, October 11, 2013 1:36 am, Aryeh Friedman wrote: > ---------- Forwarded message ---------- > From: Julian Elischer > Date: Thu, Oct 10, 2013 at 11:38 PM > Subject: Re: RFC: Changes to handbook on virtualization > To: freebsd-virtualization@freebsd.org > > > On 10/11/13 5:59 AM, Dee Nixon wrote: > >> A few weeks ago we volunteered to add some new material, primarily >> about bhyve, to the section on virtualiation in the FreeBSD >> handbook. You can see our nearly-final draft (pending any >> comments >> from the list, and pending the repair of VirtualBox so it can work >> with FreeBSD 10) at: >> >> http://www.petitecloud.org/**handbook.jsp >> > > "Firefox can't find the server at www.petitecloud.org." > > > >> We would appreciate comments, especially any corrections or >> suggested clarifications regarding bhyve. >> >> >> ______________________________**_________________ >> freebsd-virtualization@**freebsd.org >> mailing list >> http://lists.freebsd.org/**mailman/listinfo/freebsd-**virtualization >> To unsubscribe, send any mail to "freebsd-virtualization-** >> unsubscribe@freebsd.org >> " >> >> > ______________________________**_________________ > freebsd-virtualization@**freebsd.org > mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**virtualization > To unsubscribe, send any mail to "freebsd-virtualization-** > unsubscribe@freebsd.org > " > From owner-freebsd-virtualization@FreeBSD.ORG Fri Oct 11 14:07:13 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id DED4E90D for ; Fri, 11 Oct 2013 14:07:13 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-pa0-x235.google.com (mail-pa0-x235.google.com [IPv6:2607:f8b0:400e:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B5A9F27A6 for ; Fri, 11 Oct 2013 14:07:13 +0000 (UTC) Received: by mail-pa0-f53.google.com with SMTP id kq14so4416763pab.26 for ; Fri, 11 Oct 2013 07:07:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=d9PPuLzHNLriWNfGt5YeDQNJtZUAQVjPYW9NALpV4UE=; b=MpSZ1QptjhQIfvp+IPmeiFNT1RFL3uS+mD5DTyvIimIKnI7ZHUtQt/DV2ACqxlvLOT jt1NmdsnXKlKoM6fb4N/dWWGt0M+GNFIJMyt3TKD8tggzZLkXmP4O4Pso6G68qHKF0s+ R/pG6tF1l9+WixLYRaLVuftSoTTIlFiJT9iOBi3ZPejbcNAQ2FV/lLM6/cHBWhrl9Qpj dC9Db/FQCHpygyhHK9ghI6k+tMLu2a7W5fG5mZG3K3ZjxMm1N1AIhz9Jl9NPQl58T/CK 1SRQhPG0qn7CTkcxzA9AcDttJ7P0334VVkxLQWaP9y+xhxpGxmOoauNmU4drZ0upf0Sa g7Hg== MIME-Version: 1.0 X-Received: by 10.68.101.3 with SMTP id fc3mr20177991pbb.107.1381500433283; Fri, 11 Oct 2013 07:07:13 -0700 (PDT) Received: by 10.70.92.79 with HTTP; Fri, 11 Oct 2013 07:07:13 -0700 (PDT) In-Reply-To: <39e2d1f5749851e0255265e3e287ee76.squirrel@webmail.nyclocal.net> References: <1b3fa9535a9d8cd00eac41a2e3623f25.squirrel@webmail.nyclocal.net> <525772CB.2090605@freebsd.org> <39e2d1f5749851e0255265e3e287ee76.squirrel@webmail.nyclocal.net> Date: Fri, 11 Oct 2013 09:07:13 -0500 Message-ID: Subject: Re: RFC: Changes to handbook on virtualization From: Adam Vande More To: Dee Nixon Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD virtualization X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Fri, 11 Oct 2013 14:07:13 -0000 On Fri, Oct 11, 2013 at 9:00 AM, Dee Nixon wrote: > Must have been a brief temporary glitch. The link is indeed working: > > http://www.petitecloud.org/handbook.jsp > > It's not resolving here from 2 different dns paths. -- Adam Vande More From owner-freebsd-virtualization@FreeBSD.ORG Fri Oct 11 17:43:32 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 2A0B9BC2 for ; Fri, 11 Oct 2013 17:43:32 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-pd0-x234.google.com (mail-pd0-x234.google.com [IPv6:2607:f8b0:400e:c02::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 01D172694 for ; Fri, 11 Oct 2013 17:43:31 +0000 (UTC) Received: by mail-pd0-f180.google.com with SMTP id y10so4548134pdj.39 for ; Fri, 11 Oct 2013 10:43:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=wxyx3gRqOwLHrt1p+Nw/gYdzsRtZhx9HYb+AoX/GyD4=; b=lsoY4bDYJHg3mRSmtq6nPXPn+C4BIjXZxNK5pNwImU5JmHvfF9G0MV6P2hZYUGwCPO vnSpg6bD1OQ6xi0w8PQ7GCSuihz1WQZpZnqw/bACJwauFttolU1H0u8MndDTHcFAI2TD Ycrp1yeazs2TINNfhJrbWtLvXhGHM1t91onLSEhEYVTGAMh3vAuZC/ppkJ8xHID4KwII QHWoSSEXBUNsYH2jhkHiTn6AfJHvCgOmFQOtbQaAVOnvAO8itTY9HGbFS8zdEH/RwpyW CU0JbWqMG8YK7LZkjA8jhHG/rP+9WOAQgr/e6rlpehC2/lbzuRCZN6RdQjVxOvcWnGwd eTEA== MIME-Version: 1.0 X-Received: by 10.66.233.37 with SMTP id tt5mr22575346pac.95.1381513411590; Fri, 11 Oct 2013 10:43:31 -0700 (PDT) Received: by 10.68.59.3 with HTTP; Fri, 11 Oct 2013 10:43:31 -0700 (PDT) In-Reply-To: References: <1b3fa9535a9d8cd00eac41a2e3623f25.squirrel@webmail.nyclocal.net> <525772CB.2090605@freebsd.org> <39e2d1f5749851e0255265e3e287ee76.squirrel@webmail.nyclocal.net> Date: Fri, 11 Oct 2013 13:43:31 -0400 Message-ID: Subject: Re: RFC: Changes to handbook on virtualization From: Aryeh Friedman To: Adam Vande More , "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Fri, 11 Oct 2013 17:43:32 -0000 On Fri, Oct 11, 2013 at 10:07 AM, Adam Vande More wrote: > On Fri, Oct 11, 2013 at 9:00 AM, Dee Nixon > wrote: > > > Must have been a brief temporary glitch. The link is indeed working: > > > > http://www.petitecloud.org/handbook.jsp > > > > > It's not resolving here from 2 different dns paths. > Send me the output of the output of dig From owner-freebsd-virtualization@FreeBSD.ORG Fri Oct 11 17:53:31 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 618FB12E for ; Fri, 11 Oct 2013 17:53:31 +0000 (UTC) (envelope-from tony@tndh.net) Received: from express.tndh.net (express.tndh.net [IPv6:2001:470:e930:1240:20d:56ff:fe04:4c0a]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2E99A2747 for ; Fri, 11 Oct 2013 17:53:31 +0000 (UTC) Received: from express.tndh.local ([2001:470:e930:1240:20d:56ff:fe04:4c0a] helo=eaglet) by express.tndh.net with esmtp (Exim 4.72 (FreeBSD)) (envelope-from ) id 1VUgtw-000L7N-J1 for freebsd-virtualization@freebsd.org; Fri, 11 Oct 2013 10:53:30 -0700 From: "Tony Hain" To: Subject: fastide on hyper-v (pre r2) Date: Fri, 11 Oct 2013 10:53:24 -0700 Message-ID: <02c701cec6aa$c8500370$58f00a50$@tndh.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Content-Language: en-us Thread-Index: Ac7GpkzA9dKm+xgsT+yhsjBIKwLRkA== X-Spam-Score: 1.4 (+) X-Spam-Report: Spam detection software, running on the system "express.tndh.net", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: I am not able to get fastide working on sbs2008 with the pre-r2 version of hyper-v. Should this work? Has testing been done on older versions of hyper-v? I see there was a commit by grehan 18 hours, 30 minutes ago dealing with the cdrom, so I have a new build in process. To be honest I hadn't gotten far enough to worry about the cdrom device yet, but it is good to see that is dealt with. [...] Content analysis details: (1.4 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FSL_HELO_NON_FQDN_1 FSL_HELO_NON_FQDN_1 1.4 DOS_OUTLOOK_TO_MX Delivered direct to MX with Outlook headers X-SA-Exim-Connect-IP: 2001:470:e930:1240:20d:56ff:fe04:4c0a X-SA-Exim-Mail-From: tony@tndh.net X-SA-Exim-Scanned: No (on express.tndh.net); SAEximRunCond expanded to false X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Fri, 11 Oct 2013 17:53:31 -0000 I am not able to get fastide working on sbs2008 with the pre-r2 version of hyper-v. Should this work? Has testing been done on older versions of hyper-v? I see there was a commit by grehan 18 hours, 30 minutes ago dealing with the cdrom, so I have a new build in process. To be honest I hadn't gotten far enough to worry about the cdrom device yet, but it is good to see that is dealt with. There is an extensive list of things I have tried in the thread http://forums.freebsd.org/showthread.php?p=236012#post236012 In short, if I leave fastide on, it will panic before it gets to error 19, but if I turn it off I can boot to ada0p2, or any label I give the device. My suspicion is that all of the dev work has been done on hyperv-r2, so there may be an oversight. In any case it is good to see all the progress. I have been running FreeBSD in VM's hobbled by the inability to reboot without manual intervention for 4 years, hoping this would happen. Even without fastide, once 10 goes to RELEASE I can move some of the production work off of dedicated hardware. Tony From owner-freebsd-virtualization@FreeBSD.ORG Fri Oct 11 18:40:04 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D4D271EE for ; Fri, 11 Oct 2013 18:40:04 +0000 (UTC) (envelope-from abgupta@microsoft.com) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1lp0149.outbound.protection.outlook.com [207.46.163.149]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 83A032A5D for ; Fri, 11 Oct 2013 18:40:03 +0000 (UTC) Received: from BL2PR03MB210.namprd03.prod.outlook.com (10.255.230.144) by BL2PR03MB212.namprd03.prod.outlook.com (10.255.230.151) with Microsoft SMTP Server (TLS) id 15.0.785.10; Fri, 11 Oct 2013 18:39:56 +0000 Received: from BL2PR03MB210.namprd03.prod.outlook.com ([169.254.1.122]) by BL2PR03MB210.namprd03.prod.outlook.com ([169.254.1.105]) with mapi id 15.00.0785.001; Fri, 11 Oct 2013 18:39:55 +0000 From: "Abhishek Gupta (LIS)" To: Tony Hain , "freebsd-virtualization@freebsd.org" Subject: RE: fastide on hyper-v (pre r2) Thread-Topic: fastide on hyper-v (pre r2) Thread-Index: Ac7GpkzA9dKm+xgsT+yhsjBIKwLRkAACeffA Date: Fri, 11 Oct 2013 18:39:55 +0000 Message-ID: References: <02c701cec6aa$c8500370$58f00a50$@tndh.net> In-Reply-To: <02c701cec6aa$c8500370$58f00a50$@tndh.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [2001:4898:80e0:ed43::2] x-forefront-prvs: 0996D1900D x-forefront-antispam-report: SFV:NSPM; SFS:(13464003)(199002)(189002)(164054003)(377454003)(50834001)(81816001)(47446002)(74662001)(83322001)(77096001)(83072001)(76576001)(16799955002)(85306002)(15975445006)(81686001)(54356001)(74366001)(19580405001)(19580395003)(80976001)(33646001)(74502001)(74706001)(74876001)(65816001)(74316001)(15202345003)(31966008)(51856001)(69226001)(80022001)(59766001)(79102001)(81342001)(15188155005)(54316002)(76796001)(76786001)(50986001)(56776001)(56816003)(47976001)(46102001)(81542001)(53806001)(76482001)(63696002)(77982001)(47736001)(49866001)(4396001)(85806001)(3826001)(24736002); DIR:OUT; SFP:; SCL:1; SRVR:BL2PR03MB212; H:BL2PR03MB210.namprd03.prod.outlook.com; CLIP:2001:4898:80e0:ed43::2; FPR:; RD:InfoNoRecords; A:1; MX:1; LANG:en; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: DuplicateDomain-a84fc36a-4ed7-4e57-ab1c-3e967bcbad48.microsoft.com X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Fri, 11 Oct 2013 18:40:05 -0000 Hi Tony, You are correct. As of now we have only tested the drivers on Server 2012. = You can get them to work on Server 2008R2 but Server 2008 will have some pr= oblems. Currently we are focused on getting the drivers functional on Serve= r 2012 for FreeBSD 10 and then we may start expanding to past versions of W= indows servers if there is sufficient demand. Having said that I would be i= nterested in hearing more about the panic that you are observing. Is it pos= sible for you to share a stack trace? Please keep me posted on your issues. Thanks, Abhishek Gupta PM, BSD Integration Services Microsoft Corporation -----Original Message----- From: owner-freebsd-virtualization@freebsd.org [mailto:owner-freebsd-virtua= lization@freebsd.org] On Behalf Of Tony Hain Sent: Friday, October 11, 2013 10:53 AM To: freebsd-virtualization@freebsd.org Subject: fastide on hyper-v (pre r2) I am not able to get fastide working on sbs2008 with the pre-r2 version of = hyper-v. Should this work? Has testing been done on older versions of hyper= -v? I see there was a commit by grehan 18 hours, 30 minutes ago dealing wit= h the cdrom, so I have a new build in process. To be honest I hadn't gotten= far enough to worry about the cdrom device yet, but it is good to see that= is dealt with.=20 There is an extensive list of things I have tried in the thread http://forums.freebsd.org/showthread.php?p=3D236012#post236012 In short, if I leave fastide on, it will panic before it gets to error 19, = but if I turn it off I can boot to ada0p2, or any label I give the device. My suspicion is that all of the dev work has been done on hyperv-r2, so the= re may be an oversight. In any case it is good to see all the progress. I have been running FreeBSD= in VM's hobbled by the inability to reboot without manual intervention for= 4 years, hoping this would happen. Even without fastide, once 10 goes to R= ELEASE I can move some of the production work off of dedicated hardware. Tony _______________________________________________ freebsd-virtualization@freebsd.org mailing list http://lists.freebsd.org/ma= ilman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebs= d.org" From owner-freebsd-virtualization@FreeBSD.ORG Sat Oct 12 20:36:20 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4DBE61F4 for ; Sat, 12 Oct 2013 20:36:20 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: from mail-lb0-x234.google.com (mail-lb0-x234.google.com [IPv6:2a00:1450:4010:c04::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CC99A2FD3 for ; Sat, 12 Oct 2013 20:36:19 +0000 (UTC) Received: by mail-lb0-f180.google.com with SMTP id q8so4476482lbi.39 for ; Sat, 12 Oct 2013 13:36:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=0D9W6P2DUNVvjJ+J+/7L+LMG2V5b9rQl0iCss5j2CHo=; b=pKHdy1EZ2l3Crhy3d/wUIvJsNTOLayDF/qEqy7q3ETDZXf3oVgQZRjSiwG/hEbk0tz lXWb3lTTyE6WfNl2HP4W1zYQT8i2xALg/iNKLCJdkqR61bJtUdhQPuTxJuQ6VWfh+i2U ZHo3t50xEPAMkDlPqY13rAXdOjVSrEUc1f2ArcvMwjIqZUMJKBc1EOsTsU9eqaVdPpO/ 4YyFfhApredwhLCsRSInq+A5GkX5kpdUdG50uNxox5qcJxmLVKQ8Mdv/KO9AU6cQFFk0 GYR1SFdNFcIxkaIPPV6R2RcBKh4Dpjkza4T8FEhX2fRpIO7W+CNBguv+DiWzNl60/Cmt S9NQ== MIME-Version: 1.0 X-Received: by 10.112.143.3 with SMTP id sa3mr22593631lbb.12.1381610177725; Sat, 12 Oct 2013 13:36:17 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.139.132 with HTTP; Sat, 12 Oct 2013 13:36:17 -0700 (PDT) In-Reply-To: References: Date: Sat, 12 Oct 2013 13:36:17 -0700 X-Google-Sender-Auth: MHBsM_8d7z2dUtqvbnGRvIhQtX8 Message-ID: Subject: Re: Running FreeNAS under BHyve From: Craig Rodrigues To: Aryeh Friedman Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 12 Oct 2013 20:36:20 -0000 On Thu, Oct 10, 2013 at 6:31 PM, Aryeh Friedman wrote: > > > > On Thu, Oct 10, 2013 at 7:36 PM, Craig Rodrigues wrote: > >> >> If DHCP works, you should be able to access the FreeNAS web GUI >> using a web browser, via the IP address that the BHyve VM got from DHCP. >> >> >> > How do you find this out sort of asking your local DHCP server which may > or may not be available depending on setup of DHCP > > If a DHCP address is obtained, it will be displayed on the console. -- Craig From owner-freebsd-virtualization@FreeBSD.ORG Sat Oct 12 21:39:02 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C0950B45; Sat, 12 Oct 2013 21:39:02 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-pd0-x231.google.com (mail-pd0-x231.google.com [IPv6:2607:f8b0:400e:c02::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9455D2211; Sat, 12 Oct 2013 21:39:02 +0000 (UTC) Received: by mail-pd0-f177.google.com with SMTP id y10so5723790pdj.8 for ; Sat, 12 Oct 2013 14:39:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=O1n2HWwzE9UJqqtE/U6KlWNQbIFDzt3S9EEjWMWnPJs=; b=FOYpQdvME52ebnfSxjqNfcPyBlwh86TO0/VUoYggvxaDWKk1aEYo3jsAlf8WdBWyUp IVOqpSnrCDLtAxxoDa6DxP0tFEKN+Lpxtt6cjzd149XbrFQupl/Yy/ZrDLeWZm5j4LCm oZtwjaENiJtu2AiTN4WH3oYA9H4SHA/u5sDTO/QZ9N6IX3E6Jf0k2w3F9GFNNJgqv5fm jLX8BOiJOh803fx++7Gxmh7VKq35b+/musIMHcc3hHdJ+AtCGmV+zk3cSaKBs0otqueh l7YP5oBBp0wo1wFV0M7y33XI42M+a8YUV16Zb28YPdrb4okLMx+BEenQtKECdLJTJvNb +m0g== MIME-Version: 1.0 X-Received: by 10.66.146.199 with SMTP id te7mr29451391pab.106.1381613942183; Sat, 12 Oct 2013 14:39:02 -0700 (PDT) Received: by 10.68.59.3 with HTTP; Sat, 12 Oct 2013 14:39:02 -0700 (PDT) In-Reply-To: References: Date: Sat, 12 Oct 2013 17:39:02 -0400 Message-ID: Subject: Re: Running FreeNAS under BHyve From: Aryeh Friedman To: Craig Rodrigues Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 12 Oct 2013 21:39:02 -0000 > > How do you find this out sort of asking your local DHCP server which may >> or may not be available depending on setup of DHCP >> >> > If a DHCP address is obtained, it will be displayed on the console. > This assumes that there is a visible console. petitecloud, for example only, currently shows the guest console once (the first reboot after installing. You can always run bhyve from the command line [we even provide a script for this, to be documented in petitecloud 0.2]).... in such cases how do you get the IP address and other configurations on each lease change?