Bug 1185253
Summary: | Windows 2008 R2 or Win7 SP1 smp guest booting hang with hv_time enabled on OVMF env | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Xiaoqing Wei <xwei> | ||||
Component: | virt-manager | Assignee: | Giuseppe Scrivano <gscrivan> | ||||
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.1 | CC: | cfergeau, crobinso, gscrivan, juzhang, juzhou, knoel, lersek, mzhan, pbonzini, phrdina, tzheng, vbenes, virt-maint, xiaodwan, xwei | ||||
Target Milestone: | rc | Keywords: | Upstream | ||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Windows | ||||||
Whiteboard: | |||||||
Fixed In Version: | virt-manager-1.2.0-4-el7 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-11-19 05:23:53 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1205796 | ||||||
Attachments: |
|
Description
Xiaoqing Wei
2015-01-23 10:20:29 UTC
Okay, I managed to install a Win2012 R2 Server and define a Gen 2(without secure boot) with Windows 2008 R2 iso, after press a key to let vm boot from cdrom, it also hangs(showing 'Starting Windows' forever). the hang point is even earlier on kvm, single process also doesn't help. no knowing where to turn hv_time off on hyper-v, cant do the test. search the bz, and found a similar bz on kvm, but it's using seabios. and fixed. https://bugzilla.redhat.com/show_bug.cgi?id=1078089 it's on kernel component, so if this 1185253 might need to change component. Given what you wrote under (2) in "Additional info" in comment 0 -- why do you try to set hv_time at all for such a guest? Apparently UEFI Windows 7 & 2008 R2 were never meant to run as Hyper-V guests, so why expose them to a (partially) Hyper-V-enabled environment? IOW I'm questioning if this is something we should even try to support technically. Does libvirt set hv_time perhaps, automatically? (Based on libosinfo?) (In reply to Laszlo Ersek from comment #5) > Does libvirt set hv_time perhaps, automatically? (Based on libosinfo?) Yes, this xml is from virt-manager, it auto detects guest os type, and try to optimize something. change to libosinfo per C#5 (In reply to Xiaoqing Wei from comment #7) > change to libosinfo per C#5 Based on libosinfo but info itself is not coming from libosinfo so its still virt-manager bug. For the record, there has been talk of libosinfo providing this info directly but we don't have that API yet. patch upstream: https://www.redhat.com/archives/virt-tools-list/2015-January/msg00083.html please review and comment. I have only tested that the generated XML has no HYPER-V features enabled. moving to 7.2. UEFI is tech-preview and people can always edit the XML manually. The upstream fix is: commit 5acfccf6032abb9e8be89130d05b661e8b3f42c7 Author: Giuseppe Scrivano <gscrivan> Date: Mon Jan 26 16:52:03 2015 +0100 virt-manager: disable HYPER-V on Windows 2008 R2 and Win7 SP1 with UEFI Windows 2008 R2 or Win7 SP1 guests do not work when UEFI and HYPER-V, so just disable HYPER-V. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1185253 Signed-off-by: Giuseppe Scrivano <gscrivan> Can anyone attach a trace of a hung VM? Created attachment 1010504 [details]
trace
(In reply to Paolo Bonzini from comment #12) > Can anyone attach a trace of a hung VM? Hi Paolo, Pls check C#13 bug still present in 1.2.0, the commit 938060ae5340f6e28dc9669ba1ab79a1aa3d615e introduces the regression. I can reproduce this bug with package: virt-install-1.1.0-13.el7.noarch.rpm virt-manager-1.1.0-13.el7.noarch.rpm virt-manager-common-1.1.0-13.el7.noarch.rpm Steps: 1. Make sure OVMF package is installed. 2. Install a win7sp1(or win2k8r2) guest by ISO image, Select Customize configuration before install in step5 of 5 and then click Finish. 3. In Overview tab, Select UEFI in Hypervisor Details and then click Apply->Begin Installation. Result: The installation hangs. Then try to verify with latest build: virt-install-1.2.1-2.el7.noarch.rpm virt-manager-1.2.1-2.el7.noarch.rpm virt-manager-common-1.2.1-2.el7.noarch.rpm Steps: 1. Rerun about steps with latest build, The installation is success. 2. Also tried with RHEL, win8.1, all the installation are success. According to the result above in the latest version of virt-manager, move this bug from ON_QA to VERIFIED. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-2206.html |