From owner-freebsd-virtualization@freebsd.org Mon Feb 26 14:17:39 2018 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8BD9AF27E67 for ; Mon, 26 Feb 2018 14:17:39 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DAB1677050 for ; Mon, 26 Feb 2018 14:17:38 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id w1QEHYaY010436; Mon, 26 Feb 2018 06:17:34 -0800 (PST) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd-rwg@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id w1QEHXlQ010435; Mon, 26 Feb 2018 06:17:33 -0800 (PST) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201802261417.w1QEHXlQ010435@pdx.rh.CN85.dnsmgr.net> Subject: Re: Migrate from real server to virtual In-Reply-To: <1519624732.983711988.ao3r3oq0@frv52.fwdcdn.com> To: wishmaster Date: Mon, 26 Feb 2018 06:17:33 -0800 (PST) CC: "freebsd-virtualization@freebsd.org" X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.25 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, 26 Feb 2018 14:17:39 -0000 > Hi, colleagues. > > There is a server running with Windows Server 2008 R2 and I am attempting launch this server in virtual environment as a back up. But there is one big problem - I can not shutdown this server. > My first step was creating a VHD image with help of Disk2vhd. Then a converted this image from VHD to raw image with qemu. > I don't know boot setting of BIOS. > > With this command I am unable to start the server. > > bhyve -c 2 -s 0,hostbridge -s 3,ahci-hd,/vm/img/disk1.raw -s 4,ahci-cd,/VM/distro/null.iso -s 10,virtio-net,tap1 -s 20,fbuf,tcp=192.168.0.254:5900,w=800,h=600,wait -s 21,lpc -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd -m 6G -H -w windows2 > > Boot Filed. UEFI Hard Drive > > Any ideas? You mention how you start it, what are you using to try and stop it? Also what version of FreeBSD are you running as a host? Are you saying you can not connect to the vnc on 192.168.0.254:5900 and tell windows to shutdown? Or are you saying you connect to that vnc and even though you told windows to shutdown it fails to do so? Sorry for all the questions, and no answer, but it is not clear exactly what your problem is. -- Rod Grimes rgrimes@freebsd.org