Re: [Qemu-devel] [PATCH v2 00/15] SCSI s/g + SCSI migration + virtio-scsi

2012-01-17 Thread Hu Tao
Hi Paolo, I found a problem that a virtio-scsi disk gets offline during mkfs. The scsi disk is of 100G or bigger, and the corresponding image is a freshly created qcow2 image. If the disk is small enough, or not freshly created, the problem doesn't appear. -- Thanks, Hu Tao

Re: [Qemu-devel] icount and tb chaining

2012-01-17 Thread 陳韋任
> previously returned tb. This is usually 0/1. When running icount, you > can also get a 2 value in these least significant digits, indicating > that the translation block was restarted due to the > icount_decr.u16.low field being exhausted but having instructions left > to execute in icount_extra.

Re: [Qemu-devel] icount and tb chaining

2012-01-17 Thread 陳韋任
> if (!tb->jmp_next[n]) { <--- what if n is 2? > > This is my question, if n is two, it would actually be checking the > jmp_first field immediatedly following the jmp_next array in the tb > structure. This function only updates the jmp_first field and doesn't > touch jmp_next when n is 2. Does a

Re: [Qemu-devel] [PATCH 1/4] console: a few cleanups

2012-01-17 Thread Stefan Weil
Am 18.01.2012 01:49, schrieb Anthony Liguori: On Jan 17, 2012 12:16 AM, "Stefan Weil" > wrote: > > Am 16.01.2012 23:36, schrieb Anthony Liguori: > >> We don't do anything with the list of registered DisplayState so get rid of it. >> That's one less list to deal with d

Re: [Qemu-devel] general protection fault

2012-01-17 Thread Dyweni - KVM
all all parties that I thought may be relevant. I'm getting the following error from my guest kernel when running oprofile within qemu-kvm: general protection fault: [#1] Modules linked in: Pid: 896, comm: oprofiled Not tainted 3.2.0-rc7-20120117-0605 #1 Bochs Bochs EIP: 0060:[] EFL

[Qemu-devel] general protection fault

2012-01-17 Thread Dyweni - KVM
led Not tainted 3.2.0-rc7-20120117-0605 #1 Bochs Bochs EIP: 0060:[] EFLAGS: 00010086 CPU: 0 EIP is at nmi_cpu_setup.clone.6+0x2e/0xb0 EAX: EBX: df89894c ECX: c0010005 EDX: ESI: 0001 EDI: c168e5c0 EBP: df8addf4 ESP: df8adde4 DS: 007b ES: 007b FS: GS: 0033 SS: 0068 Pr

Re: [Qemu-devel] [PATCH 1/4] console: a few cleanups

2012-01-17 Thread Anthony Liguori
On Jan 17, 2012 12:16 AM, "Stefan Weil" wrote: > > Am 16.01.2012 23:36, schrieb Anthony Liguori: > >> We don't do anything with the list of registered DisplayState so get rid of it. >> That's one less list to deal with down the road. >> >> Also pass DisplayState to the callbacks in DisplayState so

[Qemu-devel] [PATCH] target-lm32: init tcg only if available

2012-01-17 Thread Michael Walle
Once qtest support for target-lm32 arrives, tcg may be disabled. Signed-off-by: Michael Walle --- target-lm32/helper.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/target-lm32/helper.c b/target-lm32/helper.c index fc0b444..d6f38bf 100644 --- a/target-lm32/helper.c ++

Re: [Qemu-devel] icount and tb chaining

2012-01-17 Thread Laurent Desnogues
On Tue, Jan 17, 2012 at 8:06 PM, Laurent Desnogues wrote: > On Tue, Jan 17, 2012 at 7:50 PM, Peter Maydell > wrote: >> 2012/1/13 James Greensky : >>> Sure, usually a tb chain is setup after a subsequent tb is >>> found/constructed in the loop in cpu_exec when a tb returns. >>> Taken/non-taken br

Re: [Qemu-devel] icount and tb chaining

2012-01-17 Thread Laurent Desnogues
On Tue, Jan 17, 2012 at 7:50 PM, Peter Maydell wrote: > 2012/1/13 James Greensky : >> Sure, usually a tb chain is setup after a subsequent tb is >> found/constructed in the loop in cpu_exec when a tb returns. >> Taken/non-taken branch chaining is implemented by indicating the >> branch direction b

Re: [Qemu-devel] [PATCH v5 15/15] test: add image streaming test cases

2012-01-17 Thread Lucas Meneghel Rodrigues
On 01/13/2012 02:49 PM, Stefan Hajnoczi wrote: Hi Lucas, The Python script below verifies the image streaming feature. It's built on the standard library "unittest" module, as well as QEMU's qmp.py module. It spawns a qemu process and creates necessary disk image files. The tests themselves is

Re: [Qemu-devel] [PATCH 2/4] Add cleanup function

2012-01-17 Thread Eric Blake
On 01/16/2012 10:16 AM, Ryan Harper wrote: >>> if test -z "$1" -o -z "$2"; then >>> echo "Usage: $0 QEMU TEST1 [TEST2 ...]" >>> +cleanup >>> exit 1 >> >> Is it worth using 'trap cleanup 0' to install the cleanup handler up >> front, instead of modifying all exit call sites? > > I th

Re: [Qemu-devel] [Spice-devel] Vioserial of Windows guest OS on Qemu 0.15

2012-01-17 Thread Vadim Rozenfeld
On Mon, 2012-01-16 at 19:50 -0600, Michael Roth wrote: > On 01/15/2012 08:02 PM, Charles.Tsai-蔡清海-研究發展部 wrote: > > Vadim, > > > > Thank you for your prompt reply. Here are the information for our test case. > > > > > > 1) we use the following command line to launch the guest OS > > > > > > /usr/bin

Re: [Qemu-devel] [Spice-devel] Vioserial of Windows guest OS on Qemu 0.15

2012-01-17 Thread Vadim Rozenfeld
On Tue, 2012-01-17 at 10:03 +0800, Charles.Tsai-蔡清海-研究發展部 wrote: > Vadim, > > I am sorry that it was my mistake because I did not see there was a PIC > device which was created with no device driver installed. > Instead of updating the driver, I ran the hardware installation wizard to > instal

[Qemu-devel] Fwd: envlist_setenv...

2012-01-17 Thread Davide
What does this loop in main? for (wrk = environ; *wrk != NULL; wrk++) { (void) envlist_setenv(envlist, *wrk); }

Re: [Qemu-devel] [PATCH 1/2] Rewrite the way keycode conversions are performed

2012-01-17 Thread Daniel P. Berrange
On Tue, Jan 17, 2012 at 07:35:06PM +, Daniel P. Berrange wrote: > diff --git a/Makefile b/Makefile > index 2bbc547..f776c30 100644 > --- a/Makefile > +++ b/Makefile > @@ -116,7 +116,45 @@ QEMU_CFLAGS+=$(GLIB_CFLAGS) > > ui/cocoa.o: ui/cocoa.m > > -ui/sdl.o audio/sdlaudio.o ui/sdl_zoom.o ba

Re: [Qemu-devel] icount and tb chaining

2012-01-17 Thread James Greensky
On Tue, Jan 17, 2012 at 10:50 AM, Peter Maydell wrote: > 2012/1/13 James Greensky : >> Sure, usually a tb chain is setup after a subsequent tb is >> found/constructed in the loop in cpu_exec when a tb returns. >> Taken/non-taken branch chaining is implemented by indicating the >> branch direction

Re: [Qemu-devel] icount and tb chaining

2012-01-17 Thread James Greensky
On Tue, Jan 17, 2012 at 7:06 AM, 陳韋任 wrote: >> a jump with the least significant bits = 2. This falls through to tb >> add jump, which then updates the jmp_first field of the current tb. > > I don't know if tb_add_jump's second parameter will be two or not, but > look at TranslationBlock (exec-al

[Qemu-devel] [Bug 917824] [NEW] qemu loops/hangs on extending qcow2-diskspace

2012-01-17 Thread warum
Public bug reported: system is ubuntu 11-10 with qemu-kvm 0.14.1 (standard dpkg) while trying to install a software in a winXP-guest on a nearly empty disk within a qcow2-file, qemu stops answering console and vnc. gdb on original binary shows, that it doesn't really hang, but seems to endless l

[Qemu-devel] [PATCH 2/2] Add pre-generated keymaps

2012-01-17 Thread Daniel P. Berrange
From: "Daniel P. Berrange" To avoid the need for QEMU maintainers to have the perl Text::CSV module on their build machines, add pre-generated keymaps for each of the 6 conversions needed for QEMU's SDL driver --- ui/sdl_keymap_osx2rfb.c | 117 +++ ui/sdl_keymap_win322rf

[Qemu-devel] [PATCH 1/2] Rewrite the way keycode conversions are performed

2012-01-17 Thread Daniel P. Berrange
From: "Daniel P. Berrange" The SDL video display code needs to convert between the SDL keyboard event keycodes, and QEMU's internal keycode set (a variant of the xt coding). Currently the SDL code is only able todo this when it is built for X11, and running against a Linux X11 server using evdev

[Qemu-devel] [PATCH 0/2] Fix SDL keymapping when run against non-Linux X11 server

2012-01-17 Thread Daniel P. Berrange
The following two patches make the SDL display keymapping work correctly when QEMU is executed on Linux, but displayed on an OS-X or Win32 X11 server. As an added bonus, I included support for the SDL Quartz and Win32 video drivers, but I'm not clear if QEMU actually works with them. The changes a

Re: [Qemu-devel] [Android-virt] [PATCH 00/12] Add support for Cortex-A15 and vexpress-a15

2012-01-17 Thread Peter Maydell
On 15 January 2012 22:56, Christoffer Dall wrote: > On Fri, Jan 13, 2012 at 3:57 PM, Peter Maydell > wrote: >> PPS: these patches are against qemu-master so for kvm you'd need >> to (a) rebase them on qemu-linaro (b) put the kvm patches on top >> of these (c) wait for me to do a. for you ;-) > >

Re: [Qemu-devel] icount and tb chaining

2012-01-17 Thread Peter Maydell
2012/1/13 James Greensky : > Sure, usually a tb chain is setup after a subsequent tb is > found/constructed in the loop in cpu_exec when a tb returns. > Taken/non-taken branch chaining is implemented by indicating the > branch direction by the two least significant digits of the the > previously re

Re: [Qemu-devel] Question about tlb_flush

2012-01-17 Thread 陳韋任
On Fri, Jan 13, 2012 at 11:57:36AM +0800, 陳韋任 wrote: > Hi all, > > When I looked at function tlb_flush (exec.c), I found its > second parameter "flush_global" is never used. In tlb_flush > comment, it says > > if flush_global is true, also flush global entries (not > implemented yet) > > D

[Qemu-devel] [PATCH V7] Guest stop notification

2012-01-17 Thread Eric B Munson
Often when a guest is stopped from the qemu console, it will report spurious soft lockup warnings on resume. There are kernel patches being discussed that will give the host the ability to tell the guest that it is being stopped and should ignore the soft lockup warning that generates. This patch

Re: [Qemu-devel] icount and tb chaining

2012-01-17 Thread 陳韋任
> a jump with the least significant bits = 2. This falls through to tb > add jump, which then updates the jmp_first field of the current tb. I don't know if tb_add_jump's second parameter will be two or not, but look at TranslationBlock (exec-all.h), struct TranslationBlock { struct Translat

Re: [Qemu-devel] [PATCH V6] Guest stop notification

2012-01-17 Thread Jan Kiszka
On 2012-01-17 19:07, Eric B Munson wrote: > Often when a guest is stopped from the qemu console, it will report spurious > soft lockup warnings on resume. There are kernel patches being discussed that > will give the host the ability to tell the guest that it is being stopped and > should ignore t

[Qemu-devel] [PATCH v2] qapi: Introduce change-vnc-password

2012-01-17 Thread Luiz Capitulino
New QMP command to change the VNC password. Signed-off-by: Anthony Liguori Signed-off-by: Luiz Capitulino Signed-off-by: Luiz Capitulino --- qapi-schema.json | 14 ++ qmp-commands.hx |6 ++ qmp.c|7 +++ 3 files changed, 27 insertions(+), 0 deletions(

[Qemu-devel] [PATCH V6] Guest stop notification

2012-01-17 Thread Eric B Munson
Often when a guest is stopped from the qemu console, it will report spurious soft lockup warnings on resume. There are kernel patches being discussed that will give the host the ability to tell the guest that it is being stopped and should ignore the soft lockup warning that generates. This patch

Re: [Qemu-devel] [PATCH 1/6] qtest: add test framework

2012-01-17 Thread Michael Walle
On Fri, January 13, 2012 19:32, Anthony Liguori wrote: > diff --git a/qtest.c b/qtest.c > new file mode 100644 > index 000..f41a9c3 > --- /dev/null > +++ b/qtest.c > @@ -0,0 +1,357 @@ > +/* > + * Test Server > + * > + * Copyright IBM, Corp. 2011 > + * > + * Authors: > + * Anthony Liguori >

Re: [Qemu-devel] [PATCH v4 2/2] qemu-ga: add guest-set-support-level command

2012-01-17 Thread Luiz Capitulino
On Tue, 17 Jan 2012 10:37:43 -0600 Michael Roth wrote: > Recently commands where introduced on the mailing that involved adding > commands to the guest agent that could potentially break older versions > of QEMU. While it's okay to expect that qemu-ga can be updated to support > newer host featur

Re: [Qemu-devel] [PATCH v4 1/2] qemu-ga: Add schema documentation for types

2012-01-17 Thread Luiz Capitulino
On Tue, 17 Jan 2012 10:37:42 -0600 Michael Roth wrote: > Document guest agent schema types in similar fashion as qmp schema > types. > > Signed-off-by: Michael Roth Reviewed-by: Luiz Capitulino Btw Michael, you could apply this series and my guest-suspend one in a branch and send a pull requ

[Qemu-devel] [PATCH v4 1/2] qemu-ga: Add schema documentation for types

2012-01-17 Thread Michael Roth
Document guest agent schema types in similar fashion as qmp schema types. Signed-off-by: Michael Roth --- qapi-schema-guest.json | 118 +++- 1 files changed, 97 insertions(+), 21 deletions(-) diff --git a/qapi-schema-guest.json b/qapi-schema-guest.js

[Qemu-devel] [PATCH v4 2/2] qemu-ga: add guest-set-support-level command

2012-01-17 Thread Michael Roth
Recently commands where introduced on the mailing that involved adding commands to the guest agent that could potentially break older versions of QEMU. While it's okay to expect that qemu-ga can be updated to support newer host features, it's unrealistic to require a host to be updated to support q

Re: [Qemu-devel] [PATCH 3/6] qtest: add C version of test infrastructure

2012-01-17 Thread Paolo Bonzini
On 01/13/2012 07:32 PM, Anthony Liguori wrote: This also includes a qtest wrapper script to make it easier to launch qtest tests directly. Signed-off-by: Anthony Liguori Here is a Python test harness for qtest. I haven't tried merging them with the makefiles. Feel free to add my s-o-b and

Re: [Qemu-devel] [PATCH v5 13/15] block: add support for partial streaming

2012-01-17 Thread Stefan Hajnoczi
On Tue, Jan 17, 2012 at 3:47 PM, Marcelo Tosatti wrote: > On Tue, Jan 17, 2012 at 03:05:29PM +0100, Kevin Wolf wrote: >> Am 17.01.2012 14:50, schrieb Marcelo Tosatti: >> > On Tue, Jan 17, 2012 at 02:27:04PM +0100, Kevin Wolf wrote: >> >> Am 13.01.2012 14:14, schrieb Stefan Hajnoczi: >> >>> From: M

[Qemu-devel] [PATCH] qxl: Slot sanity check in qxl_phys2virt() is off by one, fix

2012-01-17 Thread Gerd Hoffmann
From: Markus Armbruster Spotted by Coverity. Signed-off-by: Markus Armbruster Signed-off-by: Gerd Hoffmann --- hw/qxl.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/qxl.c b/hw/qxl.c index ac81927..bdd36f9 100644 --- a/hw/qxl.c +++ b/hw/qxl.c @@ -1020,7 +1020,7

[Qemu-devel] [PULL] tiny spice patch queue

2012-01-17 Thread Gerd Hoffmann
Hi, please pull a qxl bugfix. thanks, Gerd The following changes since commit 515aa3c57986b3e26558d72ecaeb7545ecd30510: check-qstring: remove check.h include (2012-01-12 11:33:22 -0600) are available in the git repository at: git://anongit.freedesktop.org/spice/qemu spice.v47 Markus A

Re: [Qemu-devel] [PATCH] qxl: Slot sanity check in qxl_phys2virt() is off by one, fix

2012-01-17 Thread Gerd Hoffmann
On 01/17/12 10:08, Markus Armbruster wrote: > Ping? Sitting lonely in the spice patch queue. /me completely forgot that the spice patch queue isn't empty ... cheers, Gerd

Re: [Qemu-devel] [PATCH v5 13/15] block: add support for partial streaming

2012-01-17 Thread Marcelo Tosatti
On Tue, Jan 17, 2012 at 03:05:29PM +0100, Kevin Wolf wrote: > Am 17.01.2012 14:50, schrieb Marcelo Tosatti: > > On Tue, Jan 17, 2012 at 02:27:04PM +0100, Kevin Wolf wrote: > >> Am 13.01.2012 14:14, schrieb Stefan Hajnoczi: > >>> From: Marcelo Tosatti > >>> > >>> Add support for streaming data from

Re: [Qemu-devel] [PATCH 10/10] qapi: Convert block_set_io_throttle

2012-01-17 Thread Zhi Yong Wu
On Tue, Jan 17, 2012 at 3:18 PM, Luiz Capitulino wrote: > On Fri, 13 Jan 2012 14:53:19 -0600 > Anthony Liguori wrote: > >> On 01/09/2012 05:24 AM, Luiz Capitulino wrote: >> > Signed-off-by: Luiz Capitulino >> > --- >> >   blockdev.c       |   47 ++- >>

Re: [Qemu-devel] [PATCH 10/10] qapi: Convert block_set_io_throttle

2012-01-17 Thread Luiz Capitulino
On Fri, 13 Jan 2012 14:53:19 -0600 Anthony Liguori wrote: > On 01/09/2012 05:24 AM, Luiz Capitulino wrote: > > Signed-off-by: Luiz Capitulino > > --- > > blockdev.c | 47 ++- > > blockdev.h |2 -- > > hmp-commands.hx |3 +-- >

Re: [Qemu-devel] [PATCH v10 4/5] arm: SoC model for Calxeda Highbank

2012-01-17 Thread Peter Maydell
On 17 January 2012 13:50, Mark Langsdorf wrote: > +    highbank_binfo.ram_size = ram_size; > +    highbank_binfo.kernel_filename = kernel_filename; > +    highbank_binfo.kernel_cmdline = kernel_cmdline; > +    highbank_binfo.initrd_filename = initrd_filename; > +    highbank_binfo.board_id = -1; /

Re: [Qemu-devel] KVM call agenda for Tuesday 17

2012-01-17 Thread Juan Quintela
Juan Quintela wrote: > Hi > > Please send in any agenda items you are interested in covering. Hi THere is nothing for the agenda today (I asked really late for it though, so apologies for that). Today call gets cancelled. Happy hacking, Juan. > Later, Juan.

Re: [Qemu-devel] [PATCH 3/3] configure: add '--disable-cocoa' switch

2012-01-17 Thread Peter Maydell
On 16 January 2012 23:46, Andrzej Zaborowski wrote: > On 14 January 2012 01:42, Andreas Färber wrote: >> Ping? Should we keep command line options a flat list with comments on >> applicability or start introducing tests like above? >> >> Me, I'd prefer not doing this since the switch cases above

[Qemu-devel] [PATCH v10 3/5] ahci: add support for non-PCI based controllers

2012-01-17 Thread Mark Langsdorf
From: Rob Herring Add support for ahci on sysbus. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf Reviewed-by: Andreas Färber --- Changes from v9 Changed typedef struct names to CamelCase Changes from v7, v8 None Changes from v5, v6 Skipped Changes from v4

[Qemu-devel] [PATCH v10 2/5] arm: make the number of GIC interrupts configurable

2012-01-17 Thread Mark Langsdorf
Increase the maximum number of GIC interrupts for a9mp and a11mp to 1020, and create a configurable property for each defaulting to 96 and 64 (respectively) so that device modelers can set the value appropriately for their SoC. Other ARM processors also set their maximum number of used IRQs appropr

[Qemu-devel] [PATCH] target-arm: Fix implementation of TLB invalidate operations

2012-01-17 Thread Peter Maydell
Fix some bugs in the implementation of the TLB invalidate operations on ARM: * the 'invalidate all' op was not passing flush_global=1 to tlb_flush(); this doesn't have a practical effect since tlb_flush() currently ignores that argument, but is semantically incorrect * 'invalidate by add

Re: [Qemu-devel] [PATCH 3/3] configure: add '--disable-cocoa' switch

2012-01-17 Thread Andrzej Zaborowski
On 17 January 2012 12:06, Andreas Färber wrote: > Am 17.01.2012 00:46, schrieb Andrzej Zaborowski: >> On 14 January 2012 01:42, Andreas Färber wrote: >>> Am 08.12.2011 01:41, schrieb Andreas Färber: Am 10.11.2011 19:40, schrieb Pavel Borzenkov: > When SDL support is disabled, there is no

Re: [Qemu-devel] [PATCH 2/3] VCPU hotplug support

2012-01-17 Thread Jan Kiszka
On 2012-01-17 15:17, Jan Kiszka wrote: >> >> /* output Bochs bios info messages */ >> //#define DEBUG_BIOS >> @@ -930,10 +932,22 @@ static void pc_cpu_reset(void *opaque) >> env->halted = !cpu_is_bsp(env); >> } >> >> -static CPUState *pc_new_cpu(const char *cpu_model) >> +CPUState *pc_n

Re: [Qemu-devel] [PATCH 4/6] make: add check targets based on gtester

2012-01-17 Thread Anthony Liguori
On 01/17/2012 08:04 AM, Paolo Bonzini wrote: On 01/13/2012 07:32 PM, Anthony Liguori wrote: This will run all tests through gtester. The main targets are: $ make check Which will run each unit test and: $ make check-report.html Which will generate a nice HTML report of the test status. gte

Re: [Qemu-devel] [PATCH 3/3] add cpu_set qmp command

2012-01-17 Thread Jan Kiszka
On 2012-01-17 14:17, Igor Mammedov wrote: > Signed-off-by: Igor Mammedov > --- > qapi-schema.json |9 + > qmp-commands.hx | 26 ++ > qmp.c| 15 +++ > 3 files changed, 50 insertions(+), 0 deletions(-) > > diff --git a/qapi-schema.js

[Qemu-devel] [PATCH v10 1/5] Add xgmac ethernet model

2012-01-17 Thread Mark Langsdorf
From: Rob Herring This adds very basic support for the xgmac ethernet core. Missing things include: - statistics counters - WoL support - rx checksum offload - chained descriptors (only linear descriptor ring) - broadcast and multicast handling Signed-off-by: Rob Herring Signed-off-by: Mark La

Re: [Qemu-devel] [PATCH 2/3] VCPU hotplug support

2012-01-17 Thread Jan Kiszka
On 2012-01-17 14:17, Igor Mammedov wrote: > Rebase of the missing bits from qemu-kvm for vcpu hotplug Description, please. Please try to split up, at least into PIIX4 preparations and "the rest". Maybe also a patch for a generic CPU hotplug infrastructure. > > Signed-off-by: Igor Mammedov > ---

[Qemu-devel] [PATCH v10 4/5] arm: SoC model for Calxeda Highbank

2012-01-17 Thread Mark Langsdorf
From: Rob Herring Adds support for Calxeda's Highbank SoC. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf Reviewed-by: Peter Maydell --- Changes from v9 Made typedef struct names in CamelCase Changes from v7, v8 None Changes from v3, v4, v5, v6 Skipped Change

[Qemu-devel] [PATCH v10 5/5] arm: Remove incorrect comment in arm_timer

2012-01-17 Thread Mark Langsdorf
The current comment says that the arm_timers are restricted to between 32 KHz and 1 MHz, but sp804 TRM does not specify those limits. Signed-off-by: Mark Langsdorf Reviewed-by: Andreas Färber --- Changes from v7, v8, v9 None Changes from v2, v3, v4, v5, v6 Skipped Changes from v1

[Qemu-devel] [Bug 917645] Re: [Feature request] ia64-softmmu wanted

2012-01-17 Thread Jakub Jermar
** Tags added: ia64-softmmu itanium qemu -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/917645 Title: [Feature request] ia64-softmmu wanted Status in Home for various HelenOS development branches:

Re: [Qemu-devel] [PATCH 4/6] make: add check targets based on gtester

2012-01-17 Thread Paolo Bonzini
On 01/13/2012 07:32 PM, Anthony Liguori wrote: This will run all tests through gtester. The main targets are: $ make check Which will run each unit test and: $ make check-report.html Which will generate a nice HTML report of the test status. gtester-report here (Fedora 16) has a bug where

[Qemu-devel] [Bug 917645] [NEW] [Feature request] ia64-softmmu wanted

2012-01-17 Thread Jakub Jermar
Public bug reported: Qemu is missing support for full system emulation of the Itanium architecture, which is one of the main non-x86 server architectures today (despite the alleged decline in popularity). It would be really nice if someone had interest in adding full ia64 support to Qemu. Many OS

Re: [Qemu-devel] [PATCH v5 13/15] block: add support for partial streaming

2012-01-17 Thread Kevin Wolf
Am 17.01.2012 14:50, schrieb Marcelo Tosatti: > On Tue, Jan 17, 2012 at 02:27:04PM +0100, Kevin Wolf wrote: >> Am 13.01.2012 14:14, schrieb Stefan Hajnoczi: >>> From: Marcelo Tosatti >>> >>> Add support for streaming data from an intermediate section of the >>> image chain (see patch and documenta

Re: [Qemu-devel] [PATCH 1/3] Introduce a new bus "ICC" to connect APIC

2012-01-17 Thread Jan Kiszka
On 2012-01-17 14:17, Igor Mammedov wrote: > Introduce a new structure CPUS as the controller of ICC (INTERRUPT > CONTROLLER COMMUNICATIONS), and new bus "ICC" to hold APIC,instead > of sysbus. So we can support APIC hot-plug feature. > > This is repost of original patch for qemu-kvm rebased on cur

Re: [Qemu-devel] [PATCH v5 13/15] block: add support for partial streaming

2012-01-17 Thread Marcelo Tosatti
On Tue, Jan 17, 2012 at 02:27:04PM +0100, Kevin Wolf wrote: > Am 13.01.2012 14:14, schrieb Stefan Hajnoczi: > > From: Marcelo Tosatti > > > > Add support for streaming data from an intermediate section of the > > image chain (see patch and documentation for details). > > > > Signed-off-by: Marce

[Qemu-devel] [PATCH v10 0/5] arm: add support for Calxeda Highbank

2012-01-17 Thread Mark Langsdorf
This patch series adds support for the Calxeda Highbank SoC.

Re: [Qemu-devel] [PATCH v5 03/15] block: add BlockJob interface for long-running operations

2012-01-17 Thread Kevin Wolf
Am 17.01.2012 14:33, schrieb Stefan Hajnoczi: > On Tue, Jan 17, 2012 at 1:00 PM, Kevin Wolf wrote: >> Am 13.01.2012 14:14, schrieb Stefan Hajnoczi: >>> +typedef struct BlockJobType { >>> +/** Derived BlockJob struct size */ >>> +size_t instance_size; >>> + >>> +/** String describing th

Re: [Qemu-devel] [PATCH 3/6] qtest: add C version of test infrastructure

2012-01-17 Thread Stefan Hajnoczi
On Tue, Jan 17, 2012 at 1:33 PM, Paolo Bonzini wrote: > On 01/17/2012 12:33 PM, Stefan Hajnoczi wrote: >> >> I was wondering about a qemu-side solution where a closed qtest socket >> means we need to shut down, but am not sure if the chardev code lets >> us do that.  (Really we want POLLHUP but we

Re: [Qemu-devel] [PATCH v5 01/15] coroutine: add co_sleep_ns() coroutine sleep function

2012-01-17 Thread Kevin Wolf
Am 17.01.2012 14:31, schrieb Stefan Hajnoczi: > On Tue, Jan 17, 2012 at 12:54 PM, Kevin Wolf wrote: >> Am 13.01.2012 14:14, schrieb Stefan Hajnoczi: >>> Signed-off-by: Stefan Hajnoczi >>> --- >>> Makefile.objs |1 + >>> qemu-coroutine-sleep.c | 38 +

Re: [Qemu-devel] [PATCH v5 03/15] block: add BlockJob interface for long-running operations

2012-01-17 Thread Stefan Hajnoczi
On Tue, Jan 17, 2012 at 1:00 PM, Kevin Wolf wrote: > Am 13.01.2012 14:14, schrieb Stefan Hajnoczi: >> +typedef struct BlockJobType { >> +    /** Derived BlockJob struct size */ >> +    size_t instance_size; >> + >> +    /** String describing the operation, part of query-block-jobs QMP API */ >> +

Re: [Qemu-devel] [PATCH 3/6] qtest: add C version of test infrastructure

2012-01-17 Thread Paolo Bonzini
On 01/17/2012 12:33 PM, Stefan Hajnoczi wrote: I was wondering about a qemu-side solution where a closed qtest socket means we need to shut down, but am not sure if the chardev code lets us do that. (Really we want POLLHUP but we only seem to have POLLIN/POLLOUT handlers.) For poll, both POLLI

Re: [Qemu-devel] [PATCH v5 01/15] coroutine: add co_sleep_ns() coroutine sleep function

2012-01-17 Thread Stefan Hajnoczi
On Tue, Jan 17, 2012 at 12:54 PM, Kevin Wolf wrote: > Am 13.01.2012 14:14, schrieb Stefan Hajnoczi: >> Signed-off-by: Stefan Hajnoczi >> --- >>  Makefile.objs          |    1 + >>  qemu-coroutine-sleep.c |   38 ++ >>  qemu-coroutine.h       |    9 + >>

[Qemu-devel] [PATCH 2/2] qemu-ga: Add the guest-suspend command

2012-01-17 Thread Luiz Capitulino
The guest-suspend command supports three modes: o hibernate (suspend to disk) o sleep (suspend to ram) o hybrid(save RAM contents to disk, but suspend instead of powering off) Before trying to suspend, the command queries the guest in order to know whether the given mode

[Qemu-devel] [PATCH 1/2] qemu-ga: set O_NONBLOCK for serial channels

2012-01-17 Thread Luiz Capitulino
This fixes a bug when using -m isa-serial where qemu-ga will hang on a read()'s when communicating to the host via isa-serial. Original fix by Michael Roth. Signed-off-by: Luiz Capitulino --- qemu-ga.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/qemu-ga.c b/qemu-ga

[Qemu-devel] [PATCH v7 0/2]: qemu-ga: Add the guest-suspend command

2012-01-17 Thread Luiz Capitulino
Small fixes, no major changes. This series depends on the following series from Michael: http://lists.gnu.org/archive/html/qemu-devel/2012-01/msg02110.html v7 o drop find_executable_file() and use g_find_program_in_path() instead [Daniel] o fix off by one bug [Daniel] o drop slog() usage [Mic

Re: [Qemu-devel] [PATCH v5 13/15] block: add support for partial streaming

2012-01-17 Thread Kevin Wolf
Am 13.01.2012 14:14, schrieb Stefan Hajnoczi: > From: Marcelo Tosatti > > Add support for streaming data from an intermediate section of the > image chain (see patch and documentation for details). > > Signed-off-by: Marcelo Tosatti > Signed-off-by: Stefan Hajnoczi I'm afraid that in the revi

[Qemu-devel] [PATCH] exec.c: Clarify comment about tlb_flush() flush_global parameter

2012-01-17 Thread Peter Maydell
Clarify the comment about tlb_flush()'s flush_global parameter, so it is clearer what it does and why it is OK that the implementation currently ignores it. Signed-off-by: Peter Maydell --- Minor clarification following a conversation on IRC... exec.c | 14 -- 1 files changed, 12

[Qemu-devel] [PATCH 3/3] add cpu_set qmp command

2012-01-17 Thread Igor Mammedov
Signed-off-by: Igor Mammedov --- qapi-schema.json |9 + qmp-commands.hx | 26 ++ qmp.c| 15 +++ 3 files changed, 50 insertions(+), 0 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 44cf764..05cc582 100644 --- a/

[Qemu-devel] [PATCH 1/3] Introduce a new bus "ICC" to connect APIC

2012-01-17 Thread Igor Mammedov
Introduce a new structure CPUS as the controller of ICC (INTERRUPT CONTROLLER COMMUNICATIONS), and new bus "ICC" to hold APIC,instead of sysbus. So we can support APIC hot-plug feature. This is repost of original patch for qemu-kvm rebased on current qemu: http://lists.nongnu.org/archive/html/qemu

[Qemu-devel] [PATCH 2/3] VCPU hotplug support

2012-01-17 Thread Igor Mammedov
Rebase of the missing bits from qemu-kvm for vcpu hotplug Signed-off-by: Igor Mammedov --- Makefile.objs |2 +- Makefile.target |2 +- hw/acpi_piix4.c | 83 ++-- hw/pc.c | 21 +- hw/pc_piix.c |4 ++

[Qemu-devel] [PATCH 0/3] Make vcpu hotplug work for qemu

2012-01-17 Thread Igor Mammedov
[PATCH 1/3] Introduce a new bus "ICC" to connect APIC this is rebase of original patch for qemu-kvm. It is/was in Anthony's next queue, so it could be discarded if it's redundant [PATCH 2/3] VCPU hotplug support scavenged bits of vcpu hotplug for qemu-kvm

Re: [Qemu-devel] [PATCH v5 03/15] block: add BlockJob interface for long-running operations

2012-01-17 Thread Kevin Wolf
Am 13.01.2012 14:14, schrieb Stefan Hajnoczi: > Signed-off-by: Stefan Hajnoczi > --- > block.c | 48 > block_int.h | 40 > 2 files changed, 88 insertions(+), 0 deletions(-) > > diff --git a/block.c

Re: [Qemu-devel] [PATCH v5 01/15] coroutine: add co_sleep_ns() coroutine sleep function

2012-01-17 Thread Kevin Wolf
Am 13.01.2012 14:14, schrieb Stefan Hajnoczi: > Signed-off-by: Stefan Hajnoczi > --- > Makefile.objs |1 + > qemu-coroutine-sleep.c | 38 ++ > qemu-coroutine.h |9 + > 3 files changed, 48 insertions(+), 0 deletions(-) > create

Re: [Qemu-devel] [PATCH v3 2/2] qemu-ga: add guest-set-support-level command

2012-01-17 Thread Luiz Capitulino
On Mon, 16 Jan 2012 18:13:59 -0600 Michael Roth wrote: > Recently commands where introduced on the mailing that involved adding > commands to the guest agent that could potentially break older versions > of QEMU. While it's okay to expect that qemu-ga can be updated to support > newer host featur

Re: [Qemu-devel] [PATCH v3 1/2] qemu-ga: Add schema documentation for types

2012-01-17 Thread Luiz Capitulino
On Mon, 16 Jan 2012 18:13:58 -0600 Michael Roth wrote: > Document guest agent schema types in similar fashion as qmp schema > types. You forgot to document the GuestFileSeek type, otherwise looks good to me. > > Signed-off-by: Michael Roth > --- > qapi-schema-guest.json | 98 ++

Re: [Qemu-devel] [PATCH] kvm: flush the dirty log when unregistering a slot

2012-01-17 Thread Jan Kiszka
On 2012-01-17 12:25, Marcelo Tosatti wrote: > On Sun, Jan 15, 2012 at 04:17:31PM +0200, Avi Kivity wrote: >> Otherwise, the dirty log information is lost in the kernel forever. >> >> Fixes opensuse-12.1 boot screen, which changes the vga windows rapidly. >> >> Signed-off-by: Avi Kivity >> --- >> >

Re: [Qemu-devel] [PATCH 2/2] qemu-ga: Add the guest-suspend command

2012-01-17 Thread Daniel P. Berrange
On Tue, Jan 17, 2012 at 10:18:34AM -0200, Luiz Capitulino wrote: > On Mon, 16 Jan 2012 21:06:27 + > "Daniel P. Berrange" wrote: > > > +has_pmutils = find_executable_file(pmutils_bin, pmutils_path, > > > + sizeof(pmutils_path)); > > > + > > > +pid =

Re: [Qemu-devel] [PATCH 2/2] qemu-ga: Add the guest-suspend command

2012-01-17 Thread Luiz Capitulino
On Mon, 16 Jan 2012 16:17:34 -0600 Michael Roth wrote: > On 01/16/2012 02:09 PM, Luiz Capitulino wrote: > > The guest-suspend command supports three modes: > > > > o hibernate (suspend to disk) > > o sleep (suspend to ram) > > o hybrid(save RAM contents to disk, but suspend instead

[Qemu-devel] [PATCH] Makefile: Remove generated headers on clean

2012-01-17 Thread Andreas Färber
Running `make distclean' followed by a new out-of-tree build would fail due to stale generated QMP headers in the tree. Commit 611b727374ad76fb0078ea65bc1387194913980e (Makefile: remove more generated files on clean) made sure generated sources are removed. Also remove generated headers introduce

Re: [Qemu-devel] [PATCH 2/2] qemu-ga: Add the guest-suspend command

2012-01-17 Thread Luiz Capitulino
On Mon, 16 Jan 2012 21:06:27 + "Daniel P. Berrange" wrote: > On Mon, Jan 16, 2012 at 06:09:52PM -0200, Luiz Capitulino wrote: > > > +/* Try to find executable file 'file'. If it's found, its absolute path is > > + returned in 'abs_path' and the function returns true. If it's not found, > >

[Qemu-devel] [PATCH] Makefile: Exclude tests/Makefile in unconfigured tree

2012-01-17 Thread Andreas Färber
Since commit dbfe06c62ccedc5b64e1c6466445133dd50f6de1 (build: split unit test builds to a separate makefile fragment), in absence of config-host.mak an undefined $(SRC_PATH) breaks `make distclean' due to /tests/Makefile not being include'able. Fix by only including when config-host.mak is present

Re: [Qemu-devel] [PATCH] qxl: Slot sanity check in qxl_phys2virt() is off by one, fix

2012-01-17 Thread Alon Levy
On Tue, Jan 17, 2012 at 10:08:47AM +0100, Markus Armbruster wrote: > Ping? > > Markus Armbruster writes: > Reviewed-by: Alon Levy > > Spotted by Coverity. > > > > Signed-off-by: Markus Armbruster > > --- > > hw/qxl.c |2 +- > > 1 files changed, 1 insertions(+), 1 deletions(-) > > > > di

Re: [Qemu-devel] [PATCH] kvm: flush the dirty log when unregistering a slot

2012-01-17 Thread Marcelo Tosatti
On Sun, Jan 15, 2012 at 04:17:31PM +0200, Avi Kivity wrote: > Otherwise, the dirty log information is lost in the kernel forever. > > Fixes opensuse-12.1 boot screen, which changes the vga windows rapidly. > > Signed-off-by: Avi Kivity > --- > > This patch gives me a deja vu - I'm sure I've fix

Re: [Qemu-devel] [PATCH 3/6] qtest: add C version of test infrastructure

2012-01-17 Thread Stefan Hajnoczi
On Fri, Jan 13, 2012 at 6:32 PM, Anthony Liguori wrote: > +    pid = fork(); > +    if (pid == 0) { > +        command = g_strdup_printf("%s " > +                                  "-qtest unix:%s,server,nowait " > +                                  "-qtest-log /dev/null " > +                      

Re: [Qemu-devel] [PATCH 1/6] qtest: add test framework

2012-01-17 Thread Stefan Hajnoczi
On Mon, Jan 16, 2012 at 5:08 PM, Anthony Liguori wrote: > On 01/16/2012 10:59 AM, Stefan Hajnoczi wrote: >> >> On Fri, Jan 13, 2012 at 6:32 PM, Anthony Liguori >>  wrote: >>> >>> +    if (strcmp(words[0], "outb") == 0 || >>> +        strcmp(words[0], "outw") == 0 || >>> +        strcmp(words[0], "

Re: [Qemu-devel] [PATCH 3/3] configure: add '--disable-cocoa' switch

2012-01-17 Thread Andreas Färber
Am 17.01.2012 00:46, schrieb Andrzej Zaborowski: > On 14 January 2012 01:42, Andreas Färber wrote: >> Am 08.12.2011 01:41, schrieb Andreas Färber: >>> Am 10.11.2011 19:40, schrieb Pavel Borzenkov: When SDL support is disabled, there is no way to build QEMU without Cocoa support on MacOS

Re: [Qemu-devel] [PATCH 2/2] qemu-ga: Add the guest-suspend command

2012-01-17 Thread Jamie Lokier
Michael Roth wrote: > >STDIO is one of the major areas of code that is definitely not > >async signal safe. Consider Thread A doing something like > >fwrite(stderr, "Foo\n"), while another thread forks, and then > >its child also does an fwrite(stderr, "Foo\n"). Given that > >every stdio function w

Re: [Qemu-devel] [PATCH 2/2] qemu-ga: Add the guest-suspend command

2012-01-17 Thread Jamie Lokier
Eric Blake wrote: > On 01/16/2012 03:51 AM, Jamie Lokier wrote: > > I'm not sure if it's relevant to the this code, but on Glibc fork() is > > not async-signal-safe and has been known to crash in signal handlers. > > This is why fork() was removed from SUS async-signal-safe functions. > > fork() i

Re: [Qemu-devel] How can I distinguish TLB miss in MMU simulation?

2012-01-17 Thread Zhi-zhou Zhang
On Tue, Jan 17, 2012 at 4:29 PM, Max Filippov wrote: > > I'm adding a new target to qemu, now, I'm writing mmu simulation, but > > it make me confused. > > > > When TLB miss occurred, I can't seperate DTLB miss from ITLB miss. > > > > I implemented it like this from target-xtensa: > > > > if (rw

Re: [Qemu-devel] [PATCH 4/6] make: add check targets based on gtester

2012-01-17 Thread Paolo Bonzini
On 01/16/2012 07:14 PM, Anthony Liguori wrote: Looks like there isn't any documentation about the protocol that gtester uses, and no Python implementation of the same in any other language. Or dually, no support for TAP output in gtester. :/ I would have expected a bit less NIH from glib, but o

Re: [Qemu-devel] [PATCH] qxl: Slot sanity check in qxl_phys2virt() is off by one, fix

2012-01-17 Thread Markus Armbruster
Ping? Markus Armbruster writes: > Spotted by Coverity. > > Signed-off-by: Markus Armbruster > --- > hw/qxl.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/hw/qxl.c b/hw/qxl.c > index 84ffd45..c97bebe 100644 > --- a/hw/qxl.c > +++ b/hw/qxl.c > @@ -1006,7 +1006,7

[Qemu-devel] KVM call agenda for Tuesday 17

2012-01-17 Thread Juan Quintela
Hi Please send in any agenda items you are interested in covering. Later, Juan.

  1   2   >