From owner-freebsd-hackers@freebsd.org Wed Dec 27 17:15:16 2017 Return-Path: Delivered-To: freebsd-hackers@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 2DD12EA2015; Wed, 27 Dec 2017 17:15:16 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-lf0-x229.google.com (mail-lf0-x229.google.com [IPv6:2a00:1450:4010:c07::229]) (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 BCD0D6DA10; Wed, 27 Dec 2017 17:15:15 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-lf0-x229.google.com with SMTP id o26so28709034lfc.10; Wed, 27 Dec 2017 09:15:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=zy3Kwhdy74Tl5mXUkiB0n6nYdDWjbRF1ZlxU33xj1Do=; b=u0/tZeSpyxyxlBDWJExJoAJt+pLNRKO3p3cQDE9RtRW7alHYx5MAd64r6whkoFl7Gt kO9mFsNVp1trvfyr7X6a5uundEfRGruwyM8I3qnmZsAS+q7kyAo+T8W+8XTHG2M3YfbA FTZOZKxMKQDnmVfyTmIOUu2fQ6447V3KjFbfW1Y3EzzILpXyeucGQ/7UhCB7/jUcl6pY gxF7h/pL9PEq8xzL6wC9FzZvbgdZSnd9TG1g3uz2TVwvfrqcxClLc1l44uNSHaNiP8gW X0H640P+CX9ub2kMazg2n7G6ydW7N9zYp6xKbKFMyOBs7V8d5OdV+TpIQNb52PmFMjNe WFDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=zy3Kwhdy74Tl5mXUkiB0n6nYdDWjbRF1ZlxU33xj1Do=; b=NNmAUBAfJdwHphYKyociM8l82Jhx1M6fyoLFcrGbbkgGGmS9oX4KUfkTGyjdGY+7Ea sFjPr9zkQnPfG7ZuZ9aQJ9crLlXsKLtIDRioTgJnZxs55wSdzpfxy02cip4HCHOuI1yX PLTF4yfZi3SON8QE+F2UUGkGxPEoJ0skrqVsFWRYcdlyUdlw/oL81Zy0mn24/bJDobz9 hoQ00QAgS1l1Wv5yNPJ+sTOVURZfFxfUl7JCki3QJ2bIuBLvEF+yr2C82XlQrrJwdJgQ QthCAy/9+boMXB/Ucl9jpI1e8rbJhXDqUyHzOcFa7plYTs09QK3FR74O+UXpCuXgMee6 /RjQ== X-Gm-Message-State: AKGB3mIirmkPmtMZP9W4yytKV6LR3NILgkfY14OpUw/G3fRJtQkZXrFw JGzl2A4bWynhquIhOJgDTqsnK+Wa0G9+iVUujSc= X-Google-Smtp-Source: ACJfBotZ68mcEnlPLJXwFgGbtcKJZJBcpDcthxvMSrWlO9V+WW42wQzpPclBWRAZ7Nt9DdmP19VbsxDi108Q3DthZNU= X-Received: by 10.25.151.211 with SMTP id z202mr1769523lfd.51.1514394913713; Wed, 27 Dec 2017 09:15:13 -0800 (PST) MIME-Version: 1.0 Sender: asomers@gmail.com Received: by 10.179.76.19 with HTTP; Wed, 27 Dec 2017 09:15:12 -0800 (PST) In-Reply-To: References: From: Alan Somers Date: Wed, 27 Dec 2017 10:15:12 -0700 X-Google-Sender-Auth: ULpyuG8OLoj6lkiBlf2ao30p5Ps Message-ID: Subject: Re: Running dual boot windows inside of bhyve To: Aryeh Friedman Cc: "freebsd-virtualization@freebsd.org" , FreeBSD Mailing List , FreeBSD Mailing List Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Dec 2017 17:15:16 -0000 On Mon, Dec 25, 2017 at 5:12 PM, Aryeh Friedman wrote: > Cross posted to virtualization@, hackers@ and questions. > > I have a dual boot machine (windows 7 64 bit and fbsd 11.1-RELEASE [amd64]) > and want to run the windows partition as a vm in bhyve how would I go about > this. Bonus if the process is standalone scriptable so I can add it as a > feature of PetiteCloud. > > I fear that you may be out of luck. Windows deliberately frustrates this use case by profiling its hardware at installation time and at every boot thereafter. If the hardware changes too much, then Windows demands a new license fee. Moving from physical hardware to a VM would probably trip every one of its alarms. For this reason, I would recommend using a separate instance for your VM. However, if you do use a shared instance, then make sure that your PC is booting in UEFI mode. BHyve can only boot Windows in that mode. If you do that, then BHyve will probably be able to boot it just fine. -Alan