Re: [edk2] Using QEMU with CSM-enabled OVMF

2013-09-03 Thread Rod Smith
On 09/03/2013 11:19 AM, Laszlo Ersek wrote: > > Rod, considering your AMD machine a given, I think it should be easiest > to test: > - with qemu v1.5.3 (which doesn't have 235e8982), and > - with KVM enabled (since TCG seems broken for OVMF+CSM since qemu-1.4 >minimally), and > - with Gerd's RP

Re: [edk2] Using QEMU with CSM-enabled OVMF

2013-09-03 Thread Laszlo Ersek
On 09/03/13 20:50, Rod Smith wrote: > On 09/03/2013 11:19 AM, Laszlo Ersek wrote: >> >> Rod, considering your AMD machine a given, I think it should be easiest >> to test: >> - with qemu v1.5.3 (which doesn't have 235e8982), and >> - with KVM enabled (since TCG seems broken for OVMF+CSM since qemu-

Re: [edk2] Using QEMU with CSM-enabled OVMF

2013-09-03 Thread Laszlo Ersek
On 09/03/13 16:11, Laszlo Ersek wrote: > I'll try two workarounds (the same two that came up in the EPT thread): > - reverting the qemu commit that enables the r/o mapping, Reverting commit 235e8982ad393e5611cb892df54881c872eea9e1 Author: Jordan Justen Date: Wed May 29 01:27:26 2013 -07

Re: [edk2] Using QEMU with CSM-enabled OVMF

2013-09-03 Thread Paolo Bonzini
Il 03/09/2013 16:22, Gleb Natapov ha scritto: >> ... This problem seems to be rooted in the same read-only-memslot thing >> that we recently encountered on an Intel host that lacks EPT: the SVM >> reference manual also says, under 2.20.3 Permission Checks: >> >> When nested paging is enabled, pag

Re: [edk2] Using QEMU with CSM-enabled OVMF

2013-09-03 Thread Laszlo Ersek
On 09/03/13 15:41, Laszlo Ersek wrote: > qemu-system-x86-29149 [002] 12270.790112: kvm_exit: reason > EXIT_WRITE_CR0 rip 0xff23 info 0 0 > qemu-system-x86-29149 [002] 12270.790113: kvm_emulate_insn: 0:ff23: > 0f 22 c0 > qemu-system-x86-29149 [002] 12270.790121: kvm_entry:

Re: [edk2] Using QEMU with CSM-enabled OVMF

2013-09-03 Thread Paolo Bonzini
Il 03/09/2013 15:41, Laszlo Ersek ha scritto: > Short summary for Gleb and Paolo: > > - qemu master + kvm_intel (3.10) run both OVMF/master and > OVMF/master+SeaBIOS/master CSM well, including booting a legacy OS > > - qemu master + TCG spirals into an endless loop when trying to boot a > leg

Re: [edk2] Using QEMU with CSM-enabled OVMF

2013-09-03 Thread Laszlo Ersek
Short summary for Gleb and Paolo: - qemu master + kvm_intel (3.10) run both OVMF/master and OVMF/master+SeaBIOS/master CSM well, including booting a legacy OS - qemu master + TCG spirals into an endless loop when trying to boot a legacy OS with OVMF+CSM -- I'm not focusing on this right now,

Re: [edk2] Using QEMU with CSM-enabled OVMF

2013-09-03 Thread Laszlo Ersek
On 09/03/13 01:05, Rod Smith wrote: > On 09/02/2013 05:32 PM, Laszlo Ersek wrote: >> Maybe -enable-kvm would make a difference... > > It causes it to crash with a new set of error messages: > > KVM internal error. Suberror: 1 > emulation failure > EAX=c033 EBX=fffcc0e4 ECX=c080 EDX=0

Re: [edk2] Using QEMU with CSM-enabled OVMF

2013-09-02 Thread Rod Smith
On 09/02/2013 05:32 PM, Laszlo Ersek wrote: > On 09/02/13 22:11, Rod Smith wrote: >> >> If I include "-net none" among the options, it skips the PXE stuff and >> hangs with: >> >> SeaBIOS (version >> 1.7.3-26.b59.g915f64a-20130821_04145-jenkins.xeni.kraxel.org) >> >> Press F12 for boot menu. > > Di

Re: [edk2] Using QEMU with CSM-enabled OVMF

2013-09-02 Thread Laszlo Ersek
On 09/02/13 22:11, Rod Smith wrote: > On 09/02/2013 10:31 AM, Laszlo Ersek wrote: >> On 09/02/13 11:21, Laszlo Ersek wrote: >>> On 08/31/13 21:23, Rod Smith wrote: >>> I've been trying to use the CSM-enabled OVMF with QEMU, with no luck; > ... >>> Let's stick with Gerd's RPMs from

Re: [edk2] Using QEMU with CSM-enabled OVMF

2013-09-02 Thread Rod Smith
On 09/02/2013 10:31 AM, Laszlo Ersek wrote: > Hello Rod, > > On 09/02/13 11:21, Laszlo Ersek wrote: >> On 08/31/13 21:23, Rod Smith wrote: >> >>> I've been trying to use the CSM-enabled OVMF with QEMU, with no luck; ... >> Let's stick with Gerd's RPMs from for >> now.

Re: [edk2] Using QEMU with CSM-enabled OVMF

2013-09-02 Thread Laszlo Ersek
Hello Rod, On 09/02/13 11:21, Laszlo Ersek wrote: > On 08/31/13 21:23, Rod Smith wrote: > >> I've been trying to use the CSM-enabled OVMF with QEMU, with no luck; >> the QEMU system hangs before displaying the Tianocore splash screen. >> I've tried both the pre-built binary from http://www.kraxel

Re: [edk2] Using QEMU with CSM-enabled OVMF

2013-09-02 Thread Laszlo Ersek
On 08/31/13 21:23, Rod Smith wrote: > I've been trying to use the CSM-enabled OVMF with QEMU, with no luck; > the QEMU system hangs before displaying the Tianocore splash screen. > I've tried both the pre-built binary from http://www.kraxel.org/repos/ > and a binary I've built myself using the Sea