[Qemu-devel] [PATCH] target-xtensa: fix MMUv3 initialization

2011-11-22 Thread Max Filippov
- ITLB/DTLB ways 5 and 6 have 4 and 8 entries respectively; - ITLB/DTLB way 6 attr field is set to 3 on reset. Signed-off-by: Max Filippov jcmvb...@gmail.com --- target-xtensa/helper.c |2 +- target-xtensa/overlay_tool.h |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff

Re: [Qemu-devel] updating seabios to current release?

2011-11-22 Thread Gerd Hoffmann
On 11/22/11 02:58, Anthony Liguori wrote: On 11/21/2011 03:22 PM, Michael Tokarev wrote: Current version of seabios is 1.6.3, released several weeks ago. Compared with the version currently shipped in qemu, it adds a few commits, most of which are fixes for qemu-related issues. Maybe it's

Re: [Qemu-devel] [PATCH v3 5/6] target-mips: Adding support for Cavium specific instructions

2011-11-22 Thread Khansa Butt
On Tue, Nov 1, 2011 at 1:24 AM, Andreas Färber andreas.faer...@web.de wrote: Am 28.10.2011 06:42, schrieb Khansa Butt: On Sat, Oct 22, 2011 at 4:36 PM, Andreas Färber andreas.faer...@web.de mailto:andreas.faer...@web.de wrote:     Am 22.10.2011 12:11, schrieb kha...@kics.edu.pk    

Re: [Qemu-devel] [v9 Patch 4/6]Qemu: Add commandline -drive option 'hostcache'

2011-11-22 Thread supriya kannery
Stefan Hajnoczi wrote: On Mon, Nov 21, 2011 at 12:28 PM, supriya kannery supri...@in.ibm.com wrote: Stefan Hajnoczi wrote: On Thu, Nov 17, 2011 at 5:18 AM, Supriya Kannery supri...@linux.vnet.ibm.com wrote: On 11/17/2011 01:36 AM, Stefan Hajnoczi wrote: On Fri, Nov

[Qemu-devel] [PATCH] Implement the function usb_hub_handle_reset

2011-11-22 Thread hkran
Implement the function usb_hub_handle_reset. without it the guest propablly fail to configure the usb device attached to the virtulized hub with a correct address. Typically, attaching more than one usb devices when lauch qemu may lead to the problem. Signed-off-by: hkran

Re: [Qemu-devel] Windows 7 shutdown causes BSOD

2011-11-22 Thread Gleb Natapov
On Fri, Nov 18, 2011 at 05:11:21PM +0800, hkran wrote: Changed to .model = 2 with NO BSOD No different from BSOD case, so probably not MSR related. -- Gleb.

[Qemu-devel] [PATCH 1/6] cutils: Drop broken support for zero strtosz default_suffix

2011-11-22 Thread Markus Armbruster
Commit 9f9b17a4's strtosz() defaults a missing suffix to 'M', except it rejects fractions then (switch case 0). When commit d8427002 introduced strtosz_suffix(), that changed: fractions are no longer rejected, because we go to switch case 'M' on missing suffix now. Not mentioned in commit

[Qemu-devel] [PATCH 5/6] qemu-img: Tighten parsing of size arguments

2011-11-22 Thread Markus Armbruster
strtosz_suffix() fails unless the size is followed by 0, whitespace or ','. Useless here, because we need to fail for any junk following the size, even if it starts with whitespace or ','. Check manually. Things like qemu-img create xxx 1024, and qemu-img convert -S '1024 junk' are now caught.

[Qemu-devel] [PATCH 0/6] Fix strtosz users, clean up its implementation

2011-11-22 Thread Markus Armbruster
Markus Armbruster (6): cutils: Drop broken support for zero strtosz default_suffix vl: Tighten parsing of -numa's parameter mem vl: Tighten parsing of -m argument x86/cpuid: Tighten parsing of tsc_freq=FREQ qemu-img: Tighten parsing of size arguments cutils: Make strtosz friends leave

[Qemu-devel] [PATCH 2/6] vl: Tighten parsing of -numa's parameter mem

2011-11-22 Thread Markus Armbruster
strtosz_suffix() fails unless the size is followed by 0, whitespace or ','. Useless here, because we need to fail for any junk following the size, even if it starts with whitespace or ','. Check manually. Things like -smp 4 -numa node,mem=1024,cpus=0-1 -numa node,mem=1024 cpus=2-3 are now

[Qemu-devel] [PATCH 4/6] x86/cpuid: Tighten parsing of tsc_freq=FREQ

2011-11-22 Thread Markus Armbruster
cpu_x86_find_by_name() uses strtosz_suffix_unit(), but screws up the error checking. It detects some failures, but not all. Undetected failures result in a zero tsc_khz value (error value -1 divided by 1000), which means no tsc_freq set. To reproduce, try -cpu qemu64,tsc_freq=999T.

[Qemu-devel] [PATCH 3/6] vl: Tighten parsing of -m argument

2011-11-22 Thread Markus Armbruster
strtosz_suffix() fails unless the size is followed by 0, whitespace or ','. Useless here, because we need to fail for any junk following the size, even if it starts with whitespace or ','. Check manually. Things like -m 1024, are now caught. Signed-off-by: Markus Armbruster arm...@redhat.com

[Qemu-devel] [PATCH] Implement the function usb_hub_handle_reset

2011-11-22 Thread hkran
Implement the function usb_hub_handle_reset. without it the guest propablly fail to configure the usb device attached to the virtulized hub with a correct address. Typically, attaching more than one usb devices when lauch qemu may lead to the problem. Signed-off-by: hkran

[Qemu-devel] [PATCH 6/6] cutils: Make strtosz friends leave follow set to callers

2011-11-22 Thread Markus Armbruster
strtosz() friends require the size to be at the end of the string, or be followed by whitespace or ','. I find this surprising, because the name suggests it works like strtol(). The check simplifies callers that accept exactly that follow set slightly. No such callers exist. The check is

[Qemu-devel] [PATCH] Implement the function usb_hub_handle_reset

2011-11-22 Thread hkran
Implement the function usb_hub_handle_reset. without it the guest propablly fail to configure the usb device attached to the virtulized hub with a correct address. Typically, attaching more than one usb devices when lauch qemu may lead to the problem. Signed-off-by: hkran

Re: [Qemu-devel] [PATCH v2 5/9] qcow2: Rework qcow2_snapshot_create error handling

2011-11-22 Thread Kevin Wolf
Am 21.11.2011 17:47, schrieb Stefan Hajnoczi: On Fri, Nov 18, 2011 at 6:29 PM, Kevin Wolf kw...@redhat.com wrote: +/* + * Increase the refcounts of all clusters and make sure everything is + * stable on disk before updating the snapshot table to contain a pointer + * to the

Re: [Qemu-devel] [PATCH] block:avoid deadlock in sheepdog.c

2011-11-22 Thread Kevin Wolf
Am 22.11.2011 03:56, schrieb Dong Xu Wang: From: Dong Xu Wang wdon...@linux.vnet.ibm.com s-lock should be unlocked before leaving add_aio_request. Signed-off-by: Dong Xu Wang wdon...@linux.vnet.ibm.com Thanks, applied to the block-stable branch (for 1.0). But please keep Kazutaka CCed for

Re: [Qemu-devel] Memory sync algorithm during migration

2011-11-22 Thread Juan Quintela
Oliver Hookins oliver.hook...@nokia.com wrote: On Tue, Nov 15, 2011 at 11:47:58AM +0100, ext Juan Quintela wrote: Takuya Yoshikawa yoshikawa.tak...@oss.ntt.co.jp wrote: Adding qemu-devel ML to CC. Your question should have been sent to qemu-devel ML because the logic is implemented in

Re: [Qemu-devel] [FYI] Need to do a full rebuild if you are on Linux x86 host

2011-11-22 Thread Gerd Hoffmann
On 11/22/11 01:25, Anthony Liguori wrote: Due to this commit: commit 40d6444e91c6ab17e5e8ab01d4eece90cbc4afed Author: Avi Kivity a...@redhat.com Date: Tue Nov 15 20:12:17 2011 +0200 configure: build position independent executables on x86-Linux hosts PIE binaries cannot be linked

Re: [Qemu-devel] [PATCH v2 5/9] qcow2: Rework qcow2_snapshot_create error handling

2011-11-22 Thread Stefan Hajnoczi
On Tue, Nov 22, 2011 at 9:14 AM, Kevin Wolf kw...@redhat.com wrote: Am 21.11.2011 17:47, schrieb Stefan Hajnoczi: On Fri, Nov 18, 2011 at 6:29 PM, Kevin Wolf kw...@redhat.com wrote: +    /* +     * Increase the refcounts of all clusters and make sure everything is +     * stable on disk

Re: [Qemu-devel] [v9 Patch 4/6]Qemu: Add commandline -drive option 'hostcache'

2011-11-22 Thread Kevin Wolf
Am 22.11.2011 09:10, schrieb supriya kannery: Let us have the implementation for hostcache= as command line option, with the condition that if both cache= and hostcache= are specified together, then depending upon enable/disable value specified for hostcache, corresponding bit in cache flags

Re: [Qemu-devel] [FYI] Need to do a full rebuild if you are on Linux x86 host

2011-11-22 Thread Paolo Bonzini
On 11/22/2011 10:41 AM, Gerd Hoffmann wrote: On 11/22/11 01:25, Anthony Liguori wrote: Due to this commit: commit 40d6444e91c6ab17e5e8ab01d4eece90cbc4afed Author: Avi Kivitya...@redhat.com Date: Tue Nov 15 20:12:17 2011 +0200 configure: build position independent executables on

Re: [Qemu-devel] [FYI] Need to do a full rebuild if you are on Linux x86 host

2011-11-22 Thread Avi Kivity
On 11/22/2011 12:01 PM, Paolo Bonzini wrote: On 11/22/2011 10:41 AM, Gerd Hoffmann wrote: On 11/22/11 01:25, Anthony Liguori wrote: Due to this commit: commit 40d6444e91c6ab17e5e8ab01d4eece90cbc4afed Author: Avi Kivitya...@redhat.com Date: Tue Nov 15 20:12:17 2011 +0200 configure:

[Qemu-devel] Suspicious fall through in qemu_default_pixelformat()

2011-11-22 Thread Markus Armbruster
Case 24 falls through to case 32, which overwrites all of case 24's work. Looks wrong. Git blames commit 0da2ea1b fix endianness problem sharing the videoram buffer. Patching in a break is easy enough, but since I don't actually understand how the function is used, I have no idea what exactly

Re: [Qemu-devel] [v9 Patch 6/6]Qemu: raw posix implementation of reopen functions

2011-11-22 Thread supriya kannery
supriya kannery wrote: Stefan Hajnoczi wrote: On Fri, Nov 11, 2011 at 6:48 AM, Supriya Kannery supri...@linux.vnet.ibm.com wrote: +} +if ((flags BDRV_O_NOCACHE)) { +raw_rs-reopen_state.reopen_flags |= O_DIRECT; +} else { +

[Qemu-devel] [PATCH 01/11] fix spelling in darwin-user sub directory

2011-11-22 Thread Dong Xu Wang
From: Dong Xu Wang wdon...@linux.vnet.ibm.com Signed-off-by: Dong Xu Wang wdon...@linux.vnet.ibm.com --- darwin-user/machload.c |6 +++--- darwin-user/main.c |2 +- darwin-user/syscall.c |2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git

[Qemu-devel] [PATCH 02/11] fix spelling in linux-user sub directory

2011-11-22 Thread Dong Xu Wang
From: Dong Xu Wang wdon...@linux.vnet.ibm.com Cc: Riku Voipio riku.voi...@iki.fi Signed-off-by: Dong Xu Wang wdon...@linux.vnet.ibm.com --- linux-user/elfload.c |2 +- linux-user/flatload.c |2 +- linux-user/main.c |4 ++-- linux-user/signal.c |2 +-

[Qemu-devel] [PATCH 04/11] fix spelling in QMP sub directory

2011-11-22 Thread Dong Xu Wang
From: Dong Xu Wang wdon...@linux.vnet.ibm.com Cc: Luiz Capitulino lcapitul...@redhat.com Cc: Markus Armbruster arm...@redhat.com Signed-off-by: Dong Xu Wang wdon...@linux.vnet.ibm.com --- QMP/qmp-events.txt |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[Qemu-devel] [PATCH 11/11] fix spelling in main directory

2011-11-22 Thread Dong Xu Wang
From: Dong Xu Wang wdon...@linux.vnet.ibm.com Signed-off-by: Dong Xu Wang wdon...@linux.vnet.ibm.com --- arm-dis.c |6 +++--- cpu-all.h |2 +- cpu-common.h |2 +- cpus.c |2 +- exec-memory.h |2 +- hppa-dis.c |2 +- m68k-dis.c |2 +-

[Qemu-devel] [PATCH 06/11] fix spelling in target sub directory

2011-11-22 Thread Dong Xu Wang
From: Dong Xu Wang wdon...@linux.vnet.ibm.com Cc: Richard Henderson r...@twiddle.net Cc: Edgar E. Iglesias edgar.igles...@gmail.com Cc: Aurelien Jarno aurel...@aurel32.net Cc: Alexander Graf ag...@suse.de Cc: Aurelien Jarno aurel...@aurel32.net Cc: Blue Swirl blauwir...@gmail.com Signed-off-by:

[Qemu-devel] [PATCH 09/11] fix spelling in ui sub directory

2011-11-22 Thread Dong Xu Wang
From: Dong Xu Wang wdon...@linux.vnet.ibm.com Cc: Anthony Liguori aligu...@us.ibm.com Signed-off-by: Dong Xu Wang wdon...@linux.vnet.ibm.com --- ui/vnc.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/vnc.c b/ui/vnc.c index 40018f7..e85ee66 100644 --- a/ui/vnc.c

[Qemu-devel] [PATCH 08/11] fix spelling in tests sub directory

2011-11-22 Thread Dong Xu Wang
From: Dong Xu Wang wdon...@linux.vnet.ibm.com Signed-off-by: Dong Xu Wang wdon...@linux.vnet.ibm.com --- tests/cris/check_glibc_kernelversion.c |2 +- tests/cris/check_moveq.c |4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git

[Qemu-devel] [PATCH 03/11] fix spelling in libcacard sub directory

2011-11-22 Thread Dong Xu Wang
From: Dong Xu Wang wdon...@linux.vnet.ibm.com Signed-off-by: Dong Xu Wang wdon...@linux.vnet.ibm.com --- libcacard/card_7816.c |4 ++-- libcacard/card_7816.h |2 +- libcacard/vcard_emul_nss.c |2 +- libcacard/vscard_common.h |2 +- 4 files changed, 5 insertions(+), 5

[Qemu-devel] [PATCH 10/11] fix spelling in block sub directory

2011-11-22 Thread Dong Xu Wang
From: Dong Xu Wang wdon...@linux.vnet.ibm.com Cc: Kevin Wolf kw...@redhat.com Signed-off-by: Dong Xu Wang wdon...@linux.vnet.ibm.com --- block/cow.c |2 +- block/qcow2.c |4 ++-- block/raw-posix.c |4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git

[Qemu-devel] [PATCH 07/11] fix spelling in tcg sub directory

2011-11-22 Thread Dong Xu Wang
From: Dong Xu Wang wdon...@linux.vnet.ibm.com Signed-off-by: Dong Xu Wang wdon...@linux.vnet.ibm.com --- tcg/tcg.c |2 +- tcg/tcg.h |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tcg/tcg.c b/tcg/tcg.c index 77bd6ef..d43fa4a 100644 --- a/tcg/tcg.c +++ b/tcg/tcg.c

[Qemu-devel] [PATCH 05/11] fix spelling in scripts sub directory

2011-11-22 Thread Dong Xu Wang
From: Dong Xu Wang wdon...@linux.vnet.ibm.com Signed-off-by: Dong Xu Wang wdon...@linux.vnet.ibm.com --- scripts/checkpatch.pl |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 7a71324..970e395 100755 ---

Re: [Qemu-devel] [Qemu-trivial] [PATCH] darwin-user: Fix format string in debug message

2011-11-22 Thread Stefan Hajnoczi
On Sat, Nov 19, 2011 at 08:18:39PM +0100, Stefan Weil wrote: This was spotted by cppcheck. Signed-off-by: Stefan Weil s...@weilnetz.de --- darwin-user/signal.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) I am waiting to see if you send a v2 or this thread continues. Not

Re: [Qemu-devel] [v9 Patch 5/6]Qemu: Framework for reopening images safely

2011-11-22 Thread supriya kannery
Stefan Hajnoczi wrote: On Mon, Nov 21, 2011 at 12:13 PM, supriya kannery supri...@in.ibm.com wrote: Stefan Hajnoczi wrote: On Fri, Nov 11, 2011 at 6:48 AM, Supriya Kannery supri...@linux.vnet.ibm.com wrote: @@ -708,17 +731,31 @@ int bdrv_reopen(BlockDriverState *bs, in

Re: [Qemu-devel] [Qemu-trivial] [PATCH] darwin-user: Fix format string in debug message

2011-11-22 Thread Peter Maydell
On 22 November 2011 10:43, Stefan Hajnoczi stefa...@gmail.com wrote: On Sat, Nov 19, 2011 at 08:18:39PM +0100, Stefan Weil wrote: This was spotted by cppcheck. Signed-off-by: Stefan Weil s...@weilnetz.de ---  darwin-user/signal.c |    3 +--  1 files changed, 1 insertions(+), 2 deletions(-)

[Qemu-devel] [PATCH 2/2] console: Fix console_putchar() for CSI J

2011-11-22 Thread Markus Armbruster
It falls through to the code for CSI K. Erase Down also does Erase End of Line, Erase Up also does Erase Start of Line, and Erase Screen also does Erase Line. Happens not to be visible. Fix it anyway. Spotted by Coverity. Signed-off-by: Markus Armbruster arm...@redhat.com --- console.c |

[Qemu-devel] [PATCH 0/2] Trivial console_putchar() fixes

2011-11-22 Thread Markus Armbruster
Markus Armbruster (2): console: Clean up confusing indentation in console_putchar() console: Fix console_putchar() for CSI J console.c | 19 ++- 1 files changed, 10 insertions(+), 9 deletions(-) -- 1.7.6.4

[Qemu-devel] [PATCH 1/2] console: Clean up confusing indentation in console_putchar()

2011-11-22 Thread Markus Armbruster
Signed-off-by: Markus Armbruster arm...@redhat.com --- console.c | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/console.c b/console.c index f6fe441..374fcba 100644 --- a/console.c +++ b/console.c @@ -1009,16 +1009,16 @@ static void

Re: [Qemu-devel] [v9 Patch 5/6]Qemu: Framework for reopening images safely

2011-11-22 Thread Kevin Wolf
Am 22.11.2011 11:24, schrieb supriya kannery: Stefan Hajnoczi wrote: On Mon, Nov 21, 2011 at 12:13 PM, supriya kannery supri...@in.ibm.com wrote: Stefan Hajnoczi wrote: On Fri, Nov 11, 2011 at 6:48 AM, Supriya Kannery supri...@linux.vnet.ibm.com wrote: @@ -708,17 +731,31

Re: [Qemu-devel] [PATCH] imx.31 and KZM board support

2011-11-22 Thread Juan Quintela
Peter Chubb pet...@gelato.unsw.edu.au wrote: Hi Peter, Please find appended a patch containing initial support for the FreeScale i.MX31 and the KZM Arm11 evaluation board. The implementation was originally written by Hans Jang and Adam Clench of OK-Labs; I've updated it to the

Re: [Qemu-devel] [PATCH] imx.31 and KZM board support

2011-11-22 Thread Peter Maydell
On 22 November 2011 11:06, Juan Quintela quint...@redhat.com wrote: Peter Chubb pet...@gelato.unsw.edu.au wrote: Hi Peter,    Please find appended a patch containing initial support for the    FreeScale i.MX31 and the KZM Arm11 evaluation board.    The implementation was originally written

Re: [Qemu-devel] [v9 Patch 4/6]Qemu: Add commandline -drive option 'hostcache'

2011-11-22 Thread Stefan Hajnoczi
On Tue, Nov 22, 2011 at 9:55 AM, Kevin Wolf kw...@redhat.com wrote: Am 22.11.2011 09:10, schrieb supriya kannery: Let us have the implementation for hostcache= as command line option, with the condition that if both cache= and hostcache= are specified together, then depending upon

Re: [Qemu-devel] [v9 Patch 4/6]Qemu: Add commandline -drive option 'hostcache'

2011-11-22 Thread Kevin Wolf
Am 22.11.2011 12:17, schrieb Stefan Hajnoczi: On Tue, Nov 22, 2011 at 9:55 AM, Kevin Wolf kw...@redhat.com wrote: Am 22.11.2011 09:10, schrieb supriya kannery: Let us have the implementation for hostcache= as command line option, with the condition that if both cache= and hostcache= are

Re: [Qemu-devel] Suspicious fall through in qemu_default_pixelformat()

2011-11-22 Thread Stefan Hajnoczi
On Tue, Nov 22, 2011 at 10:06 AM, Markus Armbruster arm...@redhat.com wrote: Case 24 falls through to case 32, which overwrites all of case 24's work.  Looks wrong.  Git blames commit 0da2ea1b fix endianness problem sharing the videoram buffer. Patching in a break is easy enough, but since I

Re: [Qemu-devel] Suspicious fall through in qemu_default_pixelformat()

2011-11-22 Thread Stefano Stabellini
On Tue, 22 Nov 2011, Markus Armbruster wrote: Case 24 falls through to case 32, which overwrites all of case 24's work. Looks wrong. Git blames commit 0da2ea1b fix endianness problem sharing the videoram buffer. Patching in a break is easy enough, but since I don't actually understand how

Re: [Qemu-devel] [v9 Patch 6/6]Qemu: raw posix implementation of reopen functions

2011-11-22 Thread Stefan Hajnoczi
On Tue, Nov 22, 2011 at 9:45 AM, supriya kannery supri...@in.ibm.com wrote: supriya kannery wrote: Stefan Hajnoczi wrote: On Fri, Nov 11, 2011 at 6:48 AM, Supriya Kannery supri...@linux.vnet.ibm.com wrote: +        } +        if ((flags BDRV_O_NOCACHE)) { +            

Re: [Qemu-devel] Suspicious fall through in qemu_default_pixelformat()

2011-11-22 Thread Stefano Stabellini
On Tue, 22 Nov 2011, Stefan Hajnoczi wrote: On Tue, Nov 22, 2011 at 10:06 AM, Markus Armbruster arm...@redhat.com wrote: Case 24 falls through to case 32, which overwrites all of case 24's work.  Looks wrong.  Git blames commit 0da2ea1b fix endianness problem sharing the videoram

Re: [Qemu-devel] [v9 Patch 6/6]Qemu: raw posix implementation of reopen functions

2011-11-22 Thread Christoph Hellwig
On Tue, Nov 22, 2011 at 11:32:42AM +, Stefan Hajnoczi wrote: Are you sure POSIX guarantees that O_DIRECT can be changed with F_SETFL? I didn't find any statement in the specification. It is possible that this code compiles but does not actually work on non-Linux OSes. Did you run tests?

Re: [Qemu-devel] [v9 Patch 5/6]Qemu: Framework for reopening images safely

2011-11-22 Thread supriya kannery
Kevin Wolf wrote: Am 22.11.2011 11:24, schrieb supriya kannery: Stefan Hajnoczi wrote: On Mon, Nov 21, 2011 at 12:13 PM, supriya kannery supri...@in.ibm.com wrote: Stefan Hajnoczi wrote: On Fri, Nov 11, 2011 at 6:48 AM, Supriya Kannery

Re: [Qemu-devel] [Qemu-trivial] [PATCH] darwin-user: Fix format string in debug message

2011-11-22 Thread Stefan Hajnoczi
On Sat, Nov 19, 2011 at 08:18:39PM +0100, Stefan Weil wrote: This was spotted by cppcheck. Signed-off-by: Stefan Weil s...@weilnetz.de --- darwin-user/signal.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) Thanks, applied to the trivial patches -next tree:

Re: [Qemu-devel] [v9 Patch 5/6]Qemu: Framework for reopening images safely

2011-11-22 Thread Stefan Hajnoczi
On Tue, Nov 22, 2011 at 11:16 AM, supriya kannery supri...@in.ibm.com wrote: Kevin Wolf wrote: Am 22.11.2011 11:24, schrieb supriya kannery: Stefan Hajnoczi wrote: On Mon, Nov 21, 2011 at 12:13 PM, supriya kannery supri...@in.ibm.com wrote: Stefan Hajnoczi wrote: On Fri, Nov 11,

Re: [Qemu-devel] [v9 Patch 6/6]Qemu: raw posix implementation of reopen functions

2011-11-22 Thread supriya kannery
Stefan Hajnoczi wrote: On Tue, Nov 22, 2011 at 9:45 AM, supriya kannery supri...@in.ibm.com wrote: supriya kannery wrote: Stefan Hajnoczi wrote: On Fri, Nov 11, 2011 at 6:48 AM, Supriya Kannery supri...@linux.vnet.ibm.com wrote: +} +if ((flags

Re: [Qemu-devel] Suspicious fall through in qemu_default_pixelformat()

2011-11-22 Thread Markus Armbruster
Stefano Stabellini stefano.stabell...@eu.citrix.com writes: On Tue, 22 Nov 2011, Markus Armbruster wrote: Case 24 falls through to case 32, which overwrites all of case 24's work. Looks wrong. Git blames commit 0da2ea1b fix endianness problem sharing the videoram buffer. Patching in a

Re: [Qemu-devel] [v9 Patch 6/6]Qemu: raw posix implementation of reopen functions

2011-11-22 Thread Stefan Hajnoczi
On Tue, Nov 22, 2011 at 11:30 AM, supriya kannery supri...@in.ibm.com wrote: Stefan Hajnoczi wrote: On Tue, Nov 22, 2011 at 9:45 AM, supriya kannery supri...@in.ibm.com wrote: supriya kannery wrote: Stefan Hajnoczi wrote: On Fri, Nov 11, 2011 at 6:48 AM, Supriya Kannery

Re: [Qemu-devel] Suspicious fall through in qemu_default_pixelformat()

2011-11-22 Thread Stefano Stabellini
On Tue, 22 Nov 2011, Markus Armbruster wrote: Stefano Stabellini stefano.stabell...@eu.citrix.com writes: On Tue, 22 Nov 2011, Markus Armbruster wrote: Case 24 falls through to case 32, which overwrites all of case 24's work. Looks wrong. Git blames commit 0da2ea1b fix endianness

[Qemu-devel] [PATCH] console: Fix qemu_default_pixelformat() for 24 bpp

2011-11-22 Thread Markus Armbruster
Falls through to 32 bpp. Harmless, because the only difference is the alpha component, and we're not using that. Spotted by Coverity. Signed-off-by: Markus Armbruster arm...@redhat.com --- console.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/console.c b/console.c

Re: [Qemu-devel] [PATCH] console: Fix qemu_default_pixelformat() for 24 bpp

2011-11-22 Thread Stefano Stabellini
On Tue, 22 Nov 2011, Markus Armbruster wrote: Falls through to 32 bpp. Harmless, because the only difference is the alpha component, and we're not using that. Spotted by Coverity. Signed-off-by: Markus Armbruster arm...@redhat.com ack console.c |1 + 1 files changed, 1

Re: [Qemu-devel] [PATCH 1/4] configure: Don't mix glib and libcheck tests

2011-11-22 Thread Luiz Capitulino
On Mon, 21 Nov 2011 19:08:41 +0100 Andreas Färber afaer...@suse.de wrote: Am 21.11.2011 18:09, schrieb Luiz Capitulino: test-coroutine is listed as a libcheck test in the 'checks' variable. This is not right because 'make check' won't run test-coroutine if libcheck tests are not enabled

[Qemu-devel] planet-ltc.com

2011-11-22 Thread Alex
Preferred Domain Availability Notice: planet-ltc.com will be listed for auction in a few days. This domain might be useful for you, since you own a domain similar to this domain. To confirm interest in owning this domain, fill out the simple form here: planet-ltc.com

Re: [Qemu-devel] [PATCH 04/11] fix spelling in QMP sub directory

2011-11-22 Thread Luiz Capitulino
On Tue, 22 Nov 2011 18:06:19 +0800 Dong Xu Wang wdon...@linux.vnet.ibm.com wrote: From: Dong Xu Wang wdon...@linux.vnet.ibm.com Cc: Luiz Capitulino lcapitul...@redhat.com Cc: Markus Armbruster arm...@redhat.com Signed-off-by: Dong Xu Wang wdon...@linux.vnet.ibm.com Acked-by: Luiz

Re: [Qemu-devel] [PATCH 3/3] Delayed IP packets

2011-11-22 Thread Alexander Graf
On 29.09.2011, at 18:06, Amit Shah wrote: On (Wed) 03 Aug 2011 [13:24:22], Jan Kiszka wrote: From: Fabien Chouteau chout...@adacore.com In the current implementation, if Slirp tries to send an IP packet to a client with an unknown hardware address, the packet is simply dropped and an ARP

Re: [Qemu-devel] [PATCH 1/3] usb-hub: wakeup on attach

2011-11-22 Thread Gerd Hoffmann
Hi, After I add usb_wake like this in the function usb_hub_detach. the problem can be fixed. static void usb_hub_detach(USBPort *port1) { USBHubState *s = port1-opaque; USBHubPort *port = s-ports[port1-index]; usb_wakeup(s-dev);

[Qemu-devel] [PATCH 1.0] configure: tighten pie toolchain support test for tls variables

2011-11-22 Thread Avi Kivity
Some toolchains don't support pie properly when tls variables are in use. Disallow pie when such toolchains are detected. Signed-off-by: Avi Kivity a...@redhat.com --- configure |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/configure b/configure index

[Qemu-devel] [PATCH] Implement the function usb_hub_handle_reset

2011-11-22 Thread hkran
Implement the function usb_hub_handle_reset. without it the guest propablly fail to configure the usb device attached to the virtulized hub with a correct address. Typically, attaching more than one usb devices when lauch qemu may lead to the problem. Signed-off-by: hkran

[Qemu-devel] [PATCH v2 1.0] configure: tighten pie toolchain support test for tls variables

2011-11-22 Thread Avi Kivity
Some toolchains don't support pie properly when tls variables are in use. Disallow pie when such toolchains are detected. Signed-off-by: Avi Kivity a...@redhat.com --- v2: give tls_var a type; avoids invisible warning configure |5 - 1 files changed, 4 insertions(+), 1 deletions(-)

Re: [Qemu-devel] [PATCH] Implement the function usb_hub_handle_reset

2011-11-22 Thread Gerd Hoffmann
On 11/22/11 09:58, hkran wrote: Implement the function usb_hub_handle_reset. without it the guest propablly fail to configure the usb device attached to the virtulized hub with a correct address. Typically, attaching more than one usb devices when lauch qemu may lead to the problem. What

Re: [Qemu-devel] Memory sync algorithm during migration

2011-11-22 Thread Oliver Hookins
On Tue, Nov 22, 2011 at 10:31:58AM +0100, ext Juan Quintela wrote: Oliver Hookins oliver.hook...@nokia.com wrote: On Tue, Nov 15, 2011 at 11:47:58AM +0100, ext Juan Quintela wrote: Takuya Yoshikawa yoshikawa.tak...@oss.ntt.co.jp wrote: Adding qemu-devel ML to CC. Your question should

[Qemu-devel] [Bug 882997] Re: 64-bit linux guests fail to start on oneiric running 3.0 kernel

2011-11-22 Thread Klaus Rennecke
Tested linux-image-3.0.0-13-server 3.0.0-13.22 from oneiric-updates -- same failure. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/882997 Title: 64-bit linux guests fail to start on oneiric

[Qemu-devel] oprofile on qemu

2011-11-22 Thread Xin Tong
Is there a way to profile QEMU's code cache ? Thanks Xin

Re: [Qemu-devel] [PATCH 1.0] configure: tighten pie toolchain support test for tls variables

2011-11-22 Thread Gerd Hoffmann
On 11/22/11 13:32, Avi Kivity wrote: Some toolchains don't support pie properly when tls variables are in use. Disallow pie when such toolchains are detected. Signed-off-by: Avi Kivity a...@redhat.com --- configure |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff

Re: [Qemu-devel] [SeaBIOS PATCH] usb: fix boot paths

2011-11-22 Thread Kevin O'Connor
On Tue, Nov 22, 2011 at 08:32:56AM +0100, Paolo Bonzini wrote: On 11/18/2011 04:36 PM, Paolo Bonzini wrote: On 11/18/2011 03:59 PM, Paolo Bonzini wrote: The fw paths for USB devices that SeaBIOS computes are off-by-one, because QEMU builds those paths with a numbering that starts from one

[Qemu-devel] [Bug 882997] Re: 64-bit linux guests fail to start on oneiric running 3.0 kernel

2011-11-22 Thread Klaus Rennecke
correct package ** Also affects: qemu (Ubuntu) Importance: Undecided Status: New ** Package changed: qemu (Ubuntu) = qemu-kvm (Ubuntu) -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/882997

Re: [Qemu-devel] [PATCH v2 0/9] qcow2: Fix error paths for internal snapshots

2011-11-22 Thread Kevin Wolf
Am 21.11.2011 17:58, schrieb Stefan Hajnoczi: On Fri, Nov 18, 2011 at 6:28 PM, Kevin Wolf kw...@redhat.com wrote: Kevin Wolf (9): qcow2: Return real error code in qcow2_read_snapshots qcow2: Return real error code in qcow2_write_snapshots qcow2: Update snapshot table information at once

Re: [Qemu-devel] [PATCH v2 0/9] qcow2: Fix error paths for internal snapshots

2011-11-22 Thread Stefan Hajnoczi
On Tue, Nov 22, 2011 at 2:12 PM, Kevin Wolf kw...@redhat.com wrote: Am 21.11.2011 17:58, schrieb Stefan Hajnoczi: On Fri, Nov 18, 2011 at 6:28 PM, Kevin Wolf kw...@redhat.com wrote: Kevin Wolf (9):  qcow2: Return real error code in qcow2_read_snapshots  qcow2: Return real error code in

[Qemu-devel] [PATCH 02/11] mcf_uart: convert to memory API

2011-11-22 Thread Benoît Canet
Signed-off-by: Benoît Canet benoit.ca...@gmail.com --- hw/mcf.h | 11 +++ hw/mcf5206.c | 25 + hw/mcf5208.c |6 +++--- hw/mcf_uart.c | 34 +++--- 4 files changed, 38 insertions(+), 38 deletions(-) diff --git a/hw/mcf.h

[Qemu-devel] [PATCH 01/11] mcf5206: convert to memory API

2011-11-22 Thread Benoît Canet
Signed-off-by: Benoît Canet benoit.ca...@gmail.com --- hw/an5206.c |2 +- hw/mcf.h |5 - hw/mcf5206.c | 37 + 3 files changed, 26 insertions(+), 18 deletions(-) diff --git a/hw/an5206.c b/hw/an5206.c index 3fe1f00..319a40e 100644 ---

[Qemu-devel] [PATCH 06/11] lm32_sys: convert to memory API

2011-11-22 Thread Benoît Canet
Signed-off-by: Benoît Canet benoit.ca...@gmail.com --- hw/lm32_sys.c | 24 ++-- 1 files changed, 10 insertions(+), 14 deletions(-) diff --git a/hw/lm32_sys.c b/hw/lm32_sys.c index e5ff962..320b333 100644 --- a/hw/lm32_sys.c +++ b/hw/lm32_sys.c @@ -35,6 +35,7 @@ #include

[Qemu-devel] [PATCH 11/11] bonito: convert cop to memory API

2011-11-22 Thread Benoît Canet
Signed-off-by: Benoît Canet benoit.ca...@gmail.com --- hw/bonito.c | 40 +--- 1 files changed, 17 insertions(+), 23 deletions(-) diff --git a/hw/bonito.c b/hw/bonito.c index 8972f55..a92675c 100644 --- a/hw/bonito.c +++ b/hw/bonito.c @@ -205,6 +205,7 @@

[Qemu-devel] [PATCH 10/11] bonito: convert ldma to memory API

2011-11-22 Thread Benoît Canet
Signed-off-by: Benoît Canet benoit.ca...@gmail.com --- hw/bonito.c | 39 --- 1 files changed, 16 insertions(+), 23 deletions(-) diff --git a/hw/bonito.c b/hw/bonito.c index b4c3387..8972f55 100644 --- a/hw/bonito.c +++ b/hw/bonito.c @@ -204,6 +204,7 @@

[Qemu-devel] [PATCH 09/11] bonito: convert south bridge pci config to memory API

2011-11-22 Thread Benoît Canet
Signed-off-by: Benoît Canet benoit.ca...@gmail.com --- hw/bonito.c | 40 +++- 1 files changed, 19 insertions(+), 21 deletions(-) diff --git a/hw/bonito.c b/hw/bonito.c index 8fa709a..b4c3387 100644 --- a/hw/bonito.c +++ b/hw/bonito.c @@ -203,10 +203,7 @@

Re: [Qemu-devel] KVM call agenda for Novemeber 22

2011-11-22 Thread Juan Quintela
Juan Quintela quint...@redhat.com wrote: Hi Please send in any agenda items you are interested in covering. As there is no topic for today, and Anthony just give us reading we would cancel today call. Happy hacking (and reading), Juan.

[Qemu-devel] plans for QEMU support for KVM on ARM

2011-11-22 Thread Peter Maydell
This email is just a quick summary of what we (Linaro) are planning in the way of QEMU work to support KVM on ARM Cortex-A15. The idea is to let people know what's coming up, find out if we've forgotten anything, and avoid people duplicating work unnecessarily. Most of this is based on a useful

Re: [Qemu-devel] KVM call agenda for Novemeber 22

2011-11-22 Thread Stefan Hajnoczi
On Tue, Nov 22, 2011 at 2:39 PM, Juan Quintela quint...@redhat.com wrote: Juan Quintela quint...@redhat.com wrote: Hi Please send in any agenda items you are interested in covering. As there is no topic for today, and Anthony just give us reading we would cancel today call. Happy hacking

Re: [Qemu-devel] [PATCH v2 6/8] block: request overlap detection

2011-11-22 Thread Kevin Wolf
Am 17.11.2011 14:40, schrieb Stefan Hajnoczi: Detect overlapping requests and remember to align to cluster boundaries if the image format uses them. This assumes that allocating I/O is performed in cluster granularity - which is true for qcow2, qed, etc. Signed-off-by: Stefan Hajnoczi

Re: [Qemu-devel] [Android-virt] plans for QEMU support for KVM on ARM

2011-11-22 Thread Alexander Graf
On 22.11.2011, at 15:44, Peter Maydell peter.mayd...@linaro.org wrote: This email is just a quick summary of what we (Linaro) are planning in the way of QEMU work to support KVM on ARM Cortex-A15. The idea is to let people know what's coming up, find out if we've forgotten anything, and

[Qemu-devel] [PATCH 07/11] bonito: convert north bridge register mapping to memory API

2011-11-22 Thread Benoît Canet
Signed-off-by: Benoît Canet benoit.ca...@gmail.com --- hw/bonito.c | 39 ++- 1 files changed, 18 insertions(+), 21 deletions(-) diff --git a/hw/bonito.c b/hw/bonito.c index fdb8198..9260848 100644 --- a/hw/bonito.c +++ b/hw/bonito.c @@ -201,9 +201,7 @@

Re: [Qemu-devel] [PATCH v2 6/8] block: request overlap detection

2011-11-22 Thread Stefan Hajnoczi
On Tue, Nov 22, 2011 at 3:06 PM, Kevin Wolf kw...@redhat.com wrote: Am 17.11.2011 14:40, schrieb Stefan Hajnoczi: Detect overlapping requests and remember to align to cluster boundaries if the image format uses them.  This assumes that allocating I/O is performed in cluster granularity - which

Re: [Qemu-devel] KVM call agenda for Novemeber 22

2011-11-22 Thread Stefan Hajnoczi
On Tue, Nov 22, 2011 at 3:00 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Tue, Nov 22, 2011 at 2:39 PM, Juan Quintela quint...@redhat.com wrote: Juan Quintela quint...@redhat.com wrote: Hi Please send in any agenda items you are interested in covering. As there is no topic for today,

[Qemu-devel] [PATCH 03/11] mcf_fec: convert to memory API

2011-11-22 Thread Benoît Canet
Signed-off-by: Benoît Canet benoit.ca...@gmail.com --- hw/mcf.h |3 ++- hw/mcf5208.c |3 ++- hw/mcf_fec.c | 38 +++--- 3 files changed, 23 insertions(+), 21 deletions(-) diff --git a/hw/mcf.h b/hw/mcf.h index e2f6727..2f88ff0 100644 --- a/hw/mcf.h

[Qemu-devel] [PATCH 04/11] mcf_intc: convert to memory API

2011-11-22 Thread Benoît Canet
Signed-off-by: Benoît Canet benoit.ca...@gmail.com --- hw/mcf.h |4 +++- hw/mcf5208.c |2 +- hw/mcf_intc.c | 33 +++-- 3 files changed, 19 insertions(+), 20 deletions(-) diff --git a/hw/mcf.h b/hw/mcf.h index 2f88ff0..baa790b 100644 --- a/hw/mcf.h +++

[Qemu-devel] [PATCH 08/11] bonito: convert north bridge pci config to memory API

2011-11-22 Thread Benoît Canet
Signed-off-by: Benoît Canet benoit.ca...@gmail.com --- hw/bonito.c | 38 -- 1 files changed, 16 insertions(+), 22 deletions(-) diff --git a/hw/bonito.c b/hw/bonito.c index 9260848..8fa709a 100644 --- a/hw/bonito.c +++ b/hw/bonito.c @@ -202,10 +202,7 @@

[Qemu-devel] [PATCH 00/11] more memory API conversion

2011-11-22 Thread Benoît Canet
These patches convert files to memory API Benoît Canet (11): mcf5206: convert to memory API mcf_uart: convert to memory API mcf_fec: convert to memory API mcf_intc: convert to memory API lm32_uart: convert to memory API lm32_sys: convert to memory API bonito: convert north bridge

Re: [Qemu-devel] [Android-virt] plans for QEMU support for KVM on ARM

2011-11-22 Thread Peter Maydell
On 22 November 2011 15:05, Alexander Graf ag...@suse.de wrote: On 22.11.2011, at 15:44, Peter Maydell peter.mayd...@linaro.org wrote: We're aiming for a reasonable working prototype of A15 guest on an A15 Fast Model host here; we need to fix at least some of the bugs which currently mean

[Qemu-devel] [Bug 882997] Re: 64-bit linux guests fail to start on oneiric running 3.0 kernel

2011-11-22 Thread Serge Hallyn
Thanks for submitting this bug. In order to have apport provide some more information which could help in debugging this, could you please run: apport-collect 882997 ** Changed in: qemu-kvm (Ubuntu) Status: New = Incomplete ** Changed in: qemu-kvm (Ubuntu) Importance: Undecided

[Qemu-devel] [PATCH 05/11] lm32_uart: convert to memory API

2011-11-22 Thread Benoît Canet
Signed-off-by: Benoît Canet benoit.ca...@gmail.com --- hw/lm32_uart.c | 32 1 files changed, 16 insertions(+), 16 deletions(-) diff --git a/hw/lm32_uart.c b/hw/lm32_uart.c index 3678545..5701c88 100644 --- a/hw/lm32_uart.c +++ b/hw/lm32_uart.c @@ -27,6 +27,7 @@

Re: [Qemu-devel] [PATCH 02/11] mcf_uart: convert to memory API

2011-11-22 Thread Avi Kivity
On 11/22/2011 04:23 PM, Benoît Canet wrote: Signed-off-by: Benoît Canet benoit.ca...@gmail.com --- hw/mcf.h | 11 +++ hw/mcf5206.c | 25 + hw/mcf5208.c |6 +++--- hw/mcf_uart.c | 34 +++--- 4 files changed, 38

  1   2   >