Received: from eggs.gnu.org ([2001:4830:134:3::10]:57230) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bubei-00066r-IA for qemu-devel@nongnu.org; Thu, 13 Oct 2016 04:46:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bubee-0006Ad-5d for qemu-devel@nongnu.org; Thu, 13 Oct 2016 04:46:24 -0400 Received: from mx1.parallels.com ([199.115.104.18]:35930) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bubed-0005y3-Vn for qemu-devel@nongnu.org; Thu, 13 Oct 2016 04:46:20 -0400 References: <281df081-6657-5e95-888d-198707d9c4b2@zoho.com> From: "Denis V. Lunev" Message-ID: <24d0744f-e3ba-96de-70fc-bc40a67ecd55@virtuozzo.com> Date: Thu, 13 Oct 2016 11:46:01 +0300 MIME-Version: 1.0 In-Reply-To: <281df081-6657-5e95-888d-198707d9c4b2@zoho.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Windows 7 guest not starting with HyperV features enabled List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Aleksei , qemu-devel@nongnu.org On 10/11/2016 03:44 PM, Aleksei wrote: > Hi, > I'm using libvirt, but folks on libvirt mailing list said it makes > more sense to post here. > > I have a Windows 7 SP1 Pro 64-bit VM which works fine on libvirt 2.3.0 > and Qemu 2.7.0. > > If I enable HyperV features > (https://libvirt.org/formatdomain.html#elementsFeatures) like > "relaxed", "spinlocks" etc - VM doesn't boot. "Starting Windows" text > appears for ~2 seconds (no flying dots, no logo) and then it just goes > to black screen. If I switch HyperV features back off, it boots > normally again. > > There are no logs for that attempted boot in the guest - apparently it > doesn't get to the point when Windows starts logging. No errors logged > in libvirt's win7.log either. > > Attaching VM xml definition and libvirt-generated Qemu command line - > only "relaxed" feature is enabled. VM fails with any feature in > block enabled. Platform-specific values (smbios info etc) are > replaced. Win7 + EFI + HyperV will not work. In short words Windows has bug the HAL. (Win2k8 and Win7 have the same kernels). You can find details here: https://bugs.launchpad.net/qemu/+bug/1593605 Den