From owner-freebsd-virtualization@freebsd.org Sun Oct 4 20:11:53 2015 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 371BFA1004A for ; Sun, 4 Oct 2015 20:11: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 EFC441480 for ; Sun, 4 Oct 2015 20:11:52 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTP id 32150114E0 for ; Mon, 5 Oct 2015 06:11:44 +1000 (EST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id 2CED2280F8B for ; Mon, 5 Oct 2015 06:11:44 +1000 (AEST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TvP1-jMuQ_ZU for ; Mon, 5 Oct 2015 06:11:44 +1000 (AEST) Received: from Peters-MacBook-Pro.local (c-50-131-190-8.hsd1.ca.comcast.net [50.131.190.8]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id 93096280995 for ; Mon, 5 Oct 2015 06:11:41 +1000 (AEST) To: "freebsd-virtualization@freebsd.org" From: Peter Grehan Subject: Windows support in bhyve Message-ID: <561187FB.8040506@freebsd.org> Date: Sun, 4 Oct 2015 13:11:39 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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, 04 Oct 2015 20:11:53 -0000 As of r288524, bhyve has preliminary support to run Windows in headless mode using UEFI firmware. Since it's headless, the install process consists of modifying the Windows install ISO to include an 'unattend' XML script that automates the install, and also inserting the virtio network driver currently required by bhyve. This has been tested with 64-bit Windows Server 2k12r2 and 2k16 tp3, and Windows 10. The server versions are recommended since they have serial console support, whereas the desktop install is a black-screen experience. ISO repack instructions at: http://people.freebsd.org/~grehan/bhyve_uefi/windows_iso_repack.txt Install/run instructions at: http://people.freebsd.org/~grehan/bhyve_uefi/windows_install.txt Please give this a try and report back on how it goes. A big thanks to Leon Dang from Nahanni Systems who contributed the majority of Windows support; Tycho Nightingale from Pluribus Networks who did the intial UEFI work, and Ben Perrault who helped out enormously with test and debug. later, Peter. (Win 7/8 and 2k8r2 have some problems that appeared in the final merge of this work - it's being looked into). From owner-freebsd-virtualization@freebsd.org Sun Oct 4 20:25:20 2015 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0AA24A10AFE for ; Sun, 4 Oct 2015 20:25:20 +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 C2F7A1B0A for ; Sun, 4 Oct 2015 20:25:19 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTP id 32BE9114F2 for ; Mon, 5 Oct 2015 06:25:18 +1000 (EST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id 2ADB3280F8B for ; Mon, 5 Oct 2015 06:25:18 +1000 (AEST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KLYnuXx2Qdxj for ; Mon, 5 Oct 2015 06:25:18 +1000 (AEST) Received: from Peters-MacBook-Pro.local (c-50-131-190-8.hsd1.ca.comcast.net [50.131.190.8]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id 9CB10280995 for ; Mon, 5 Oct 2015 06:25:17 +1000 (AEST) To: "freebsd-virtualization@freebsd.org" From: Peter Grehan Subject: Illumos support in bhyve Message-ID: <56118B2B.2040101@freebsd.org> Date: Sun, 4 Oct 2015 13:25:15 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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, 04 Oct 2015 20:25:20 -0000 To follow up on the previous post, with the UEFI support introduced in r288524, bhyve can now boot Illumos since there is a working BIOS. This has been tested with SmartOS and also OpenIndiana and OmniOS, though I've not been able to work out how to enable serial console support for the latter two post-install. The best bet is the most recent SmartOS: https://us-east.manta.joyent.com/Joyent_Dev/public/SmartOS/smartos-latest.iso Grab the UEFI build with CSM/BIOS enabled: http://people.freebsd.org/~grehan/bhyve_uefi/BHYVE_UEFI_CSM_20151002.fd An example command line is: bhyve \ -c 2 \ -s 3,ahci-cd,/path/to/smartos-20151001T070028Z.iso \ -s 4,ahci-hd,/path/to/smartos.img \ -s 5,virtio-net,tap0 \ -s 31,lpc \ -l com1,/dev/nmdm0A \ -l com2,/dev/nmdm1A \ -l bootrom,/path/to/BHYVE_UEFI_CSM_20151002.fd \ -m 2G -H smartos UEFI/CSM debug output is on com1, grub1 is on com2, install is on com1. On a reboot after install, login sessions are enabled for both com1 and com2. Many thanks to Andriy Gapon for helping out with debug, and Ben Perrault for giving it a good shakeout. later, Peter. From owner-freebsd-virtualization@freebsd.org Sun Oct 4 21:00:35 2015 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7586EA0FAEB for ; Sun, 4 Oct 2015 21:00:35 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F8781ECC for ; Sun, 4 Oct 2015 21:00:35 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t94L0Z7f028500 for ; Sun, 4 Oct 2015 21:00:35 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201510042100.t94L0Z7f028500@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: freebsd-virtualization@FreeBSD.org Subject: Problem reports for freebsd-virtualization@FreeBSD.org that need special attention X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 Date: Sun, 04 Oct 2015 21:00:35 +0000 Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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, 04 Oct 2015 21:00:35 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- In Progress | 202321 | [bhyve,patch] More verbose error reporting in bhy New | 202322 | [bhyve,patch] add option to have bhyve write its 2 problems total for which you should take action. From owner-freebsd-virtualization@freebsd.org Mon Oct 5 22:01:50 2015 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C9EBC9B6B01 for ; Mon, 5 Oct 2015 22:01:50 +0000 (UTC) (envelope-from trentnthompson@gmail.com) Received: from mail-lb0-x230.google.com (mail-lb0-x230.google.com [IPv6:2a00:1450:4010:c04::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 567D7FAC for ; Mon, 5 Oct 2015 22:01:50 +0000 (UTC) (envelope-from trentnthompson@gmail.com) Received: by lbos8 with SMTP id s8so65890953lbo.0 for ; Mon, 05 Oct 2015 15:01:48 -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=C+yWUo+FN3ADVOMYubCErSdfUfjI9RGC6u/hcieeCNY=; b=US7BJ6lU1/K3Ol7U+AWmjiFBLLoBz+RAprnq6KWC7Ik3Kidtv+CQhTuC6sWyDb1JOe ah7kI6gA60wk9YWrwW8J6D+ztv9NQi8f5FL3QTmbEuaLD5pBBYafdkJYkwOd604xg3dS AaZsnGQFm3ukwTZDmJy82IfJzGRyTu7FRS/TypNDVC1TrwCLtWOmyEIkihZcuKFnT1Tg L1EqwEVF5/eYgsL2ADxNxE7Za0soAvUdQV0veEtkBC/7uI8GQEwGE9FISZBCmQ9BMkGo POPERPWPeIOoeW3yrOwsep9yBogsDisKzo0wXsrd4vgiQCr6XkROnuIJSOPxLXOoaryU 7jrQ== MIME-Version: 1.0 X-Received: by 10.112.126.8 with SMTP id mu8mr12673939lbb.75.1444082508205; Mon, 05 Oct 2015 15:01:48 -0700 (PDT) Received: by 10.25.213.2 with HTTP; Mon, 5 Oct 2015 15:01:48 -0700 (PDT) Date: Mon, 5 Oct 2015 16:01:48 -0600 Message-ID: Subject: Windows/bhyve Bluescreen 0x50 From: Trent Thompson To: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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, 05 Oct 2015 22:01:50 -0000 I started playing with Peter's Windows guide and have run into a Blue Screen of Death already. I am using Windows 2016, and only changed the passwords in the AutoUnattend. The zvol is 64GB in size. I also tried it with a 40GB empty file for a disk, just to be sure. The last 150 lines or so of the SAC output can be found here: https://gist.github.com/pr1ntf/f019e5922bee6dbc791d Well, it's not blue, it's just some XML: "0x50" not yet initialized 6705f931-08ba-c735-96d1-029071535649 amd64 10.0 10514 Windows Server 2012 R2 None Great stuff, by the way. Pretty cool to at least make it this far. From owner-freebsd-virtualization@freebsd.org Mon Oct 5 22:08:04 2015 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A74569B6F59 for ; Mon, 5 Oct 2015 22:08:04 +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 69328233 for ; Mon, 5 Oct 2015 22:08:04 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTP id 0D0C311442 for ; Tue, 6 Oct 2015 08:07:56 +1000 (EST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id 06C3B282029 for ; Tue, 6 Oct 2015 08:07:56 +1000 (AEST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LCmD-jk8BV9f for ; Tue, 6 Oct 2015 08:07:55 +1000 (AEST) Received: from Peters-MacBook-Pro.local (unknown [64.245.0.210]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id 064A7280995; Tue, 6 Oct 2015 08:07:52 +1000 (AEST) Subject: Re: Windows/bhyve Bluescreen 0x50 To: Trent Thompson References: Cc: freebsd-virtualization@freebsd.org From: Peter Grehan Message-ID: <5612F4B6.7060400@freebsd.org> Date: Mon, 5 Oct 2015 15:07:50 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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, 05 Oct 2015 22:08:04 -0000 Hi Trent, > I started playing with Peter's Windows guide and have run into a Blue > Screen of Death already. > I am using Windows 2016, and only changed the passwords in the AutoUnattend. If you didn't already, you'll have to change the license key text as well (or remove it ala the 2012r2 unattend script). I had a report with the same STOP code and it turned out to be that. later, Peter. From owner-freebsd-virtualization@freebsd.org Wed Oct 7 19:29:11 2015 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3F6369D1871 for ; Wed, 7 Oct 2015 19:29:11 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: from mail-yk0-x22d.google.com (mail-yk0-x22d.google.com [IPv6:2607:f8b0:4002:c07::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 10E85C3; Wed, 7 Oct 2015 19:29:11 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: by ykdg206 with SMTP id g206so28134857ykd.1; Wed, 07 Oct 2015 12:29:10 -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=BbapIKEg+g7vAXEWRzTzTBkTARlvytueHQOaGys3NPg=; b=0gKzciRHL+SFACKv67E9Omx1ZJ7VI0drrCcb33YZujWvFBZipb9sX2JT9kppkiU0aS VnmoWMLZMUUNRnJCUR+0+ZU4HdFpxBoFumb0IwVTf6Clk8CFyZ3SoPwe18Gul8R8dz93 MqTXq+2Zq5ubmcxOu3F992oY9gpGydroBUo2UDf7JLKYPRIiHIU/VOUY99byzphlE9n+ P2lAfrDumvic6CxzHz4xwtgJcP8ErLOC6S1/ClgKVFKe4U7EW+gKTWBRKTHr69mKyq/d e/7JG3/rss1ag9f/PjofLEkf8ESkHR1aW9AfYpFbKXMvaxLAkp5KgzA/EiXRmkX8/ngO f35Q== MIME-Version: 1.0 X-Received: by 10.13.214.195 with SMTP id y186mr2430136ywd.81.1444246149721; Wed, 07 Oct 2015 12:29:09 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.37.111.214 with HTTP; Wed, 7 Oct 2015 12:29:09 -0700 (PDT) In-Reply-To: <561187FB.8040506@freebsd.org> References: <561187FB.8040506@freebsd.org> Date: Wed, 7 Oct 2015 12:29:09 -0700 X-Google-Sender-Auth: 9BKuk2h8I6PqgS4fOtizX2NgP5M Message-ID: Subject: Re: Windows support in bhyve From: Craig Rodrigues To: Peter Grehan Cc: "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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, 07 Oct 2015 19:29:11 -0000 On Sun, Oct 4, 2015 at 1:11 PM, Peter Grehan wrote: > ISO repack instructions at: > http://people.freebsd.org/~grehan/bhyve_uefi/windows_iso_repack.txt > > Install/run instructions at: > http://people.freebsd.org/~grehan/bhyve_uefi/windows_install.txt > > Microsoft provides free virtual machines here: https://dev.modern.ie/tools/vms/windows/ These VM's are primarily targeted at web developers, for testing Internet Explorer. Can these VM's be made to work with bhyve? For example, by using VirtualBox to export a VM to a raw disk image. -- Craig From owner-freebsd-virtualization@freebsd.org Wed Oct 7 19:39:39 2015 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D6AFE9D1E28 for ; Wed, 7 Oct 2015 19:39:39 +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 97D0A74A for ; Wed, 7 Oct 2015 19:39:38 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTP id A377F1219B for ; Thu, 8 Oct 2015 05:39:35 +1000 (EST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id 9E1A52811A5 for ; Thu, 8 Oct 2015 05:39:35 +1000 (AEST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ab7d-0B25Mni for ; Thu, 8 Oct 2015 05:39:35 +1000 (AEST) Received: from Peters-MacBook-Pro.local (c-50-184-135-69.hsd1.ca.comcast.net [50.184.135.69]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id 0CD6B281132; Thu, 8 Oct 2015 05:39:31 +1000 (AEST) Subject: Re: Windows support in bhyve To: Craig Rodrigues References: <561187FB.8040506@freebsd.org> Cc: "freebsd-virtualization@freebsd.org" From: Peter Grehan Message-ID: <561574F0.7010900@freebsd.org> Date: Wed, 7 Oct 2015 12:39:28 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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, 07 Oct 2015 19:39:39 -0000 Hi Craig, > Microsoft provides free virtual machines here: > https://dev.modern.ie/tools/vms/windows/ > These VM's are primarily targeted at web developers, for testing > Internet Explorer. > > Can these VM's be made to work with bhyve? For example, by using > VirtualBox to export a VM to a raw disk image. Not at the moment. They are for desktop versions only, and are most likely configured for hardware that bhyve doesn't support i.e. no virtio-net driver. later, Peter. From owner-freebsd-virtualization@freebsd.org Wed Oct 7 21:43:56 2015 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 96B6E9D1199 for ; Wed, 7 Oct 2015 21:43:56 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 75B1E179; Wed, 7 Oct 2015 21:43:56 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from ralph.baldwin.cx (c-73-231-226-104.hsd1.ca.comcast.net [73.231.226.104]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 27BD1B922; Wed, 7 Oct 2015 17:43:55 -0400 (EDT) From: John Baldwin To: freebsd-virtualization@freebsd.org Cc: Andriy Gapon Subject: Re: bhyve vs host suspend/resume Date: Wed, 07 Oct 2015 14:03:15 -0700 Message-ID: <2376667.56T8bNa9sN@ralph.baldwin.cx> User-Agent: KMail/4.14.3 (FreeBSD/10.2-PRERELEASE; KDE/4.14.3; amd64; ; ) In-Reply-To: <55A4C942.8060007@FreeBSD.org> References: <55A4C942.8060007@FreeBSD.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Wed, 07 Oct 2015 17:43:55 -0400 (EDT) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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, 07 Oct 2015 21:43:56 -0000 On Tuesday, July 14, 2015 11:33:06 AM Andriy Gapon wrote: > > Not sure if there is anything that bhyve can do about the following, but maybe > it can. It seems that that after a host is suspended for several hours and > resumed while a bhyve VM is running, then time counting becomes rather broken in > the VM. > With Linux VMs I observe that date(1) keeps reporting stale pre-suspend time and > thread scheduling is broken, new processes can not be started, etc. When I've thought about this, my thoughts were to teach bhyve to support S1/S3 suspend (would just need to reset the RTC on resume, not sure what else might need to be done on resume. Ideally the vcpu threads would also idle during suspend). You could then wire up a different signal as a virtual sleep button (similar to how SIGTERM works as a virtual power button) and have hooks in rc.suspend to 'killall -SIGSUSPEND bhyve' and rc.resume to 'killall -SIGRESUME bhyve' or something like that. -- John Baldwin From owner-freebsd-virtualization@freebsd.org Thu Oct 8 15:09:45 2015 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2B8D29D29FC for ; Thu, 8 Oct 2015 15:09:45 +0000 (UTC) (envelope-from sam@cassiba.com) Received: from mail-lb0-f179.google.com (mail-lb0-f179.google.com [209.85.217.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ACEFBEE9 for ; Thu, 8 Oct 2015 15:09:44 +0000 (UTC) (envelope-from sam@cassiba.com) Received: by lbbwt4 with SMTP id wt4so50602725lbb.1 for ; Thu, 08 Oct 2015 08:09:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=aMdCo2auhLdCFTs8kykoSyn4T7xYYAqK6NDbwnNqw7o=; b=hN4KTGxEZb6bYowP4Cqd2L4SlgDaxojbObNfiCUhToJ2QA5X7VF+XqWix9HlON9us0 8rrXRNdB/ZTPGl03NhEHDoo7O9hrI17U6DwWdZel4htreSxcFq/AaVD7lBz2/+48hxUf 59sN1OExA8TMM5WWtbQD2lOPp23o4H1x0/zn6uz2JUB/mrsMzleR6x08num5XfXOK+qc uifjPscjhwhdJav3rINaEaQ2fp7p6imDy0Ko0IbKeUCZ0kz7ejRY8wvKXBMiNP/8LsAi 2VNZBuFXvZEl2QvKyANHzqu4gpifeqjiqFHhZF/5MpMXUDrQZXq1JocI+i+KT4QPYTO0 AgOQ== X-Gm-Message-State: ALoCoQkz+B/PPCfrTTA0HjodJByWT7vbiD0MNaz3/6Oet4ktY7x0fZq5DnhZ+GxpYtW4dxZNgTpH MIME-Version: 1.0 X-Received: by 10.112.130.70 with SMTP id oc6mr4021098lbb.32.1444316982099; Thu, 08 Oct 2015 08:09:42 -0700 (PDT) Received: by 10.25.213.77 with HTTP; Thu, 8 Oct 2015 08:09:42 -0700 (PDT) X-Originating-IP: [73.222.130.108] Date: Thu, 8 Oct 2015 08:09:42 -0700 Message-ID: Subject: Docker crashes on HEAD From: Samuel Cassiba To: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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, 08 Oct 2015 15:09:45 -0000 I've been playing around with Docker on FreeBSD and have encountered some crashiness. When I go to jump in a container using 'docker exec', if I accidentally typo the command, the Docker daemon itself crashes, which leaves the host and any running containers in an inconsistent state. The biggest standout from the logs seems to be: panic: runtime error: invalid memory address or nil pointer dereference [signal 0xb code=0x1 addr=0x1b pc=0x8dadcb] After the Docker daemon is restarted, I am unable to restart existing containers, with Docker saying that the file system is busy. The full output from docker.log after the Docker daemon crashes is at: https://gist.github.com/scassiba/dfdb75361de42b41636c The output from docker.log after attempting to restart the Docker daemon and a container is at: https://gist.github.com/scassiba/abb821563b2e8cb742cc Has anyone seen this on a recent copy of HEAD? Thanks. From owner-freebsd-virtualization@freebsd.org Thu Oct 8 15:14:44 2015 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 833859D2E2E for ; Thu, 8 Oct 2015 15:14:44 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from mx1.scaleengine.net (mx1.scaleengine.net [209.51.186.6]) by mx1.freebsd.org (Postfix) with ESMTP id 62B178B4 for ; Thu, 8 Oct 2015 15:14:44 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from [10.1.1.2] (unknown [10.1.1.2]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id ABCFCD2E3 for ; Thu, 8 Oct 2015 15:14:38 +0000 (UTC) Subject: Re: Docker crashes on HEAD To: freebsd-virtualization@freebsd.org References: From: Allan Jude Message-ID: <56168868.1030909@freebsd.org> Date: Thu, 8 Oct 2015 11:14:48 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2vVA9QPHLawPgLwW1IubRNRjmxfpX8KgV" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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, 08 Oct 2015 15:14:44 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --2vVA9QPHLawPgLwW1IubRNRjmxfpX8KgV Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015-10-08 11:09, Samuel Cassiba wrote: > I've been playing around with Docker on FreeBSD and have encountered so= me > crashiness. When I go to jump in a container using 'docker exec', if I > accidentally typo the command, the Docker daemon itself crashes, which > leaves the host and any running containers in an inconsistent state. Th= e > biggest standout from the logs seems to be: >=20 > panic: runtime error: invalid memory address or nil pointer dereference= > [signal 0xb code=3D0x1 addr=3D0x1b pc=3D0x8dadcb] >=20 > After the Docker daemon is restarted, I am unable to restart existing > containers, with Docker saying that the file system is busy. >=20 > The full output from docker.log after the Docker daemon crashes is at: > https://gist.github.com/scassiba/dfdb75361de42b41636c >=20 > The output from docker.log after attempting to restart the Docker daemo= n > and a container is at: https://gist.github.com/scassiba/abb821563b2e8cb= 742cc >=20 > Has anyone seen this on a recent copy of HEAD? >=20 > Thanks. > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@fr= eebsd.org" >=20 What typo should I use to recreate this? --=20 Allan Jude --2vVA9QPHLawPgLwW1IubRNRjmxfpX8KgV Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJWFohsAAoJEBmVNT4SmAt+FcYQAIaHfwzErAomT2aodeNCGkp0 PMs3tgfpiIzM2fs2Uiph1y+9zHkbUtZfrw7CxP7JvsI8xA2tRNDE+xaxkKUrd1fw D53tFwbPZ1AyqLJkoMON1vxVDFnolYexs3Pp6f2whpKrBgMTl3a4sNu/Xl1qnACq r2hVIc4QC0gk1Tiga+jibD05VfpFA2l+7KPV0oUytUPD3pSC3sPedwGiX9gcPAYl sZkG3C6Q3ch3vp8iyk91FDK16rElfifVX2ZkQfc+S2vL3uzbzWQnfw3JyeI3n5Jr MVm3EkFOA7gkcjfDEGcF7mz7u6S56ZjbA18Quissfn7soFoPJ2dt23587n7m48VP XtI6onfRgfZqYMjzNGfS/oAfm5a2A+GhTvS5HBTHj7bAuUwKFKO6R1zx6+NmrfMW AA0RC+SXUZFG12KKEpyLx2S95B6V0nFHdQp7rR/UYXp0l8BN+pRA1izobJAPu2dq 3g1aRM5JxXANEBk/kl+w/hbw22IIk2fXU7H+HeIjYzIOzt8khApwPstNjX5jNZfn kgxFm8amuN33VBI4ayIT4UNPgjKjrOwiXX96dftFSLMZa+BOnzzbusPvFrX/X3Ho Qq5dDtJmkX9uwg10a35goOQTU35HCirvPYaN7dBeFEiwr8esvnQYMnobABMxFv0e O1hFoKDiJ0ZJnpTXb0TC =qSR9 -----END PGP SIGNATURE----- --2vVA9QPHLawPgLwW1IubRNRjmxfpX8KgV-- From owner-freebsd-virtualization@freebsd.org Thu Oct 8 15:58:39 2015 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 610659D1D1E for ; Thu, 8 Oct 2015 15:58:39 +0000 (UTC) (envelope-from sam@cassiba.com) Received: from mail-lb0-f178.google.com (mail-lb0-f178.google.com [209.85.217.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 164A73A6 for ; Thu, 8 Oct 2015 15:58:38 +0000 (UTC) (envelope-from sam@cassiba.com) Received: by lbbwt4 with SMTP id wt4so52284399lbb.1 for ; Thu, 08 Oct 2015 08:58:31 -0700 (PDT) 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:date :message-id:subject:from:to:cc:content-type; bh=13lJ2dDrYy1IGnkwm1m43BHZORl3KamJo09c66tY2lU=; b=MMg9PhH7+FxMif35oBp624V1JTZ+emlN7jFfhVTfF+SJ7ewLJUIRQ4vybma6uKQPyO XmebJ5gKx0a/FWpRUR7sZty1r3LxKy9NFslEOie63dUHSAVklEh8CDpMNPxBm9xtF2Ls f38tsC8RKdKgmCTay1++P8/vkr0TuLoBeVkwdrjosgAuBs7rsjDSn6RsZrBnJbDN9jkp HsgRoBLsr1lZm0GV+YdxZDDiIZk7ZTZI0l5sAbj8yghvy3UouLL1L78pcTitvHUuR03t 1wDZZID/cgKyio+sFO4mzu5TRgFQW0w+Pdc/S/jiw+Mjg3KzGudE/cfkv+ynTHhmhFT/ jBbA== X-Gm-Message-State: ALoCoQnsJPz570Oq5yCJdAOz/mCtLXwxe22fHIltACRvsAV61+C/W6HfSdzAL8NPYaYLssjPA3ua MIME-Version: 1.0 X-Received: by 10.112.199.137 with SMTP id jk9mr4078989lbc.86.1444319911216; Thu, 08 Oct 2015 08:58:31 -0700 (PDT) Received: by 10.25.151.129 with HTTP; Thu, 8 Oct 2015 08:58:31 -0700 (PDT) X-Originating-IP: [73.222.130.108] In-Reply-To: <56168868.1030909@freebsd.org> References: <56168868.1030909@freebsd.org> Date: Thu, 8 Oct 2015 08:58:31 -0700 Message-ID: Subject: Re: Docker crashes on HEAD From: Samuel Cassiba To: Allan Jude Cc: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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, 08 Oct 2015 15:58:39 -0000 Try: docker exec -it container zsh (I suspect anything that isn't baked into the image) Since zsh probably doesn't exist in a container, Docker daemon should happily crash. On Thu, Oct 8, 2015 at 8:14 AM, Allan Jude wrote: > On 2015-10-08 11:09, Samuel Cassiba wrote: > > I've been playing around with Docker on FreeBSD and have encountered some > > crashiness. When I go to jump in a container using 'docker exec', if I > > accidentally typo the command, the Docker daemon itself crashes, which > > leaves the host and any running containers in an inconsistent state. The > > biggest standout from the logs seems to be: > > > > panic: runtime error: invalid memory address or nil pointer dereference > > [signal 0xb code=0x1 addr=0x1b pc=0x8dadcb] > > > > After the Docker daemon is restarted, I am unable to restart existing > > containers, with Docker saying that the file system is busy. > > > > The full output from docker.log after the Docker daemon crashes is at: > > https://gist.github.com/scassiba/dfdb75361de42b41636c > > > > The output from docker.log after attempting to restart the Docker daemon > > and a container is at: > https://gist.github.com/scassiba/abb821563b2e8cb742cc > > > > Has anyone seen this on a recent copy of HEAD? > > > > Thanks. > > _______________________________________________ > > freebsd-virtualization@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > > To unsubscribe, send any mail to " > freebsd-virtualization-unsubscribe@freebsd.org" > > > > What typo should I use to recreate this? > > -- > Allan Jude > > From owner-freebsd-virtualization@freebsd.org Fri Oct 9 07:38:31 2015 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 48FBA9D12E2 for ; Fri, 9 Oct 2015 07:38:31 +0000 (UTC) (envelope-from nbe@renzel.net) Received: from nijmegen.renzel.net (mx1.renzel.net [195.243.213.130]) by mx1.freebsd.org (Postfix) with ESMTP id 103C81AD for ; Fri, 9 Oct 2015 07:38:29 +0000 (UTC) (envelope-from nbe@renzel.net) Received: from dublin.vkf.isb.de.renzel.net (unknown [10.0.0.80]) by nijmegen.renzel.net (smtpd) with ESMTP id 022F61414875 for ; Fri, 9 Oct 2015 09:38:03 +0200 (CEST) Received: from asbach.renzel.net (unknown [172.18.96.1]) by dublin.vkf.isb.de.renzel.net (Postfix) with ESMTP id EE2D438CAB for ; Fri, 9 Oct 2015 09:38:02 +0200 (CEST) Content-Type: text/plain; charset="ISO-8859-1" From: Nils Beyer Organization: VKF Renzel GmbH Date: Fri, 09 Oct 2015 09:38:02 +0200 User-Agent: KNode/4.14.3 Content-Transfer-Encoding: 7Bit Subject: Re: Windows support in bhyve To: freebsd-virtualization@freebsd.org References: <561187FB.8040506@freebsd.org> Lines: 44 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.98 at nijmegen.renzel.net X-Virus-Status: Clean X-Spam-Status: No, score=3.2 required=7.0 tests=DNS_FROM_AHBL_RHSBL, MISSING_MID,UNPARSEABLE_RELAY autolearn=no version=3.3.2 X-Spam-Level: *** X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on nijmegen.renzel.net X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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, 09 Oct 2015 07:38:31 -0000 Hi Peter, Peter Grehan wrote: > As of r288524, bhyve has preliminary support to run Windows in headless > mode using UEFI firmware. > [...] > Please give this a try and report back on how it goes. trying it on a: AMD Phenom(tm) II X6 1055T Processor and FreeBSD 11.0-CURRENT #0 r289027M with debugging disabled. Using your instructions to install Win Server 2012r2, installation works, but it is slow as bread. "bhyve" itself spits out: wrmsr to register 0xc0010020(0xfffff80379e79000) on vcpu 0 rdmsr to register 0xc0010114 on vcpu 0 wrmsr to register 0xc0010020(0xfffff80000095000) on vcpu 1 rdmsr to register 0xc0010114 on vcpu 1 wrmsr to register 0x10(0) on vcpu 1 wrmsr to register 0x10(0x8f722eb4c529) on vcpu 1 wrmsr to register 0x10(0x8f722eb4c529) on vcpu 0 The processes "bhyve{vcpu 0}" and "bhyve{vcpu 1}" run at 100% CPU nearly all the time. After the three-phase installation - that succeeds - serial console (like CMD) is slow as well. "rdesktop" works, but is barely usable due to its slownesss. So, something on AMD is still not quite right. Nevertheless, many thanks and big kudos to you guys for improving "bhyve" this far... Regards, Nils From owner-freebsd-virtualization@freebsd.org Fri Oct 9 14:11:49 2015 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7A1119D2963 for ; Fri, 9 Oct 2015 14:11:49 +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 34F087EC for ; Fri, 9 Oct 2015 14:11:48 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTP id 37AC011859 for ; Sat, 10 Oct 2015 00:11:47 +1000 (EST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id 2B7312811A5 for ; Sat, 10 Oct 2015 00:11:47 +1000 (AEST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F8xpQm3no6C7 for ; Sat, 10 Oct 2015 00:11:47 +1000 (AEST) Received: from Peters-MacBook-Pro.local (c-67-180-92-13.hsd1.ca.comcast.net [67.180.92.13]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id 0AA662811A4; Sat, 10 Oct 2015 00:11:41 +1000 (AEST) Subject: Re: Windows support in bhyve To: Nils Beyer References: <561187FB.8040506@freebsd.org> <20151009073839.E80832811A5@iredmail.onthenet.com.au> Cc: freebsd-virtualization@freebsd.org From: Peter Grehan Message-ID: <5617CB18.1090101@freebsd.org> Date: Fri, 9 Oct 2015 07:11:36 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20151009073839.E80832811A5@iredmail.onthenet.com.au> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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, 09 Oct 2015 14:11:49 -0000 Hi Nils, > Using your instructions to install Win Server 2012r2, installation works, but > it is slow as bread. I know exactly what this is - a change was lost in the final merge. I'll get a new UEFI image/diff together today. later, Peter. From owner-freebsd-virtualization@freebsd.org Fri Oct 9 14:27:37 2015 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 591409D1210; Fri, 9 Oct 2015 14:27:37 +0000 (UTC) (envelope-from royger@gmail.com) Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 013EFFB; Fri, 9 Oct 2015 14:27:37 +0000 (UTC) (envelope-from royger@gmail.com) Received: by wicfx3 with SMTP id fx3so72941930wic.1; Fri, 09 Oct 2015 07:27:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:to:from:subject:message-id:date:user-agent:mime-version :content-type:content-transfer-encoding; bh=A3Re5txNV9OzStoLnnJxXihJihTE4YyrQcyEvX50bic=; b=bzeIwx2Xqdqy51waBc65jWxLXaeyqqqEmybFzJUlRYXSaOqluRO+3O7tfrbMWWYNJS HipRZZgpXQ0y+kr4Ln3qd4MbMmAIlMqsjD+X2Z5uztHkjYj/447jjBA4qLAM4LJTxVsB Gp/c96o7YwVi5i//Dvn5E5u2DYJS/Hf46/6cKZaUgGCS/TBKqNru/v08QpzYNLWCA6yw pzYnH5wkbzypQKCnnjDf/eiVN6/G9dZqO011HSzVtF27Loi/rd1xMO7Nt11Kni5iC0F7 feRwdWihgXND7zYrB7SjnsthbIzykzzpINXGci5OUE8zmI3IF6VOHjS7/DbcHq9QA+9p w74A== X-Received: by 10.180.91.225 with SMTP id ch1mr11509085wib.39.1444400855262; Fri, 09 Oct 2015 07:27:35 -0700 (PDT) Received: from [172.16.1.30] (184.Red-88-8-140.dynamicIP.rima-tde.net. [88.8.140.184]) by smtp.gmail.com with ESMTPSA id hs5sm11714859wib.6.2015.10.09.07.27.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Oct 2015 07:27:34 -0700 (PDT) Sender: =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= To: FreeBSD XEN , freebsd-virtualization@freebsd.org From: =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= Subject: HEADS UP: live migration added to Xen 4.5 packages in ports X-Enigmail-Draft-Status: N1110 Message-ID: <5617CECF.4030406@FreeBSD.org> Date: Fri, 9 Oct 2015 16:27:27 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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, 09 Oct 2015 14:27:37 -0000 Hello, I've just added patches that enable live migration, save and restore support to the Xen packages in ports: https://svnweb.freebsd.org/ports?view=revision&revision=398918 This enables live migration and save/restore of HVM and PV guests from a FreeBSD/Xen PVH Dom0. Remember that in order to use live migration between hosts the hard drive of the guest must be shared (eg: NFS). A couple of notes below on it's usage: I'm not a sysadmin, but save and restore can be used in conjunction with ZFS snapshots in order to perform checkpoints of guests: # xl save -p domain.checkpoint1 # zfs snapshot @checkpoint1 # xl unpause This will result in a save file and a ZFS snapshot that can easily be used to restore the VM to a previous known state. It should also be possible to migrate guests between a Linux and a FreeBSD Dom0 (provided there's a common shared disk storage), but I have not tested it. NB: if you don't have two hosts but still want to test it, you can do it locally: # xl migrate localhost Roger.