Re: [Qemu-devel] [PATCH v3] Support for UDP unicast network backend

2012-01-09 Thread Benjamin
On 11/29/11 20:52, Stefan Hajnoczi wrote: On Tue, Nov 29, 2011 at 7:55 PM, Benjamin wrote: Signed-off-by: Benjamin --- net.c |6 - net/socket.c| 73 +- qemu-options.hx |2 + 3 files changed, 78 insertions(+),

Re: [Qemu-devel] [lttng-dev] [RFC PATCH v2 0/4] simpletrace : support var num of args and strings.

2012-01-09 Thread Mathieu Desnoyers
* Harsh Bora (ha...@linux.vnet.ibm.com) wrote: > On 01/10/2012 05:44 AM, Mathieu Desnoyers wrote: >> * Harsh Bora (ha...@linux.vnet.ibm.com) wrote: >>> On 01/09/2012 09:31 PM, Mathieu Desnoyers wrote: * Harsh Prateek Bora (ha...@linux.vnet.ibm.com) wrote: > Existing simple trace can log up

Re: [Qemu-devel] [PATCH 3/3] stop the periodic RTC update timer

2012-01-09 Thread Zhang, Yang Z
> -Original Message- > From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo > Bonzini > Sent: Monday, January 09, 2012 4:19 PM > To: Zhang, Yang Z > Cc: qemu-devel@nongnu.org; a...@redhat.com; aligu...@us.ibm.com; Zhang, > Xiantao; Shan, Haitao; k...@vger.kernel.org > Sub

Re: [Qemu-devel] [PATCH 1/3]use int64 when compare two time

2012-01-09 Thread Zhang, Yang Z
> -Original Message- > From: Andreas Färber [mailto:afaer...@suse.de] > Sent: Saturday, January 07, 2012 1:44 AM > > use int64 when compare two time > > > > int32 only represent only 136 years when comparing two times based on > second. It would be better to use int64. > > int32 and int64

Re: [Qemu-devel] [RFC PATCH v2 0/4] simpletrace : support var num of args and strings.

2012-01-09 Thread Mathieu Desnoyers
* Harsh Bora (ha...@linux.vnet.ibm.com) wrote: > On 01/09/2012 09:31 PM, Mathieu Desnoyers wrote: >> * Harsh Prateek Bora (ha...@linux.vnet.ibm.com) wrote: >>> Existing simple trace can log upto 6 args per trace event and does not >>> support strings in trace record format. Introducing new trace fo

Re: [Qemu-devel] Please read: make check framework

2012-01-09 Thread Avi Kivity
On 01/09/2012 06:04 PM, Anthony Liguori wrote: > Hi, > > I'm going to apply this series quickly and will start running 'make > check-quick' as part a sniff test before pushing patches. > > I'd like to request that all maintainers/submaintainers do the same > and that everyone contributes unit tests

Re: [Qemu-devel] Please read: make check framework

2012-01-09 Thread Anthony Liguori
On 01/09/2012 11:47 AM, Paul Brook wrote: I'm going to apply this series quickly and will start running 'make check-quick' as part a sniff test before pushing patches. I'd like to request that all maintainers/submaintainers do the same and that everyone contributes unit tests to this target. Th

Re: [Qemu-devel] Please read: make check framework

2012-01-09 Thread Anthony Liguori
On 01/09/2012 10:16 AM, Avi Kivity wrote: On 01/09/2012 06:04 PM, Anthony Liguori wrote: Hi, I'm going to apply this series quickly and will start running 'make check-quick' as part a sniff test before pushing patches. I'd like to request that all maintainers/submaintainers do the same and tha

Re: [Qemu-devel] Please read: make check framework

2012-01-09 Thread Daniel Gollub
Hi Anthony, On Monday, January 09, 2012 05:04:38 PM Anthony Liguori wrote: [...] > It would also be nice to get this integrated as part of buildbot. > Stefan/Daniel, is that something we can do? Sure, that is pretty easy modification for the current buildbot environment we just need to add: f_

Re: [Qemu-devel] Please read: make check framework

2012-01-09 Thread Paul Brook
> I'm going to apply this series quickly and will start running 'make > check-quick' as part a sniff test before pushing patches. > > I'd like to request that all maintainers/submaintainers do the same and > that everyone contributes unit tests to this target. > > The general rules for 'make chec

Re: [Qemu-devel] [PATCH 03/11] check-qdict: convert to gtest

2012-01-09 Thread Anthony Liguori
On 01/09/2012 01:26 PM, Andreas Färber wrote: Am 09.01.2012 16:56, schrieb Anthony Liguori: Signed-off-by: Anthony Liguori --- Makefile |6 -- check-qdict.c | 246 +--- configure |4 +- tests/Makefile |6 ++ 4 fil

Re: [Qemu-devel] [PATCH 02/11] build: split unit test builds to a separate makefile fragment

2012-01-09 Thread Anthony Liguori
On 01/09/2012 01:23 PM, Andreas Färber wrote: Am 09.01.2012 16:56, schrieb Anthony Liguori: diff --git a/tests/Makefile b/tests/Makefile new file mode 100644 index 000..c11d980 --- /dev/null +++ b/tests/Makefile @@ -0,0 +1,31 @@ +check-qint.o check-qstring.o check-qdict.o check-qlist.o check

Re: [Qemu-devel] [PATCH 10/11] test: eliminate libcheck tests and have make check use gtester

2012-01-09 Thread Andreas Färber
Am 09.01.2012 16:56, schrieb Anthony Liguori: > Signed-off-by: Anthony Liguori > --- > configure | 33 + > tests/Makefile | 11 ++- > 2 files changed, 7 insertions(+), 37 deletions(-) > diff --git a/tests/Makefile b/tests/Makefile > index cff9ff3.

Re: [Qemu-devel] [PATCH 03/11] check-qdict: convert to gtest

2012-01-09 Thread Luiz Capitulino
On Mon, 09 Jan 2012 13:15:27 -0600 Anthony Liguori wrote: > On 01/09/2012 12:27 PM, Luiz Capitulino wrote: > >> -START_TEST(qdict_put_obj_test) > >> +static void qdict_put_obj_test(void) > >> { > >> QInt *qi; > >> QDict *qdict; > >> @@ -49,10 +48,10 @@ START_TEST(qdict_put_obj_test)

Re: [Qemu-devel] [PATCH 03/11] check-qdict: convert to gtest

2012-01-09 Thread Andreas Färber
Am 09.01.2012 16:56, schrieb Anthony Liguori: > Signed-off-by: Anthony Liguori > --- > Makefile |6 -- > check-qdict.c | 246 > +--- > configure |4 +- > tests/Makefile |6 ++ > 4 files changed, 119 insertions(+), 143 d

Re: [Qemu-devel] [PATCH 02/11] build: split unit test builds to a separate makefile fragment

2012-01-09 Thread Andreas Färber
Am 09.01.2012 16:56, schrieb Anthony Liguori: > Signed-off-by: Anthony Liguori > --- > Makefile | 31 ++- > tests/Makefile | 31 +++ > 2 files changed, 33 insertions(+), 29 deletions(-) > create mode 100644 tests/Makefile > > dif

Re: [Qemu-devel] [RFC PATCH v2 0/4] simpletrace : support var num of args and strings.

2012-01-09 Thread Harsh Bora
On 01/09/2012 09:31 PM, Mathieu Desnoyers wrote: * Harsh Prateek Bora (ha...@linux.vnet.ibm.com) wrote: Existing simple trace can log upto 6 args per trace event and does not support strings in trace record format. Introducing new trace format as discussed earlier on list to support variable num

Re: [Qemu-devel] [PATCH 01/11] tests: mv tests/* -> tests/tcg

2012-01-09 Thread Andreas Färber
Am 09.01.2012 16:56, schrieb Anthony Liguori: > Signed-off-by: Anthony Liguori Reviewed-by: Andreas Färber tests/tcg looks better than tests/tcg-test, thanks. Andreas > --- > Makefile |4 ++-- > configure |

Re: [Qemu-devel] [PATCH 03/11] check-qdict: convert to gtest

2012-01-09 Thread Anthony Liguori
On 01/09/2012 12:27 PM, Luiz Capitulino wrote: -START_TEST(qdict_put_obj_test) +static void qdict_put_obj_test(void) { QInt *qi; QDict *qdict; @@ -49,10 +48,10 @@ START_TEST(qdict_put_obj_test) // key "" will have tdb hash 12345 qdict_put_obj(qdict, "", QOBJECT(qint_from

[Qemu-devel] [PATCH 6/6] gl: -enable-gl switch to enable the GL virtio port.

2012-01-09 Thread Andrzej Zaborowski
Signed-off-by: Andrzej Zaborowski --- qemu-options.hx | 24 vl.c| 36 2 files changed, 60 insertions(+), 0 deletions(-) diff --git a/qemu-options.hx b/qemu-options.hx index 7903e5c..f00bb6d 100644 --- a/qemu-options.hx

[Qemu-devel] [PATCH 5/6] gl: virtio-serial port driver for OpenGL passthrough.

2012-01-09 Thread Andrzej Zaborowski
This is a relatively simple to use OpenGL passthrough transport because it doesn't need any guest kernel changes, but it's not blazing fast. Still faster than software rendering. The main problems are: * transfers are split in very small chunks by virtio queues, some OpenGL calls (think texture

[Qemu-devel] [PATCH 4/6] virtio-serial: Call .guest_ready when new space is available in the queue.

2012-01-09 Thread Andrzej Zaborowski
Without that it's impossible to write a virtio-serial port driver that sends any buffers bigger than a couple kilobytes, other than by polling to check when space in the queue becomes available. Signed-off-by: Andrzej Zaborowski --- hw/virtio-serial-bus.c |8 1 files changed, 8 inse

[Qemu-devel] [PATCH 0/6] OpenGL passthrough support once again

2012-01-09 Thread Andrzej Zaborowski
This is the host part of an OpenGL passthrough framework to make apps run faster. It has initially lived on nongnu.org as a separate project by Even Rouault, later was picked up by me to use in the Poky meta-distribution and later was picked up by various platform SDKs for application developers.

[Qemu-devel] [PATCH] wm8750: Fix calculation of number of array elements

2012-01-09 Thread Stefan Weil
Coverity says that the division by sizeof(*s->rate) might be wrong. I think that coverity is right. Cc: Andrzej Zaborowski Signed-off-by: Stefan Weil --- hw/wm8750.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/wm8750.c b/hw/wm8750.c index 39383f4..b3589d3 1006

Re: [Qemu-devel] [PATCH 03/11] check-qdict: convert to gtest

2012-01-09 Thread Luiz Capitulino
On Mon, 9 Jan 2012 09:56:04 -0600 Anthony Liguori wrote: > Signed-off-by: Anthony Liguori > --- > Makefile |6 -- > check-qdict.c | 246 > +--- > configure |4 +- > tests/Makefile |6 ++ > 4 files changed, 119 insert

[Qemu-devel] [PATCH] cris-dis: Clean memory allocation

2012-01-09 Thread Stefan Weil
The old code used sizeof(const struct cris_opcode **) where it should have used sizeof(const struct cris_opcode *). As both sizes give the same value, the resulting binary was ok, but static code analyzers like coverity and clang complained. This is fixed here, and the code is also simplified by u

[Qemu-devel] Last call for 1.0.1 stable release

2012-01-09 Thread Justin M. Forbes
Due to the repository move, holidays and other bits, we are a bit late getting out the door, but I want to get qemu 1.0.1 stable release done this week. We have a number of patches, but if you are sitting on anything or close to finishing up something, please get all patches to qemu-sta...@nongnu.

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

2012-01-09 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 v5 1/6] Add xgmac ethernet model

2012-01-09 Thread Mark Langsdorf
This adds very basic support for XG-mac ethernet core from Synopsis and others. 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

Re: [Qemu-devel] [PATCH] Add 'fall through' comments to case statements without break

2012-01-09 Thread Peter Maydell
On 9 January 2012 17:29, Stefan Weil wrote: > These comments are used by static code analysis tools and in code reviews > to avoid false warnings because of missing break statements. > > The case statements handled here were reported by coverity. > > Signed-off-by: Stefan Weil Reviewed-by: Peter

[Qemu-devel] [PATCH] Add 'fall through' comments to case statements without break

2012-01-09 Thread Stefan Weil
These comments are used by static code analysis tools and in code reviews to avoid false warnings because of missing break statements. The case statements handled here were reported by coverity. Signed-off-by: Stefan Weil --- hw/pcnet.c|1 + json-lexer.c |1 + qemu-option.c |4

[Qemu-devel] [PATCH 4/6] arm: Add dummy support for co-processor 15's secure config register

2012-01-09 Thread Mark Langsdorf
From: Rob Herring Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- target-arm/cpu.h |3 ++- target-arm/helper.c |9 + target-arm/machine.c |2 ++ 3 files changed, 13 insertions(+), 1 deletions(-) diff --git a/target-arm/cpu.h b/target-arm/cpu.h index 26b49

[Qemu-devel] [PATCH v2 5/6] arm: SoC model for Calxeda Highbank

2012-01-09 Thread Mark Langsdorf
From: Rob Herring Adds support for Calxeda's Highbank SoC. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- Changes from v1 Restructed the loading of sysram.bin and made it more clearly optional Made the regs structure into a proper qdev/sysbus object Remove

[Qemu-devel] [PATCH 6/6] arm: Remove incorrect and misleading comment in arm_timer

2012-01-09 Thread Mark Langsdorf
Signed-off-by: Mark Langsdorf --- hw/arm_timer.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/hw/arm_timer.c b/hw/arm_timer.c index 60e1c63..15d493f 100644 --- a/hw/arm_timer.c +++ b/hw/arm_timer.c @@ -272,11 +272,8 @@ static int sp804_init(SysBusDevice *dev)

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

2012-01-09 Thread Mark Langsdorf
From: Rob Herring Add support for ahci on sysbus. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- Changes from v3 Renamed plat-ahci to sysbus-ahci Changes from v1, v2 Corrected indentation of PlatAHCIState members Made plat_ahci_info into a single structure

[Qemu-devel] [PATCH v2 0/6] arm: add support for Calxeda Highbank SoC

2012-01-09 Thread Mark Langsdorf
This patch series adds support for the Calxeda Highbank SoC. It depends on my previous patch series "various ARM fixes for Calxeda Highbank" and "ahci: convert ahci_reset to use AHCIState". Some of the patches are carried voer from "Various ARM fixes for Calxeda Highbank" and were reviewed but not

Re: [Qemu-devel] [RFC PATCH v2 0/4] simpletrace : support var num of args and strings.

2012-01-09 Thread Mathieu Desnoyers
* Harsh Prateek Bora (ha...@linux.vnet.ibm.com) wrote: > Existing simple trace can log upto 6 args per trace event and does not > support strings in trace record format. Introducing new trace format as > discussed earlier on list to support variable number/size of arguments. > (Ref: http://lists.gn

[Qemu-devel] [PATCH 04/11] check-qfloat: convert to gtest

2012-01-09 Thread Anthony Liguori
Signed-off-by: Anthony Liguori --- check-qfloat.c | 47 --- configure |4 ++-- 2 files changed, 14 insertions(+), 37 deletions(-) diff --git a/check-qfloat.c b/check-qfloat.c index 3344057..cdc66ea 100644 --- a/check-qfloat.c +++ b/check-qfl

[Qemu-devel] [PATCH 06/11] check-qstring: convert to gtest

2012-01-09 Thread Anthony Liguori
Signed-off-by: Anthony Liguori --- check-qstring.c | 75 +- configure |4 +- 2 files changed, 26 insertions(+), 53 deletions(-) diff --git a/check-qstring.c b/check-qstring.c index 93bd475..681bb68 100644 --- a/check-qstring.c +++ b

[Qemu-devel] [PATCH 11/11] check: add a check-report and check-help target

2012-01-09 Thread Anthony Liguori
Signed-off-by: Anthony Liguori --- tests/Makefile | 43 --- 1 files changed, 40 insertions(+), 3 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index cba482f..7228f44 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -33,6 +33,43 @@ test-qmp

[Qemu-devel] [RFC PATCH v2 2/4] Makefile and configure changes for tracetool.py

2012-01-09 Thread Harsh Prateek Bora
Use tracetool.py to generate tracing code for requested backend. Signed-off-by: Harsh Prateek Bora --- Makefile.objs |6 +++--- Makefile.target | 10 +- configure |4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Makefile.objs b/Makefile.objs ind

[Qemu-devel] [PATCH 08/11] check-qjson: convert to gtest

2012-01-09 Thread Anthony Liguori
Signed-off-by: Anthony Liguori --- check-qjson.c | 330 +++-- configure |4 +- 2 files changed, 136 insertions(+), 198 deletions(-) diff --git a/check-qjson.c b/check-qjson.c index 36d4ac2..430f53b 100644 --- a/check-qjson.c +++ b/chec

[Qemu-devel] [PATCH 03/11] check-qdict: convert to gtest

2012-01-09 Thread Anthony Liguori
Signed-off-by: Anthony Liguori --- Makefile |6 -- check-qdict.c | 246 +--- configure |4 +- tests/Makefile |6 ++ 4 files changed, 119 insertions(+), 143 deletions(-) diff --git a/Makefile b/Makefile index 80fb512..48

[Qemu-devel] [PATCH 10/11] test: eliminate libcheck tests and have make check use gtester

2012-01-09 Thread Anthony Liguori
Signed-off-by: Anthony Liguori --- configure | 33 + tests/Makefile | 11 ++- 2 files changed, 7 insertions(+), 37 deletions(-) diff --git a/configure b/configure index b2e622c..90ad82c 100755 --- a/configure +++ b/configure @@ -176,7 +176,6 @@ mi

[Qemu-devel] [PATCH 02/11] build: split unit test builds to a separate makefile fragment

2012-01-09 Thread Anthony Liguori
Signed-off-by: Anthony Liguori --- Makefile | 31 ++- tests/Makefile | 31 +++ 2 files changed, 33 insertions(+), 29 deletions(-) create mode 100644 tests/Makefile diff --git a/Makefile b/Makefile index 0cbe7c2..80fb512 100644 --

[Qemu-devel] [PATCH 05/11] check-qint: convert to gtest

2012-01-09 Thread Anthony Liguori
Signed-off-by: Anthony Liguori --- check-qint.c | 68 ++ configure|4 +- 2 files changed, 23 insertions(+), 49 deletions(-) diff --git a/check-qint.c b/check-qint.c index 3af51f2..5a27119 100644 --- a/check-qint.c +++ b/check-qint

[Qemu-devel] [PATCH 07/11] check-qlist: convert to gtest

2012-01-09 Thread Anthony Liguori
Signed-off-by: Anthony Liguori --- check-qlist.c | 74 ++-- configure |3 +- 2 files changed, 25 insertions(+), 52 deletions(-) diff --git a/check-qlist.c b/check-qlist.c index ee2454a..501ba26 100644 --- a/check-qlist.c +++ b/check-q

[Qemu-devel] [PATCH 09/11] check-qjson: enable disabled tests

2012-01-09 Thread Anthony Liguori
gtest does the right thing here so there's no need to comment these tests out. Signed-off-by: Anthony Liguori --- check-qjson.c |5 - 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/check-qjson.c b/check-qjson.c index 430f53b..526e25e 100644 --- a/check-qjson.c +++ b/check

[Qemu-devel] [RFC PATCH v2 1/4] Converting tracetool.sh to tracetool.py

2012-01-09 Thread Harsh Prateek Bora
Note: Upstream Qemu have build issues with LTTng ust backend, as the trace event APIs are not yet stable in ust and therefore ust backend is not supported in this script as of now. Once the ust API stablises, this script can be updated for ust backend also. Signed-off-by: Harsh Prateek Bora ---

[Qemu-devel] [RFC PATCH v2 4/4] simpletrace.py: updated log reader script to handle new log format

2012-01-09 Thread Harsh Prateek Bora
Note: This script has been updated with minimal changes required to observe the new trace log format in action and therefore can be improved for a better design. It can still read the logs from older log format as well. Signed-off-by: Harsh Prateek Bora --- scripts/simpletrace.py | 110

[Qemu-devel] [RFC PATCH v2 3/4] simpletrace-v2: Handle variable number/size of elements per trace record.

2012-01-09 Thread Harsh Prateek Bora
Advantages over existing simpletrace backend: - More than 6 elements (vitually unlimited) arguments can be traced. - This allows to trace strings (variable size element) as well. Signed-off-by: Harsh Prateek Bora --- monitor.c |2 +- trace/simple.c | 178 ---

[Qemu-devel] [RFC PATCH v2 0/4] simpletrace : support var num of args and strings.

2012-01-09 Thread Harsh Prateek Bora
Existing simple trace can log upto 6 args per trace event and does not support strings in trace record format. Introducing new trace format as discussed earlier on list to support variable number/size of arguments. (Ref: http://lists.gnu.org/archive/html/qemu-devel/2011-11/msg03426.html) Basic tes

Re: [Qemu-devel] [PATCH V2 5/5] vga-cirrus: Workaround during restore when using Xen.

2012-01-09 Thread Avi Kivity
On 01/09/2012 05:28 PM, Jan Kiszka wrote: > On 2012-01-09 16:25, Stefano Stabellini wrote: > > On Sun, 8 Jan 2012, Avi Kivity wrote: > >> On 01/06/2012 04:40 PM, Stefano Stabellini wrote: > >>> Avi, if you think that early_savevm is a decent solution, we'll start > >>> working on it. > >> > >> I d

Re: [Qemu-devel] [PATCH V2 5/5] vga-cirrus: Workaround during restore when using Xen.

2012-01-09 Thread Jan Kiszka
On 2012-01-09 16:25, Stefano Stabellini wrote: > On Sun, 8 Jan 2012, Avi Kivity wrote: >> On 01/06/2012 04:40 PM, Stefano Stabellini wrote: >>> Avi, if you think that early_savevm is a decent solution, we'll start >>> working on it. >> >> I don't like early_savevm because it complicates life for d

Re: [Qemu-devel] [PATCH V2 5/5] vga-cirrus: Workaround during restore when using Xen.

2012-01-09 Thread Stefano Stabellini
On Sun, 8 Jan 2012, Avi Kivity wrote: > On 01/06/2012 04:40 PM, Stefano Stabellini wrote: > > Avi, if you think that early_savevm is a decent solution, we'll start > > working on it. > > I don't like early_savevm because it complicates life for devices, for > what is a localized problem. But if

Re: [Qemu-devel] [PULL v2] virtio-serial: Fix console failure on unconnected pty

2012-01-09 Thread Anthony Liguori
On 01/04/2012 01:34 AM, Amit Shah wrote: Hi, Turns out I used the wrong repo dir which caused problems. Corrected link below. This patch fixes a frozen guest on virtio-console output before a pty is connected. Please pull. The following changes since commit f3c6a169a39d188e98c17a0a0ebfa7f85e

Re: [Qemu-devel] Restarting my activity on QEMU

2012-01-09 Thread nicolas.sauzede
Salut Aurelien, Tout d'abord, je te souhaite un bonne annee 2012 ! Comment vas-tu ? Est-ce que tu travaille toujours sur le projet de telescope international (?) ? Tu parle de de burn-out, j'espere que ce n'est pas trop grave ? a+, NS. > Message du 07/01/12 22:01 > De : "Blue Swirl" > A : "Aure

Re: [Qemu-devel] [PULL] VirtFS Proxy FS driver changes

2012-01-09 Thread Anthony Liguori
On 01/04/2012 10:28 AM, Aneesh Kumar K.V wrote: The following changes since commit f3c6a169a39d188e98c17a0a0ebfa7f85e5aafdd: Merge remote-tracking branch 'qemu-kvm/memory/page_desc' into staging (2012-01-03 14:39:05 -0600) are available in the git repository at: git://github.com/kvane

Re: [Qemu-devel] [PULL] Fix vhost-net after the MemoryListener trauma

2012-01-09 Thread Anthony Liguori
On 01/09/2012 08:41 AM, Avi Kivity wrote: Please pull from: git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git fix-vhost-after-memory-listener to fix vhost-net after the MemoryListener changes. Michael reviewed and acked all three patches. Avi Kivity (3): vhost: fix incorrect usersp

Re: [Qemu-devel] [PULL 0/9] Trivial patches for 20 December 2011 to 6 January 2012

2012-01-09 Thread Anthony Liguori
On 01/06/2012 09:51 AM, Stefan Hajnoczi wrote: My pull request from 22 December 2011 was misformatted and therefore not merged. I have included those patches again together with the latest batch of trivial patches. The following changes since commit c47f3223658119219bbe0b8d09da733d1c06e76f:

Re: [Qemu-devel] [PULL] xen memory fix

2012-01-09 Thread Anthony Liguori
On 01/05/2012 07:00 AM, Stefano Stabellini wrote: Hi Anthony, I have a single fix (also appended) for Xen by Anthony Perard, to remove a bug recently introduced by the memory api changes: Anthony PERARD (1): xen: Fix after recent change in dirty bitmap tracking. xen-all.c | 38 ++

Re: [Qemu-devel] [PULL] usb bugfix patch queue

2012-01-09 Thread Anthony Liguori
On 01/06/2012 06:50 AM, Gerd Hoffmann wrote: Hi, Here comes a collection of bugfixes for usb, check the individual patches for details. All four patches should be charry-picked into stable once they are merged into master. Pulled. Thanks. Regards, Anthony Liguori please pull, Gerd

Re: [Qemu-devel] [PULL] memory core fixes

2012-01-09 Thread Anthony Liguori
On 01/08/2012 08:01 AM, Avi Kivity wrote: Please pull from git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git memory/urgent to receive fixes for recent memory core breakages. Pulled. Thanks. Regards, Anthony Liguori Andreas Färber (2): memory: Fix memory_region_wrong_endiannes

[Qemu-devel] [PULL] Fix vhost-net after the MemoryListener trauma

2012-01-09 Thread Avi Kivity
Please pull from: git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git fix-vhost-after-memory-listener to fix vhost-net after the MemoryListener changes. Michael reviewed and acked all three patches. Avi Kivity (3): vhost: fix incorrect userspace address vhost: fix mem_sections memo

[Qemu-devel] [Bug 913774] [NEW] device can't be hot-removed from the guest

2012-01-09 Thread Yongjie Ren
Public bug reported: Environment: Host OS (ia32/ia32e/IA64): ia32e Guest OS (ia32/ia32e/IA64): ia32e Guest OS Type (Linux/Windows): Linux(RHEL6u1) kvm.git Commit: ff92e9b5571b34f53cbfde0899cf6e6a579cb3fa qemu-kvm Commit: aad3b517a1b83561f2755dc4451596a421399c19 Host Kernel Version: 3

[Qemu-devel] [PATCH 0/3] Fix vhost after memory API breakage

2012-01-09 Thread Avi Kivity
The memory API adjustments broke vhost, this series puts it back together again. There is still a lot of room for simplification (for example split/merge can no longer occur with the memory API), this is left for later. Avi Kivity (3): vhost: fix incorrect userspace address vhost: fix mem_sec

[Qemu-devel] [Bug 913774] Re: device can't be hot-removed from the guest

2012-01-09 Thread Yongjie Ren
** Attachment added: "lspci -vvv in host" https://bugs.launchpad.net/qemu/+bug/913774/+attachment/2664197/+files/lspci-host.log -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/913774 Title: devic

[Qemu-devel] [Bug 913774] Re: device can't be hot-removed from the guest

2012-01-09 Thread Yongjie Ren
** Attachment added: "host dmesg log" https://bugs.launchpad.net/qemu/+bug/913774/+attachment/2664196/+files/dmesg-host.log -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/913774 Title: device ca

[Qemu-devel] [Bug 913774] Re: device can't be hot-removed from the guest

2012-01-09 Thread Yongjie Ren
** Attachment added: "guest dmesg log" https://bugs.launchpad.net/qemu/+bug/913774/+attachment/2664198/+files/dmesg-guest.log -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/913774 Title: device

[Qemu-devel] [Bug 913774] Re: device can't be hot-removed from the guest

2012-01-09 Thread Yongjie Ren
** Attachment added: "lspci -vvv in guest" https://bugs.launchpad.net/qemu/+bug/913774/+attachment/2664205/+files/lspci-guest.log -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/913774 Title: dev

Re: [Qemu-devel] [PATCH] ppc-linux-user: Fix missing symbols in .rel/.rela.plt sections

2012-01-09 Thread Alexander Graf
On 07.01.2012, at 21:16, Aurelien Jarno wrote: > Fix .rel.plt sections in the output to not only include .rel.plt > sections from the input but also the .rel.iplt sections and to define > the hidden symbols __rel_iplt_start and __rel_iplt_end around > .rel.iplt as otherwise we get undefined refer

Re: [Qemu-devel] [PATCH 3/3] vhost: improve region filtering

2012-01-09 Thread Michael S. Tsirkin
On Mon, Jan 09, 2012 at 03:27:24PM +0200, Avi Kivity wrote: > On 01/09/2012 03:28 PM, Michael S. Tsirkin wrote: > > On Mon, Jan 09, 2012 at 02:04:54PM +0200, Avi Kivity wrote: > > > vhost memory management doesn't care about non-memory (e.g. PIO) or > > > non-RAM > > > regions. Adjust the filteri

Re: [Qemu-devel] [PATCH 3/3] vhost: improve region filtering

2012-01-09 Thread Avi Kivity
On 01/09/2012 03:28 PM, Michael S. Tsirkin wrote: > On Mon, Jan 09, 2012 at 02:04:54PM +0200, Avi Kivity wrote: > > vhost memory management doesn't care about non-memory (e.g. PIO) or non-RAM > > regions. Adjust the filtering to reflect that, and move it earlier so it > > applies to mem_sections t

Re: [Qemu-devel] [PATCH 3/3] vhost: improve region filtering

2012-01-09 Thread Michael S. Tsirkin
On Mon, Jan 09, 2012 at 02:04:54PM +0200, Avi Kivity wrote: > vhost memory management doesn't care about non-memory (e.g. PIO) or non-RAM > regions. Adjust the filtering to reflect that, and move it earlier so it > applies to mem_sections too. > > Signed-off-by: Avi Kivity Acked-by: Michael S.

Re: [Qemu-devel] [PATCH 2/3] vhost: fix mem_sections memory corruption

2012-01-09 Thread Michael S. Tsirkin
On Mon, Jan 09, 2012 at 02:04:53PM +0200, Avi Kivity wrote: > A memset() used to delete an entry in an array did not take into account > the array element's size. > > Signed-off-by: Avi Kivity Acked-by: Michael S. Tsirkin > --- > hw/vhost.c |2 +- > 1 files changed, 1 insertions(+), 1 del

Re: [Qemu-devel] [PATCH 1/3] vhost: fix incorrect userspace address

2012-01-09 Thread Michael S. Tsirkin
On Mon, Jan 09, 2012 at 02:04:52PM +0200, Avi Kivity wrote: > MemoryListener::region_add() gives us a slice of a MemoryRegion, not a > region. Adjust the userspace address to reflect that. > > Signed-off-by: Avi Kivity Acked-by: Michael S. Tsirkin > --- > hw/vhost.c |2 +- > 1 files cha

Re: [Qemu-devel] [PATCH] s390: Rework kernel loading: supports elf and newer kernels

2012-01-09 Thread Alexander Graf
On 30.12.2011, at 10:10, Christian Borntraeger wrote: > This reworks the image loading on s390. > > Newer kernels will not always have a 0dd0 (basr 13,0) at address 0x1. > We must not rely on specific code at certain addresses. This check was > introduced to warn users that tried to load vm

Re: [Qemu-devel] [patch 3/4] block stream: add support for partial streaming

2012-01-09 Thread Stefan Hajnoczi
On Mon, Jan 9, 2012 at 10:58 AM, Kevin Wolf wrote: > Am 04.01.2012 23:40, schrieb Stefan Hajnoczi: >> Kevin: I think we need something like qcow2_snapshot_load_tmp() but it >> returns a full new BlockDriverState.  The hard thing is that duping a >> read-only snapshot qcow2 state leads to sharing a

Re: [Qemu-devel] [Bug 902148] Re: qemu-img V1.0 hangs on creating Image (0.15.1 runs)

2012-01-09 Thread Stefan Hajnoczi
On Mon, Jan 9, 2012 at 11:25 AM, Kevin Wolf wrote: > Am 20.12.2011 17:49, schrieb Stefan Hajnoczi: >> On Tue, Dec 20, 2011 at 3:25 PM, Michael Niehren >> <902...@bugs.launchpad.net> wrote: >>> here we are. Attached the tgz. I am using no spezial distribution, it's a >>> self compiled LFS with >>>

[Qemu-devel] [PATCH 1/3] vhost: fix incorrect userspace address

2012-01-09 Thread Avi Kivity
MemoryListener::region_add() gives us a slice of a MemoryRegion, not a region. Adjust the userspace address to reflect that. Signed-off-by: Avi Kivity --- hw/vhost.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/vhost.c b/hw/vhost.c index cd56e75..541c716 100644 -

Re: [Qemu-devel] [Qemu-trivial] [PATCH] Spelling fixes in comments and documentation

2012-01-09 Thread Stefan Hajnoczi
On Sun, Jan 08, 2012 at 07:35:09PM +0100, Stefan Weil wrote: > Codespell detected these new spelling issues. > > Signed-off-by: Stefan Weil > --- > docs/writing-qmp-commands.txt |2 +- > memory.h |4 ++-- > qemu-ga.c |2 +- > 3 files changed,

Re: [Qemu-devel] [PATCH RFC v3 0/2] Initial support for Microsoft Hyper-V.

2012-01-09 Thread Marcelo Tosatti
On Sun, Dec 18, 2011 at 10:48:12PM +0200, Vadim Rozenfeld wrote: > With the following series of patches we are starting to implement > some basic Microsoft Hyper-V Enlightenment functionality. This series > is mostly about adding support for relaxed timing, spinlock, > and virtual apic. > > For mo

Re: [Qemu-devel] [Qemu-trivial] [PATCH] tcg-arm: fix a typo in comments

2012-01-09 Thread Stefan Hajnoczi
On Sat, Jan 07, 2012 at 09:00:25PM +0100, Aurelien Jarno wrote: > ARM still doesn't support 16GB buffers in 32-bit modes, replace the > 16GB by 16MB in the comment. > > Signed-off-by: Aurelien Jarno > --- > exec.c |2 +- > tcg/arm/tcg-target.c |2 +- > 2 files changed, 2 in

Re: [Qemu-devel] [Qemu-trivial] [PATCH] configure: Modify detection of supported warning options

2012-01-09 Thread Stefan Hajnoczi
On Wed, Jan 04, 2012 at 10:47:16PM +0100, Stefan Weil wrote: > Reversing the order of the warning options and -Werror is important > when clang is used instead of gcc. It changes nothing for gcc. > > Signed-off-by: Stefan Weil > --- > configure |2 +- > 1 files changed, 1 insertions(+), 1 de

[Qemu-devel] [PATCH 2/3] vhost: fix mem_sections memory corruption

2012-01-09 Thread Avi Kivity
A memset() used to delete an entry in an array did not take into account the array element's size. Signed-off-by: Avi Kivity --- hw/vhost.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/vhost.c b/hw/vhost.c index 541c716..d924fb0 100644 --- a/hw/vhost.c +++ b/hw/vh

Re: [Qemu-devel] [PATCH 2/4] memory: change dirty setting APIs to take a size

2012-01-09 Thread Avi Kivity
On 01/08/2012 11:10 PM, Blue Swirl wrote: > Instead of each target knowing or guessing the guest page size, > just pass the desired size of dirtied memory area. This should also > improve performance due to memset() optimizations. > > diff --git a/exec-obsolete.h b/exec-obsolete.h > index f8af27e..

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

2012-01-09 Thread Luiz Capitulino
Signed-off-by: Luiz Capitulino --- blockdev.c | 47 ++- blockdev.h |2 -- hmp-commands.hx |3 +-- hmp.c| 14 ++ hmp.h|1 + qapi-schema.json | 29 + qmp-comman

[Qemu-devel] [PATCH 3/3] vhost: improve region filtering

2012-01-09 Thread Avi Kivity
vhost memory management doesn't care about non-memory (e.g. PIO) or non-RAM regions. Adjust the filtering to reflect that, and move it earlier so it applies to mem_sections too. Signed-off-by: Avi Kivity --- hw/vhost.c | 19 +++ 1 files changed, 15 insertions(+), 4 deletions(-

[Qemu-devel] [PATCH 03/10] qapi: Convert expire_password

2012-01-09 Thread Luiz Capitulino
Signed-off-by: Anthony Liguori Signed-off-by: Luiz Capitulino --- console.h|2 -- hmp-commands.hx |3 +-- hmp.c| 10 ++ hmp.h|1 + monitor.c| 39 --- qapi-schema.json | 27 +

[Qemu-devel] [PATCH 04/10] block: eject_device(): Use error_set()

2012-01-09 Thread Luiz Capitulino
Also drops the leftover 'mon' argument. This is a preparation for the next commits which will port the eject and change commands to the QAPI. Signed-off-by: Luiz Capitulino --- blockdev.c | 30 ++ 1 files changed, 22 insertions(+), 8 deletions(-) diff --git a/bloc

[Qemu-devel] [PATCH 02/10] qapi: Convert set_password

2012-01-09 Thread Luiz Capitulino
Signed-off-by: Anthony Liguori Signed-off-by: Luiz Capitulino --- hmp-commands.hx |3 +- hmp.c| 11 ++ hmp.h|1 + monitor.c| 57 -- qapi-schema.json | 29 +++ qmp-co

[Qemu-devel] [PATCH 06/10] monitor: expose readline state

2012-01-09 Thread Luiz Capitulino
From: Anthony Liguori HMP is now implemented in terms of QMP. The monitor has a bunch of logic to deal with HMP right now like readline support. Export it from the monitor so we can consume it in hmp.c. In short time, hmp.c will take over all of the readline bits. Signed-off-by: Anthony Liguo

[Qemu-devel] [PATCH 08/10] qerror: Extend QERR_DEVICE_ENCRYPTED

2012-01-09 Thread Luiz Capitulino
Include the name of the encrypted file. Signed-off-by: Luiz Capitulino --- monitor.c |3 ++- qerror.h |2 +- qmp.c |3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/monitor.c b/monitor.c index bd4bc4f..f85a9d2 100644 --- a/monitor.c +++ b/monitor.c @@ -4682,

[Qemu-devel] KVM call agenda for Tuesday 10

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

[Qemu-devel] [PATCH 07/10] qapi: Introduce change-vnc-password

2012-01-09 Thread Luiz Capitulino
New QMP command to change the VNC password. Signed-off-by: Anthony Liguori Signed-off-by: Luiz Capitulino --- qapi-schema.json | 15 +++ qmp-commands.hx |6 ++ qmp.c| 14 ++ 3 files changed, 35 insertions(+), 0 deletions(-) diff --git a/qapi-sch

[Qemu-devel] [PATCH 09/10] qapi: Convert change

2012-01-09 Thread Luiz Capitulino
Signed-off-by: Anthony Liguori Signed-off-by: Luiz Capitulino --- blockdev.c | 54 +++--- blockdev.h |5 ++- hmp-commands.hx |3 +- hmp.c| 57 + hmp.h|1 + monitor.c

[Qemu-devel] [PATCH 05/10] qapi: Convert eject

2012-01-09 Thread Luiz Capitulino
Signed-off-by: Anthony Liguori Signed-off-by: Luiz Capitulino --- blockdev.c | 20 +--- blockdev.h |1 - hmp-commands.hx |3 +-- hmp.c| 10 ++ hmp.h|1 + qapi-schema.json | 21 + qmp-commands.hx |

[Qemu-devel] [PATCH 01/10] vnc: Simplify vnc_display_password()

2012-01-09 Thread Luiz Capitulino
Drop the qerror_report() call from it and let its callers set the error themselves. This also allows for dropping the 'ret' variable. Signed-off-by: Luiz Capitulino --- console.h |1 - monitor.c |7 ++- ui/vnc.c | 14 -- 3 files changed, 10 insertions(+), 12 deletions(

[Qemu-devel] [PATCH v1 00/10]: QAPI conversions round 4

2012-01-09 Thread Luiz Capitulino
This is the beginning of the not so trivial commands, although most of them are not that complex either. Please, note the inclusion of the change-vnc-password command. This is needed by the change conversion. blockdev.c | 129 -- blockdev.h |8

Re: [Qemu-devel] [PATCH] tcg/arm: Use r6 as TCG_AREG0 to avoid clash with Thumb framepointer

2012-01-09 Thread Peter Maydell
Ping? (either I forgot to cc you, Andrzej, or the mailing list manager helpfully dropped you off the cc list again. Sorry.) -- PMM On 26 December 2011 00:02, Peter Maydell wrote: > On ARM, in Thumb mode r7 is used for the framepointer; this meant > that we would fail to compile in debug mode be

  1   2   >