[Qemu-devel] [PATCH] Making SLIRP code more 64-bit clean

2008-01-29 Thread Scott Pakin
The attached patch corrects a bug in qemu/slirp/tcp_var.h that defines the seg_next field in struct tcpcb to be 32 bits wide regardless of 32/64-bitness. seg_next is assigned a pointer value in qemu/slirp/tcp_subr.c, then cast back to a pointer in qemu/slirp/tcp_input.c and dereferenced. That pr

[Qemu-devel] RE: [kvm-devel] [PATCH] Making SLIRP code more 64-bit clean

2008-01-29 Thread Zhang, Xiantao
Scott Pakin wrote: > The attached patch corrects a bug in qemu/slirp/tcp_var.h that defines > the seg_next field in struct tcpcb to be 32 bits wide regardless of > 32/64-bitness. seg_next is assigned a pointer value in > qemu/slirp/tcp_subr.c, then cast back to a pointer in > qemu/slirp/tcp_input.

Re: [Qemu-devel] PCI device emulation in qemu

2008-01-29 Thread Dor Laor
On Tue, 2008-01-29 at 13:43 -0800, Sarah A Sharp wrote: > Greetings, > > I'm developing a USB host controller driver for hardware that isn't > available yet. Is there a way to emulate a PCI host controller for > the Linux host controller driver to talk to? I looked at the USB > emulation sectio

[Qemu-devel] PCI device emulation in qemu

2008-01-29 Thread Sarah A Sharp
Greetings, I'm developing a USB host controller driver for hardware that isn't available yet. Is there a way to emulate a PCI host controller for the Linux host controller driver to talk to? I looked at the USB emulation section, but it seemed to be about emulating USB devices, not USB host cont

Re: [Qemu-devel] [PATCH] Fix an infinite loop in the emulated SB16 device

2008-01-29 Thread malc
On Mon, 28 Jan 2008, Aurelien Jarno wrote: This patch from Tavis Ormandy <[EMAIL PROTECTED]> fixes an infinite loop in the emulated SB16 device. See http://taviso.decsystem.org/virtsec.pdf for more details. --- hw/sb16.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git