[Qemu-devel] [Bug 1073585] Re: Deleting UDP socket in monitor mode

2012-11-01 Thread Lei Li
Hi, I reproduced this problem and have already submit a patch to fix it: http://patchwork.ozlabs.org/patch/196116/ ** Changed in: qemu Status: New => Fix Committed ** Changed in: qemu Assignee: (unassigned) => Lei Li (matrixs-zero) -- You received this bug notification because y

[Qemu-devel] buildbot failure in qemu on xen_unstable

2012-11-01 Thread qemu
The Buildbot has detected a new failure on builder xen_unstable while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/xen_unstable/builds/173 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: anthony_xen Build Reason: The Nig

Re: [Qemu-devel] [PATCH v8 0/3] tcg: enhance code generation quality for qemu_ld/st IRs

2012-11-01 Thread malc
On Wed, 31 Oct 2012, Yeongkyoon Lee wrote: > Here is the 8th version of the series optimizing TCG qemu_ld/st code > generation. > > v8: > - Rebase [..snip..] FWIW here's ppc32 implementation of your idea, thanks for explaining the motivation behind certain aspects in our private discussion.

[Qemu-devel] [PATCH 2/2] qemu-kvm/pci-assign: 64 bits bar emulation

2012-11-01 Thread Xudong Hao
Enable 64 bits bar emulation. Signed-off-by: Xudong Hao --- hw/kvm/pci-assign.c | 18 -- 1 files changed, 12 insertions(+), 6 deletions(-) diff --git a/hw/kvm/pci-assign.c b/hw/kvm/pci-assign.c index 05b93d9..f1f8d1e 100644 --- a/hw/kvm/pci-assign.c +++ b/hw/kvm/pci-assign.c @

[Qemu-devel] [PATCH 1/2] qemu-kvm/cpuid: fix a emulation of guest physical address space

2012-11-01 Thread Xudong Hao
For 64 bit processor, emulate 40 bits physical address if the host physical address space >= 40bits, else guest physical is same as host. Signed-off-by: Xudong Hao --- target-i386/cpu.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/target-i386/cpu.c b/target-i386/c

Re: [Qemu-devel] [PATCH v3 27/35] postcopy/outgoing: implement forward/backword prefault

2012-11-01 Thread Isaku Yamahata
On Thu, Nov 01, 2012 at 02:10:45PM -0600, Eric Blake wrote: > On 10/30/2012 02:33 AM, Isaku Yamahata wrote: > > When page is requested, send surrounding pages are also sent. > > > > Signed-off-by: Isaku Yamahata > > --- > > hmp-commands.hx | 15 - > > hmp.c|

[Qemu-devel] [PATCH v3] correct error message qemu-img reported

2012-11-01 Thread liguang
qemu-img will complain when qcow or qcow2 size overflow for 64 bits, report the right message in this condition. Signed-off-by: liguang --- qemu-img.c |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/qemu-img.c b/qemu-img.c index b41e670..d4ea800 100644 --- a/qemu

Re: [Qemu-devel] [PATCH v4 0/7] TCG global variables clean-up

2012-11-01 Thread Evgeny Voevodin
On 10/31/2012 11:01 PM, Richard Henderson wrote: On 2012-10-31 16:19, Evgeny Voevodin wrote: Evgeny (2): tcg/tcg.h: Duplicate global TCG variables in TCGContext TCG: Remove unused global variables Evgeny Voevodin (5): target-cris/translate.c: Code style clean-up TCG: Use gen_opc_ptr

[Qemu-devel] buildbot failure in qemu on default_i386_macosx

2012-11-01 Thread qemu
The Buildbot has detected a new failure on builder default_i386_macosx while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/default_i386_macosx/builds/2 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: MacOSX-10.5 Build Rea

[Qemu-devel] [PATCH v2] correct error message qemu-img reported

2012-11-01 Thread liguang
qemu-img will complain when qcow or qcow2 size overflow for 64 bits, report the right message in this condition. Signed-off-by: liguang --- qemu-img.c | 21 + 1 files changed, 13 insertions(+), 8 deletions(-) diff --git a/qemu-img.c b/qemu-img.c index f17f187..a81f45b 1006

[Qemu-devel] [PATCH] correct error message qemu-img reported

2012-11-01 Thread liguang
qemu-img will complain when qcow or qcow2 size overflow for 64 bits, report the right message in this condition. Signed-off-by: liguang --- qemu-img.c | 16 +--- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/qemu-img.c b/qemu-img.c index f17f187..2a45427 100644 ---

[Qemu-devel] [PATCH] correct error message qemu-img reported

2012-11-01 Thread liguang
qemu-img will complain when qcow or qcow2 size overflow for 64 bits, report the right message in this condition. Signed-off-by: liguang --- qemu-img.c | 16 +--- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/qemu-img.c b/qemu-img.c index f17f187..2a45427 100644 ---

Re: [Qemu-devel] [PATCH] correct error message qemu-img reported

2012-11-01 Thread li guang
在 2012-11-02五的 11:12 +0800,陳韋任 (Wei-Ren Chen)写道: > On Fri, Nov 02, 2012 at 10:35:50AM +0800, liguang wrote: > > qemu-img will complain when qcow or qcow2 > > size overflow for 64 bits, report the right > > message in this condition. > > > > Signed-off-by: liguang > > --- > > qemu-img.c |6 ++

[Qemu-devel] live migration which includes previos snapshot

2012-11-01 Thread Kuniyasu Suzaki
Hello, Can live migration of QEMU include previous snapshot images? I want to roll back to a previous snapshot image on another machine after live migration. I was thinking Block Migration bring the snapshot images of QCOW2, but Block Migration transfers the hard disk image only. Do I have other

Re: [Qemu-devel] [PATCH] Fix off-by-1 error in RAM migration code

2012-11-01 Thread David Gibson
On Wed, Oct 31, 2012 at 01:08:16PM +0200, Orit Wasserman wrote: > On 10/31/2012 05:43 AM, David Gibson wrote: > > The code for migrating (or savevm-ing) memory pages starts off by creating > > a dirty bitmap and filling it with 1s. Except, actually, because bit > > addresses are 0-based it fills e

Re: [Qemu-devel] [PATCH] correct error message qemu-img reported

2012-11-01 Thread Wei-Ren Chen
On Fri, Nov 02, 2012 at 10:35:50AM +0800, liguang wrote: > qemu-img will complain when qcow or qcow2 > size overflow for 64 bits, report the right > message in this condition. > > Signed-off-by: liguang > --- > qemu-img.c |6 -- > 1 files changed, 4 insertions(+), 2 deletions(-) > > dif

[Qemu-devel] Testing migration under stress

2012-11-01 Thread David Gibson
Asking for some advice on the list. I have prorotype savevm and migration support ready for the pseries machine. They seem to work under simple circumstances (idle guest). To test them more extensively I've been attempting to perform live migrations (just over tcp->localhost) which the guest is a

[Qemu-devel] [PATCH] correct error message qemu-img reported

2012-11-01 Thread liguang
qemu-img will complain when qcow or qcow2 size overflow for 64 bits, report the right message in this condition. Signed-off-by: liguang --- qemu-img.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/qemu-img.c b/qemu-img.c index f17f187..a332467 100644 --- a/qemu-im

Re: [Qemu-devel] [PATCH 05/16] pseries: Use #define for XICS base irq number

2012-11-01 Thread David Gibson
On Thu, Nov 01, 2012 at 11:15:43AM +0100, Alexander Graf wrote: > > On 30.10.2012, at 04:25, David Gibson wrote: > > > From: Ben Herrenschmidt > > > > Currently the lowest "real" irq number for the XICS irq controller (as > > opposed to numbers reserved for IPIs and other special purposes) is >

[Qemu-devel] [PATCH] xhci: Fix some DMA host endian bugs

2012-11-01 Thread David Gibson
The xhci device does correct endian switches on the results of some DMAs but not all. In particular, there are many DMAs of what are essentially arrays of 32-bit integers which never get byteswapped. This causes them to be interpreted incorrectly on big-endian hosts, since (as per the xhci spec)

Re: [Qemu-devel] [PATCHv2 1/4] Adding new syscalls (bugzilla 855162)

2012-11-01 Thread Eduardo Otubo
On Thu, Nov 01, 2012 at 05:43:03PM -0400, Paul Moore wrote: > On Tuesday, October 23, 2012 03:55:29 AM Eduardo Otubo wrote: > > According to the bug 855162[0] - there's the need of adding new syscalls > > to the whitelist whenn using Qemu with Libvirt. > > > > [0] - https://bugzilla.redhat.com/sho

Re: [Qemu-devel] [PATCH v7 1/3] hw: introduce standard SD host controller

2012-11-01 Thread Peter Crosthwaite
On Fri, Nov 2, 2012 at 3:21 AM, Igor Mitsyanko wrote: > Hi, Peter, I did some testing and noticed significant performance reduction > compared to previous version without transfer_timer. > > For read operation: > > Testcase (count x blocksize) previous version new version > 1000x1Mb

Re: [Qemu-devel] [PATCH] net: fix bug in net_init_socket

2012-11-01 Thread Lei Li
On 11/01/2012 06:05 PM, Stefan Hajnoczi wrote: On Thu, Nov 01, 2012 at 05:39:55PM +0800, Lei Li wrote: Fix the problem that can not delete the udp socket. It's caused by passing "udp" model to net_socket_udp_init, but we do not have "udp" model in our model list. Pass the right model "socket" to

Re: [Qemu-devel] [PATCH] net: avoid segfault in case netdev_del non-host network device

2012-11-01 Thread Lei Li
On 11/01/2012 05:42 PM, Stefan Hajnoczi wrote: On Thu, Nov 1, 2012 at 8:48 AM, Lei Li wrote: netdev_del assume that remove host network device. However, when try to remove a non-host network device by netdev_del, it will cause a segfault. I recently sent a similar fix which forbids deleting no

Re: [Qemu-devel] [Qemu-ppc] [PATCH 02/16] target-ppc: Rework storage of VPA registration state

2012-11-01 Thread David Gibson
On Thu, Nov 01, 2012 at 11:10:33AM +0100, Alexander Graf wrote: > > On 30.10.2012, at 04:24, David Gibson wrote: > > > With PAPR guests, hypercalls allow registration of the Virtual Processor > > Area (VPA), SLB shadow and dispatch trace log (DTL), each of which allow > > for certain communicatio

[Qemu-devel] [PATCH 4/4 v5] vmware_vga: Allow simple drivers to work without using the fifo

2012-11-01 Thread BALATON Zoltan
Postpone stopping the dirty log to the point where the command fifo is configured to allow drivers which don't use the fifo to work too. (Without this the picture rendered into the vram never got to the screen and the DIRECT_VRAM option meant to support this case was removed a year ago.) Signed-o

[Qemu-devel] [PATCH 3/4 v5] vmware_vga: Return a value for FB_SIZE before the device is enabled

2012-11-01 Thread BALATON Zoltan
According to the documentation drivers using this device should read FB_SIZE before enabling the device to know what memory to map. This would not work if we return 0 before enabled. The docs also mention reading SVGA_REG_DEPTH but not writing it. (Only SVGA_REG_BITS_PER_PIXEL can be written but w

[Qemu-devel] [PATCH 2/4 v5] vmware_vga: Remove duplicated info from local state

2012-11-01 Thread BALATON Zoltan
Removed info from vmsvga_state that is available from elsewhere and thus was duplicated here unnecessarily. Signed-off-by: BALATON Zoltan --- console.h | 20 +++ hw/vmware_vga.c | 159 +++ 2 files changed, 85 insertions(+), 94 del

[Qemu-devel] [PATCH 1/4 v5] vmware_vga: Coding style cleanup

2012-11-01 Thread BALATON Zoltan
Fix coding style as suggested by checkpatch.pl Signed-off-by: BALATON Zoltan --- hw/vmware_vga.c | 274 ++- 1 file changed, 150 insertions(+), 124 deletions(-) v5: rebased again diff --git a/hw/vmware_vga.c b/hw/vmware_vga.c index 34532e5.

[Qemu-devel] buildbot failure in qemu on disable_kvm_x86_64_out_of_tree

2012-11-01 Thread qemu
The Buildbot has detected a new failure on builder disable_kvm_x86_64_out_of_tree while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/disable_kvm_x86_64_out_of_tree/builds/625 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Buil

[Qemu-devel] buildbot failure in qemu on disable_kvm_i386_out_of_tree

2012-11-01 Thread qemu
The Buildbot has detected a new failure on builder disable_kvm_i386_out_of_tree while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/disable_kvm_i386_out_of_tree/builds/625 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: y

[Qemu-devel] buildbot failure in qemu on disable_kvm_x86_64_debian_6_0

2012-11-01 Thread qemu
The Buildbot has detected a new failure on builder disable_kvm_x86_64_debian_6_0 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/disable_kvm_x86_64_debian_6_0/builds/439 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build:

[Qemu-devel] buildbot failure in qemu on disable_kvm_i386_debian_6_0

2012-11-01 Thread qemu
The Buildbot has detected a new failure on builder disable_kvm_i386_debian_6_0 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/disable_kvm_i386_debian_6_0/builds/439 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuz

Re: [Qemu-devel] [patch v5 5/8] memory: introduce local lock for address space

2012-11-01 Thread liu ping fan
On Fri, Nov 2, 2012 at 2:44 AM, Jan Kiszka wrote: > On 2012-11-01 16:45, Avi Kivity wrote: >> On 10/29/2012 11:46 AM, liu ping fan wrote: >>> On Mon, Oct 29, 2012 at 5:32 PM, Avi Kivity wrote: On 10/29/2012 01:48 AM, Liu Ping Fan wrote: > For those address spaces which want to be able ou

[Qemu-devel] buildbot failure in qemu on default_i386_out_of_tree

2012-11-01 Thread qemu
The Buildbot has detected a new failure on builder default_i386_out_of_tree while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/default_i386_out_of_tree/builds/623 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuzuki Bu

[Qemu-devel] buildbot failure in qemu on default_x86_64_out_of_tree

2012-11-01 Thread qemu
The Buildbot has detected a new failure on builder default_x86_64_out_of_tree while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/default_x86_64_out_of_tree/builds/623 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuzuk

[Qemu-devel] buildbot failure in qemu on default_openbsd_4.9

2012-11-01 Thread qemu
The Buildbot has detected a new failure on builder default_openbsd_4.9 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/default_openbsd_4.9/builds/423 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: kraxel_openbsd49 Bu

[Qemu-devel] [PATCH] exec: Advise huge pages for the TCG code gen buffer

2012-11-01 Thread Richard Henderson
After allocating 32MB or more contiguous memory, huge pages would seem to be ideal. Signed-off-by: Richard Henderson --- exec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/exec.c b/exec.c index df67938..ab07f68 100644 --- a/exec.c +++ b/exec.c @@ -602,6 +602,8 @@ static inline void cod

Re: [Qemu-devel] [PATCHv2 1/4] Adding new syscalls (bugzilla 855162)

2012-11-01 Thread Paul Moore
On Tuesday, October 23, 2012 03:55:29 AM Eduardo Otubo wrote: > According to the bug 855162[0] - there's the need of adding new syscalls > to the whitelist whenn using Qemu with Libvirt. > > [0] - https://bugzilla.redhat.com/show_bug.cgi?id=855162 > > v2: Adding new syscalls to the list: readlink

[Qemu-devel] [PATCH 2/3] target-m68k: Remove t1 from CPUM68KState

2012-11-01 Thread Richard Henderson
This field is no longer used. Cc: Paul Brook Signed-off-by: Richard Henderson --- target-m68k/cpu.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/target-m68k/cpu.h b/target-m68k/cpu.h index 780e2c9..f4fcdee 100644 --- a/target-m68k/cpu.h +++ b/target-m68k/cpu.h @@ -103,9 +103,6 @@ typed

[Qemu-devel] [PATCH 1/3] target-alpha: Remove t0, t1 from CPUAlphaState

2012-11-01 Thread Richard Henderson
These fields are no longer (or were never?) used. Signed-off-by: Richard Henderson --- target-alpha/cpu.h | 7 --- 1 file changed, 7 deletions(-) diff --git a/target-alpha/cpu.h b/target-alpha/cpu.h index 34221fb..9939d61 100644 --- a/target-alpha/cpu.h +++ b/target-alpha/cpu.h @@ -280,13 +

[Qemu-devel] [PATCH 3/3] target-sparc: Remove t0, t1 from CPUSPARCState

2012-11-01 Thread Richard Henderson
These fields are no longer used. Cc: Blue Swirl Signed-off-by: Richard Henderson --- target-sparc/cpu.h | 1 - 1 file changed, 1 deletion(-) diff --git a/target-sparc/cpu.h b/target-sparc/cpu.h index 6aa82b3..84dba4e 100644 --- a/target-sparc/cpu.h +++ b/target-sparc/cpu.h @@ -392,7 +392,6 @@

[Qemu-devel] [PATCH 0/3] trivial: Remove some pre-TCG CPUArchState members

2012-11-01 Thread Richard Henderson
Best I can figure, these temporaries were used by the dyngen code generator, last seen in qemu 0.9.0. Certainly there are no references to these members remaining. Built x86_64 and i686 hosts. r~ Richard Henderson (3): target-alpha: Remove t0, t1 from CPUAlphaState target-m68k: Remove t1

Re: [Qemu-devel] Compile error

2012-11-01 Thread Gerhard Wiesinger
On 01.11.2012 21:58, Anthony Liguori wrote: What platform is this breaking on? Can you point me to the buildbot failure? Fedora 17, x64: 3.6.3-1.fc17.x86_64 gcc (GCC) 4.7.2 20120921 (Red Hat 4.7.2-2) E.g. here: http://www.kraxel.org/bb/builders/fedora-default/builds/888/steps/compile/logs/std

Re: [Qemu-devel] [PATCH v3 34/35] postcopy/outgoing: introduce precopy_count parameter

2012-11-01 Thread Eric Blake
On 10/30/2012 02:33 AM, Isaku Yamahata wrote: > Precopy with this loop number before postcopy mode. > This will be implemented by the next patch. > > Signed-off-by: Isaku Yamahata > --- > +++ b/qapi-schema.json > @@ -2089,6 +2089,8 @@ > # @detach: this argument exists only for compatibility reas

Re: [Qemu-devel] [PATCH] Fix build error in virtfs-proxy-helper

2012-11-01 Thread Eric Blake
On 11/01/2012 03:06 PM, Anthony Liguori wrote: > I don't have a kernel with the necessary syscalls so this is completely > untested. > > Cc: "M. Mohan Kumar" > Cc: Gerhard Wiesinger > Reported-by: Gerhard Wiesinger > Signed-off-by: Anthony Liguori > --- > fsdev/virtfs-proxy-helper.c | 8 +

[Qemu-devel] [ATTENTION] You must run git submodule update --init on latest master!

2012-11-01 Thread anthony
There is now a pixman module that is used if you don't have pixman development packages installed locally. Regards, Anthony Liguori

[Qemu-devel] [PATCH] Fix build error in virtfs-proxy-helper

2012-11-01 Thread Anthony Liguori
I don't have a kernel with the necessary syscalls so this is completely untested. Cc: "M. Mohan Kumar" Cc: Gerhard Wiesinger Reported-by: Gerhard Wiesinger Signed-off-by: Anthony Liguori --- fsdev/virtfs-proxy-helper.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git

Re: [Qemu-devel] Compile error

2012-11-01 Thread Anthony Liguori
Gerhard Wiesinger writes: > Ping again ... > > Ciao, > Gerhard What platform is this breaking on? Can you point me to the buildbot failure? Regards, Anthony Liguori > > On 10.10.2012 07:17, Gerhard Wiesinger wrote: >> Hello, >> >> Still not compile clean, also on the build servers. Who is re

Re: [Qemu-devel] Compile error

2012-11-01 Thread Gerhard Wiesinger
Hello, Yes, compiles when warnings are not treated as errors. But do we want to be only compile clean when we suppress such warnings? Also ./configure with plattform should be enough. Ciao, Gerhard On 01.11.2012 21:13, Max Filippov wrote: On Thu, Nov 1, 2012 at 11:47 PM, Gerhard Wiesinger w

Re: [Qemu-devel] [PATCH v3 29/35] postcopy/outgoing: add movebg mode(-m) to migration command

2012-11-01 Thread Eric Blake
On 10/30/2012 02:33 AM, Isaku Yamahata wrote: > When movebg mode is enabled, the point to send background page is set > to the next page to on-demand page. > > Signed-off-by: Isaku Yamahata > + -m for migratoin with postcopy mode enabled with moving position s/migratoin/migration/ > +++ b/

Re: [Qemu-devel] [PATCH v3 27/35] postcopy/outgoing: implement forward/backword prefault

2012-11-01 Thread Eric Blake
On 10/30/2012 02:33 AM, Isaku Yamahata wrote: > When page is requested, send surrounding pages are also sent. > > Signed-off-by: Isaku Yamahata > --- > hmp-commands.hx | 15 - > hmp.c|3 +++ > migration-postcopy.c | 57 > +

Re: [Qemu-devel] Compile error

2012-11-01 Thread Max Filippov
On Thu, Nov 1, 2012 at 11:47 PM, Gerhard Wiesinger wrote: > Ping again ... Can you just configure it with --disable-werror ? IIRC it is the default for the released QEMU versions. > On 10.10.2012 07:17, Gerhard Wiesinger wrote: >> >> Hello, >> >> Still not compile clean, also on the build server

[Qemu-devel] [PULL 1.3 0/9] Trivial patches for 20 October to 1 November 2012

2012-11-01 Thread Stefan Hajnoczi
The following changes since commit 286d52ebfc0d0d53c2a878e454292fea14bad41b: target-mips: don't flush extra TLB on permissions upgrade (2012-10-31 22:20:49 +0100) are available in the git repository at: git://github.com/stefanha/qemu.git trivial-patches for you to fetch changes up to 0d3cf

[Qemu-devel] [PATCH 5/6] net/tap-win32: Fix compiler warning caused by missing include statement

2012-11-01 Thread Stefan Hajnoczi
From: Stefan Weil The include file for net_init_tap was missing: net/tap-win32.c:703: warning: no previous prototype for ‘net_init_tap’ Signed-off-by: Stefan Weil Signed-off-by: Stefan Hajnoczi --- net/tap-win32.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/tap-win32.c b/net/tap

[Qemu-devel] [PATCH 6/6] ui/vnc-jobs.c: Fix minor typos in comments

2012-11-01 Thread Stefan Hajnoczi
From: Peter Maydell Fix some minor typos/grammar errors in comments. Signed-off-by: Peter Maydell Reviewed-by: Stefan Weil Signed-off-by: Stefan Hajnoczi --- ui/vnc-jobs.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ui/vnc-jobs.c b/ui/vnc-jobs.c index

[Qemu-devel] [PATCH] ui/vnc.c: Fix crash with VNC

2012-11-01 Thread Gerhard Wiesinger
Fix crash with VNC under NT 4.0 and VMWare VGA and window which is outside of the visible area. Backtrace: #0 set_bit (addr=, nr=-3) at ./bitops.h:122 #1 vnc_dpy_update (ds=, x=-48, y=145, w=57, h=161) at ui/vnc.c:452 #2 0x7f1ce057e2ec in dpy_update (s=0x7f1ce1c8c880, h=16, w=66, y=145,

[Qemu-devel] [PATCH 3/6] target-arm/neon_helper: Remove obsolete FIXME comment

2012-11-01 Thread Stefan Hajnoczi
From: Peter Maydell Commit 33ebc29 fixed the bugs in the implementation of VQRSHL, but forgot to remove the FIXME comment... Signed-off-by: Peter Maydell Signed-off-by: Stefan Hajnoczi --- target-arm/neon_helper.c | 1 - 1 file changed, 1 deletion(-) diff --git a/target-arm/neon_helper.c b/t

Re: [Qemu-devel] [PATCH v3 26/35] postcopy/outgoing: add -n options to disable background transfer

2012-11-01 Thread Eric Blake
On 10/30/2012 02:33 AM, Isaku Yamahata wrote: > This is for benchmark purpose > > Signed-off-by: Isaku Yamahata > +++ b/qapi-schema.json > @@ -2095,7 +2095,7 @@ > ## > { 'command': 'migrate', >'data': {'uri': 'str', '*blk': 'bool', '*inc': 'bool', '*detach': 'bool' , > - '*postco

[Qemu-devel] [PATCH 8/9] exec: make some functions static

2012-11-01 Thread Stefan Hajnoczi
From: Blue Swirl Signed-off-by: Blue Swirl Signed-off-by: Stefan Hajnoczi --- cpu-common.h | 5 - exec-all.h| 2 -- exec.c| 15 +-- memory-internal.h | 2 -- 4 files changed, 9 insertions(+), 15 deletions(-) diff --git a/cpu-common.h b/cpu-common.h

[Qemu-devel] [PATCH 9/9] pc: Drop redundant test for ROM memory region

2012-11-01 Thread Stefan Hajnoczi
From: Jan Kiszka Just a few lines above, we already initialize rom_memory accordingly. Signed-off-by: Jan Kiszka Signed-off-by: Stefan Hajnoczi --- hw/pc_piix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/pc_piix.c b/hw/pc_piix.c index 85529b2..cfa839c 100644 --- a/

Re: [Qemu-devel] [PATCH v3 24/35] postcopy outgoing: add -p option to migrate command

2012-11-01 Thread Eric Blake
On 10/30/2012 02:33 AM, Isaku Yamahata wrote: > Added -p option to migrate command for postcopy mode and > introduce postcopy parameter for migration to indicate that postcopy mode > is enabled. > > Signed-off-by: Isaku Yamahata > diff --git a/qapi-schema.json b/qapi-schema.json > index c615ee2.

Re: [Qemu-devel] Compile error

2012-11-01 Thread Gerhard Wiesinger
Ping again ... Ciao, Gerhard On 10.10.2012 07:17, Gerhard Wiesinger wrote: Hello, Still not compile clean, also on the build servers. Who is responsible for the fix? Ciao, Gerhard On 16.09.2012 18:25, Gerhard Wiesinger wrote: Hello, qemu is currently not compile clean on Fedora 17: CC f

Re: [Qemu-devel] [PULL v2 00/39] AioContext, thread pool, Win32 AIO

2012-11-01 Thread Anthony Liguori
Paolo Bonzini writes: > The following changes since commit aee0bf7d8d7564f8f2c40e4501695c492b7dd8d1: > > tap-win32: stubs to fix win32 build (2012-10-30 19:18:53 +) > > are available in the git repository at: > > git://github.com/bonzini/qemu.git threadpool > > for you to fetch changes up

Re: [Qemu-devel] [PULL 00/22] console cleanups & pixman rendering

2012-11-01 Thread Anthony Liguori
Gerd Hoffmann writes: > Hi, > > Sitting on these too long already. Series has been on the list a while > back, only splitted into two parts (separate "console cleanups" series > carrying patches 1-8). Patch 11 was updated according to Paolos > suggestion, otherwise the patches are unmodified.

Re: [Qemu-devel] [PULL 1.3 0/4] Net patches

2012-11-01 Thread Anthony Liguori
Stefan Hajnoczi writes: > The following changes since commit 286d52ebfc0d0d53c2a878e454292fea14bad41b: > > target-mips: don't flush extra TLB on permissions upgrade (2012-10-31 > 22:20:49 +0100) > > are available in the git repository at: > > git://github.com/stefanha/qemu.git net > > for yo

Re: [Qemu-devel] [PATCH 00/28] [PULL] qemu-kvm.git uq/master queue

2012-11-01 Thread Anthony Liguori
Marcelo Tosatti writes: > The following changes since commit aee0bf7d8d7564f8f2c40e4501695c492b7dd8d1: > > tap-win32: stubs to fix win32 build (2012-10-30 19:18:53 +) > > are available in the git repository at: > git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git uq/master > > Don Slutz (

Re: [Qemu-devel] [PATCH 5/5] qemu-ga: win32: add isa-serial support

2012-11-01 Thread Luiz Capitulino
On Thu, 1 Nov 2012 14:13:52 -0500 Michael Roth wrote: > On Thu, Nov 01, 2012 at 02:55:20PM -0200, Luiz Capitulino wrote: > > On Thu, 1 Nov 2012 11:31:05 -0500 > > Michael Roth wrote: > > > > > On Wed, Oct 31, 2012 at 03:45:20PM -0200, Luiz Capitulino wrote: > > > > It's implemented by opening t

Re: [Qemu-devel] [PULL] QOM CPUState patch queue 2012-10-31

2012-11-01 Thread Anthony Liguori
Andreas Färber writes: > Hello Anthony, > > This is my current QOM CPUState queue. Please pull. > > This completes Igor's first step of x86 CPU hotplug roadmap: > http://wiki.qemu.org/Features/CPUHotplug > CPU-as-a-device is still under review and blocking CPU properties/subclasses; > I hope to g

[Qemu-devel] [PATCH 4/9] vl.c: add missing static

2012-11-01 Thread Stefan Hajnoczi
From: Blue Swirl Add missing 'static' qualifiers. Signed-off-by: Blue Swirl Signed-off-by: Stefan Hajnoczi --- sysemu.h | 5 - vl.c | 21 - 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/sysemu.h b/sysemu.h index f72b4ce..f5ac664 100644 --- a/sys

Re: [Qemu-devel] [PATCH 4/5] qemu-ga: win32: isolate virtio-serial specific code

2012-11-01 Thread Michael Roth
On Thu, Nov 01, 2012 at 02:33:29PM -0200, Luiz Capitulino wrote: > On Thu, 1 Nov 2012 11:22:13 -0500 > Michael Roth wrote: > > > On Wed, Oct 31, 2012 at 03:45:19PM -0200, Luiz Capitulino wrote: > > > This commit prepares ga_channel_new(), ga_channel_read() and > > > ga_channel_open() for isa-seri

Re: [Qemu-devel] [PATCH 5/5] qemu-ga: win32: add isa-serial support

2012-11-01 Thread Michael Roth
On Thu, Nov 01, 2012 at 02:55:20PM -0200, Luiz Capitulino wrote: > On Thu, 1 Nov 2012 11:31:05 -0500 > Michael Roth wrote: > > > On Wed, Oct 31, 2012 at 03:45:20PM -0200, Luiz Capitulino wrote: > > > It's implemented by opening the serial port in "non-blocking" mode > > > and using the GSourceFun

[Qemu-devel] [PATCH 6/9] ppc: add missing static

2012-11-01 Thread Stefan Hajnoczi
From: Blue Swirl Add missing 'static' qualifiers. Signed-off-by: Blue Swirl Acked-by: Alexander Graf Signed-off-by: Stefan Hajnoczi --- hw/adb.c | 8 hw/adb.h | 4 hw/nvram.h | 10 +- hw/ppc.c | 16 target-ppc/cpu.h | 1

[Qemu-devel] [PATCH 3/9] target-sparc: make do_unaligned_access static

2012-11-01 Thread Stefan Hajnoczi
From: Blue Swirl Signed-off-by: Blue Swirl Signed-off-by: Stefan Hajnoczi --- target-sparc/cpu.h | 3 --- target-sparc/ldst_helper.c | 8 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/target-sparc/cpu.h b/target-sparc/cpu.h index a55fe08..7c689ee 100644 --- a/

[Qemu-devel] [PATCH 7/9] target-ppc: make some functions static

2012-11-01 Thread Stefan Hajnoczi
From: Blue Swirl Signed-off-by: Blue Swirl Acked-by: Alexander Graf Signed-off-by: Stefan Hajnoczi --- target-ppc/cpu.h| 6 -- target-ppc/mmu_helper.c | 11 ++- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h index ddee9

[Qemu-devel] [PATCH 5/9] vnc: add missing static

2012-11-01 Thread Stefan Hajnoczi
From: Blue Swirl Add missing 'static' qualifiers. Signed-off-by: Blue Swirl Signed-off-by: Stefan Hajnoczi --- console.h | 2 -- ui/vnc-jobs.c | 10 +- ui/vnc-jobs.h | 1 - ui/vnc.c | 14 +++--- ui/vnc.h | 5 - 5 files changed, 12 insertions(+), 20 deletio

[Qemu-devel] [PATCH 1/6] ui/vnc: Only report/use TIGHT_PNG encoding if enabled.

2012-11-01 Thread Stefan Hajnoczi
From: Joel Martin If TIGHT_PNG is not enabled by the --enable-vnc-png configure flag then do not report to the client that it is supported. Also, since TIGHT_PNG is the same as the TIGHT encoding but with the filter/copy replaced with PNG data, adding it to the supported encodings list when it i

[Qemu-devel] [PATCH 2/9] m68k: Return semihosting errno values correctly

2012-11-01 Thread Stefan Hajnoczi
From: Meador Inge Fixing a simple typo, s/errno/err/, that caused the error status from GDB semihosted system calls to be returned incorrectly. Signed-off-by: Meador Inge Reviewed-by: Andreas Färber Signed-off-by: Stefan Hajnoczi --- target-m68k/m68k-semi.c | 2 +- 1 file changed, 1 insertio

[Qemu-devel] [PATCH 4/6] configure: Remove unused parameters from main function

2012-11-01 Thread Stefan Hajnoczi
From: Stefan Weil This modification is required if compiler option -Wunused-parameter is activated. Signed-off-by: Stefan Weil Signed-off-by: Stefan Hajnoczi --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 353d788..499ad81 100

[Qemu-devel] [PATCH 2/6] targphys.h: Don't define target_phys_addr_t for user-mode emulators

2012-11-01 Thread Stefan Hajnoczi
From: Peter Maydell Commit 4be403c accidentally defined the target_phys_addr_t type when building user-mode emulators. Since the type doesn't really make any sense except for system emulators, avoid defining it when building in user mode. Signed-off-by: Peter Maydell Acked-by: Andreas Färber S

[Qemu-devel] [PATCH 1/9] cadence_uart: More debug information

2012-11-01 Thread Stefan Hajnoczi
From: Peter Crosthwaite Add more helpful debug information to the cadence UART. Signed-off-by: Peter Crosthwaite Reviewed-by: Peter Maydell Signed-off-by: Stefan Hajnoczi --- hw/cadence_uart.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/hw/cadence_uart.c b

Re: [Qemu-devel] [PATCH 1/8] usb: Add packet combining functions

2012-11-01 Thread Hans de Goede
Hi, On 11/01/2012 05:42 PM, Gerd Hoffmann wrote: Hi, Rebased and re-rested (a bit), new version send. Added to the queue. I see you've just done a pull-req for what was in usb-next already, I really hope you can do another one with the status + length splitting patches in there, so that

Re: [Qemu-devel] [PATCH] pc: Drop redundant test for ROM memory region

2012-11-01 Thread Stefan Hajnoczi
On Thu, Nov 01, 2012 at 05:29:24PM +0100, Jan Kiszka wrote: > From: Jan Kiszka > > Just a few lines above, we already initialize rom_memory accordingly. > > Signed-off-by: Jan Kiszka > --- > hw/pc_piix.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) Thanks, applied to the triv

Re: [Qemu-devel] [PATCH v2 0/6] static patches

2012-11-01 Thread Stefan Hajnoczi
On Sun, Oct 28, 2012 at 11:04:45AM +, Blue Swirl wrote: > v2: extract function removal patches, skip ARM > > Blue Swirl (6): > target-sparc: make do_unaligned_access static > vl.c: add missing static > vnc: add missing static > ppc: add missing static > target-ppc: make some function

Re: [Qemu-devel] [patch v5 5/8] memory: introduce local lock for address space

2012-11-01 Thread Jan Kiszka
On 2012-11-01 16:45, Avi Kivity wrote: > On 10/29/2012 11:46 AM, liu ping fan wrote: >> On Mon, Oct 29, 2012 at 5:32 PM, Avi Kivity wrote: >>> On 10/29/2012 01:48 AM, Liu Ping Fan wrote: For those address spaces which want to be able out of big lock, they will be protected by their own l

Re: [Qemu-devel] [PATCH] pc_sysfw: Always use alias for ISA BIOS region

2012-11-01 Thread Jan Kiszka
On 2012-11-01 19:03, Jordan Justen wrote: > On Thu, Nov 1, 2012 at 10:21 AM, Jan Kiszka wrote: >> On 2012-11-01 18:17, Jan Kiszka wrote: >>> On 2012-11-01 18:15, Jordan Justen wrote: Would the old behavior need to be preserved for pc-1.1 & pc-1.2? >>> >>> Why? This is just restoring the older

[Qemu-devel] [PATCH 05/31] xhci: add xhci_port_reset

2012-11-01 Thread Gerd Hoffmann
Move port reset logic to its own function. Signed-off-by: Gerd Hoffmann --- hw/usb/hcd-xhci.c | 13 + 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c index 3af4639..1db803c 100644 --- a/hw/usb/hcd-xhci.c +++ b/hw/usb/hcd-xhci.c @

[Qemu-devel] [PATCH 28/31] usb-redir: Add an usbredir_setup_usb_eps() helper function

2012-11-01 Thread Gerd Hoffmann
From: Hans de Goede Signed-off-by: Hans de Goede Signed-off-by: Gerd Hoffmann --- hw/usb/redirect.c | 45 ++--- 1 files changed, 22 insertions(+), 23 deletions(-) diff --git a/hw/usb/redirect.c b/hw/usb/redirect.c index 448cfab..a3df757 100644 --- a/h

[Qemu-devel] [PATCH 16/31] uhci: dynamic type generation

2012-11-01 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- hw/usb/hcd-uhci.c | 196 +++-- 1 files changed, 70 insertions(+), 126 deletions(-) diff --git a/hw/usb/hcd-uhci.c b/hw/usb/hcd-uhci.c index b6b972f..925c738 100644 --- a/hw/usb/hcd-uhci.c +++ b/hw/usb/hcd-uhci.c @@

[Qemu-devel] [PATCH 13/31] usb/ehci: split into multiple source files

2012-11-01 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- hw/usb/Makefile.objs |2 +- hw/usb/hcd-ehci-pci.c | 138 hw/usb/hcd-ehci.c | 426 + hw/usb/hcd-ehci.h | 320 + 4 files changed, 462 insertions(+),

[Qemu-devel] [PATCH 01/31] xhci: add {get, set}_field macros & enum for pls

2012-11-01 Thread Gerd Hoffmann
Add {get,set}_field macros (simliar to ehci) to read and update some bits of a word. Put them into use for updating pls (port link state) values. Also add a enum for pls values. Signed-off-by: Gerd Hoffmann --- hw/usb/hcd-xhci.c | 39 +++ 1 files changed,

[Qemu-devel] [PATCH 22/31] uhci: Add a uhci_handle_td_error() helper function

2012-11-01 Thread Gerd Hoffmann
From: Hans de Goede Signed-off-by: Hans de Goede Signed-off-by: Gerd Hoffmann --- hw/usb/hcd-uhci.c | 90 +++- 1 files changed, 47 insertions(+), 43 deletions(-) diff --git a/hw/usb/hcd-uhci.c b/hw/usb/hcd-uhci.c index 71263fe..a06372b 100644

[Qemu-devel] [PATCH 11/31] usb/ehci: seperate out PCIisms

2012-11-01 Thread Gerd Hoffmann
From: Peter Crosthwaite Seperate the PCI stuff from the EHCI components. Extracted the PCIDevice out into a new wrapper struct to make EHCIState non-PCI-specific. Seperated tho non PCI init component out into a seperate "common" init function. Signed-off-by: Peter Crosthwaite Signed-off-by: Ger

Re: [Qemu-devel] [PATCH] pc_sysfw: Always use alias for ISA BIOS region

2012-11-01 Thread Jordan Justen
On Thu, Nov 1, 2012 at 10:21 AM, Jan Kiszka wrote: > On 2012-11-01 18:17, Jan Kiszka wrote: >> On 2012-11-01 18:15, Jordan Justen wrote: >>> Would the old behavior need to be preserved for pc-1.1 & pc-1.2? >> >> Why? This is just restoring the older, correct behavior. > > Err, sorry, there was no

[Qemu-devel] [PATCH 30/31] usb-redir: Allow to attach USB 2.0 devices to 1.1 host controller

2012-11-01 Thread Gerd Hoffmann
From: Jan Kiszka This follows the logic of host-linux: If a 2.0 device has no ISO endpoint and no interrupt endpoint with a packet size > 64, we can attach it also to an 1.1 host controller. In case the redir server does not report endpoint sizes, play safe and remove the 1.1 compatibility as wel

[Qemu-devel] [PATCH 19/31] usb/ehci-pci: dynamic type generation

2012-11-01 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- hw/usb/hcd-ehci-pci.c | 66 ++--- 1 files changed, 35 insertions(+), 31 deletions(-) diff --git a/hw/usb/hcd-ehci-pci.c b/hw/usb/hcd-ehci-pci.c index daac41d..df137cc 100644 --- a/hw/usb/hcd-ehci-pci.c +++ b/hw/usb/hc

[Qemu-devel] [PATCH 10/31] usb/ehci: Abstract away PCI DMA API

2012-11-01 Thread Gerd Hoffmann
From: Peter Crosthwaite Pull the DMAContext for the PCI DMA out at device init time and put it into the device state. Use dma_memory_read/write() instead of pci specific versions. Signed-off-by: Peter Crosthwaite Signed-off-by: Gerd Hoffmann --- hw/usb/hcd-ehci.c | 13 - 1 files

[Qemu-devel] [PATCH 26/31] usb-redir: Add support for 32 bits bulk packet length

2012-11-01 Thread Gerd Hoffmann
From: Hans de Goede Signed-off-by: Hans de Goede Signed-off-by: Gerd Hoffmann --- configure |2 +- hw/usb/redirect.c |7 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 9c6ac87..fbebf0f 100755 --- a/configure +++ b/configure @@

[Qemu-devel] [PATCH 07/31] xhci: add port trace points

2012-11-01 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- hw/usb/hcd-xhci.c |6 +- trace-events |2 ++ 2 files changed, 7 insertions(+), 1 deletions(-) diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c index 84d1b26..3259638 100644 --- a/hw/usb/hcd-xhci.c +++ b/hw/usb/hcd-xhci.c @@ -2391,12 +2391,14 @@

[Qemu-devel] [PATCH 3/6] ehci: Get rid of the magical PROC_ERR status

2012-11-01 Thread Hans de Goede
Instead make ehci_execute and ehci_fill_queue return the again value. Signed-off-by: Hans de Goede --- hw/usb/hcd-ehci.c | 55 --- 1 file changed, 24 insertions(+), 31 deletions(-) diff --git a/hw/usb/hcd-ehci.c b/hw/usb/hcd-ehci.c index 3a1f5

  1   2   3   >