Re: [Qemu-devel] [PATCH] rtl8139: Fix invalid IO access alignment

2011-11-14 Thread Stefan Hajnoczi
On Mon, Nov 14, 2011 at 2:46 PM, Julian Pidancet wrote: > On Mon, Nov 14, 2011 at 2:38 PM, Stefan Hajnoczi wrote: >> On Sun, Nov 13, 2011 at 6:13 PM, Julian Pidancet >> wrote: >>> This patch makes iPXE work with the rtl8139 emulation. The rtl8139 >>> driver in iPXE issues a 16bit access on the C

Re: [Qemu-devel] [PATCH] rtl8139: Fix invalid IO access alignment

2011-11-14 Thread Julian Pidancet
On Mon, Nov 14, 2011 at 2:38 PM, Stefan Hajnoczi wrote: > On Sun, Nov 13, 2011 at 6:13 PM, Julian Pidancet > wrote: >> This patch makes iPXE work with the rtl8139 emulation. The rtl8139 >> driver in iPXE issues a 16bit access on the ChipCmd register >> (offset 0x37) to check the status of the rx

Re: [Qemu-devel] [PATCH] rtl8139: Fix invalid IO access alignment

2011-11-14 Thread Stefan Hajnoczi
On Sun, Nov 13, 2011 at 6:13 PM, Julian Pidancet wrote: > This patch makes iPXE work with the rtl8139 emulation. The rtl8139 > driver in iPXE issues a 16bit access on the ChipCmd register > (offset 0x37) to check the status of the rx buffer. The offset of the > ioport access was getting fixed up t

[Qemu-devel] [PATCH] rtl8139: Fix invalid IO access alignment

2011-11-13 Thread Julian Pidancet
This patch makes iPXE work with the rtl8139 emulation. The rtl8139 driver in iPXE issues a 16bit access on the ChipCmd register (offset 0x37) to check the status of the rx buffer. The offset of the ioport access was getting fixed up to 0x36 in qemu, causing the value read in iPXE to be invalid. Th