Re: [Qemu-devel] pxe boot problems

2014-01-30 Thread Laszlo Ersek
On 01/30/14 07:37, Dietmar Maurer wrote: >> Does it work with TCG? > > It simply hangs a bit later if I use TCG, without any output on the console. Strange. How recent qemu happens this with? The relevant emulation code (under "ljmp Ev" in "target-i386/translate.c") has been changed as recently

Re: [Qemu-devel] pxe boot problems

2014-01-29 Thread Dietmar Maurer
> Does it work with TCG? It simply hangs a bit later if I use TCG, without any output on the console. But It works perfectly when I switch back to the pxe-XX.rom files. > Also, can you try with a NIC model different from the default e1000? same behavior with e1000, rtl8139, pcnet

Re: [Qemu-devel] pxe boot problems

2014-01-29 Thread Laszlo Ersek
On 01/29/14 19:13, Paolo Bonzini wrote: > Il 29/01/2014 19:09, Laszlo Ersek ha scritto: >> Yes, but as far I can see, the commit (which is not in RHEL-6) changes >> *how* the operand of ljmp is decoded. >> >> From "opcode_table" in RHEL-6's "arch/x86/kvm/emulate.c": >> >> >> /* 0xE8 - 0xEF

Re: [Qemu-devel] pxe boot problems

2014-01-29 Thread Paolo Bonzini
Il 29/01/2014 19:09, Laszlo Ersek ha scritto: Yes, but as far I can see, the commit (which is not in RHEL-6) changes *how* the operand of ljmp is decoded. From "opcode_table" in RHEL-6's "arch/x86/kvm/emulate.c": /* 0xE8 - 0xEF */ SrcImm | Stack, SrcImm | ImplicitOps, S

Re: [Qemu-devel] pxe boot problems

2014-01-29 Thread Laszlo Ersek
On 01/29/14 18:47, Paolo Bonzini wrote: > Il 29/01/2014 18:34, Laszlo Ersek ha scritto: >> KVM chokes on the LJMPW instruction. (It needs to emulate it on this >> host CPU, but the emulation code fails to decode the instruction.) >> >> I *guess* upstream Linux commit >> >> commit 414e6277fd148

Re: [Qemu-devel] pxe boot problems

2014-01-29 Thread Paolo Bonzini
Il 29/01/2014 18:34, Laszlo Ersek ha scritto: On 01/29/14 14:01, Laszlo Ersek wrote: On 01/29/14 12:49, Dietmar Maurer wrote: A bisect points to the following patch: # git bisect bad c45e5b5b30ac1f5505725a7b36e68cedfce4f01f is the first bad commit commit c45e5b5b30ac1f5505725a7b36e68cedfce4f

Re: [Qemu-devel] pxe boot problems

2014-01-29 Thread Laszlo Ersek
On 01/29/14 14:01, Laszlo Ersek wrote: > On 01/29/14 12:49, Dietmar Maurer wrote: >> A bisect points to the following patch: >> >> # git bisect bad >> c45e5b5b30ac1f5505725a7b36e68cedfce4f01f is the first bad commit >> commit c45e5b5b30ac1f5505725a7b36e68cedfce4f01f >> Author: Gerd Hoffmann >> Da

Re: [Qemu-devel] pxe boot problems

2014-01-29 Thread Laszlo Ersek
On 01/29/14 12:49, Dietmar Maurer wrote: > A bisect points to the following patch: > > # git bisect bad > c45e5b5b30ac1f5505725a7b36e68cedfce4f01f is the first bad commit > commit c45e5b5b30ac1f5505725a7b36e68cedfce4f01f > Author: Gerd Hoffmann > Date: Tue Feb 26 17:46:11 2013 +0100 > > Sw

Re: [Qemu-devel] pxe boot problems

2014-01-29 Thread Dietmar Maurer
A bisect points to the following patch: # git bisect bad c45e5b5b30ac1f5505725a7b36e68cedfce4f01f is the first bad commit commit c45e5b5b30ac1f5505725a7b36e68cedfce4f01f Author: Gerd Hoffmann Date: Tue Feb 26 17:46:11 2013 +0100 Switch to efi-enabled nic roms by default All PCI ni

[Qemu-devel] pxe boot problems

2014-01-29 Thread Dietmar Maurer
pxe boot does not work with qemu 1.7 (also tested with latest code from master). # kvm -m 1024 -net nic -net tap simply hangs at: iPXE (PCI 00:03.0) starting execution... and I get the following output: # kvm -m 1024 -net nic -net tap KVM: unknown exit, hardware reason 8021 EAX=0011 EB