[Qemu-devel] [PATCH] linux-user/mmap v3: Testsuite + bugfixes

2008-02-22 Thread Edgar E. Iglesias
Hi, This is the third version of the linux-user/mmap bugfix patches: * Let the native mmap choose addresses for unfixed mappings. * For file mappings, correct mapping of pages beyond EOF. * Adds a small testsuite for linux-user/mmap. Tested with test-mmap for CRIS, MIPS, ARM and i386, simulated

Re: [Qemu-devel] [PATCH, RFC, WIP] TCG for Qemu target Sparc32/64

2008-02-22 Thread Blue Swirl
On 2/22/08, Thiemo Seufer [EMAIL PROTECTED] wrote: Blue Swirl wrote: The attached patch enables most TCG ops for Qemu Sparc32/64 target. Sparc32 softmmu and linux-user are OK, but Sparc64 and Sparc32plus targets do not work. Comments? It would be nice to get rid of T2 usage

[Qemu-devel] qemu curses.c

2008-02-22 Thread Andrzej Zaborowski
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski balrog 08/02/22 18:21:28 Modified files: . : curses.c Log message: The non-ncurses curses doesn't have resize_term, so make resizing conditional. CVSWeb URLs:

[Qemu-devel] [PATCH] Don't explicitly set BAR values for VMware VGA

2008-02-22 Thread Anthony Liguori
Right now we set explict base addresses for the PCI IO regions in the VMware VGA device. We don't register the second region at all and instead directly map the physical memory. The problem is, the addresses we're setting in the BAR is not taken into account in the e820 mapping. This patch

[Qemu-devel] kqemu subversion

2008-02-22 Thread Ben Taylor
I have been maintaining a subversion repository for kqemu for the last 8-9 months due to the large amount of changes required for the Solaris port of kqemu However, due to some life issues, I'm not sure I have managed to get all the patches for kqemu into the repository. The current trunk for

[Qemu-devel] Re: [kvm-devel] [PATCH] Don't explicitly set BAR values for VMware VGA

2008-02-22 Thread Anthony Liguori
Anthony Liguori wrote: Right now we set explict base addresses for the PCI IO regions in the VMware VGA device. We don't register the second region at all and instead directly map the physical memory. The problem is, the addresses we're setting in the BAR is not taken into account in the e820

[Qemu-devel] Bug (?) vl.c/qemu_loadvm() said qemu: warning: instance restoring from LUN/partition

2008-02-22 Thread Daniel Schwager
Hi list, we use fedora-core8-xen linux, which is based on the qemu-0.9.0-5.fc8 and uses a qemue device_model (/usr/lib64/xen/bin/qemu-dm). If I try to restore a saved domain, all works fine, if the save-file is a plain file on the filesystem. If I restore a domain from a LUN (e.g.

[Qemu-devel] [PATCH] SH4,linux-user, Add pipe syscall support.

2008-02-22 Thread Takashi Yoshii
This one should be applied to run sh4-linux userland. /yoshii --- add handling of return values of pipe syscall for SH4. diff --git a/linux-user/syscall.c b/linux-user/syscall.c --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -3514,6 +3514,9 @@ abi_long do_syscall(void *cpu_env, int

[Qemu-devel] Re: [PATCH] Don't explicitly set BAR values for VMware VGA

2008-02-22 Thread andrzej zaborowski
On 22/02/2008, Anthony Liguori [EMAIL PROTECTED] wrote: Right now we set explict base addresses for the PCI IO regions in the VMware VGA device. We don't register the second region at all and instead directly map the physical memory. The problem is, the addresses we're setting in the BAR

[Qemu-devel] Re: [PATCH] Don't explicitly set BAR values for VMware VGA

2008-02-22 Thread Anthony Liguori
andrzej zaborowski wrote: On 22/02/2008, Anthony Liguori [EMAIL PROTECTED] wrote: Right now we set explict base addresses for the PCI IO regions in the VMware VGA device. We don't register the second region at all and instead directly map the physical memory. The problem is, the

[Qemu-devel] Re: [PATCH] Don't explicitly set BAR values for VMware VGA

2008-02-22 Thread andrzej zaborowski
On 23/02/2008, Anthony Liguori [EMAIL PROTECTED] wrote: andrzej zaborowski wrote: I have a very similar patch on my HD but I haven't included it because it causes my testing Ms Windows install to stop detecting the card. I just tested your patch and the same thing happens, i.e. with the

[Qemu-devel] qemu/hw omap.c

2008-02-22 Thread Andrzej Zaborowski
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski balrog 08/02/23 02:08:35 Modified files: hw : omap.c Log message: Really stop the transfer when the DMA channel is being disabled. CVSWeb URLs:

[Qemu-devel] [PATCH] linux-user, fix getgroups/getgroups32 when both args are zero.

2008-02-22 Thread Takashi Yoshii
getgroups() and getgroups32() returns NGROUPS_MAX when both its two args are zero. But because we pass a ptr to allocated space as 2nd arg, this function are interfered. The patch attached fixed it. /yoshii --- linux-user/syscall.c: fix getgroups{,32} when both args are zero. diff --git

Re: [Qemu-devel] [PATCH] linux-user, fix getgroups/getgroups32 when both args are zero.

2008-02-22 Thread Kirill A. Shutemov
On [Sat, 23.02.2008 12:00], Takashi Yoshii wrote: getgroups() and getgroups32() returns NGROUPS_MAX when both its two args are zero. But because we pass a ptr to allocated space as 2nd arg, this function are interfered. The patch attached fixed it. /yoshii --- linux-user/syscall.c: fix