Re: [Qemu-devel] [OpenBIOS] solaris 8 on sparc, webstart launcher crashing

2011-05-28 Thread Blue Swirl
On Sat, May 28, 2011 at 12:45 AM, Brian Vandenberg phant...@gmail.com wrote: Greetings,  I'm unsure whether the issue I'm running into is related to OpenBios, qemu, something buggy in this solaris distribution, or some combination thereof.  Feel free to redirect me as appropriate.  I'm able

Re: [Qemu-devel] [PATCH 5/6] Remove warning in printf due to type mismatch

2011-05-28 Thread Paolo Bonzini
On 05/28/2011 12:10 AM, Alexandre Raymond wrote: Hi Stefan and Markus, Thanks for your feedback :) %td doesn't generate warnings on Linux nor on OSX. Stefan, what about Windows? Paolo

Re: [Qemu-devel] [PATCH] qemu-iotest: test 005, don't run on raw

2011-05-28 Thread Christoph Hellwig
On Sat, May 28, 2011 at 12:51:04PM +0800, Fam Zheng wrote: But it says I can't create a 5000G raw image, this is the output of `./check 005` (with qemu-img version 0.14.50) Somewhat confusingly qemu-img converts any EFBIG return to this message. For some reason you have a really crappy

Re: [Qemu-devel] [PATCH 3/3] QMP: Introduce the BLOCK_MEDIA_EJECT event

2011-05-28 Thread Markus Armbruster
Luiz Capitulino lcapitul...@redhat.com writes: Conforms to the event specification defined in the QMP/qmp-events.txt file. I'd squash PATCH 2+3. Please, note the following details: o The event should be emitted only by devices which support the eject operation, which currently are:

Re: [Qemu-devel] [PATCH 5/6] Remove warning in printf due to type mismatch

2011-05-28 Thread Stefan Weil
Am 28.05.2011 08:55, schrieb Paolo Bonzini: On 05/28/2011 12:10 AM, Alexandre Raymond wrote: Hi Stefan and Markus, Thanks for your feedback :) %td doesn't generate warnings on Linux nor on OSX. Stefan, what about Windows? Paolo %td is ok for Windows, too. Alexandre, please send an update

Re: [Qemu-devel] [PATCH 3/7] cpu model bug fixes and definition corrections: Add kvm emulated x2apic flag to config defined cpu models

2011-05-28 Thread Jan Kiszka
On 2011-05-23 23:46, john cooper wrote: Add kvm emulated x2apic flag to config defined cpu models and general support for such hypervisor emulated flags. In addition to checking user request flags against the host we also selectively check against kvm for emulated flags. As you are already

[Qemu-devel] [PATCH, RFC 00/18] Use stack frame for TCG temporaries

2011-05-28 Thread Blue Swirl
This patch series is still RFC. Updated versions of x86_64 and i386 seems to work, Sparc64 is not changed since previous version. I've added code for other targets too, but those parts are not even compile tested, so review is necessary. It would be possible to commit just the working patches,

[Qemu-devel] [PATCH 01/18] Delegate setup of TCG temporaries to targets

2011-05-28 Thread Blue Swirl
Delegate TCG temp_buf setup to targets, so that they can use a stack frame later instead. Signed-off-by: Blue Swirl blauwir...@gmail.com --- tcg/arm/tcg-target.c |2 ++ tcg/hppa/tcg-target.c |2 ++ tcg/i386/tcg-target.c |2 ++ tcg/ia64/tcg-target.c |2 ++

[Qemu-devel] [PATCH 03/18] TCG: remove broken stack allocation for call arguments

2011-05-28 Thread Blue Swirl
The code for stack allocation for call arguments is way too simplistic to actually work on targets with non-trivial stack allocation policies, e.g. ppc64. We've also already allocated TCG_STATIC_CALL_ARGS_SIZE worth of stack for calls which should be well more than any helper needs. Remove broken

[Qemu-devel] [PATCH 02/18] TCG: fix negative frame offset calculations

2011-05-28 Thread Blue Swirl
size_t is unsigned, so the frame offset calculations can be incorrect for negative offsets. Signed-off-by: Blue Swirl blauwir...@gmail.com --- tcg/tcg.c | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/tcg/tcg.c b/tcg/tcg.c index fad92f9..b31d80d 100644 ---

[Qemu-devel] [PATCH 05/18] TCG/x86: use stack for TCG temps

2011-05-28 Thread Blue Swirl
Use stack instead of temp_buf array in CPUState for TCG temps. Signed-off-by: Blue Swirl blauwir...@gmail.com --- tcg/i386/tcg-target.c | 22 -- 1 files changed, 12 insertions(+), 10 deletions(-) diff --git a/tcg/i386/tcg-target.c b/tcg/i386/tcg-target.c index

[Qemu-devel] [PATCH 07/18] TCG/ARM: use stack for TCG temps

2011-05-28 Thread Blue Swirl
Use stack instead of temp_buf array in CPUState for TCG temps. Signed-off-by: Blue Swirl blauwir...@gmail.com --- tcg/arm/tcg-target.c | 11 +-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/tcg/arm/tcg-target.c b/tcg/arm/tcg-target.c index 93eb0f1..eacda6b 100644 ---

[Qemu-devel] [PATCH 09/18] TCG/HPPA: use stack for TCG temps

2011-05-28 Thread Blue Swirl
Use stack instead of temp_buf array in CPUState for TCG temps. Signed-off-by: Blue Swirl blauwir...@gmail.com --- tcg/hppa/tcg-target.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/tcg/hppa/tcg-target.c b/tcg/hppa/tcg-target.c index bd40954..b900c88 100644 ---

[Qemu-devel] [PATCH 04/18] TCG/x86: use TCG_REG_CALL_STACK instead of TCG_REG_ESP

2011-05-28 Thread Blue Swirl
Except for specific cases where the use of %esp changes the encoding of the instruction, it's cleaner to use TCG_REG_CALL_STACK instead of TCG_REG_ESP. Signed-off-by: Blue Swirl blauwir...@gmail.com --- tcg/i386/tcg-target.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff

[Qemu-devel] [PATCH 06/18] TCG/Sparc64: use stack for TCG temps

2011-05-28 Thread Blue Swirl
Use stack instead of temp_buf array in CPUState for TCG temps. On Sparc64, stack pointer is not aligned but there is a fixed bias of 2047, so don't try to enforce alignment. Signed-off-by: Blue Swirl blauwir...@gmail.com --- tcg/sparc/tcg-target.c |7 --- tcg/tcg.c |2

[Qemu-devel] [PATCH 18/18] Remove temp_buf, rename CPU_TEMP_BUF_NLONGS

2011-05-28 Thread Blue Swirl
Remove now unused temp_buf from CPUState. Rename CPU_TEMP_BUF_NLONGS to TCG_TEMP_BUF_NLONGS. Signed-off-by: Blue Swirl blauwir...@gmail.com --- cpu-defs.h |3 --- tcg/arm/tcg-target.c |6 +++--- tcg/hppa/tcg-target.c |4 ++-- tcg/i386/tcg-target.c |4 ++--

[Qemu-devel] [PATCH 11/18] TCG/IA64: use stack for TCG temps

2011-05-28 Thread Blue Swirl
Use stack instead of temp_buf array in CPUState for TCG temps. Signed-off-by: Blue Swirl blauwir...@gmail.com --- tcg/ia64/tcg-target.c |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/tcg/ia64/tcg-target.c b/tcg/ia64/tcg-target.c index e22e9b6..528ae64 100644 ---

[Qemu-devel] [PATCH 10/18] TCG/IA64: use TCG_REG_CALL_STACK instead of TCG_REG_R12

2011-05-28 Thread Blue Swirl
Use TCG_REG_CALL_STACK instead of TCG_REG_R12 for consistency. Signed-off-by: Blue Swirl blauwir...@gmail.com --- tcg/ia64/tcg-target.c |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/tcg/ia64/tcg-target.c b/tcg/ia64/tcg-target.c index 6386a5b..e22e9b6 100644 ---

[Qemu-devel] [PATCH 08/18] TCG/HPPA: use TCG_REG_CALL_STACK instead of TCG_REG_SP

2011-05-28 Thread Blue Swirl
Use TCG_REG_CALL_STACK instead of TCG_REG_SP for consistency. Signed-off-by: Blue Swirl blauwir...@gmail.com --- tcg/hppa/tcg-target.c | 30 -- 1 files changed, 16 insertions(+), 14 deletions(-) diff --git a/tcg/hppa/tcg-target.c b/tcg/hppa/tcg-target.c index

[Qemu-devel] [PATCH 12/18] TCG/MIPS: use TCG_REG_CALL_STACK instead of TCG_REG_SP

2011-05-28 Thread Blue Swirl
Use TCG_REG_CALL_STACK instead of TCG_REG_SP for consistency. Signed-off-by: Blue Swirl blauwir...@gmail.com --- tcg/mips/tcg-target.c | 13 +++-- 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/tcg/mips/tcg-target.c b/tcg/mips/tcg-target.c index 12ff9d5..79e20fa 100644

[Qemu-devel] [PATCH 16/18] TCG/s390: use TCG_REG_CALL_STACK instead of TCG_REG_R15

2011-05-28 Thread Blue Swirl
Use TCG_REG_CALL_STACK instead of TCG_REG_R15 for consistency. Signed-off-by: Blue Swirl blauwir...@gmail.com --- tcg/s390/tcg-target.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/tcg/s390/tcg-target.c b/tcg/s390/tcg-target.c index 2fc5646..e112052 100644 ---

[Qemu-devel] [PATCH 14/18] TCG/PPC: use TCG_REG_CALL_STACK instead of TCG_REG_R1

2011-05-28 Thread Blue Swirl
Use TCG_REG_CALL_STACK instead of TCG_REG_R1 etc. for consistency. Signed-off-by: Blue Swirl blauwir...@gmail.com --- tcg/ppc/tcg-target.c | 17 ++--- tcg/ppc64/tcg-target.c | 16 +--- 2 files changed, 19 insertions(+), 14 deletions(-) diff --git

[Qemu-devel] [PATCH 13/18] TCG/MIPS: use stack for TCG temps

2011-05-28 Thread Blue Swirl
Use stack instead of temp_buf array in CPUState for TCG temps. Signed-off-by: Blue Swirl blauwir...@gmail.com --- tcg/mips/tcg-target.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tcg/mips/tcg-target.c b/tcg/mips/tcg-target.c index 79e20fa..d536457 100644 ---

[Qemu-devel] [PATCH 15/18] TCG/PPC: use stack for TCG temps

2011-05-28 Thread Blue Swirl
Use stack instead of temp_buf array in CPUState for TCG temps. Signed-off-by: Blue Swirl blauwir...@gmail.com --- tcg/ppc/tcg-target.c |7 +-- tcg/ppc64/tcg-target.c |7 +-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/tcg/ppc/tcg-target.c

[Qemu-devel] [PATCH 17/18] TCG/s390: use stack for TCG temps

2011-05-28 Thread Blue Swirl
Use stack instead of temp_buf array in CPUState for TCG temps. Signed-off-by: Blue Swirl blauwir...@gmail.com --- tcg/s390/tcg-target.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tcg/s390/tcg-target.c b/tcg/s390/tcg-target.c index e112052..c063509 100644 ---

Re: [Qemu-devel] [PATCH uq/master V2] kvm: Add CPUID support for VIA CPU

2011-05-28 Thread Jan Kiszka
On 2011-05-10 10:02, BrillyWu wrote: From: BrillyWu brill...@viatech.com.cn When KVM is running on VIA CPU with host cpu's model, the feautures of VIA CPU will be passed into kvm guest by calling the CPUID instruction for Centaur. Signed-off-by: BrillyWubrill...@viatech.com.cn

[Qemu-devel] [PATCH] Fix libfdt warnings on Darwin

2011-05-28 Thread Andreas Färber
Building with libfdt results in the following warnings on Mac OS X: CCppc-softmmu/device_tree.o In file included from /Users/andreas/QEMU/latest64/include/libfdt.h:54, from /Users/andreas/QEMU/qemu/device_tree.c:26: /Users/andreas/QEMU/qemu/libfdt_env.h:25:20: warning:

Re: [Qemu-devel] [PATCH] Fix libfdt warnings on Darwin

2011-05-28 Thread Alexander Graf
On 28.05.2011, at 16:01, Andreas Färber wrote: Building with libfdt results in the following warnings on Mac OS X: CCppc-softmmu/device_tree.o In file included from /Users/andreas/QEMU/latest64/include/libfdt.h:54, from /Users/andreas/QEMU/qemu/device_tree.c:26:

Re: [Qemu-devel] [PATCH] Fix libfdt warnings on Darwin

2011-05-28 Thread Andreas Färber
Am 28.05.2011 um 16:03 schrieb Alexander Graf: On 28.05.2011, at 16:01, Andreas Färber wrote: diff --git a/libfdt_env.h b/libfdt_env.h index ee0419f..90d7f3b 100644 --- a/libfdt_env.h +++ b/libfdt_env.h @@ -19,13 +19,9 @@ #ifndef _LIBFDT_ENV_H #define _LIBFDT_ENV_H -#include stddef.h

Re: [Qemu-devel] [PATCH] Fix libfdt warnings on Darwin

2011-05-28 Thread Alexander Graf
On 28.05.2011, at 16:16, Andreas Färber wrote: Am 28.05.2011 um 16:03 schrieb Alexander Graf: On 28.05.2011, at 16:01, Andreas Färber wrote: diff --git a/libfdt_env.h b/libfdt_env.h index ee0419f..90d7f3b 100644 --- a/libfdt_env.h +++ b/libfdt_env.h @@ -19,13 +19,9 @@ #ifndef

Re: [Qemu-devel] [PATCH] qemu-iotest: test 005, don't run on raw

2011-05-28 Thread Fam Zheng
I get it. I have ext3 so I can only have 2TB file. Thank you. On Sat, May 28, 2011 at 3:50 PM, Christoph Hellwig h...@lst.de wrote: On Sat, May 28, 2011 at 12:51:04PM +0800, Fam Zheng wrote: But it says I can't create a 5000G raw image, this is the output of `./check 005` (with qemu-img

Re: [Qemu-devel] [Bug 726962] Re: darwin user i386 no such directory

2011-05-28 Thread Andreas Färber
Am 27.05.2011 um 00:56 schrieb Karl-Michael Schindler: same with 0.14.1 with Mac OS X 10.6.7. target ppc-darwin-user has the same problem: CCppc-darwin-user/main.o cc1: warning: /Users/michael/Downloads/qemu-0.14.1/darwin-user/ppc: No such file or directory In file included from

Re: [Qemu-devel] [PATCH 0/6] Fix compilation issues under darwin

2011-05-28 Thread Andreas Färber
Hello, Am 27.05.2011 um 19:22 schrieb Alexandre Raymond: The following series contains trivial patches to fix several minor issues encountered while compiling qemu under OSX 10.6.7. I used [./configure --disable-bsd-user --disable-darwin-user -- enable-io-thread] to configure the build.

Re: [Qemu-devel] [PATCH 2/6] Cocoa: avoid displaying window when command-line contains '-h'

2011-05-28 Thread Andreas Färber
Am 27.05.2011 um 19:22 schrieb Alexandre Raymond: There was already a check in place to avoid displaying a window in certain modes such as vnc, nographic or curses. Add a check for '-h' to avoid displaying a window for a split- second before showing the usage information. Signed-off-by:

[Qemu-devel] [PATCH] bitbang_i2c: Fix spurious slave read after NACK

2011-05-28 Thread Marcus Comstedt
After NACKing a read operation, a raising SCL should not trigger a new read from the slave. Introduce a new state which just waits for a stop or start condition after NACK. Signed-off-by: Marcus Comstedt mar...@mc.pp.se --- hw/bitbang_i2c.c |5 - 1 files changed, 4 insertions(+), 1

[Qemu-devel] [RESEND][PATCH 1/2] Fix USB mouse Set_Protocol behavior

2011-05-28 Thread Kevin O'Connor
The QEMU USB mouse claims to support the boot protocol (bInterfaceSubClass is 1). However, the mouse rejects the Set_Protocol command. The qemu mouse does support the boot protocol specification, so a simple fix is to enable the Set_Protocol request. Signed-off-by: Kevin O'Connor

[Qemu-devel] [RESEND][PATCH 2/2] The USB tablet should not claim boot protocol support.

2011-05-28 Thread Kevin O'Connor
The USB tablet advertises that it supports the boot protocol. However, its reports aren't boot protocol compatible. So, it shouldn't claim that. Signed-off-by: Kevin O'Connor ke...@koconnor.net --- hw/usb-hid.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git

Re: [Qemu-devel] [Bug 726962] Re: darwin user i386 no such directory

2011-05-28 Thread Karl-Michael Schindler
Am 28.05.2011 um 16:48 schrieb Andreas Färber: If you're willing to invest time on this, have a look at: http://repo.or.cz/w/qemu/afaerber.git/shortlog/refs/heads/darwin-user interestinng link, but my actual interest was mipsel-linux, which is already covered, but Don't bother with 0.14.1,

Re: [Qemu-devel] [PATCH uq/master V2] kvm: Add CPUID support for VIA CPU

2011-05-28 Thread Jan Kiszka
On 2011-05-10 10:02, BrillyWu wrote: From: BrillyWu brill...@viatech.com.cn When KVM is running on VIA CPU with host cpu's model, the feautures of VIA CPU will be passed into kvm guest by calling the CPUID instruction for Centaur. Signed-off-by: BrillyWubrill...@viatech.com.cn

Re: [Qemu-devel] [fedora-virt] Fedora virt status

2011-05-28 Thread Pasi Kärkkäinen
On Mon, May 23, 2011 at 08:21:40AM -0500, Justin M. Forbes wrote: Fedora 16 It is time to start planning for the Fedora 16 release. What features are going to be proposed? What does the community want to see from Fedora 16 virtualiation? Xen dom0 support out-of-the-box with the

Re: [Qemu-devel] [PATCH v3] virtio-9p: Use relative includes for files in hw

2011-05-28 Thread Aneesh Kumar K.V
On Fri, 27 May 2011 20:27:11 +0200, Stefan Weil w...@mail.berlios.de wrote: Am 29.04.2011 02:46, schrieb Peter Maydell: On 28 April 2011 21:49, Anthony Liguorianth...@codemonkey.ws wrote: On 04/28/2011 03:02 PM, Stefan Weil wrote: -$(addprefix 9pfs/, $(9pfs-nested-y)): CFLAGS

Re: [Qemu-devel] [OpenBIOS] solaris 8 on sparc, webstart launcher crashing

2011-05-28 Thread Brian Vandenberg
If the problem is on the QEMU side, getting relevant QEMU debug logs (-d in_asm,int which needs #define DEBUG_PCALL enabled in target-sparc/op_helper.c) would be needed. Those will be quite large and the relevant info is only near the end. I'm not sure I'll be able to get/make available

Re: [Qemu-devel] [PATCH v3] virtio-9p: Use relative includes for files in hw

2011-05-28 Thread Venkateswararao Jujjuri
On 05/28/2011 09:51 AM, Aneesh Kumar K.V wrote: On Fri, 27 May 2011 20:27:11 +0200, Stefan Weilw...@mail.berlios.de wrote: Am 29.04.2011 02:46, schrieb Peter Maydell: On 28 April 2011 21:49, Anthony Liguorianth...@codemonkey.ws wrote: On 04/28/2011 03:02 PM, Stefan Weil wrote:

Re: [Qemu-devel] virtio scsi host draft specification, v2

2011-05-28 Thread Stefan Hajnoczi
On Fri, May 20, 2011 at 10:21:03AM +0200, Paolo Bonzini wrote: Configuration - Subsystem Device ID TBD Virtqueues 0:control transmitq 1:control receiveq I find these names weird because control commands are actually processed and completed on the transmitq. The

[Qemu-devel] [Bug 789652] [NEW] Cannot confirm email address on QEMU Wiki

2011-05-28 Thread dawpa2000
Public bug reported: Cannot confirm email address on QEMU Wiki http://wiki.qemu.org/Special:ConfirmEmail --- Confirm e-mail address QEMU could not send your confirmation mail. Please check your e-mail address for invalid characters. Mailer returned: mailer error ** Affects: qemu

Re: [Qemu-devel] [Qemu-trivial] [PATCH 0/6] Fix compilation issues under darwin

2011-05-28 Thread Stefan Hajnoczi
On Sat, May 28, 2011 at 3:55 PM, Andreas Färber andreas.faer...@web.de wrote: Hello, Am 27.05.2011 um 19:22 schrieb Alexandre Raymond: The following series contains trivial patches to fix several minor issues encountered while compiling qemu under OSX 10.6.7. I used [./configure

Re: [Qemu-devel] [Qemu-trivial] [PATCH] bitbang_i2c: Fix spurious slave read after NACK

2011-05-28 Thread Stefan Hajnoczi
On Sat, May 28, 2011 at 3:55 PM, Marcus Comstedt mar...@mc.pp.se wrote: After NACKing a read operation, a raising SCL should not trigger a new read from the slave.  Introduce a new state which just waits for a stop or start condition after NACK. Signed-off-by: Marcus Comstedt mar...@mc.pp.se

Re: [Qemu-devel] Booting custom kernel in qemu

2011-05-28 Thread Apelete Seketeli
On 27-May-11, Amit Shah wrote: On (Thu) 26 May 2011 [21:59:01], Apelete Seketeli wrote: Hello, I'm trying to boot a custom linux kernel in qemu, and I plan to contribute the necessary work to make it work (this is the first step I'm taking to add OS support in qemu). I'm totally new to

Re: [Qemu-devel] dynamically linked binaries under sparc-linux-user

2011-05-28 Thread Artyom Tarasenko
On Thu, May 26, 2011 at 8:45 PM, Blue Swirl blauwir...@gmail.com wrote: On Tue, May 24, 2011 at 10:42 PM, Artyom Tarasenko atar4q...@gmail.com wrote: Should it be possible to use dynamically linked binaries under sparc*-linux-user? Under qemu-system-sparc the Debian 4.08r1 initrd works fine,

Re: [Qemu-devel] [Qemu-trivial] [PATCH] bitbang_i2c: Fix spurious slave read after NACK

2011-05-28 Thread andrzej zaborowski
Hi, On 28 May 2011 21:52, Stefan Hajnoczi stefa...@gmail.com wrote: On Sat, May 28, 2011 at 3:55 PM, Marcus Comstedt mar...@mc.pp.se wrote: After NACKing a read operation, a raising SCL should not trigger a new read from the slave.  Introduce a new state which just waits for a stop or start