[Qemu-devel] [PATCH 02/29] hw/9pfs: Update vfs_rename to use coroutines

2011-05-25 Thread Venkateswararao Jujjuri (JV)
From: Aneesh Kumar K.V I guess TRENAME 9p operation needs an update. The 9p op should more similar renameat. Otherwise anything other than path cannot track the fid. Signed-off-by: Aneesh Kumar K.V Signed-off-by: Venkateswararao Jujjuri " --- hw/9pfs/virtio-9p.c | 134

[Qemu-devel] [PATCH 06/29] hw/9pfs: Add yield support for open and opendir coroutine

2011-05-25 Thread Venkateswararao Jujjuri (JV)
From: Aneesh Kumar K.V Signed-off-by: Aneesh Kumar K.V Signed-off-by: Venkateswararao Jujjuri " --- hw/9pfs/codir.c | 16 hw/9pfs/cofile.c | 16 hw/9pfs/virtio-9p-coth.h |2 ++ 3 files changed, 34 insertions(+), 0 deletions(-) diff --g

[Qemu-devel] [PATCH 01/29] hw/9pfs: Add yeild support to rename coroutine

2011-05-25 Thread Venkateswararao Jujjuri (JV)
From: Aneesh Kumar K.V Signed-off-by: Aneesh Kumar K.V Signed-off-by: Venkateswararao Jujjuri " --- hw/9pfs/cofs.c | 14 ++ hw/9pfs/virtio-9p-coth.h |1 + 2 files changed, 15 insertions(+), 0 deletions(-) diff --git a/hw/9pfs/cofs.c b/hw/9pfs/cofs.c index 8fbfe73..4

[Qemu-devel] [PATCH 05/29] hw/9pfs: Update v9fs_getlock to use coroutines

2011-05-25 Thread Venkateswararao Jujjuri (JV)
From: Aneesh Kumar K.V Signed-off-by: Aneesh Kumar K.V Signed-off-by: Venkateswararao Jujjuri " --- hw/9pfs/virtio-9p.c | 42 +++--- hw/9pfs/virtio-9p.h |9 - 2 files changed, 19 insertions(+), 32 deletions(-) diff --git a/hw/9pfs/virtio-9p.c b

[Qemu-devel] [PATCH 09/29] [virtio-9p] clean up v9fs_lcreate

2011-05-25 Thread Venkateswararao Jujjuri (JV)
Rearrange the code so that we can avoid V9fsLcreateState and additional malloc()s. Signed-off-by: Venkateswararao Jujjuri " --- hw/9pfs/virtio-9p.c | 63 -- hw/9pfs/virtio-9p.h | 11 - 2 files changed, 30 insertions(+), 44 deletions(-)

[Qemu-devel] [PATCH 03/29] hw/9pfs: Add yeild support for fstat coroutine

2011-05-25 Thread Venkateswararao Jujjuri (JV)
From: Aneesh Kumar K.V Signed-off-by: Aneesh Kumar K.V Signed-off-by: Venkateswararao Jujjuri " --- hw/9pfs/cofile.c | 14 ++ hw/9pfs/virtio-9p-coth.h |1 + 2 files changed, 15 insertions(+), 0 deletions(-) diff --git a/hw/9pfs/cofile.c b/hw/9pfs/cofile.c index a4c0ae

[Qemu-devel] [PATCH 07/29] hw/9pfs: Update v9fs_open to use coroutines

2011-05-25 Thread Venkateswararao Jujjuri (JV)
From: Aneesh Kumar K.V Signed-off-by: Aneesh Kumar K.V Signed-off-by: Venkateswararao Jujjuri " --- hw/9pfs/virtio-9p.c | 143 +++--- 1 files changed, 43 insertions(+), 100 deletions(-) diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c index e6

[Qemu-devel] [PATCH 14/29] hw/9pfs: Update v9fs_clunk to use coroutines

2011-05-25 Thread Venkateswararao Jujjuri (JV)
From: Aneesh Kumar K.V Signed-off-by: Aneesh Kumar K.V Signed-off-by: Venkateswararao Jujjuri " --- hw/9pfs/virtio-9p.c | 43 +++ 1 files changed, 7 insertions(+), 36 deletions(-) diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c index 1eb32f6..02

[Qemu-devel] [0/29] Second batch of VirtFS routines converted to coroutines.

2011-05-25 Thread Venkateswararao Jujjuri (JV)
This is the continuation of my previous series converting rest of 9p functions to coroutines. http://lists.gnu.org/archive/html/qemu-devel/2011-05/msg01756.html Once coroutines makes into upstream, all these patches can go in making virtfs completely asynchronous. Signed-off-by: Venkateswararao

[Qemu-devel] [PATCH 22/29] [virtio-9p] coroutine and threading for v9fs_do_link

2011-05-25 Thread Venkateswararao Jujjuri (JV)
Signed-off-by: Venkateswararao Jujjuri " --- hw/9pfs/cofile.c | 14 ++ hw/9pfs/virtio-9p-coth.h |1 + hw/9pfs/virtio-9p.c | 17 - 3 files changed, 19 insertions(+), 13 deletions(-) diff --git a/hw/9pfs/cofile.c b/hw/9pfs/cofile.c index 26dd636..52e

[Qemu-devel] [PATCH 10/29] [PATCH] [virtio-9p] coroutine and threading for open2

2011-05-25 Thread Venkateswararao Jujjuri (JV)
Signed-off-by: Venkateswararao Jujjuri " --- hw/9pfs/cofile.c | 21 + hw/9pfs/virtio-9p-coth.h |1 + hw/9pfs/virtio-9p.c | 45 + 3 files changed, 35 insertions(+), 32 deletions(-) diff --git a/hw/9pfs/cofile.c b/

[Qemu-devel] [PATCH 16/29] hw/9pfs: Update v9fs_fsync to use coroutines

2011-05-25 Thread Venkateswararao Jujjuri (JV)
From: Aneesh Kumar K.V Signed-off-by: Aneesh Kumar K.V Signed-off-by: Venkateswararao Jujjuri " --- hw/9pfs/virtio-9p.c | 24 1 files changed, 8 insertions(+), 16 deletions(-) diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c index 0227694..d1733ca 100644 --- a/

[Qemu-devel] [PATCH 04/29] hw/9pfs: Update v9fs_lock to use coroutines

2011-05-25 Thread Venkateswararao Jujjuri (JV)
From: Aneesh Kumar K.V Signed-off-by: Aneesh Kumar K.V Signed-off-by: Venkateswararao Jujjuri " --- hw/9pfs/virtio-9p.c | 44 hw/9pfs/virtio-9p.h | 10 -- 2 files changed, 20 insertions(+), 34 deletions(-) diff --git a/hw/9pfs/virtio-9p.

[Qemu-devel] [PATCH 12/29] hw/9pfs: Update v9fs_walk to use coroutines

2011-05-25 Thread Venkateswararao Jujjuri (JV)
From: Aneesh Kumar K.V Signed-off-by: Aneesh Kumar K.V Signed-off-by: Venkateswararao Jujjuri " --- hw/9pfs/virtio-9p.c | 205 +-- hw/9pfs/virtio-9p.h | 13 --- 2 files changed, 68 insertions(+), 150 deletions(-) diff --git a/hw/9pfs/virtio-9p

[Qemu-devel] [PATCH 19/29] [virtio-9p] Remove post functions for v9fs_symlink

2011-05-25 Thread Venkateswararao Jujjuri (JV)
Signed-off-by: Venkateswararao Jujjuri " --- hw/9pfs/virtio-9p.c | 47 +++ 1 files changed, 15 insertions(+), 32 deletions(-) diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c index 9976516..8702319 100644 --- a/hw/9pfs/virtio-9p.c +++ b/hw/9pfs/

[Qemu-devel] [PATCH 26/29] hw/9pfs: Update v9fs_attach to use coroutines

2011-05-25 Thread Venkateswararao Jujjuri (JV)
From: Aneesh Kumar K.V Signed-off-by: Aneesh Kumar K.V Signed-off-by: Venkateswararao Jujjuri " --- hw/9pfs/virtio-9p.c | 13 - 1 files changed, 4 insertions(+), 9 deletions(-) diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c index b378fc8..06a71fb 100644 --- a/hw/9pfs/virt

[Qemu-devel] [PATCH 17/29] [virtio-9p] Remove post functions for v9fs_create

2011-05-25 Thread Venkateswararao Jujjuri (JV)
Signed-off-by: Venkateswararao Jujjuri " --- hw/9pfs/virtio-9p.c | 229 --- 1 files changed, 72 insertions(+), 157 deletions(-) diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c index d1733ca..14eefac 100644 --- a/hw/9pfs/virtio-9p.c +++ b/hw/

[Qemu-devel] [PATCH 20/29] [virtio-9p] clean up v9fs_symlink

2011-05-25 Thread Venkateswararao Jujjuri (JV)
Rearrange the code so that we can avoid V9fsSymlinkState and additional malloc()s. Signed-off-by: Venkateswararao Jujjuri " --- hw/9pfs/virtio-9p.c | 45 + hw/9pfs/virtio-9p.h | 12 2 files changed, 21 insertions(+), 36 deletions(-) di

[Qemu-devel] [PATCH 11/29] hw/9pfs: Update v9fs_stat to use coroutines

2011-05-25 Thread Venkateswararao Jujjuri (JV)
From: Aneesh Kumar K.V Signed-off-by: Aneesh Kumar K.V Signed-off-by: Venkateswararao Jujjuri " --- hw/9pfs/virtio-9p.c | 61 +- 1 files changed, 21 insertions(+), 40 deletions(-) diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c index f53

[Qemu-devel] [PATCH 18/29] [virtio-9p] clean up v9fs_create Rearrange the code

2011-05-25 Thread Venkateswararao Jujjuri (JV)
so that we can avoid V9fsCreateState and additional malloc()s. Signed-off-by: Venkateswararao Jujjuri " --- hw/9pfs/virtio-9p.c | 149 ++- hw/9pfs/virtio-9p.h | 14 - 2 files changed, 65 insertions(+), 98 deletions(-) diff --git a/hw/9pf

[Qemu-devel] [PATCH 23/29] hw/9pfs: Add yield support for pwritev coroutine

2011-05-25 Thread Venkateswararao Jujjuri (JV)
From: Aneesh Kumar K.V Signed-off-by: Aneesh Kumar K.V Signed-off-by: Venkateswararao Jujjuri " --- hw/9pfs/cofile.c | 17 + hw/9pfs/virtio-9p-coth.h |2 ++ 2 files changed, 19 insertions(+), 0 deletions(-) diff --git a/hw/9pfs/cofile.c b/hw/9pfs/cofile.c index 52

[Qemu-devel] [PATCH 21/29] [virtio-9p] coroutine and threading for v9fs_do_symlink

2011-05-25 Thread Venkateswararao Jujjuri (JV)
Signed-off-by: Venkateswararao Jujjuri " --- hw/9pfs/cofs.c | 20 hw/9pfs/virtio-9p-coth.h |2 ++ hw/9pfs/virtio-9p.c | 31 --- 3 files changed, 30 insertions(+), 23 deletions(-) diff --git a/hw/9pfs/cofs.c b/hw/9pfs/cofs.c i

[Qemu-devel] [PATCH 27/29] hw/9pfs: Add yield support for preadv coroutine

2011-05-25 Thread Venkateswararao Jujjuri (JV)
From: Aneesh Kumar K.V Signed-off-by: Aneesh Kumar K.V Signed-off-by: Venkateswararao Jujjuri " --- hw/9pfs/cofile.c | 17 + hw/9pfs/virtio-9p-coth.h |2 ++ 2 files changed, 19 insertions(+), 0 deletions(-) diff --git a/hw/9pfs/cofile.c b/hw/9pfs/cofile.c index e0

[Qemu-devel] [PATCH 13/29] hw/9pfs: Add yeild support for clunk related coroutine

2011-05-25 Thread Venkateswararao Jujjuri (JV)
From: Aneesh Kumar K.V This include lsetxattr, lremovexattr, closedir and close. Signed-off-by: Aneesh Kumar K.V Signed-off-by: Venkateswararao Jujjuri " --- hw/9pfs/codir.c | 16 hw/9pfs/cofile.c | 16 hw/9pfs/coxattr.c| 34

[Qemu-devel] [PATCH 24/29] hw/9pfs: Update v9fs_write to use coroutines

2011-05-25 Thread Venkateswararao Jujjuri (JV)
From: Aneesh Kumar K.V Signed-off-by: Aneesh Kumar K.V Signed-off-by: Venkateswararao Jujjuri " --- hw/9pfs/virtio-9p.c | 147 -- 1 files changed, 59 insertions(+), 88 deletions(-) diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c index 7fa

[Qemu-devel] [PATCH 08/29] [virtio-9p] Remove post functions for v9fs_lcreate

2011-05-25 Thread Venkateswararao Jujjuri (JV)
Signed-off-by: Venkateswararao Jujjuri " --- hw/9pfs/virtio-9p.c | 79 +++--- 1 files changed, 24 insertions(+), 55 deletions(-) diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c index 2cb406b..a43a58f 100644 --- a/hw/9pfs/virtio-9p.c +++ b/hw/9p

[Qemu-devel] [PATCH 25/29] hw/9pfs: Update v9fs_wstat to use coroutines

2011-05-25 Thread Venkateswararao Jujjuri (JV)
From: Aneesh Kumar K.V Signed-off-by: Aneesh Kumar K.V Signed-off-by: Venkateswararao Jujjuri " --- hw/9pfs/virtio-9p.c | 265 -- hw/9pfs/virtio-9p.h | 10 -- 2 files changed, 64 insertions(+), 211 deletions(-) diff --git a/hw/9pfs/virtio-9p.c

[Qemu-devel] [PATCH 29/29] use readdir_r instead of readdir for reentrancy

2011-05-25 Thread Venkateswararao Jujjuri (JV)
From: Harsh Prateek Bora This patch is created on top of Aneesh's coroutine work. LTP test for readdir passed. Signed-off-by: Harsh Prateek Bora Signed-off-by: Venkateswararao Jujjuri " --- fsdev/file-op-9p.h|2 +- hw/9pfs/codir.c |7 --- hw/9pfs/virtio-9p-coth.h

[Qemu-devel] [PATCH 28/29] hw/9pfs: Update v9fs_read to use coroutines

2011-05-25 Thread Venkateswararao Jujjuri (JV)
From: Aneesh Kumar K.V Signed-off-by: Aneesh Kumar K.V Signed-off-by: Venkateswararao Jujjuri " --- hw/9pfs/virtio-9p.c | 314 +++ 1 files changed, 117 insertions(+), 197 deletions(-) diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c index

[Qemu-devel] [PATCH 15/29] hw/9pfs: Add yield support for fsync coroutine

2011-05-25 Thread Venkateswararao Jujjuri (JV)
From: Aneesh Kumar K.V Signed-off-by: Aneesh Kumar K.V Signed-off-by: Venkateswararao Jujjuri " --- hw/9pfs/cofile.c | 16 hw/9pfs/virtio-9p-coth.h |1 + 2 files changed, 17 insertions(+), 0 deletions(-) diff --git a/hw/9pfs/cofile.c b/hw/9pfs/cofile.c index e552

[Qemu-devel] qemu log path command line options

2011-05-25 Thread Matthew Fernandez
Hi all, I was planning on sending a patch to allow you to specify the log file location on the command line (as opposed to having it hard coded to /tmp/qemu.log). As this seems like a relatively straightforward feature to me, I was wondering if there was some philosophical reason why it's never be

[Qemu-devel] [PATCH 1/3] Add ppc_init_cacheline_sizes() function for OpenBSD.

2011-05-25 Thread Brad
Add ppc_init_cacheline_sizes() function for OpenBSD to fix compilation of PowerPC host support for OpenBSD/powerpc based architectures. Signed-off-by: Brad Smith --- cache-utils.c | 11 +-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/cache-utils.c b/cache-utils.c in

[Qemu-devel] [PATCH 2/3] Use the correct header in the TCG MIPS code to find cacheflush() on OpenBSD.

2011-05-25 Thread Brad
Use the correct header in the TCG MIPS code to find cacheflush() on OpenBSD to fix compilation of the MIPS host support for OpenBSD/mips64 based architecures. Signed-off-by: Brad Smith --- tcg/mips/tcg-target.h |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/tcg/mip

[Qemu-devel] [PATCH 3/3] Use predefined compiler symbols to try and detect ARM or HPPA systems.

2011-05-25 Thread Brad
Use predefined compiler symbols to try and detect ARM or HPPA systems to be able to detect some ARM / HPPA based architectures such as with OpenBSD/(armish / zaurus) or OpenBSD/hppa. Signed-off-by: Brad Smith --- configure |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff

Re: [Qemu-devel] [PATCH 01/12] target-s390x: Fix wrong argument in call of tcg_gen_shl_i64()

2011-05-25 Thread Stefan Weil
Am 26.05.2011 00:15, schrieb Alexander Graf: On 25.05.2011, at 22:25, Stefan Weil wrote: tcg_gen_shl_i64 needs an argument of type TCGv_i64. Using tmp4 needs some additional changes. Signed-off-by: Stefan Weil --- target-s390x/translate.c |8 +--- 1 files changed, 5 insertions(+), 3 del

Re: [Qemu-devel] [PATCH 01/12] target-s390x: Fix wrong argument in call of tcg_gen_shl_i64()

2011-05-25 Thread Stefan Weil
Am 26.05.2011 06:32, schrieb Stefan Weil: Am 26.05.2011 00:15, schrieb Alexander Graf: On 25.05.2011, at 22:25, Stefan Weil wrote: tcg_gen_shl_i64 needs an argument of type TCGv_i64. Using tmp4 needs some additional changes. Signed-off-by: Stefan Weil --- target-s390x/translate.c |8 +

[Qemu-devel] Xen: enabling emulated MSI injection

2011-05-25 Thread Wei Liu
commit 0ad7c9289253b9fd496ac695ce5bf1f23027d97a Author: Wei Liu Date: Thu May 26 10:16:18 2011 +0800 MSI injection for Xen. This is supposed to be used in conjunction with Xen's new hypercall interface for emualted MSI injection. Signed-off-by: Wei Liu diff --git a/hw/msix.c

Re: [Qemu-devel] [RFC] reduce reported VGA framebuffer to 8 MiB

2011-05-25 Thread Gerd Hoffmann
On 05/25/11 16:33, Alon Levy wrote: On Wed, May 25, 2011 at 04:06:03PM +0200, Gerd Hoffmann wrote: On 05/25/11 15:53, Alon Levy wrote: Without this windows xp guests set a 4 bits per pixel graphics mode. Hmm? Never seen this. Details please. When I start a windows xp guest with -vga qxl a

<    1   2