[Qemu-devel] [Bug 603872] [NEW] [Feature request] qemu-img image conversion does not show percentage

2010-07-09 Thread Коренберг Марк
Public bug reported: It will be nice if qemu-img will be able to show percentage of completition and average speed of conversion and compress ratio (if converting to compressed qcow or qcow2) ** Affects: qemu Importance: Undecided Status: New ** Summary changed: - [Feature reqaues

Re: [Qemu-devel] Networking under Hurd quest still not working

2010-07-09 Thread Aurelien Jarno
On Fri, Jul 09, 2010 at 05:48:37PM +0100, Nigel Horne wrote: > I've rebuild QEMU and gone back to old images of the Hurd when > networking was working (to eliminate that as a cause). Networking is > still not working with the latest Git version of QEMU with Linux host > and Hurd guest. > Do

[Qemu-devel] Re: [PATCH] ehci: check controller state when setting list registers

2010-07-09 Thread Jan Kiszka
David Ahern wrote: > A prior change prohibited change the periodic and async list registers if > the respective list was enabled. This check should also have included > whether the controller is in the run state as well. > > Additionally, added a check that the list registers have been set prior t

[Qemu-devel] Re: [PATCH v2] QMP: Introduce the documentation for query-qdm

2010-07-09 Thread Luiz Capitulino
On Fri, 9 Jul 2010 15:13:48 -0300 Miguel Di Ciurcio Filho wrote: > Changelog from v1 > - > - renamed "props" to "properties" > - updated the examples > - reworded the explanations of "name" and "description" > - split "type" into a json-object, adding "qmp" and "qdev" > - list al

[Qemu-devel] [PATCH] ehci: catch invalid qTD earlier - avoid reset

2010-07-09 Thread David Ahern
Catch invalid qTD earlier. Signed-off-by: David Ahern --- hw/usb-ehci.c | 12 +--- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/hw/usb-ehci.c b/hw/usb-ehci.c index 53ee1fb..47f3a54 100644 --- a/hw/usb-ehci.c +++ b/hw/usb-ehci.c @@ -838,11 +838,6 @@ static int ehci_qh

[Qemu-devel] QMP argument parser does not verify json type

2010-07-09 Thread Miguel Di Ciurcio Filho
Hi there, I've run QEMU like this: $ qemu -qmp tcp:localhost:3000,server,nowait -netdev type=tap,id=ndev1,vhost=on Then I run these commands over QMP: works: {"execute": "device_add", "arguments": {"driver": "virtio-net-pci", "csum": "off", "id": "nic1", "netdev": "ndev1"}} works: {"execute":

[Qemu-devel] [PATCH] ehci: honor frame expiration, async list picks up where it left off

2010-07-09 Thread David Ahern
Per Section 4 of the EHCI spec the HC should not start transactions that will not be completed before the end of the micro-frame. For async lists processing in the next frame should pick up where it left off. However, when debugging is enabled we need to allow an overrun since the printfs take too

[Qemu-devel] KVM Forum 2010: schedule and registration reminder

2010-07-09 Thread KVM Forum 2010 Program Committee
As a reminder...the registration fees will increase on July 15th, so register now to save the fees. KVM Forum registration link is here: http://events.linuxfoundation.org/component/registrationpro/?func=details&did=34 Hotel and travel information is here (same hotel and venue as LinuxCon): http

[Qemu-devel] [PATCH] ehci: check controller state when setting list registers

2010-07-09 Thread David Ahern
A prior change prohibited change the periodic and async list registers if the respective list was enabled. This check should also have included whether the controller is in the run state as well. Additionally, added a check that the list registers have been set prior to using it. With this change

Re: [Qemu-devel] Monitoring memory access

2010-07-09 Thread malc
On Fri, 9 Jul 2010, Jun Koi wrote: > On Fri, Jul 9, 2010 at 7:41 PM, malc wrote: > > On Fri, 9 Jul 2010, Jun Koi wrote: > > > >> Hi, > >> > >> I want to monitor memory reading access in Qemu. According to function > >> tcg/i386/tcg-target.c::tcg_out_qemu_ld(), all the memory access must > >> call

[Qemu-devel] [PATCH] qemu-img: Fix copy+paste bug in documentation

2010-07-09 Thread Stefan Weil
Replace rebase by resize in documentation of resize command. Cc: Stefan Hajnoczi Cc: Kevin Wolf Signed-off-by: Stefan Weil --- qemu-img-cmds.hx |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/qemu-img-cmds.hx b/qemu-img-cmds.hx index c4cf3e7..6d3e5f8 100644 --- a/qem

[Qemu-devel] [PATCH] set proper migration status on ->write error (v3)

2010-07-09 Thread Marcelo Tosatti
If ->write fails, declare migration status as MIG_STATE_ERROR. Also, in buffered_file.c, ->close the object in case of an error. Fixes "migrate -d "exec:dd of=file", where dd fails to open file. Signed-off-by: Marcelo Tosatti diff --git a/buffered_file.c b/buffered_file.c index 54dc6c2..be1

[Qemu-devel] [PATCH v2] QMP: Introduce the documentation for query-qdm

2010-07-09 Thread Miguel Di Ciurcio Filho
Changelog from v1 - - renamed "props" to "properties" - updated the examples - reworded the explanations of "name" and "description" - split "type" into a json-object, adding "qmp" and "qdev" - list all possible values for "bus" - list all possible values for "qdev" on "type" - list

[Qemu-devel] Networking under Hurd quest still not working

2010-07-09 Thread Nigel Horne
I've rebuild QEMU and gone back to old images of the Hurd when networking was working (to eliminate that as a cause). Networking is still not working with the latest Git version of QEMU with Linux host and Hurd guest. -Nigel

[Qemu-devel] [PATCH] scsi-generic: only compile if CONFIG_LINUX is set

2010-07-09 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig Index: qemu/Makefile.objs === --- qemu.orig/Makefile.objs 2010-07-09 09:25:52.856639729 -0700 +++ qemu/Makefile.objs 2010-07-09 09:26:15.562639727 -0700 @@ -70,7 +70,8 @@ common-obj-$(CONFIG_DS13

Re: [Qemu-devel] [PATCH 2/2] QMP: Require 'use_unstable' arg for capabilities negotiation

2010-07-09 Thread Markus Armbruster
Luiz Capitulino writes: > On Fri, 09 Jul 2010 15:24:48 +0200 > Markus Armbruster wrote: > >> Luiz Capitulino writes: >> >> > On Fri, 09 Jul 2010 10:44:32 +0200 >> > Markus Armbruster wrote: >> > >> >> Luiz Capitulino writes: >> >> >> >> > This helps ensuring two things: >> >> > >> >> > 1. A

Re: [Qemu-devel] [PATCH 2/2] QMP: Require 'use_unstable' arg for capabilities negotiation

2010-07-09 Thread Luiz Capitulino
On Fri, 09 Jul 2010 15:24:48 +0200 Markus Armbruster wrote: > Luiz Capitulino writes: > > > On Fri, 09 Jul 2010 10:44:32 +0200 > > Markus Armbruster wrote: > > > >> Luiz Capitulino writes: > >> > >> > This helps ensuring two things: > >> > > >> > 1. An initial warning on client writers playi

Re: [Qemu-devel] [PATCH 2/2] QMP: Require 'use_unstable' arg for capabilities negotiation

2010-07-09 Thread Markus Armbruster
Luiz Capitulino writes: > On Fri, 09 Jul 2010 10:44:32 +0200 > Markus Armbruster wrote: > >> Luiz Capitulino writes: >> >> > This helps ensuring two things: >> > >> > 1. An initial warning on client writers playing with current QMP >> > 2. Clients using unstable QMP will break when we declare

Re: [Qemu-devel] [PATCH 0/2] target-sh4: Add support for missing ldc & stc instructions with sgr

2010-07-09 Thread Nathan Froyd
On Fri, Jul 09, 2010 at 03:38:34PM +0900, Alexandre Courbot wrote: > This series of patch adds support for the missing ldc & stc privileged > instructions with the sgr register. In order to take the difference > of support between SH4A and SH4 (which does not recognize ldc with sgr), > the LDST mac

Re: [Qemu-devel] [PATCH 2/2] QMP: Require 'use_unstable' arg for capabilities negotiation

2010-07-09 Thread Luiz Capitulino
On Fri, 09 Jul 2010 10:44:32 +0200 Markus Armbruster wrote: > Luiz Capitulino writes: > > > This helps ensuring two things: > > > > 1. An initial warning on client writers playing with current QMP > > 2. Clients using unstable QMP will break when we declare QMP stable and > >drop that argum

Re: [Qemu-devel] Monitoring memory access

2010-07-09 Thread Jun Koi
On Fri, Jul 9, 2010 at 7:41 PM, malc wrote: > On Fri, 9 Jul 2010, Jun Koi wrote: > >> Hi, >> >> I want to monitor memory reading access in Qemu. According to function >> tcg/i386/tcg-target.c::tcg_out_qemu_ld(), all the memory access must >> call qemu_ld_helpers[] functions, which in turn calls __

Re: [Qemu-devel] [RFC v4][PATCH][Tracing] Fix build errors for target i386-linux-user

2010-07-09 Thread Stefan Hajnoczi
On Fri, Jul 9, 2010 at 12:30 PM, Prerna Saxena wrote: > [PATCH] Separate monitor command handler interfaces and tracing internals. > > Changelog from v3 : > 1. Cleanups. > > Signed-off-by: Prerna Saxena > --- >  monitor.c     |   23 +++ >  simpletrace.c |   52

[Qemu-devel] Re: [RFC v3][PATCH][Tracing] Fix build errors for target i386-linux-user

2010-07-09 Thread Prerna Saxena
On 07/08/2010 07:04 PM, Stefan Hajnoczi wrote: On Thu, Jul 08, 2010 at 04:50:52PM +0530, Prerna Saxena wrote: On 07/08/2010 02:50 PM, Stefan Hajnoczi wrote: On Thu, Jul 08, 2010 at 10:58:58AM +0530, Prerna Saxena wrote: [PATCH] Separate monitor command handler interfaces and tracing internals.

[Qemu-devel] [RFC v4][PATCH][Tracing] Fix build errors for target i386-linux-user

2010-07-09 Thread Prerna Saxena
[PATCH] Separate monitor command handler interfaces and tracing internals. Changelog from v3 : 1. Cleanups. Signed-off-by: Prerna Saxena --- monitor.c | 23 +++ simpletrace.c | 52 ++-- tracetool |7 +++ 3 f

[Qemu-devel] [PATCH v2] trace: Flush trace buffer on exit

2010-07-09 Thread Stefan Hajnoczi
Signed-off-by: Stefan Hajnoczi --- This patch is against the tracing branch: http://repo.or.cz/w/qemu/stefanha.git/shortlog/refs/heads/tracing v2: * Reset trace_idx in flush_trace_buffer(). simpletrace.c | 27 ++- 1 files changed, 18 insertions(+), 9 deletions(-) di

[Qemu-devel] [PATCH][Tracing] Specify trace file name

2010-07-09 Thread Prerna Saxena
[PATCH] Allow users to specify a file for trace-outputs at configuration. Also, allow trace files to be annotated by so each qemu instance has unique traces. The trace file name can be passed as a config option: --trace-file=/path/to/file (Default : /tmp/trace ) At runtime, the pid of the qemu p

Re: [Qemu-devel] Monitoring memory access

2010-07-09 Thread malc
On Fri, 9 Jul 2010, Jun Koi wrote: > Hi, > > I want to monitor memory reading access in Qemu. According to function > tcg/i386/tcg-target.c::tcg_out_qemu_ld(), all the memory access must > call qemu_ld_helpers[] functions, which in turn calls __ldX_mmu > functions. > > These __ldX_mmu() function

[Qemu-devel] Monitoring memory access

2010-07-09 Thread Jun Koi
Hi, I want to monitor memory reading access in Qemu. According to function tcg/i386/tcg-target.c::tcg_out_qemu_ld(), all the memory access must call qemu_ld_helpers[] functions, which in turn calls __ldX_mmu functions. These __ldX_mmu() functions are declared in softmmu_template.c, with macro glu

Re: [Qemu-devel] [PATCH 2/2] QMP: Require 'use_unstable' arg for capabilities negotiation

2010-07-09 Thread Markus Armbruster
Luiz Capitulino writes: > This helps ensuring two things: > > 1. An initial warning on client writers playing with current QMP > 2. Clients using unstable QMP will break when we declare QMP stable and >drop that argument > > Signed-off-by: Luiz Capitulino > --- > QMP/README |2 +- >

Re: [Qemu-devel] [PATCH 1/2] QMP: Update README file

2010-07-09 Thread Markus Armbruster
Luiz Capitulino writes: > A number of small changes I prefer to do in one shot: > > - Add a note about instability > - Add multiple monitors example > - Small clarifications ACK for .13

Re: [Qemu-devel] [PATCH] pci: fix pci_unregister_secondary_bus().

2010-07-09 Thread Isaku Yamahata
On Fri, Jul 09, 2010 at 08:46:33AM +0200, Markus Armbruster wrote: > Isaku Yamahata writes: > > > Fix leak in pci_unregister_secondary_bus(). > > call qbus_free(). > > > > Signed-off-by: Isaku Yamahata > > --- > > hw/pci.c |1 + > > 1 files changed, 1 insertions(+), 0 deletions(-) > > > > d

Re: [Qemu-devel] [PATCH 6/6] Initial documentation for migration

2010-07-09 Thread Markus Armbruster
Very good stuff, but consider using a spell checker ;)