Re: [Qemu-devel] [RESEND][PATCH 2/9] PCMCIA: start qdev'ication

2011-05-15 Thread Dmitry Eremin-Solenikov
On 5/16/11, andrzej zaborowski wrote: > Hi Dmitry, > > On 25 April 2011 11:06, Dmitry Eremin-Solenikov > wrote: >> Convert PCMCIA bus handling code to use QBus internally. >> MicroDrive code is still unaffected. >> >> Signed-off-by: Dmitry Eremin-Solenikov >> --- >> Makefile.objs |3 ++

Re: [Qemu-devel] [RESEND][PATCH 3/9] microdrive: qdevify

2011-05-15 Thread Dmitry Eremin-Solenikov
Hello, On 5/16/11, andrzej zaborowski wrote: > On 25 April 2011 11:06, Dmitry Eremin-Solenikov > wrote: >> Switch dscm1 microdrive driver to use qdev infrastructure. >> --- >> hw/ide/microdrive.c | 49 >> +++-- >> hw/pcmcia.h |2 +- >

[Qemu-devel] [PATCH -v4] Monitor command: x-gpa2hva, translate guest physical address to host virtual address

2011-05-15 Thread Huang Ying
Add command x-gpa2hva to translate guest physical address to host virtual address. Because gpa to hva translation is not consistent, so this command is only used for debugging. The x-gpa2hva command provides one step in a chain of translations from guest virtual to guest physical to host virtual t

Re: [Qemu-devel] [RESEND][PATCH 3/9] microdrive: qdevify

2011-05-15 Thread andrzej zaborowski
On 25 April 2011 11:06, Dmitry Eremin-Solenikov wrote: > Switch dscm1 microdrive driver to use qdev infrastructure. > --- >  hw/ide/microdrive.c |   49 +++-- >  hw/pcmcia.h         |    2 +- >  hw/spitz.c          |    5 - >  hw/tosa.c          

Re: [Qemu-devel] [RESEND][PATCH 2/9] PCMCIA: start qdev'ication

2011-05-15 Thread andrzej zaborowski
Hi Dmitry, On 25 April 2011 11:06, Dmitry Eremin-Solenikov wrote: > Convert PCMCIA bus handling code to use QBus internally. > MicroDrive code is still unaffected. > > Signed-off-by: Dmitry Eremin-Solenikov > --- >  Makefile.objs      |    3 ++ >  hw/pcmcia.c        |  102 > +++

Re: [Qemu-devel] [PATCH] net/socket: remove hardcoded packet size in favor of new mtu parameter

2011-05-15 Thread Nguyen Thai Ngoc Duy
2011/5/16 Michael S. Tsirkin : > On Fri, Apr 22, 2011 at 07:59:28PM +0700, Nguyễn Thái Ngọc Duy wrote: >> Also mention the default value 4096. >> >> Signed-off-by: Nguyễn Thái Ngọc Duy > > IS the option really necessary? Why not just allocate 128K or so and be > done with it? That should be big en

Re: [Qemu-devel] [RFC] live snapshot, live merge, live block migration

2011-05-15 Thread Jagane Sundar
Hello Dor, One important advantage of live snapshot over live backup is support of multiple (consecutive) live snapshots while there can be only a single live backup at one time. This is why I tend to think that although live backup carry some benefit (no merge required), the live snapshot + liv

[Qemu-devel] Su anuncio

2011-05-15 Thread annoncessansregrets
Hola, Su anuncio en: http://www.sansregrets.com/publicidad Gracias.

[Qemu-devel] Su anuncio

2011-05-15 Thread annoncessansregrets
Hola, Su anuncio en: http://www.sansregrets.com/publicidad Gracias.

Re: [Qemu-devel] [PATCH 06/11] target-i386: use floatx80 constants in helper_fld*_ST0()

2011-05-15 Thread Andreas Färber
Am 15.05.2011 um 16:13 schrieb Aurelien Jarno: Instead of using a table which doesn't correspond to anything from physical in the CPU, use directly the constants in helper_fld*_ST0(). Cc: Andreas Färber Signed-off-by: Aurelien Jarno --- target-i386/op_helper.c | 27 -

Re: [Qemu-devel] [RFC] live snapshot, live merge, live block migration

2011-05-15 Thread Dor Laor
On 05/13/2011 06:16 AM, Jagane Sundar wrote: On 5/12/2011 8:33 AM, Jes Sorensen wrote: On 05/09/11 15:40, Dor Laor wrote: Summary: * We need Marcelo's new (to come) block copy implementation * should work in parallel to migration and hotplug * General copy on read is desirable * Live snapshot m

Re: [Qemu-devel] [PATCH] net/socket: remove hardcoded packet size in favor of new mtu parameter

2011-05-15 Thread Michael S. Tsirkin
On Fri, Apr 22, 2011 at 07:59:28PM +0700, Nguyễn Thái Ngọc Duy wrote: > Also mention the default value 4096. > > Signed-off-by: Nguyễn Thái Ngọc Duy IS the option really necessary? Why not just allocate 128K or so and be done with it? That should be big enough even with GSO etc. > --- > free n

Re: [Qemu-devel] AHCI broken in current git, bisected.

2011-05-15 Thread Michael S. Tsirkin
On Sun, May 15, 2011 at 10:20:23PM +0300, Michael S. Tsirkin wrote: > On Sun, May 15, 2011 at 07:14:42PM +0200, Jan Kiszka wrote: > > On 2011-05-15 18:32, Michael S. Tsirkin wrote: > > > On Sun, May 15, 2011 at 07:58:23PM +0400, Alexey Zaytsev wrote: > > >> Hi. > > >> > > >> The commit 667bb59d2358

Re: [Qemu-devel] AHCI broken in current git, bisected.

2011-05-15 Thread Michael S. Tsirkin
On Sun, May 15, 2011 at 07:14:42PM +0200, Jan Kiszka wrote: > On 2011-05-15 18:32, Michael S. Tsirkin wrote: > > On Sun, May 15, 2011 at 07:58:23PM +0400, Alexey Zaytsev wrote: > >> Hi. > >> > >> The commit 667bb59d2358daeef179583c944becba3f1f9680 > >> Author: Avi Kivity > >> Date: Mon Apr 4 18:

Re: [Qemu-devel] AHCI broken in current git, bisected.

2011-05-15 Thread Alexey Zaytsev
On Sun, May 15, 2011 at 21:14, Jan Kiszka wrote: > On 2011-05-15 18:32, Michael S. Tsirkin wrote: >> On Sun, May 15, 2011 at 07:58:23PM +0400, Alexey Zaytsev wrote: >>> Hi. >>> >>> The commit 667bb59d2358daeef179583c944becba3f1f9680 >>> Author: Avi Kivity >>> Date:   Mon Apr 4 18:28:02 2011 +0300

Re: [Qemu-devel] AHCI broken in current git, bisected.

2011-05-15 Thread Jan Kiszka
On 2011-05-15 18:32, Michael S. Tsirkin wrote: > On Sun, May 15, 2011 at 07:58:23PM +0400, Alexey Zaytsev wrote: >> Hi. >> >> The commit 667bb59d2358daeef179583c944becba3f1f9680 >> Author: Avi Kivity >> Date: Mon Apr 4 18:28:02 2011 +0300 >> >> ich/ahci: convert to pci_register_bar_simple()

Re: [Qemu-devel] AHCI broken in current git, bisected.

2011-05-15 Thread Alexey Zaytsev
On Sun, May 15, 2011 at 20:32, Michael S. Tsirkin wrote: > On Sun, May 15, 2011 at 07:58:23PM +0400, Alexey Zaytsev wrote: >> Hi. >> >> The commit 667bb59d2358daeef179583c944becba3f1f9680 >> Author: Avi Kivity >> Date:   Mon Apr 4 18:28:02 2011 +0300 >> >>     ich/ahci: convert to pci_register_ba

[Qemu-devel] [PATCH] Clean up virtio-9p error handling code

2011-05-15 Thread Sassan Panahinejad
In a lot of cases, the handling of errors was quite ugly. This patch moves reading of errno to immediately after the system calls and passes it up through the system more cleanly. Also, in the case of the xattr functions (and possibly others), completely the wrong error was being returned. Signe

[Qemu-devel] AHCI problems.

2011-05-15 Thread Alexey Zaytsev
Hi again. After reverting 667bb59, ahci works fine in Linux, if I boot it with -kernel, but grub seems to have some problems. Grub2 gets to the rescue prompt. The disk and its partitions seem to be detected correctly, but not the filesystem. Grub-legacy (from illumos) complains about checksum veri

Re: [Qemu-devel] AHCI broken in current git, bisected.

2011-05-15 Thread Michael S. Tsirkin
On Sun, May 15, 2011 at 07:58:23PM +0400, Alexey Zaytsev wrote: > Hi. > > The commit 667bb59d2358daeef179583c944becba3f1f9680 > Author: Avi Kivity > Date: Mon Apr 4 18:28:02 2011 +0300 > > ich/ahci: convert to pci_register_bar_simple() > > Signed-off-by: Avi Kivity > Signed-off-b

[Qemu-devel] AHCI broken in current git, bisected.

2011-05-15 Thread Alexey Zaytsev
Hi. The commit 667bb59d2358daeef179583c944becba3f1f9680 Author: Avi Kivity Date: Mon Apr 4 18:28:02 2011 +0300 ich/ahci: convert to pci_register_bar_simple() Signed-off-by: Avi Kivity Signed-off-by: Michael S. Tsirkin breaks AHCI to the point the disks are not detected by both

Re: [Qemu-devel] [PATCH 02/11] target-mips/gdbstub: remove old CONFIG_SOFTFLOAT #ifdef

2011-05-15 Thread Aurelien Jarno
On Sun, May 15, 2011 at 03:29:21PM +0100, Peter Maydell wrote: > On 15 May 2011 15:13, Aurelien Jarno wrote: > > target-mips has been switched to softfloat only long ago, but a > > few #ifdef CONFIG_SOFTFLOAT have been forgotten. Remove them. > > > -#ifndef CONFIG_SOFTFLOAT > >             /* no

[Qemu-devel] [PATCH 1/2] configure: add libdir and --libdir

2011-05-15 Thread Alon Levy
Signed-off-by: Alon Levy --- configure |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/configure b/configure index d7dba5d..0627f1d 100755 --- a/configure +++ b/configure @@ -146,6 +146,7 @@ mandir="\${prefix}/share/man" datadir="\${prefix}/share/qemu" docdir="\${p

[Qemu-devel] [PATCH 2/2] libcacard: add libcacard.la target

2011-05-15 Thread Alon Levy
No flag to configure is required. Instead, added a libcacard.la target that is not built by default, only when requested explicitly via: mkdir build cd build ../configure make libcacard.la make install-libcacard Uses libtool to do actual linking of object files and shared library, and installing.

[Qemu-devel] [PATCH 0/2] add libcacard shared object target

2011-05-15 Thread Alon Levy
These patches add a standalone shared object target using libtool for libcacard, see second patch for details on usage. First patch adds required --libdir customization akin to --bindir. Alon Levy (2): configure: add libdir and --libdir libcacard: add libcacard.la target Makefile

Re: [Qemu-devel] [PATCH 02/11] target-mips/gdbstub: remove old CONFIG_SOFTFLOAT #ifdef

2011-05-15 Thread Peter Maydell
On 15 May 2011 15:13, Aurelien Jarno wrote: > target-mips has been switched to softfloat only long ago, but a > few #ifdef CONFIG_SOFTFLOAT have been forgotten. Remove them. > -#ifndef CONFIG_SOFTFLOAT >             /* no floating point exception for native float */ >             SET_FP_ENABLE(en

Re: [Qemu-devel] [PATCH] Add warmup phase for live migration of large memory apps

2011-05-15 Thread Shribman, Aidan
> From: Yoshiaki Tamura [mailto:tamura.yoshi...@gmail.com] > I think it's OK to have this feature by checking max_downtime == > 0. But I'm wondering that if users type commands like: > > migrate_set_downtime 0 > migrate # w/o -d > > it'll lock the monitor forever in most cases. So forcing use

[Qemu-devel] [PATCH 09/11] target-i386: add support for FPU exceptions

2011-05-15 Thread Aurelien Jarno
This patch adds support for FPU exceptions. It keeps the exception in the softfloat status, and copy them back to env->fpus when needed by oring them. When loading a new value to env->fpus, it starts with a clean softfloat status. Signed-off-by: Aurelien Jarno --- target-i386/cpu.h | 15

[Qemu-devel] [PATCH 03/11] softfloat-native: remove

2011-05-15 Thread Aurelien Jarno
Remove softfloat-native support, all targets are now using softfloat instead. Signed-off-by: Aurelien Jarno --- Makefile.target|3 +- configure |2 - cpu-all.h |5 +- fpu/softfloat-native.c | 540 fpu

[Qemu-devel] [PATCH 10/11] softfloat: add floatx80_log2() function

2011-05-15 Thread Aurelien Jarno
Based on the same algorithm as float32_log2() and float64_log2(). Signed-off-by: Aurelien Jarno --- fpu/softfloat.c | 58 +++ fpu/softfloat.h |1 + 2 files changed, 59 insertions(+), 0 deletions(-) diff --git a/fpu/softfloat.c b/fpu/soft

[Qemu-devel] [PATCH 06/11] target-i386: use floatx80 constants in helper_fld*_ST0()

2011-05-15 Thread Aurelien Jarno
Instead of using a table which doesn't correspond to anything from physical in the CPU, use directly the constants in helper_fld*_ST0(). Cc: Andreas Färber Signed-off-by: Aurelien Jarno --- target-i386/op_helper.c | 27 --- 1 files changed, 8 insertions(+), 19 deletion

[Qemu-devel] [PATCH 02/11] target-mips/gdbstub: remove old CONFIG_SOFTFLOAT #ifdef

2011-05-15 Thread Aurelien Jarno
target-mips has been switched to softfloat only long ago, but a few #ifdef CONFIG_SOFTFLOAT have been forgotten. Remove them. Signed-off-by: Aurelien Jarno --- gdbstub.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/gdbstub.c b/gdbstub.c index 0838948..7cd7bf5 100644

[Qemu-devel] [PATCH 08/11] target-i386: cleanup helper_fxam_ST0()

2011-05-15 Thread Aurelien Jarno
Rewrite helper_fxam_ST0() using only softfloat functions. Signed-off-by: Aurelien Jarno --- target-i386/op_helper.c | 30 -- 1 files changed, 12 insertions(+), 18 deletions(-) diff --git a/target-i386/op_helper.c b/target-i386/op_helper.c index cec0c76..8ba2b5f 100

[Qemu-devel] [PATCH 00/11] softfloat-native removal and i386 improvements

2011-05-15 Thread Aurelien Jarno
This patch series finally removes softfloat-native as it is not used by default in any target. In then laters improves the target-i386 code as it does not need to be compatible with softfloat-native anymore. Aurelien Jarno (11): target-ppc: remove old CONFIG_SOFTFLOAT #ifdef target-mips/gdbstu

[Qemu-devel] [PATCH 05/11] target-i386: remove old code handling float64

2011-05-15 Thread Aurelien Jarno
Now that target-i386 uses softfloat, floatx80 is always available and there is no need anymore to have code handling both float64 and floax80. Signed-off-by: Aurelien Jarno --- target-i386/cpu.h | 22 +--- target-i386/exec.h | 132 +--- target-i386/helper.c|

[Qemu-devel] [PATCH 07/11] softfloat: add float*_is_zero_or_denormal()

2011-05-15 Thread Aurelien Jarno
float*_is_zero_or_denormal() is available for float32, but not for float64, floatx80 and float128. Fix that. Signed-off-by: Aurelien Jarno --- fpu/softfloat.h | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/fpu/softfloat.h b/fpu/softfloat.h index 129fc39..

[Qemu-devel] [PATCH 04/11] softfloat: always enable floatx80 and float128 support

2011-05-15 Thread Aurelien Jarno
Now that softfloat-native is gone, there is no real point on not always enabling floatx80 and float128 support. Signed-off-by: Aurelien Jarno --- cpu-all.h |2 - fpu/softfloat-specialize.h |7 - fpu/softfloat.c| 62 --

[Qemu-devel] [PATCH 11/11] target-i386: use floatx80_log2() to implement helper_fyl2x*()

2011-05-15 Thread Aurelien Jarno
Use the new floatx80_log2() softfloat function to implement both helper_fyl2x() and helper_fyl2xp1(). Signed-off-by: Aurelien Jarno --- target-i386/op_helper.c | 20 ++-- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/target-i386/op_helper.c b/target-i386/op_h

[Qemu-devel] [PATCH 01/11] target-ppc: remove old CONFIG_SOFTFLOAT #ifdef

2011-05-15 Thread Aurelien Jarno
target-ppc has been switched to softfloat only long ago, but a few #ifdef CONFIG_SOFTFLOAT have been forgotten. Remove them. Cc: Alexander Graf Signed-off-by: Aurelien Jarno --- target-ppc/helper.h|2 -- target-ppc/op_helper.c | 11 --- target-ppc/translate.c |2 -- 3 file

Re: [Qemu-devel] [PATCH RFC 00/11] AREG0 elimination

2011-05-15 Thread Blue Swirl
On Sun, May 15, 2011 at 5:06 PM, Aurelien Jarno wrote: > On Sun, May 15, 2011 at 05:02:37PM +0300, Blue Swirl wrote: >> On Sun, May 15, 2011 at 4:43 PM, Aurelien Jarno wrote: >> > On Sun, May 15, 2011 at 04:16:20PM +0300, Blue Swirl wrote: >> >> On Sun, May 15, 2011 at 3:49 PM, Aurelien Jarno >

Re: [Qemu-devel] [PATCH RFC 00/11] AREG0 elimination

2011-05-15 Thread Blue Swirl
On Sun, May 15, 2011 at 5:03 PM, Aurelien Jarno wrote: > On Sun, May 15, 2011 at 04:42:05PM +0300, Blue Swirl wrote: >> On Sun, May 15, 2011 at 4:02 PM, Aurelien Jarno wrote: >> > On Sun, May 15, 2011 at 03:37:00PM +0300, Blue Swirl wrote: >> >> On Sun, May 15, 2011 at 3:14 PM, Laurent Desnogues

Re: [Qemu-devel] [PATCH RFC 00/11] AREG0 elimination

2011-05-15 Thread Aurelien Jarno
On Sun, May 15, 2011 at 05:02:37PM +0300, Blue Swirl wrote: > On Sun, May 15, 2011 at 4:43 PM, Aurelien Jarno wrote: > > On Sun, May 15, 2011 at 04:16:20PM +0300, Blue Swirl wrote: > >> On Sun, May 15, 2011 at 3:49 PM, Aurelien Jarno > >> wrote: > >> > On Sun, May 15, 2011 at 03:30:17PM +0300, B

Re: [Qemu-devel] [PATCH RFC 00/11] AREG0 elimination

2011-05-15 Thread Aurelien Jarno
On Sun, May 15, 2011 at 04:42:05PM +0300, Blue Swirl wrote: > On Sun, May 15, 2011 at 4:02 PM, Aurelien Jarno wrote: > > On Sun, May 15, 2011 at 03:37:00PM +0300, Blue Swirl wrote: > >> On Sun, May 15, 2011 at 3:14 PM, Laurent Desnogues > >> wrote: > >> > On Sun, May 15, 2011 at 1:33 PM, Blue Swi

Re: [Qemu-devel] [PATCH RFC 00/11] AREG0 elimination

2011-05-15 Thread Blue Swirl
On Sun, May 15, 2011 at 4:43 PM, Aurelien Jarno wrote: > On Sun, May 15, 2011 at 04:16:20PM +0300, Blue Swirl wrote: >> On Sun, May 15, 2011 at 3:49 PM, Aurelien Jarno wrote: >> > On Sun, May 15, 2011 at 03:30:17PM +0300, Blue Swirl wrote: >> >> On Sun, May 15, 2011 at 2:36 PM, Aurelien Jarno >

Re: [Qemu-devel] [PATCH RFC 00/11] AREG0 elimination

2011-05-15 Thread Aurelien Jarno
On Sun, May 15, 2011 at 04:16:20PM +0300, Blue Swirl wrote: > On Sun, May 15, 2011 at 3:49 PM, Aurelien Jarno wrote: > > On Sun, May 15, 2011 at 03:30:17PM +0300, Blue Swirl wrote: > >> On Sun, May 15, 2011 at 2:36 PM, Aurelien Jarno > >> wrote: > >> > On Sun, May 15, 2011 at 02:12:27PM +0300, B

Re: [Qemu-devel] [PATCH RFC 00/11] AREG0 elimination

2011-05-15 Thread Blue Swirl
On Sun, May 15, 2011 at 4:02 PM, Aurelien Jarno wrote: > On Sun, May 15, 2011 at 03:37:00PM +0300, Blue Swirl wrote: >> On Sun, May 15, 2011 at 3:14 PM, Laurent Desnogues >> wrote: >> > On Sun, May 15, 2011 at 1:33 PM, Blue Swirl wrote: >> > [...] >> >>> x86_64 uses r14 as TCG_AREG0. Despite the

Re: [Qemu-devel] [PATCH RFC 00/11] AREG0 elimination

2011-05-15 Thread Blue Swirl
On Sun, May 15, 2011 at 3:49 PM, Aurelien Jarno wrote: > On Sun, May 15, 2011 at 03:30:17PM +0300, Blue Swirl wrote: >> On Sun, May 15, 2011 at 2:36 PM, Aurelien Jarno wrote: >> > On Sun, May 15, 2011 at 02:12:27PM +0300, Blue Swirl wrote: >> >> On Sun, May 15, 2011 at 1:19 PM, Aurelien Jarno >

Re: [Qemu-devel] [PATCH RFC 00/11] AREG0 elimination

2011-05-15 Thread Aurelien Jarno
On Sun, May 15, 2011 at 03:37:00PM +0300, Blue Swirl wrote: > On Sun, May 15, 2011 at 3:14 PM, Laurent Desnogues > wrote: > > On Sun, May 15, 2011 at 1:33 PM, Blue Swirl wrote: > > [...] > >>> x86_64 uses r14 as TCG_AREG0. Despite the instructions being quite > >>> simple (only 2 movi_i32), the r

Re: [Qemu-devel] [PATCH RFC 00/11] AREG0 elimination

2011-05-15 Thread Aurelien Jarno
On Sun, May 15, 2011 at 03:30:17PM +0300, Blue Swirl wrote: > On Sun, May 15, 2011 at 2:36 PM, Aurelien Jarno wrote: > > On Sun, May 15, 2011 at 02:12:27PM +0300, Blue Swirl wrote: > >> On Sun, May 15, 2011 at 1:19 PM, Aurelien Jarno > >> wrote: > >> > I still don't get where are this list of po

Re: [Qemu-devel] [PULL v2] eepro100: Update of patch series (fixes and enhancements)

2011-05-15 Thread Michael S. Tsirkin
On Sat, Apr 30, 2011 at 10:40:03PM +0200, Stefan Weil wrote: > Hi, > > this is the second version of a series of patches for eepro100 which mainly > fix endianness issues and enhance register access. There was a bug report > on qemu-devel recently which is fixed by these enhancements, see > http:/

Re: [Qemu-devel] [PATCH RFC 00/11] AREG0 elimination

2011-05-15 Thread Blue Swirl
On Sun, May 15, 2011 at 3:14 PM, Laurent Desnogues wrote: > On Sun, May 15, 2011 at 1:33 PM, Blue Swirl wrote: > [...] >>> x86_64 uses r14 as TCG_AREG0. Despite the instructions being quite >>> simple (only 2 movi_i32), the resulting code makes 2 access to env to >>> save the two registers. Havin

Re: [Qemu-devel] [PATCH RFC 00/11] AREG0 elimination

2011-05-15 Thread Blue Swirl
On Sun, May 15, 2011 at 2:37 PM, Aurelien Jarno wrote: > On Sun, May 15, 2011 at 02:33:55PM +0300, Blue Swirl wrote: >> On Sun, May 15, 2011 at 2:14 PM, Aurelien Jarno wrote: >> > On Sun, May 15, 2011 at 02:03:40PM +0300, Blue Swirl wrote: >> >> On Sun, May 15, 2011 at 12:27 PM, Laurent Desnogues

Re: [Qemu-devel] [PATCH RFC 00/11] AREG0 elimination

2011-05-15 Thread Blue Swirl
On Sun, May 15, 2011 at 2:36 PM, Aurelien Jarno wrote: > On Sun, May 15, 2011 at 02:12:27PM +0300, Blue Swirl wrote: >> On Sun, May 15, 2011 at 1:19 PM, Aurelien Jarno wrote: >> > I still don't get where are this list of possible changes? Did I miss >> > something in another thread? >> >> I'm ref

Re: [Qemu-devel] [PATCH RFC 00/11] AREG0 elimination

2011-05-15 Thread Laurent Desnogues
On Sun, May 15, 2011 at 1:33 PM, Blue Swirl wrote: [...] >> x86_64 uses r14 as TCG_AREG0. Despite the instructions being quite >> simple (only 2 movi_i32), the resulting code makes 2 access to env to >> save the two registers. Having to reload the env pointer each time to a >> register would clear

[Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl

2011-05-15 Thread Boris Derzhavets
> In this case, qemu-kvm and QEMU are very much related but this bug does > not happen to affect QEMU. In meantime, yes due to the most recent 3 commits .View :- http://cgit.freedesktop.org/spice/qemu/log/?h=spice.v35 12 days spice: drop obsolete iothread lockingspice.v35

Re: [Qemu-devel] Build breakage on OpenSolaris - softfloat

2011-05-15 Thread Aurelien Jarno
On Sun, May 01, 2011 at 08:26:50PM +0200, Andreas Färber wrote: > Andreas Färber schrieb: > >CCi386-softmmu/op_helper.o > >/export/home/andreas/QEMU/qemu/target-i386/op_helper.c:110: error: > >initializer element is not constant > >/export/home/andreas/QEMU/qemu/target-i386/op_helper.c:110: err

Re: [Qemu-devel] [PATCH RFC 00/11] AREG0 elimination

2011-05-15 Thread Aurelien Jarno
On Sun, May 15, 2011 at 02:33:55PM +0300, Blue Swirl wrote: > On Sun, May 15, 2011 at 2:14 PM, Aurelien Jarno wrote: > > On Sun, May 15, 2011 at 02:03:40PM +0300, Blue Swirl wrote: > >> On Sun, May 15, 2011 at 12:27 PM, Laurent Desnogues > >> wrote: > >> > On Sun, May 15, 2011 at 9:15 AM, Blue Sw

Re: [Qemu-devel] [PATCH RFC 00/11] AREG0 elimination

2011-05-15 Thread Aurelien Jarno
On Sun, May 15, 2011 at 02:12:27PM +0300, Blue Swirl wrote: > On Sun, May 15, 2011 at 1:19 PM, Aurelien Jarno wrote: > > I still don't get where are this list of possible changes? Did I miss > > something in another thread? > > I'm referring to the patches I sent. Ok, patches 1, 2 and 4 to 7 loo

Re: [Qemu-devel] [PATCH RFC 00/11] AREG0 elimination

2011-05-15 Thread Blue Swirl
On Sun, May 15, 2011 at 2:14 PM, Aurelien Jarno wrote: > On Sun, May 15, 2011 at 02:03:40PM +0300, Blue Swirl wrote: >> On Sun, May 15, 2011 at 12:27 PM, Laurent Desnogues >> wrote: >> > On Sun, May 15, 2011 at 9:15 AM, Blue Swirl wrote: >> >> On Sun, May 15, 2011 at 1:04 AM, Aurelien Jarno >>

Re: [Qemu-devel] [PATCH RFC 00/11] AREG0 elimination

2011-05-15 Thread Aurelien Jarno
On Sun, May 15, 2011 at 02:03:40PM +0300, Blue Swirl wrote: > On Sun, May 15, 2011 at 12:27 PM, Laurent Desnogues > wrote: > > On Sun, May 15, 2011 at 9:15 AM, Blue Swirl wrote: > >> On Sun, May 15, 2011 at 1:04 AM, Aurelien Jarno > >> wrote: > >>> On Sun, May 15, 2011 at 12:52:35AM +0300, Blue

Re: [Qemu-devel] [PATCH RFC 00/11] AREG0 elimination

2011-05-15 Thread Blue Swirl
On Sun, May 15, 2011 at 1:19 PM, Aurelien Jarno wrote: > On Sun, May 15, 2011 at 12:58:49PM +0300, Blue Swirl wrote: >> On Sun, May 15, 2011 at 12:24 PM, Aurelien Jarno >> wrote: >> > On Sun, May 15, 2011 at 10:15:52AM +0300, Blue Swirl wrote: >> >> On Sun, May 15, 2011 at 1:04 AM, Aurelien Jarn

[Qemu-devel] [PATCH 2/2] ioapic: Implement polarity

2011-05-15 Thread Jan Kiszka
From: Jan Kiszka If the polarity bit is set in a redirection table entry, the input level simply has to inverted as it is low active in this case. Signed-off-by: Jan Kiszka --- hw/ioapic.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/hw/ioapic.c b/hw/ioapic.c inde

[Qemu-devel] [PATCH 1/2] target-i386: Remove unused polarity arguments from APIC API

2011-05-15 Thread Jan Kiszka
From: Jan Kiszka Polarity of external interrupts needs to be handled in the IOAPIC. Passing it to the APIC is pointless. So remove all these arguments. Signed-off-by: Jan Kiszka --- hw/apic.c| 22 +- hw/apic.h|6 ++ hw/ioapic.c |4 +--- trace-events |

Re: [Qemu-devel] [PATCH RFC 00/11] AREG0 elimination

2011-05-15 Thread Blue Swirl
On Sun, May 15, 2011 at 12:27 PM, Laurent Desnogues wrote: > On Sun, May 15, 2011 at 9:15 AM, Blue Swirl wrote: >> On Sun, May 15, 2011 at 1:04 AM, Aurelien Jarno wrote: >>> On Sun, May 15, 2011 at 12:52:35AM +0300, Blue Swirl wrote: On Sun, May 15, 2011 at 12:16 AM, Aurelien Jarno w

Re: [Qemu-devel] [PATCH] w32: Fix missing declaration of ffs()

2011-05-15 Thread Aurelien Jarno
On Sun, May 15, 2011 at 09:51:59AM +0200, Stefan Weil wrote: > target-ppc/cpu.h now needs ffs(), too, so ffs() must be declared > before this file is included. > > Moving the declaration from qemu-common.h to qemu-os-win32.h > (which is included in qemu-common.h early) fixes the compiler > warning

Re: [Qemu-devel] [PATCH] w32: Fix compilation and replace non-portable usage of ulong

2011-05-15 Thread Aurelien Jarno
On Sun, May 15, 2011 at 11:38:04AM +0200, Stefan Weil wrote: > ulong is undefined for w32 (and maybe other) compilations. > Replace it by uintptr_t (which also fixes compilation for w64 > and is a better choice for pointer to integer conversions). > > Cc: Aurelien Jarno > Signed-off-by: Stefan We

Re: [Qemu-devel] [PATCH RFC 00/11] AREG0 elimination

2011-05-15 Thread Aurelien Jarno
On Sun, May 15, 2011 at 12:58:49PM +0300, Blue Swirl wrote: > On Sun, May 15, 2011 at 12:24 PM, Aurelien Jarno wrote: > > On Sun, May 15, 2011 at 10:15:52AM +0300, Blue Swirl wrote: > >> On Sun, May 15, 2011 at 1:04 AM, Aurelien Jarno > >> wrote: > >> > On Sun, May 15, 2011 at 12:52:35AM +0300,

Re: [Qemu-devel] [PATCH RFC 00/11] AREG0 elimination

2011-05-15 Thread Blue Swirl
On Sun, May 15, 2011 at 12:24 PM, Aurelien Jarno wrote: > On Sun, May 15, 2011 at 10:15:52AM +0300, Blue Swirl wrote: >> On Sun, May 15, 2011 at 1:04 AM, Aurelien Jarno wrote: >> > On Sun, May 15, 2011 at 12:52:35AM +0300, Blue Swirl wrote: >> >> On Sun, May 15, 2011 at 12:16 AM, Aurelien Jarno

Re: [Qemu-devel] [PATCH RFC 00/11] AREG0 elimination

2011-05-15 Thread Aurelien Jarno
On Sun, May 15, 2011 at 11:27:17AM +0200, Laurent Desnogues wrote: > On Sun, May 15, 2011 at 9:15 AM, Blue Swirl wrote: > > On Sun, May 15, 2011 at 1:04 AM, Aurelien Jarno > > wrote: > >> On Sun, May 15, 2011 at 12:52:35AM +0300, Blue Swirl wrote: > >>> On Sun, May 15, 2011 at 12:16 AM, Aurelien

[Qemu-devel] [PATCH] w32: Fix compilation and replace non-portable usage of ulong

2011-05-15 Thread Stefan Weil
ulong is undefined for w32 (and maybe other) compilations. Replace it by uintptr_t (which also fixes compilation for w64 and is a better choice for pointer to integer conversions). Cc: Aurelien Jarno Signed-off-by: Stefan Weil --- target-ppc/cpu.h |4 ++-- 1 files changed, 2 insertions(+),

Re: [Qemu-devel] [PATCH RFC 00/11] AREG0 elimination

2011-05-15 Thread Laurent Desnogues
On Sun, May 15, 2011 at 9:15 AM, Blue Swirl wrote: > On Sun, May 15, 2011 at 1:04 AM, Aurelien Jarno wrote: >> On Sun, May 15, 2011 at 12:52:35AM +0300, Blue Swirl wrote: >>> On Sun, May 15, 2011 at 12:16 AM, Aurelien Jarno >>> wrote: >>> > On Sat, May 14, 2011 at 10:35:20PM +0300, Blue Swirl w

Re: [Qemu-devel] [PATCH RFC 00/11] AREG0 elimination

2011-05-15 Thread Aurelien Jarno
On Sun, May 15, 2011 at 10:15:52AM +0300, Blue Swirl wrote: > On Sun, May 15, 2011 at 1:04 AM, Aurelien Jarno wrote: > > On Sun, May 15, 2011 at 12:52:35AM +0300, Blue Swirl wrote: > >> On Sun, May 15, 2011 at 12:16 AM, Aurelien Jarno > >> wrote: > >> > On Sat, May 14, 2011 at 10:35:20PM +0300,

[Qemu-devel] [PATCH] w32: Fix missing declaration of ffs()

2011-05-15 Thread Stefan Weil
target-ppc/cpu.h now needs ffs(), too, so ffs() must be declared before this file is included. Moving the declaration from qemu-common.h to qemu-os-win32.h (which is included in qemu-common.h early) fixes the compiler warning for w32. Cc: Aurelien Jarno Signed-off-by: Stefan Weil --- qemu-comm

Re: [Qemu-devel] [PATCH RFC 00/11] AREG0 elimination

2011-05-15 Thread Blue Swirl
On Sun, May 15, 2011 at 1:04 AM, Aurelien Jarno wrote: > On Sun, May 15, 2011 at 12:52:35AM +0300, Blue Swirl wrote: >> On Sun, May 15, 2011 at 12:16 AM, Aurelien Jarno >> wrote: >> > On Sat, May 14, 2011 at 10:35:20PM +0300, Blue Swirl wrote: >> >> Here's a RFC series for eliminating AREG0. >>