[Qemu-devel] [Bug 1593605] Re: windows2008r2 boot failed with uefi

2016-10-15 Thread Laszlo Ersek (Red Hat)
@alex3kov -- I think you mean the question as """ Since this behaviour will not change in future versions of Windows 7 / Windows Server 2008 R2, ... """ because, again, the problem is not in OVMF but in the Windows guest. QEMU cannot be expected to recognize (guest OS, guest firmware, hw config

[Qemu-devel] [Bug 1593605] Re: windows2008r2 boot failed with uefi

2016-10-13 Thread Aleksei Kovura
I had the same problem and it took me some time to get to this bug report. Since this behaviour will not change in future versions of Qemu/OVMF, maybe Qemu should recognize this configuration as invalid and print error message instead of failing silently? -- You received this bug notification be

[Qemu-devel] [Bug 1593605] Re: windows2008r2 boot failed with uefi

2016-06-18 Thread Laszlo Ersek (Red Hat)
... In addition to what I said above in comment #9 (which stands), the technical problem with turning the memory allocation in question into AcpiNVS type is that it would prevent *all* OSes from reusing the area. It would prevent the Windows 7 memory manager from deallocating page #0 (thereby savi

[Qemu-devel] [Bug 1593605] Re: windows2008r2 boot failed with uefi

2016-06-18 Thread Denis V. Lunev
Actually I can provide you with the patch which makes win2k8 + UEFI working if you willing to accept it for mainstream QEMU. It was quite simple. We have prepared it but not sent. Parallels Server 6/Parallels Desktop have this hack around 3-5 years. I have missed you comment. Closing again. ** Ch

[Qemu-devel] [Bug 1593605] Re: windows2008r2 boot failed with uefi

2016-06-18 Thread Denis V. Lunev
sorry, I meant not QEMU but UEFI above. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1593605 Title: windows2008r2 boot failed with uefi Status in QEMU: Invalid Bug description: I want to run

[Qemu-devel] [Bug 1593605] Re: windows2008r2 boot failed with uefi

2016-06-18 Thread Denis V. Lunev
** Changed in: qemu Status: Invalid => Confirmed -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1593605 Title: windows2008r2 boot failed with uefi Status in QEMU: Confirmed Bug descriptio

[Qemu-devel] [Bug 1593605] Re: windows2008r2 boot failed with uefi

2016-06-18 Thread Laszlo Ersek (Red Hat)
Denis, thanks a lot for the reminder and the analysis here. I knew about this issue at one point -- see https://bugzilla.redhat.com/show_bug.cgi?id=1185253 -- but by now I've completely forgotten that HyperV enlightenments and UEFI SMP Win7 don't mix. Also, for your analysis in comment #7 -- thank

[Qemu-devel] [Bug 1593605] Re: windows2008r2 boot failed with uefi

2016-06-18 Thread Richard Zhang
Thank you very much. After disabling all HyperV feature, Win2k8 can runnig with multi-vcpus in my enviroment. Referring to your advice, I will try to runnig Win2k8 with HyperV feature. Thank you very much. -- You received this bug notification because you are a member of qemu- devel-ml, which is

[Qemu-devel] [Bug 1593605] Re: windows2008r2 boot failed with uefi

2016-06-18 Thread Denis V. Lunev
you CAN run, but you have to disable HyperV enlightments. This means that these options "hv_time,hv_relaxed,hv_spinlocks=0x2000" must NOT be set. I have not found exact patch, sorry. But something like the following should be done even to start thinking on running win2k8 with EFI if HyperV is enab

[Qemu-devel] [Bug 1593605] Re: windows2008r2 boot failed with uefi

2016-06-18 Thread Richard Zhang
Hi Denis, thank you very much. I do really be interested in it. If the patch can be found, it readlly help me. And I still have another question. I notice that Win2k8 cound runnig with UEFI normally on Xen and VMare. Is there any diffrence between them abount handling with video, especially on Xen

[Qemu-devel] [Bug 1593605] Re: windows2008r2 boot failed with uefi

2016-06-18 Thread Denis V. Lunev
Win2k8 EFI has a bug under HyperV. This will never work without a specific hack in UEFI. I can dig in my archives to find a patch if you are really interested in. AFAIR some memory in video driver has to be marked not as boot services but differently and will stay permanently. -- You received thi

[Qemu-devel] [Bug 1593605] Re: windows2008r2 boot failed with uefi

2016-06-17 Thread Richard Zhang
When I change qemu version from 2.1.2 to 2.6.0. The vcpu0 will return 0 qemu. I got strace like this: strace -p 1180 Process 1180 attached - interrupt to quit rt_sigtimedwait([BUS USR1], 0x7f719b5fa960, {0, 0}, 8) = -1 EAGAIN (Resource temporarily unavailable) rt_sigpending([])

[Qemu-devel] [Bug 1593605] Re: windows2008r2 boot failed with uefi

2016-06-17 Thread Richard Zhang
Thanks for your advice. I got newer version of OVMF from https://www.kraxel.org/repos/. And compile from source code(git://github.com/tianocore/edk2.git). With these OVMF, it really works well on only 1 vcpu domain. But still failed with multi-vcpus. The vcpu0 runnig in an endless loop, and ot

[Qemu-devel] [Bug 1593605] Re: windows2008r2 boot failed with uefi

2016-06-17 Thread Laszlo Ersek (Red Hat)
The OVMF build you use (SVN r15214) is from Feb 2014 -- it is completely obsolete. I suggest you use the packages from https://www.kraxel.org/repos/ . I'm marking this as "invalid" because supporting 2+ year old OVMF builds is unthinkable. ** Changed in: qemu Status: New => Invalid -- Yo