From owner-freebsd-virtualization@freebsd.org Mon Feb 26 14:39:23 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 7853EF29738 for ; Mon, 26 Feb 2018 14:39:23 +0000 (UTC) (envelope-from artemrts@ukr.net) Received: from frv197.fwdcdn.com (frv197.fwdcdn.com [212.42.77.197]) (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 1538D77E46 for ; Mon, 26 Feb 2018 14:39:22 +0000 (UTC) (envelope-from artemrts@ukr.net) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=ffe; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References: In-Reply-To:Message-Id:Cc:To:Subject:From:Date:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=iGCormRRNCFxP/+Rr6plNt7/9JIQHyboCe8K89aQN0s=; b=D6FoFm30wpNzbrBbCNO8Hz+Nco /OMndpN8YRzQlNO1ReJbzPG7oYHfroMNvjyqOOpT38cksnkZZaTXIc9Z/aXqPDM6QtliaDCcFhCqi GPW7rs8Yqgo3KOW09DTEfrS5Zx6gHPHm40lR1K//zSeQTIzXNr17fXeI5jfUDKoEkalg=; Received: from [10.10.10.52] (helo=frv52.fwdcdn.com) by frv197.fwdcdn.com with smtp ID 1eqJvz-0005hQ-Vh for freebsd-virtualization@freebsd.org; Mon, 26 Feb 2018 16:39:19 +0200 Date: Mon, 26 Feb 2018 16:39:19 +0200 From: wishmaster Subject: Re[2]: Migrate from real server to virtual To: "Rodney W. Grimes" Cc: "freebsd-virtualization@freebsd.org" X-Mailer: mail.ukr.net 5.0 Message-Id: <1519655843.315990939.0ghqn7l2@frv52.fwdcdn.com> In-Reply-To: <201802261417.w1QEHXlQ010435@pdx.rh.CN85.dnsmgr.net> References: <1519624732.983711988.ao3r3oq0@frv52.fwdcdn.com> <201802261417.w1QEHXlQ010435@pdx.rh.CN85.dnsmgr.net> X-Reply-Action: reply Received: from artemrts@ukr.net by frv52.fwdcdn.com; Mon, 26 Feb 2018 16:39:19 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: binary 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:39:23 -0000   --- Original message --- From: "Rodney W. Grimes" Date: 26 February 2018, 16:17:44 > > 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? Ctrl+C then bhyvectl --vm windows2 --destroy > Also what version of FreeBSD are you running as a host? FreeBSD 11.1-STABLE r329364 > Are you saying you can not connect to the vnc on 192.168.0.254:5900 > and tell windows to shutdown? I can connect to the 192.168.0.254:5900, but error is displayed: Boot Filed. UEFI Hard Drive > 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