Re: [Qemu-devel] [edk2] OVMF hung on qemu 1.6.0 with KVM

2013-09-01 Thread Gary Ching-Pang Lin
On Sat, Aug 31, 2013 at 12:16:21AM -0700, Jordan Justen wrote: > On Thu, Aug 29, 2013 at 8:28 PM, Gary Ching-Pang Lin wrote: > > On Fri, Aug 30, 2013 at 02:04:40AM +1000, Bruce Rogers wrote: > >> I tried this out, and I get the black screen as well when ept=n, but it > >> boots > >> successfully

Re: [Qemu-devel] [edk2] OVMF hung on qemu 1.6.0 with KVM

2013-08-31 Thread Jordan Justen
On Thu, Aug 29, 2013 at 8:28 PM, Gary Ching-Pang Lin wrote: > On Fri, Aug 30, 2013 at 02:04:40AM +1000, Bruce Rogers wrote: >> I tried this out, and I get the black screen as well when ept=n, but it boots >> successfully to the efi shell when ept=y. >> >> Gary, what does 'cat /sys/module/kvm_intel

Re: [Qemu-devel] [edk2] OVMF hung on qemu 1.6.0 with KVM

2013-08-31 Thread Paolo Bonzini
Il 30/08/2013 21:05, Jordan Justen ha scritto: > I meant your proposed update to VTF0 is not quite what is needed > within EDK II. The current ROM based tables need to stay because that > is what real firmware would need to use to enable a 64-bit PEI. Ok, understood. > OVMF will just have to do s

Re: [Qemu-devel] [edk2] OVMF hung on qemu 1.6.0 with KVM

2013-08-30 Thread Paolo Bonzini
Il 30/08/2013 19:39, Jordan Justen ha scritto: >> However, if you guys can figure out a patch for >> > UefiCpuPkg/ResetVector/Vtf0/Ia32/Flat32ToFlat64.asm so that it builds >> > the page tables in RAM (and removing the page table Python code), that >> > would also work. > That path is not quite how

Re: [Qemu-devel] [edk2] OVMF hung on qemu 1.6.0 with KVM

2013-08-30 Thread Jordan Justen
On Fri, Aug 30, 2013 at 11:44 AM, Paolo Bonzini wrote: > Il 30/08/2013 19:39, Jordan Justen ha scritto: >>> However, if you guys can figure out a patch for >>> > UefiCpuPkg/ResetVector/Vtf0/Ia32/Flat32ToFlat64.asm so that it builds >>> > the page tables in RAM (and removing the page table Python c

Re: [Qemu-devel] [edk2] OVMF hung on qemu 1.6.0 with KVM

2013-08-30 Thread Jordan Justen
On Fri, Aug 30, 2013 at 4:58 AM, Paolo Bonzini wrote: > However, if you guys can figure out a patch for > UefiCpuPkg/ResetVector/Vtf0/Ia32/Flat32ToFlat64.asm so that it builds > the page tables in RAM (and removing the page table Python code), that > would also work. That path is not quite how it

Re: [Qemu-devel] [edk2] OVMF hung on qemu 1.6.0 with KVM

2013-08-30 Thread Jordan Justen
On Fri, Aug 30, 2013 at 5:42 AM, Paolo Bonzini wrote: > Il 30/08/2013 14:10, Gleb Natapov ha scritto: >> On Fri, Aug 30, 2013 at 01:58:59PM +0200, Paolo Bonzini wrote: >>> Il 30/08/2013 11:37, Laszlo Ersek ha scritto: Disclaimer: I don't know what I'm talking about. >>> >>> No problem. :) >>>

Re: [Qemu-devel] [edk2] OVMF hung on qemu 1.6.0 with KVM

2013-08-30 Thread Paolo Bonzini
Il 30/08/2013 14:10, Gleb Natapov ha scritto: > On Fri, Aug 30, 2013 at 01:58:59PM +0200, Paolo Bonzini wrote: >> Il 30/08/2013 11:37, Laszlo Ersek ha scritto: >>> Disclaimer: I don't know what I'm talking about. >> >> No problem. :) >> >>> So, Jordan's patch for OVMF (SVN r14494) builds the page t

Re: [Qemu-devel] [edk2] OVMF hung on qemu 1.6.0 with KVM

2013-08-30 Thread Gleb Natapov
On Fri, Aug 30, 2013 at 01:58:59PM +0200, Paolo Bonzini wrote: > Il 30/08/2013 11:37, Laszlo Ersek ha scritto: > > Disclaimer: I don't know what I'm talking about. > > No problem. :) > > > So, Jordan's patch for OVMF (SVN r14494) builds the page tables (and > > finally writes the root to CR3) in

Re: [Qemu-devel] [edk2] OVMF hung on qemu 1.6.0 with KVM

2013-08-30 Thread Paolo Bonzini
Il 30/08/2013 11:37, Laszlo Ersek ha scritto: > Disclaimer: I don't know what I'm talking about. No problem. :) > So, Jordan's patch for OVMF (SVN r14494) builds the page tables (and > finally writes the root to CR3) in a phase when paging is not enabled > yet in the VM. > > Again, I have no clu

Re: [Qemu-devel] [edk2] OVMF hung on qemu 1.6.0 with KVM

2013-08-30 Thread Laszlo Ersek
On 08/30/13 05:28, Gary Ching-Pang Lin wrote: > On Fri, Aug 30, 2013 at 02:04:40AM +1000, Bruce Rogers wrote: >> >>> On 8/29/2013 at 02:23 AM, Gary Ching-Pang Lin wrote: >>> On Wed, Aug 28, 2013 at 02:55:26PM +0200, Andreas Färber wrote: Am 28.08.2013 14:10, schrieb Laszlo Ersek: > On 0

Re: [Qemu-devel] [edk2] OVMF hung on qemu 1.6.0 with KVM

2013-08-29 Thread Paolo Bonzini
Il 30/08/2013 05:28, Gary Ching-Pang Lin ha scritto: >> > I tried this out, and I get the black screen as well when ept=n, but it >> > boots >> > successfully to the efi shell when ept=y. >> > >> > Gary, what does 'cat /sys/module/kvm_intel/parameters/ept' report on your >> > failing machine? >>

Re: [Qemu-devel] [edk2] OVMF hung on qemu 1.6.0 with KVM

2013-08-29 Thread Gary Ching-Pang Lin
On Fri, Aug 30, 2013 at 02:04:40AM +1000, Bruce Rogers wrote: > >>> On 8/29/2013 at 02:23 AM, Gary Ching-Pang Lin wrote: > > On Wed, Aug 28, 2013 at 02:55:26PM +0200, Andreas Färber wrote: > >> Am 28.08.2013 14:10, schrieb Laszlo Ersek: > >> > On 08/28/13 13:49, Andreas Färber wrote: > >> >> Am

Re: [Qemu-devel] [edk2] OVMF hung on qemu 1.6.0 with KVM

2013-08-29 Thread Bruce Rogers
>>> On 8/29/2013 at 02:23 AM, Gary Ching-Pang Lin wrote: > On Wed, Aug 28, 2013 at 02:55:26PM +0200, Andreas Färber wrote: >> Am 28.08.2013 14:10, schrieb Laszlo Ersek: >> > On 08/28/13 13:49, Andreas Färber wrote: >> >> Am 28.08.2013 13:45, schrieb Laszlo Ersek: >> >>> (qemu-devel CC'd) >> >>>

Re: [Qemu-devel] [edk2] OVMF hung on qemu 1.6.0 with KVM

2013-08-29 Thread Gary Ching-Pang Lin
On Wed, Aug 28, 2013 at 02:55:26PM +0200, Andreas Färber wrote: > Am 28.08.2013 14:10, schrieb Laszlo Ersek: > > On 08/28/13 13:49, Andreas Färber wrote: > >> Am 28.08.2013 13:45, schrieb Laszlo Ersek: > >>> (qemu-devel CC'd) > >>> > >>> On 08/28/13 12:35, Gary Ching-Pang Lin wrote: > Hi, > >>

Re: [Qemu-devel] [edk2] OVMF hung on qemu 1.6.0 with KVM

2013-08-29 Thread Ludwig Nussel
Andreas Färber wrote: https://build.opensuse.org/package/show/Virtualization/OVMF is at r14547 and that one works for me. Gary/Ludwig, can you confirm that this is resolved? Yes, that version doesn't have the black screen with qemu 1.6.0 indeed and boots into the efi shell just fine, thanks!

Re: [Qemu-devel] [edk2] OVMF hung on qemu 1.6.0 with KVM

2013-08-28 Thread Andreas Färber
Am 28.08.2013 14:10, schrieb Laszlo Ersek: > On 08/28/13 13:49, Andreas Färber wrote: >> Am 28.08.2013 13:45, schrieb Laszlo Ersek: >>> (qemu-devel CC'd) >>> >>> On 08/28/13 12:35, Gary Ching-Pang Lin wrote: Hi, I recently updated qemu to 1.6.0 and found OVMF just showed a blank

Re: [Qemu-devel] [edk2] OVMF hung on qemu 1.6.0 with KVM

2013-08-28 Thread Laszlo Ersek
On 08/28/13 13:49, Andreas Färber wrote: > Am 28.08.2013 13:45, schrieb Laszlo Ersek: >> (qemu-devel CC'd) >> >> On 08/28/13 12:35, Gary Ching-Pang Lin wrote: >>> Hi, >>> >>> I recently updated qemu to 1.6.0 and found OVMF just showed a blank >>> screen when kvm was enabled. I tried to dump OVMF lo

Re: [Qemu-devel] [edk2] OVMF hung on qemu 1.6.0 with KVM

2013-08-28 Thread Andreas Färber
Am 28.08.2013 13:45, schrieb Laszlo Ersek: > (qemu-devel CC'd) > > On 08/28/13 12:35, Gary Ching-Pang Lin wrote: >> Hi, >> >> I recently updated qemu to 1.6.0 and found OVMF just showed a blank >> screen when kvm was enabled. I tried to dump OVMF log with the >> following commond but nothing was s

Re: [Qemu-devel] [edk2] OVMF hung on qemu 1.6.0 with KVM

2013-08-28 Thread Laszlo Ersek
(qemu-devel CC'd) On 08/28/13 12:35, Gary Ching-Pang Lin wrote: > Hi, > > I recently updated qemu to 1.6.0 and found OVMF just showed a blank > screen when kvm was enabled. I tried to dump OVMF log with the > following commond but nothing was stored in debug.log. > > qemu-system-x86_64 -s -enabl