Re: [Qemu-devel] [PATCH 4/7] compiler: add macro for GCC weak symbols

2012-07-28 Thread Markus Armbruster
Anthony Liguori aligu...@us.ibm.com writes: Blue Swirl blauwir...@gmail.com writes: On Fri, Jul 27, 2012 at 8:51 PM, Anthony Liguori aligu...@us.ibm.com wrote: If someone comes along and actively maintains support for another compiler, we can revisit. But otherwise, there's no practical

Re: [Qemu-devel] [PATCH 0/3] Attempting to run Microport UNIX (ca 1987)

2012-07-28 Thread Markus Armbruster
Matthew Ogilvie mmogilvi_q...@miniinfo.net writes: I've recently been trying to get an ancient version of UNIX I used to use working in qemu: Micoport UNIX System V/386, v 2.1 (ca 1987). I used this from about 1987 until about 1996, when I first got Linux. [...] I've also noticed some

Re: [Qemu-devel] Funny -m arguments can crash

2012-07-28 Thread Markus Armbruster
Blue Swirl blauwir...@gmail.com writes: On Wed, Jul 25, 2012 at 11:49 AM, Markus Armbruster arm...@redhat.com wrote: Asking for funny memory sizes sometimes crashes for me. For instance -m 0.8 or the equivalent -m 838860b. -m 0.7 appears to work. Should we round memory sizes? How? Where?

Re: [Qemu-devel] [PATCH] fixup! qapi: qapi.py: allow the ' character be escaped

2012-07-28 Thread Markus Armbruster
Luiz Capitulino lcapitul...@redhat.com writes: On Thu, 26 Jul 2012 19:09:13 +0200 Markus Armbruster arm...@redhat.com wrote: Support escaping the escape character, and make more robust (don't die for '', handle ' without matching '. Signed-off-by: Markus Armbruster arm...@redhat.com Can

Re: [Qemu-devel] [PATCH 4/7] compiler: add macro for GCC weak symbols

2012-07-28 Thread Peter Maydell
On 27 July 2012 16:31, Anthony Liguori aligu...@us.ibm.com wrote: Peter Maydell peter.mayd...@linaro.org writes: My approach to this is to avoid non-standard things http://en.wikipedia.org/wiki/C99#Implementations So unless you plan on compiling QEMU with xlc, pgi, or icc, I don't think

Re: [Qemu-devel] [PATCH v3 2/2] block: Support GlusterFS as a QEMU block backend

2012-07-28 Thread Blue Swirl
On Sat, Jul 28, 2012 at 4:43 AM, Bharata B Rao bhar...@linux.vnet.ibm.com wrote: On Fri, Jul 27, 2012 at 06:44:04PM +, Blue Swirl wrote: +struct GlusterOpts { static Sure. +bool optional; +char defval[10]; const char *defval? Sure I could. +char *value; +}

Re: [Qemu-devel] Funny -m arguments can crash

2012-07-28 Thread Blue Swirl
On Sat, Jul 28, 2012 at 6:41 AM, Markus Armbruster arm...@redhat.com wrote: Blue Swirl blauwir...@gmail.com writes: On Wed, Jul 25, 2012 at 11:49 AM, Markus Armbruster arm...@redhat.com wrote: Asking for funny memory sizes sometimes crashes for me. For instance -m 0.8 or the equivalent -m

Re: [Qemu-devel] [PATCH 4/7] compiler: add macro for GCC weak symbols

2012-07-28 Thread Blue Swirl
On Fri, Jul 27, 2012 at 10:40 PM, Anthony Liguori aligu...@us.ibm.com wrote: Blue Swirl blauwir...@gmail.com writes: On Fri, Jul 27, 2012 at 8:51 PM, Anthony Liguori aligu...@us.ibm.com wrote: If someone comes along and actively maintains support for another compiler, we can revisit. But

Re: [Qemu-devel] [PATCH 4/7] compiler: add macro for GCC weak symbols

2012-07-28 Thread Blue Swirl
On Sat, Jul 28, 2012 at 6:25 AM, Markus Armbruster arm...@redhat.com wrote: Anthony Liguori aligu...@us.ibm.com writes: Blue Swirl blauwir...@gmail.com writes: On Fri, Jul 27, 2012 at 8:51 PM, Anthony Liguori aligu...@us.ibm.com wrote: If someone comes along and actively maintains support

[Qemu-devel] [PATCH v2] qxl: add QXL_IO_MONITORS_CONFIG_ASYNC

2012-07-28 Thread Alon Levy
bumps spice-protocol to 0.12.0 for new IO. revision bumped to 4 for new IO support, enabled for spice-server = 0.11.1 on migration reissue spice_qxl_monitors_config_async. RHBZ: 770842 Signed-off-by: Alon Levy al...@redhat.com --- configure |2 +- hw/qxl.c | 47

Re: [Qemu-devel] [PATCH 4/7] compiler: add macro for GCC weak symbols

2012-07-28 Thread Blue Swirl
On Sat, Jul 28, 2012 at 6:50 AM, Peter Maydell peter.mayd...@linaro.org wrote: On 27 July 2012 16:31, Anthony Liguori aligu...@us.ibm.com wrote: Peter Maydell peter.mayd...@linaro.org writes: My approach to this is to avoid non-standard things http://en.wikipedia.org/wiki/C99#Implementations

Re: [Qemu-devel] [PATCH v2] qxl: add QXL_IO_MONITORS_CONFIG_ASYNC

2012-07-28 Thread Blue Swirl
On Sat, Jul 28, 2012 at 8:56 AM, Alon Levy al...@redhat.com wrote: bumps spice-protocol to 0.12.0 for new IO. revision bumped to 4 for new IO support, enabled for spice-server = 0.11.1 on migration reissue spice_qxl_monitors_config_async. RHBZ: 770842 Signed-off-by: Alon Levy

Re: [Qemu-devel] [PATCH 11/11] configure: Check for -Werror causing failures when compiling tests

2012-07-28 Thread Blue Swirl
On Wed, Jul 18, 2012 at 2:10 PM, Peter Maydell peter.mayd...@linaro.org wrote: Add support for checking whether test case code can compile without warnings, by recompiling each successful test with -Werror. If the -Werror version doesn't pass, we bail out. This gives us the same level of

Re: [Qemu-devel] [PATCH v2] tests/tcg: add test-i386-fprem and make target for comparing QEMU to h/w

2012-07-28 Thread Blue Swirl
On Wed, Jul 25, 2012 at 5:06 PM, Catalin Patulea catal...@google.com wrote: This test contains manual and automatically-generated test cases, in the style of test-i386 (run on h/w, run on QEMU, diff the outputs), for the FPREM instruction. For each test case, the input operands, result and FPU

Re: [Qemu-devel] [PATCH] update-linux-headers.sh: Pull in asm-generic/kvm_para.h

2012-07-28 Thread Jan Kiszka
On 2012-07-25 17:29, Peter Maydell wrote: Add asm-generic/kvm_para.h to the set of non-architecture specific KVM kernel headers we copy into QEMU. This header may be included by an architecture's kvm_para.h header. Signed-off-by: Peter Maydell peter.mayd...@linaro.org ---

Re: [Qemu-devel] [PATCH v2] qxl: add QXL_IO_MONITORS_CONFIG_ASYNC

2012-07-28 Thread Alon Levy
On Sat, Jul 28, 2012 at 09:01:11AM +, Blue Swirl wrote: +// - this is not a guest io, but a reply, so async_io isn't set. Please use checkpatch.pl to avoid C99 comments. Doh, I must have missed it (I do), will fix, thanks. Alon

[Qemu-devel] [PATCH v3] qxl: add QXL_IO_MONITORS_CONFIG_ASYNC

2012-07-28 Thread Alon Levy
bumps spice-protocol to 0.12.0 for new IO. revision bumped to 4 for new IO support, enabled for spice-server = 0.11.1 on migration reissue spice_qxl_monitors_config_async. RHBZ: 770842 Signed-off-by: Alon Levy al...@redhat.com --- configure | 2 +- hw/qxl.c | 49

Re: [Qemu-devel] [PATCH 11/11] configure: Check for -Werror causing failures when compiling tests

2012-07-28 Thread Peter Maydell
On 28 July 2012 10:04, Blue Swirl blauwir...@gmail.com wrote: On Wed, Jul 18, 2012 at 2:10 PM, Peter Maydell peter.mayd...@linaro.org wrote: +echo ERROR: configure test passed without -Werror but failed with -Werror. +echo This is probably a bug in the configure script. The failing

Re: [Qemu-devel] [PATCH 11/11] configure: Check for -Werror causing failures when compiling tests

2012-07-28 Thread Blue Swirl
On Sat, Jul 28, 2012 at 10:57 AM, Peter Maydell peter.mayd...@linaro.org wrote: On 28 July 2012 10:04, Blue Swirl blauwir...@gmail.com wrote: On Wed, Jul 18, 2012 at 2:10 PM, Peter Maydell peter.mayd...@linaro.org wrote: +echo ERROR: configure test passed without -Werror but failed with

Re: [Qemu-devel] [PATCH v10 00/15] QEMU OpenRISC support

2012-07-28 Thread Blue Swirl
On Fri, Jul 20, 2012 at 7:50 AM, Jia Liu pro...@gmail.com wrote: This is the OpenCores OpenRISC 1200 support for QEMU. Full implementation of the system-model and linux-user-model support. OpenRISC 1200 is a OpenCores open source CPU, its architecture manual can be found at

Re: [Qemu-devel] [PATCH 11/11] configure: Check for -Werror causing failures when compiling tests

2012-07-28 Thread Peter Maydell
On 28 July 2012 13:09, Blue Swirl blauwir...@gmail.com wrote: On Sat, Jul 28, 2012 at 10:57 AM, Peter Maydell peter.mayd...@linaro.org wrote: On 28 July 2012 10:04, Blue Swirl blauwir...@gmail.com wrote: , I'm getting configure breakage in some cases: The thesis of the patch series is that

Re: [Qemu-devel] [PATCH] vl.c: Don't print errno after failed qemu_chr_new()

2012-07-28 Thread Blue Swirl
On Sat, Jul 21, 2012 at 9:07 AM, Peter Maydell peter.mayd...@linaro.org wrote: Ping? patchwork url: http://patchwork.ozlabs.org/patch/169860/ Thanks, applied. -- PMM On 9 July 2012 15:28, Peter Maydell peter.mayd...@linaro.org wrote: The qemu_chr_new() function doesn't set errno on

Re: [Qemu-devel] [PATCH resend] tests: Makefile: include dependency files

2012-07-28 Thread Blue Swirl
On Wed, Jul 18, 2012 at 5:22 PM, Eduardo Habkost ehabk...@redhat.com wrote: Otherwise 'make check' won't recompile files that need to be recompiled because of header changes. To reproduce the bug, run: $ make check # succeeds $ echo B0RKED hw/mc146818rtc_regs.h $ make check # is

Re: [Qemu-devel] [PATCH] target-xtensa: fix big-endian BBS/BBC implementation

2012-07-28 Thread Blue Swirl
Thanks, applied. On Tue, Jul 17, 2012 at 7:45 PM, Max Filippov jcmvb...@gmail.com wrote: Quote from ISA, 2.1: For most Xtensa instructions, bit numbering is irrelevant; only the BBC and BBS instructions assign bit numbers to values on which the processor operates. The BBC/BBS instructions

Re: [Qemu-devel] [PATCH 0/2] build: get all *.d files

2012-07-28 Thread Blue Swirl
Thanks, applied all. On Wed, Jul 11, 2012 at 2:40 PM, Paolo Bonzini pbonz...@redhat.com wrote: Avi and Jan experienced more problem with dependencies. This series should fix them. Paolo Bonzini (2): build: include qapi-generated/ files in qga/Makefile.objs build: get dependency file

Re: [Qemu-devel] [PATCH] hw/escc: Drop duplicate definition of 'disabled' property

2012-07-28 Thread Blue Swirl
Thanks, applied. On Tue, Jul 24, 2012 at 2:10 PM, Peter Maydell peter.mayd...@linaro.org wrote: Drop a duplicate definition of the 'disabled' property from the escc qdev property list: this redefinition is currently effectively ignored but will become an error. (The duplication was

Re: [Qemu-devel] [PATCH 11/11] configure: Check for -Werror causing failures when compiling tests

2012-07-28 Thread Blue Swirl
On Sat, Jul 28, 2012 at 12:14 PM, Peter Maydell peter.mayd...@linaro.org wrote: On 28 July 2012 13:09, Blue Swirl blauwir...@gmail.com wrote: On Sat, Jul 28, 2012 at 10:57 AM, Peter Maydell peter.mayd...@linaro.org wrote: On 28 July 2012 10:04, Blue Swirl blauwir...@gmail.com wrote: , I'm

Re: [Qemu-devel] [PATCH 11/11] configure: Check for -Werror causing failures when compiling tests

2012-07-28 Thread Blue Swirl
On Sat, Jul 28, 2012 at 12:14 PM, Peter Maydell peter.mayd...@linaro.org wrote: On 28 July 2012 13:09, Blue Swirl blauwir...@gmail.com wrote: On Sat, Jul 28, 2012 at 10:57 AM, Peter Maydell peter.mayd...@linaro.org wrote: On 28 July 2012 10:04, Blue Swirl blauwir...@gmail.com wrote: , I'm

Re: [Qemu-devel] [PATCH 37/47] add hierarchical bitmap data type and test cases

2012-07-28 Thread Eric Blake
On 07/24/2012 05:04 AM, Paolo Bonzini wrote: HBitmaps provide an array of bits. The bits are stored as usual in an array of unsigned longs, but HBitmap is also optimized to provide fast iteration over set bits; going from one bit to the next is O(logB n) worst case, with B = sizeof(long) *

Re: [Qemu-devel] [PATCH 43/47] mirror: allow customizing the granularity

2012-07-28 Thread Eric Blake
On 07/24/2012 05:04 AM, Paolo Bonzini wrote: The desired granularity may be very different depending on the kind of operation (e.g. continous replication vs. collapse-to-raw) and whether s/continous/continuous/ the VM is expected to perform lots of I/O while mirroring is in progress. Allow

Re: [Qemu-devel] [PATCH 44/47] mirror: switch mirror_iteration to AIO

2012-07-28 Thread Eric Blake
On 07/24/2012 05:04 AM, Paolo Bonzini wrote: There is really no change in the behavior of the job here, since there is still a maximum of one in-flight I/O operation between the source and the target. However, this patch already introduces moves the copy logic grammar: 'already introduces

Re: [Qemu-devel] [PATCH 11/11] configure: Check for -Werror causing failures when compiling tests

2012-07-28 Thread Peter Maydell
On 28 July 2012 13:31, Blue Swirl blauwir...@gmail.com wrote: I'm getting this error, probably because now Valgrind support is enabled: CCcoroutine-ucontext.o cc1: warnings being treated as errors /src/qemu/coroutine-ucontext.c:204: error: unknown option after '#pragma GCC diagnostic'

Re: [Qemu-devel] [PATCH 00/47] Block job improvements for 1.2

2012-07-28 Thread Eric Blake
On 07/24/2012 05:03 AM, Paolo Bonzini wrote: Hi all, this is the first non-RFC submission of my block job patches for 1.2. Everything is there, including multiple in-flight operations in the mirroring job and new testcases (for all of streaming, mirroring, hierarchical bitmap). The tests use

Re: [Qemu-devel] [PATCH 20/27] qapi-schema: add ErrorClass enum

2012-07-28 Thread Eric Blake
On 07/27/2012 03:32 PM, Luiz Capitulino wrote: Signed-off-by: Luiz Capitulino lcapitul...@redhat.com --- qapi-schema.json | 26 ++ 1 file changed, 26 insertions(+) diff --git a/qapi-schema.json b/qapi-schema.json index 7500754..b1325c4 100644 ---

Re: [Qemu-devel] [BUG] BSOD on Win2003 Server when 64bit PCI resource is present

2012-07-28 Thread Kevin O'Connor
On Thu, Jul 26, 2012 at 03:38:47PM +, Alexey Korolev wrote: HI, Current version of Seabios is causing blue screen on Windows2003 when 64bit PCI resource is present and occupies high memory. BSOD Error code is: 0x00A5 (0x02, 0xfADF6A446880, 0x1, 0xFADFAA34690) The

Re: [Qemu-devel] [RFC][PATCH v4 3/3] tcg: Optimize qemu_ld/st by generating slow paths at the end of a block

2012-07-28 Thread Yeongkyoon Lee
On 2012년 07월 25일 23:00, Richard Henderson wrote: On 07/25/2012 12:35 AM, Yeongkyoon Lee wrote: +#if defined(CONFIG_QEMU_LDST_OPTIMIZATION) defined(CONFIG_SOFTMMU) +/* Macros/structures for qemu_ld/st IR code optimization: + TCG_MAX_HELPER_LABELS is defined as same as OPC_BUF_SIZE in

Re: [Qemu-devel] [SeaBIOS] [BUG] BSOD on Win2003 Server when 64bit PCI resource is present

2012-07-28 Thread Fred .
Bug Check 0xA5: ACPI_BIOS_ERROR Bug Check 0x2: DEVICE_QUEUE_NOT_BUSY http://msdn.microsoft.com/en-us/library/windows/hardware/ff560114%28v=vs.85%29.aspx http://msdn.microsoft.com/en-us/library/windows/hardware/ff557475%28v=vs.85%29.aspx - at the bottom there is a send comment to Microsoft form

Re: [Qemu-devel] [PATCH RFC v4 18/18] MAINTAINERS: Document virtex_ml507 machine

2012-07-28 Thread Andreas Färber
Am 27.07.2012 19:42, schrieb Edgar E. Iglesias: Acked-by: Edgar E. Iglesias edgar.igles...@gmail.com mailto:edgar.igles...@gmail.com Im currently traveling but can apply when Im back. Thanks. This patch as is depends on the Bamboo addition just above, so either Anthony or Alex can handle it.

Re: [Qemu-devel] [BUG] BSOD on Win2003 Server when 64bit PCI resource is present

2012-07-28 Thread Alexey Korolev
Hi Kevin, Unfortunately, it's very difficult to debug acpi issues on Windows. Gerd's been on vacation this week - so, lets give him a chance to look at it when he gets back. If it can't be resolved, we'll need to revert the patch that broke Win2003. Thank you for your reply. Right - acpi issues

[Qemu-devel] [PATCH] build: Fix linking failure for qemu-ga

2012-07-28 Thread riegamaths
From: Dunrong Huang riegama...@gmail.com This patch will fix the following linking failed: LINK qemu-ga gcc: error: qga/../qapi-generated/qga-qapi-types.o: No such file or directory gcc: error: qga/../qapi-generated/qga-qapi-visit.o: No such file or directory gcc: error:

Re: [Qemu-devel] [PATCH RFC v4 18/18] MAINTAINERS: Document virtex_ml507 machine

2012-07-28 Thread Peter Maydell
On 26 July 2012 13:28, Andreas Färber afaer...@suse.de wrote: It's a ppc440, so place it close to Bamboo. ...I thought these sections were supposed to be in alphabetical order? (the existing entries in MAINTAINERS generally seem to be mostly in alpha order except occasionally where we've messed

[Qemu-devel] buildbot failure in qemu on default_x86_64_debian_6_0

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

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

2012-07-28 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/331 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: kraxel_openbsd49

[Qemu-devel] buildbot failure in qemu on default_openbsd_current

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

[Qemu-devel] buildbot failure in qemu on default_x86_64_out_of_tree

2012-07-28 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/528 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build:

[Qemu-devel] buildbot failure in qemu on default_i386_out_of_tree

2012-07-28 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/528 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuzuki

[Qemu-devel] buildbot failure in qemu on default_i386_debian_6_0

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

[Qemu-devel] buildbot failure in qemu on disable_kvm_i386_debian_6_0

2012-07-28 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/343 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build:

[Qemu-devel] buildbot failure in qemu on disable_kvm_x86_64_debian_6_0

2012-07-28 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/343 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this

[Qemu-devel] buildbot failure in qemu on disable_kvm_i386_out_of_tree

2012-07-28 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/530 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build:

[Qemu-devel] buildbot failure in qemu on disable_kvm_x86_64_out_of_tree

2012-07-28 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/530 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this

Re: [Qemu-devel] [PATCH 0/3] Attempting to run Microport UNIX (ca 1987)

2012-07-28 Thread Matthew Ogilvie
On Sat, Jul 28, 2012 at 08:33:54AM +0200, Markus Armbruster wrote: Matthew Ogilvie mmogilvi_q...@miniinfo.net writes: [...] 1. It doesn't seem to recognize the hard drive geometry, even if I use -hdachs and keep it carefully inside ancient limitations. Note that at the time,

Re: [Qemu-devel] [PATCH v10 00/15] QEMU OpenRISC support

2012-07-28 Thread Jia Liu
Hi Blue, and other maintainers, On Sat, Jul 28, 2012 at 8:13 PM, Blue Swirl blauwir...@gmail.com wrote: On Fri, Jul 20, 2012 at 7:50 AM, Jia Liu pro...@gmail.com wrote: This is the OpenCores OpenRISC 1200 support for QEMU. Full implementation of the system-model and linux-user-model support.

[Qemu-devel] buildbot failure in qemu on xen_unstable

2012-07-28 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/77 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: anthony_xen Build Reason: The