[Qemu-devel] [PATCH 1/1] hw: Add IGEPv2 board support

2012-01-11 Thread Javier Martinez Canillas
Add ISEE IGEPv2 board definition (an OMAP3730 based board). Signed-off-by: Javier Martinez Canillas --- Makefile.target |2 +- hw/igep.c | 123 +++ 2 files changed, 124 insertions(+), 1 deletions(-) create mode 100644 hw/igep.c dif

Re: [Qemu-devel] [RFC PATCH v3 1/3] Converting tracetool.sh to tracetool.py

2012-01-11 Thread Harsh Bora
On 01/11/2012 12:08 PM, Harsh Bora wrote: On 01/11/2012 04:21 AM, Lluís Vilanova wrote: Harsh Prateek Bora writes: Signed-off-by: Harsh Prateek Bora --- Makefile.objs | 6 +- Makefile.target | 10 +- configure | 7 +- scripts/tracetool | 643 -- scri

[Qemu-devel] [PATCH] MAINTAINERS: update tracing repo git URL

2012-01-11 Thread Stefan Hajnoczi
I have moved git hosting services. Signed-off-by: Stefan Hajnoczi --- MAINTAINERS |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 764c92d..de2a916 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -490,7 +490,7 @@ Tracing M: Stefan Hajnoczi

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

2012-01-11 Thread Peter Maydell
On 11 January 2012 04:12, Andreas Färber wrote: > Am 10.01.2012 21:33, schrieb Mark Langsdorf: >>      vmstate_register(&dev->qdev, -1, &vmstate_nvic, s); > > This should probably be removed now that you register it through > sysbus_register_withprop() below. Oops, yes, missed that bit. > I'm st

Re: [Qemu-devel] [PATCH]: set up rbd snapshot handling

2012-01-11 Thread Christoph Hellwig
> +static int qemu_rbd_snap_remove(BlockDriverState *bs, > +const char *snapshot_name) > +{ > +BDRVRBDState *s = bs->opaque; > +int r; > + > +r = rbd_snap_remove(s->image, snapshot_name); > +r = rbd_snap_rollback(s->image, snapshot_name); Have these

Re: [Qemu-devel] [Bug 902720] [NEW] TIME_MAX not set correctly for OpenBSD in qemu-common.h

2012-01-11 Thread Gerd Hoffmann
Hi, >>> Looking at the OpenBSD buildbot logs I noticed a warning that appears >>> to be a bug in the code. >>> OpenBSD has a 32-bit time_t on all archs at the moment (32-bit and >>> 64-bit). Ouch. Adding 64bit arch with 32bit time_t is pretty lame IMHO. There are a bunch of years left to fix th

Re: [Qemu-devel] [PATCH 1/1] hw: Add IGEPv2 board support

2012-01-11 Thread Peter Maydell
On 11 January 2012 08:43, Javier Martinez Canillas wrote: > Add ISEE IGEPv2 board definition (an OMAP3730 based board). > > Signed-off-by: Javier Martinez Canillas It's polite to mention that patches are against qemu-linaro if you cc qemu-devel. So my initial reaction to this is to ask what the

Re: [Qemu-devel] [PATCH 1/1] hw: Add IGEPv2 board support

2012-01-11 Thread Javier Martinez Canillas
On Wed, Jan 11, 2012 at 12:15 PM, Peter Maydell wrote: > On 11 January 2012 08:43, Javier Martinez Canillas > wrote: >> Add ISEE IGEPv2 board definition (an OMAP3730 based board). >> >> Signed-off-by: Javier Martinez Canillas > Hello Peter, > It's polite to mention that patches are against qe

Re: [Qemu-devel] [PATCH 1/1] hw: Add IGEPv2 board support

2012-01-11 Thread Peter Maydell
On 11 January 2012 11:53, Javier Martinez Canillas wrote: > Yes, the IGEPv2 and the Overo are indeed very similar machines so we > base the hardware modeling on the Overo. > > The only differences here are which OMAP version is used to initialize > the MPU (3630 instead of 3430) and the NAND memor

Re: [Qemu-devel] [PATCH 1/1] hw: Add IGEPv2 board support

2012-01-11 Thread Javier Martinez Canillas
On Wed, Jan 11, 2012 at 1:20 PM, Peter Maydell wrote: > On 11 January 2012 11:53, Javier Martinez Canillas > wrote: >> Yes, the IGEPv2 and the Overo are indeed very similar machines so we >> base the hardware modeling on the Overo. >> >> The only differences here are which OMAP version is used t

[Qemu-devel] [Bug 814222] Re: kvm cannot use vhd files over 127GB

2012-01-11 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/qemu-kvm -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/814222 Title: kvm cannot use vhd files over 127GB Status in QEMU: New Status in “qemu-kvm” package in Ubuntu:

Re: [Qemu-devel] [libvirt] QMP: Supporting off tree APIs

2012-01-11 Thread Luiz Capitulino
On Tue, 10 Jan 2012 13:18:41 -0600 Anthony Liguori wrote: > On 01/06/2012 01:42 PM, Luiz Capitulino wrote: > > On Fri, 06 Jan 2012 09:08:19 -0600 > >> We also need to look at this interface as a public interface whether we > >> technically committed it to or not. The fact is, an important user i

[Qemu-devel] [PATCH] virtio-pci: Fix endianness of virtio config

2012-01-11 Thread Benjamin Herrenschmidt
The virtio config area in PIO space is a bit special. The initial header is little endian but the rest (device specific) is guest native endian. The PIO accessors for PCI on machines that don't have native IO ports assume that all PIO is little endian, which works fine for everything except the ab

Re: [Qemu-devel] [RFC PATCH v3 1/3] Converting tracetool.sh to tracetool.py

2012-01-11 Thread Stefan Hajnoczi
On Wed, Jan 11, 2012 at 8:46 AM, Harsh Bora wrote: > On 01/11/2012 12:08 PM, Harsh Bora wrote: >> >> On 01/11/2012 04:21 AM, Lluís Vilanova wrote: >>> >>> Harsh Prateek Bora writes: >>> Signed-off-by: Harsh Prateek Bora --- Makefile.objs | 6 +- Makefile.target | 10 +- conf

Re: [Qemu-devel] [PATCH]: set up rbd snapshot handling

2012-01-11 Thread Stefan Hajnoczi
On Tue, Jan 10, 2012 at 8:01 PM, Gregory Farnum wrote: > +static int qemu_rbd_snap_remove(BlockDriverState *bs, > +                                const char *snapshot_name) > +{ > +    BDRVRBDState *s = bs->opaque; > +    int r; > + > +    r = rbd_snap_remove(s->image, snapshot_name); > +    if (

Re: [Qemu-devel] [PATCH] virtio-pci: Fix endianness of virtio config

2012-01-11 Thread Anthony Liguori
On 01/10/2012 05:35 AM, Benjamin Herrenschmidt wrote: The virtio config area in PIO space is a bit special. The initial header is little endian but the rest (device specific) is guest native endian. The PIO accessors for PCI on machines that don't have native IO ports assume that all PIO is litt

Re: [Qemu-devel] [PATCH 08/10] fdc: add CCR (Configuration Control Register) write register

2012-01-11 Thread Hervé Poussineau
On 01/09/2012 09:09 AM, Paolo Bonzini wrote: This should go before patch 7, shouldn't it? Yes, I can exchange patches 7 and 8. However, in this order, only floppies other than 1.44 Mb may fail (depends if DSR or CCR register is used to write required rate). I would like to have s

Re: [Qemu-devel] [PATCH 1/2] virtio-pci: Fix endianness of virtio config

2012-01-11 Thread Anthony Liguori
On 01/10/2012 06:07 PM, Alexander Graf wrote: From: Benjamin Herrenschmidt The virtio config area in PIO space is a bit special. The initial header is little endian but the rest (device specific) is guest native endian. The PIO accessors for PCI on machines that don't have native IO ports assum

Re: [Qemu-devel] 回??: [PATCH 00/21][RFC] postcopy live migration

2012-01-11 Thread Isaku Yamahata
On Sat, Jan 07, 2012 at 06:29:14PM +0800, thfbjyddx wrote: > Hello all! Hi, thank you for detailed report. The procedure you've tried looks good basically. Some comments below. > I got the qemu basic version(03ecd2c80a64d030a22fe67cc7a60f24e17ff211) and > patched it correctly > but it still didn

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

2012-01-11 Thread Philipp Hahn
Hello, On Wednesday 11 January 2012 01:56:25 Zhang, Yang Z wrote: > > -Original Message- > > From: Paolo Bonzini [mailto:pbonz...@redhat.com] > > Sent: Tuesday, January 10, 2012 5:25 PM > > > > >> Also, I'm not sure if the update in progress flag still works. > > >> Clients are supposed to

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

2012-01-11 Thread Paolo Bonzini
On 01/11/2012 01:56 AM, Zhang, Yang Z wrote: Clients are supposed to wait for UIP=0 before reading the RTC, and an update is supposed to be at least 220 microseconds away when UIP=0. >>> >>> Hardware need a period time to update clock and it would not >>> provide the right value dur

Re: [Qemu-devel] [RFC PATCH v3 1/3] Converting tracetool.sh to tracetool.py

2012-01-11 Thread Stefan Hajnoczi
On Tue, Jan 10, 2012 at 10:59 AM, Harsh Prateek Bora wrote: > +# Generator that yields Event objects given a trace-events file object > +def read_events(fobj): > +    event_num = 0 > +    for line in fobj: > +        if not line.strip(): > +            continue > +        if line.lstrip().startswi

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

2012-01-11 Thread Stefan Hajnoczi
On Tue, Jan 10, 2012 at 10:59 AM, Harsh Prateek Bora wrote: > diff --git a/scripts/simpletrace.py b/scripts/simpletrace.py This file is primarily a Python module for writing trace analysis scripts. The Formatter is a useful code example that shows how to use the module. This change breaks the m

Re: [Qemu-devel] [PATCH 1/2] block: add dirty flag status to qemu-img

2012-01-11 Thread Stefan Hajnoczi
On Sat, Dec 31, 2011 at 9:06 AM, Dong Xu Wang wrote: > +int bdrv_is_dirty(BlockDriverState *bs) bool would be nicer instead of int. Traditionally we used int but C99 has been around for a long time now and it's more appropriate. > diff --git a/qemu-img.c b/qemu-img.c > index 01cc0d3..a79c274 10

Re: [Qemu-devel] [PATCH 2/2] block: track dirty flag status in qed

2012-01-11 Thread Stefan Hajnoczi
On Sat, Dec 31, 2011 at 9:06 AM, Dong Xu Wang wrote: > +static int bdrv_qed_is_dirty(BlockDriverState *bs) > +{ > +    BDRVQEDState *s = bs->opaque; > +    return s->header.features & QED_F_NEED_CHECK; > +} Looks good. Note that the image will be checked and then QED_F_NEED_CHECK is cleared when

[Qemu-devel] [RFC PATCH 4/5] suspend: make ps/2 devices wakeup the guest

2012-01-11 Thread Gerd Hoffmann
This patch adds wakeup support to ps/2 emulation. Any key press on the ps/2 keyboard will wakeup the guest. Likewise any mouse button press will wakeup the guest. Mouse moves are ignored, so the guest will not wakeup in case your mouse crosses the vnc window of a suspended guest by accident. Si

[Qemu-devel] [RFC PATCH 2/5] suspend: add wakeup monitor command

2012-01-11 Thread Gerd Hoffmann
This patch adds a wakeup monitor command which will simply wake up suspended guests. Signed-off-by: Gerd Hoffmann --- hmp-commands.hx | 14 ++ hmp.c|5 + hmp.h|1 + qapi-schema.json | 11 +++ qmp-commands.hx | 21 +++

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

2012-01-11 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 v7 None Changes from v5, v6 Skipped Changes from v4 replaced all references to Plat|plat_ with sysbus_ made t

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

2012-01-11 Thread Mark Langsdorf
From: Rob Herring Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf Reviewed-by: Peter Maydell --- Changes from v7 None Changes from v1, v2, v3, v4, v5, v6 Skipped target-arm/cpu.h |3 ++- target-arm/helper.c |9 + target-arm/machine.c |2 ++ 3

[Qemu-devel] [PATCH v8 1/6] Add xgmac ethernet model

2012-01-11 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

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

2012-01-11 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 v7 None Changes from v3, v4, v5, v6 Skipped Changes from v2 Created a reset function for highbank_regs Handled creation of regs i

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

2012-01-11 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 None Changes from v2, v3, v4, v5, v6 Skipped Changes from v1

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

2012-01-11 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

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

2012-01-11 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] [Bug 833658] Re: Qemu ppc does not boot Debian 3.1r8

2012-01-11 Thread John Paul Adrian Glaubitz
Hi, this might be related to this upstream bug report: http://lists.gnu.org/archive/html/qemu-devel/2011-10/msg02929.html. Since it seems to be an issue with the mapping of the video memory, I have tried changing the graphics adapter. After changing it from "vga" to "cirrus", the virtual machine

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

2012-01-11 Thread Andreas Färber
Am 11.01.2012 16:26, schrieb 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 processo

Re: [Qemu-devel] [PATCH v8 1/6] Add xgmac ethernet model

2012-01-11 Thread Peter Maydell
On 11 January 2012 15:26, Mark Langsdorf wrote: > 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 mult

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

2012-01-11 Thread Peter Maydell
On 11 January 2012 15:26, Mark Langsdorf wrote: > 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 proc

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

2012-01-11 Thread Stefan Hajnoczi
On Tue, Jan 10, 2012 at 10:59 AM, Harsh Prateek Bora wrote: > 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 > --- >  monit

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

2012-01-11 Thread Peter Maydell
On 11 January 2012 15:26, Mark Langsdorf wrote: > From: Rob Herring > > Adds support for Calxeda's Highbank SoC. > > Signed-off-by: Rob Herring > Signed-off-by: Mark Langsdorf Reviewed-by: Peter Maydell

Re: [Qemu-devel] [PATCH] elf: Improve symbol lookup (optimize, fix for bsd-user)

2012-01-11 Thread andrzej zaborowski
On 5 January 2012 15:39, Stefan Weil wrote: > Coverity complained about local variable key which was only partially > initiated. Only key.st_value was set. As this was also the only part > of key which was used in function symfind, the code could be optimized > by directly passing a pointer to ori

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

2012-01-11 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

Re: [Qemu-devel] [PATCH] virtio-pci: Fix endianness of virtio config

2012-01-11 Thread Benjamin Herrenschmidt
On Wed, 2012-01-11 at 09:04 +1100, Benjamin Herrenschmidt wrote: > On Tue, 2012-01-10 at 22:45 +0100, Alexander Graf wrote: > > Here's the thing that I don't understand. What exactly is breaking for > > you? I tried -M pseries on a ppc box and on an x86 box and both times > > was able to see /dev/v

Re: [Qemu-devel] [PATCH] virtio-pci: Fix endianness of virtio config

2012-01-11 Thread Benjamin Herrenschmidt
On Tue, 2012-01-10 at 21:46 +0100, Alexander Graf wrote: > On 10.01.2012, at 21:35, Andreas Färber wrote: > > > Am 10.01.2012 21:30, schrieb Alexander Graf: > >> Maybe the RTAS callbacks really want you to return stuff in little > endian? > > > > IIRC all RTAS callbacks need to be in the same bit

[Qemu-devel] [PATCH 5/5] usb-redir: Improve some debugging messages

2012-01-11 Thread Hans de Goede
Signed-off-by: Hans de Goede --- usb-redir.c | 13 - 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/usb-redir.c b/usb-redir.c index 7b967a6..40dfe6f 100644 --- a/usb-redir.c +++ b/usb-redir.c @@ -395,7 +395,8 @@ static int usbredir_handle_iso_data(USBRedirDevice *dev

Re: [Qemu-devel] [RFC PATCH v3 1/3] Converting tracetool.sh to tracetool.py

2012-01-11 Thread Stefan Hajnoczi
On Wed, Jan 11, 2012 at 6:25 AM, Harsh Bora wrote: > Also, please confirm, whether I should work on top for qemu.git or your > tracing branch on repo.or.cz/stefanha.git ? Please use https://github.com/stefanha/qemu/tree/tracing. (I also just sent a patch to update the git URL in MAINTAINERS.) S

[Qemu-devel] [RFC PATCH 3/5] suspend: switch acpi s3 to new infrastructure.

2012-01-11 Thread Gerd Hoffmann
Put the new bits into use by making acpi s3 suspend use them. This patch also makes the guest actually stay suspended instead of leaving suspend instantly, so it is useful for more than just testing whenever the suspend/resume cycle actually works. Signed-off-by: Gerd Hoffmann --- hw/acpi.c |

Re: [Qemu-devel] [PATCH] virtio-pci: Fix endianness of virtio config

2012-01-11 Thread Benjamin Herrenschmidt
On Tue, 2012-01-10 at 23:41 +0100, Alexander Graf wrote: > > No. Libhw shouldn't be able to know anything about target endianness. > If a device is as brokenly spec'ed as virtio and is coupled to the > "main CPU endianness", it clearly belongs with the CPU, not into > libhw. Ok, can you guys solv

Re: [Qemu-devel] [PATCH 15/15] qtest: add rtc-test test-case

2012-01-11 Thread Paolo Bonzini
On 01/10/2012 08:10 PM, Anthony Liguori wrote: +sec = cmos_read(0x00); +min = cmos_read(0x02); +hour = cmos_read(0x04); +mday = cmos_read(0x07); +mon = cmos_read(0x08); +year = cmos_read(0x09); Please use identifiers for register numbers. +/* + * This check ass

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

2012-01-11 Thread Alon Levy
On Mon, Jan 09, 2012 at 08:57:50AM +0100, Andrzej Zaborowski wrote: Hi Andrzej, > 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-

[Qemu-devel] [RFC PATCH 1/5] suspend: add infrastructure

2012-01-11 Thread Gerd Hoffmann
This patch adds qemu_system_suspend_request() and void qemu_system_wakeup_request() functions to qemu. qemu_system_suspend_request is supposed to be called when the guest asks for being be suspended, for example via ACPI. qemu_system_wakeup_request is supposed to be called on events which should

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

2012-01-11 Thread Mark Langsdorf
From: Rob Herring Add support for ahci on sysbus. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- Changes from v4 replaced all references to Plat|plat_ with sysbus_ made the number of ports into a qdev property added dummy migration support Changes from v3

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

2012-01-11 Thread Marcelo Tosatti
On Fri, Jan 06, 2012 at 07:37:31AM +, Zhang, Yang Z wrote: > change the RTC update logic to use host time with offset to calculate RTC > clock. > There have no need to use two periodic timers to maintain an internal > timer for RTC clock update and alarm check. Instead, we calculate the

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

2012-01-11 Thread Andreas Färber
Am 10.01.2012 00:56, schrieb Anthony Liguori: > On 01/09/2012 05:22 PM, Andreas Färber wrote: >> Am 09.01.2012 22:42, schrieb Anthony Liguori: >>> On 01/09/2012 02:57 PM, Andreas Färber wrote: Am 09.01.2012 20:28, schrieb Anthony Liguori: > We're still short on infrastructure right now so

Re: [Qemu-devel] [kvm-devel] [PATCH v2] kvm-ppc: halt secondary cpus when guest reset

2012-01-11 Thread Jan Kiszka
On 2012-01-10 18:43, Scott Wood wrote: > On 01/10/2012 03:38 AM, Jan Kiszka wrote: >> On 2012-01-10 00:17, Scott Wood wrote: >>> On 01/09/2012 04:39 PM, Alexander Graf wrote: On 09.01.2012, at 22:23, Scott Wood wrote: > Alex, is there a better way to deal with the IRQ chip issue?

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

2012-01-11 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 None Changes from v2, v3, v4, v5, v6 Skipped Changes from v1

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

2012-01-11 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 v7, v8 None Changes from v5, v6 Skipped Changes from v4 replaced all references to Plat|plat_ with sysbus_ ma

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

2012-01-11 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 over from "Various ARM fixes for Calxeda Highbank" and were reviewed but not

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

2012-01-11 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

Re: [Qemu-devel] [PATCH] omap_dss: correct chip[1] index in RFBI_READ/RFBI_STATUS

2012-01-11 Thread andrzej zaborowski
On 7 January 2012 12:59, Stefan Hajnoczi wrote: > The RFBI_READ/RFBI_STATUS code incorrectly uses chip[0] when it should > be using chip[1].  Andrzej Zaborowski confirmed this > bug since I don't know this code well. > > Reported-by: Dr David Alan Gilbert > Signed-off-by: Stefan Hajnoczi Revie

Re: [Qemu-devel] [PATCH v4 1/2] hw/integratorcp: Fix sense of REMAP bit

2012-01-11 Thread andrzej zaborowski
On 6 January 2012 19:58, Peter Maydell wrote: > Fix the sense of the REMAP bit: 0 should mean "map flash", > 1 should mean "map RAM". Thanks, applied both patches. Cheers

Re: [Qemu-devel] [RFC PATCH v3 1/3] Converting tracetool.sh to tracetool.py

2012-01-11 Thread Lluís Vilanova
Harsh Prateek Bora writes: > Signed-off-by: Harsh Prateek Bora > --- > Makefile.objs|6 +- > Makefile.target | 10 +- > configure|7 +- > scripts/tracetool| 643 > -- > scripts/tracetool.py | 585 ++

[Qemu-devel] [RFC PATCH 5/5] suspend: make serial ports wakeup the guest.

2012-01-11 Thread Gerd Hoffmann
Add a 'wakeup' property to the serial port. It is off by default. When enabled any incoming character on the serial line will wake up the guest. Useful for guests which have a serial console configured. Signed-off-by: Gerd Hoffmann --- hw/serial.c |6 ++ 1 files changed, 6 insertions(

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

2012-01-11 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 v7, v8 None Changes from v3, v4, v5, v6 Skipped Changes from v2 Created a reset function for highbank_regs

[Qemu-devel] [PATCH 2/5] usb-redir: Dynamically adjust iso buffering size based on ep interval

2012-01-11 Thread Hans de Goede
Note the bufpq_target_size id stored in the endpoint info struct, even though it only used once. This is done because it will be referenced from other code in a follow up patch. Signed-off-by: Hans de Goede --- usb-redir.c | 53 - 1 files cha

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

2012-01-11 Thread Peter Maydell
On 10 January 2012 14:49, Andreas Färber wrote: > Haven't checked the kernel for Cortex-R4F support yet but my board > doesn't really support it memory-wise (unless there's sufficient RAM to > boot via CAN, but point is, not all boards are manufactured for Linux). Also R profile doesn't have an M

[Qemu-devel] LLVM builds on Lion (Xcode 4.2.1)?

2012-01-11 Thread Rui Carmo
Hello, I've been trying to get a working build of QEMU 1.0 (or HEAD) that would build or run on Mac OS X Lion without segfaulting or spinlocking, and so far the only way I've been able to build it _and_ run it is by using gcc-4.2 instead of LLVM. Clang doesn't work either (it doesn't support g

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

2012-01-11 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

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

2012-01-11 Thread Stefan Hajnoczi
On Mon, Jan 09, 2012 at 10:04:38AM -0600, Anthony Liguori wrote: > The general rules for 'make check-quick': > > 1) It must complete in less than 10 minutes start to finish (the > entire rule). We can re-examine this over time but for now, it > seems like a reasonable limit. > > 2) It must gra

Re: [Qemu-devel] [PATCH 15/15] qtest: add rtc-test test-case

2012-01-11 Thread Anthony Liguori
On 01/10/2012 01:59 PM, Paolo Bonzini wrote: On 01/10/2012 08:10 PM, Anthony Liguori wrote: + sec = cmos_read(0x00); + min = cmos_read(0x02); + hour = cmos_read(0x04); + mday = cmos_read(0x07); + mon = cmos_read(0x08); + year = cmos_read(0x09); Please use identifiers for register numbers. +

Re: [Qemu-devel] [Qemu-stable] Last call for 1.0.1 stable release

2012-01-11 Thread Justin M. Forbes
On Tue, 2012-01-10 at 14:33 +0100, Andreas Färber wrote: > Justin, > > Am 09.01.2012 19:00, schrieb 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 numb

[Qemu-devel] KVM call minutes 2011-01-10

2012-01-11 Thread Juan Quintela
Hi short call today. Topics talked about included: second QOM series - Anthony wants to rebase on top of Andreas make check testing posted by Anthony - everybody should run that before sending patches - we should make a requirement that "make check" passes if regressions still happen -> we

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

2012-01-11 Thread Gerd Hoffmann
Hi, While being at it: The check should not be killed. It should be replaced by one which checks whenever glib is new enough. Right now qemu doesn't build on RHEL-5 because the glib shipped with it is too old to run the tests. cheers, Gerd - [ cut here ] ---

Re: [Qemu-devel] [PATCH] tracetool: Omit useless QEMU_*_ENABLED() check

2012-01-11 Thread Stefan Hajnoczi
On Tue, Sep 27, 2011 at 9:00 AM, Stefan Hajnoczi wrote: > SystemTap provides a "semaphore" that can optionally be tested before > executing a trace event.  The purpose of this mechanism is to skip > expensive tracing code when the trace event is disabled. > > For example, some applications may hav

Re: [Qemu-devel] [RFC PATCH v3 1/3] Converting tracetool.sh to tracetool.py

2012-01-11 Thread Stefan Hajnoczi
2012/1/10 Lluís Vilanova : > Harsh Prateek Bora writes: > >> Signed-off-by: Harsh Prateek Bora >> --- >>  Makefile.objs        |    6 +- >>  Makefile.target      |   10 +- >>  configure            |    7 +- >>  scripts/tracetool    |  643 >> -- >>  

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

2012-01-11 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

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

2012-01-11 Thread andrzej zaborowski
On 9 January 2012 12:24, Peter Maydell wrote: > Ping? > > (either I forgot to cc you, Andrzej, or the mailing list manager helpfully > dropped you off the cc list again. Sorry.) Thank you, now applied. I've been in CC but my patch queue was moving slow, sorry. Cheers

Re: [Qemu-devel] [PATCH 0/5] VFIO core framework

2012-01-11 Thread Alex Williamson
On Tue, 2012-01-10 at 11:26 -0500, Konrad Rzeszutek Wilk wrote: > On Wed, Dec 21, 2011 at 02:42:02PM -0700, Alex Williamson wrote: > > This series includes the core framework for the VFIO driver. > > VFIO is a userspace driver interface meant to replace both the > > KVM device assignment code as we

Re: [Qemu-devel] [PATCH v4 04/15] block: add image streaming block job

2012-01-11 Thread Luiz Capitulino
On Fri, 6 Jan 2012 14:01:30 + Stefan Hajnoczi wrote: > Signed-off-by: Stefan Hajnoczi > --- > Makefile.objs |1 + > block/stream.c | 119 > > block_int.h|3 + > trace-events |4 ++ > 4 files changed, 127 insertio

Re: [Qemu-devel] [PATCH v4 06/15] qmp: add block_stream command

2012-01-11 Thread Luiz Capitulino
On Fri, 6 Jan 2012 14:01:32 + Stefan Hajnoczi wrote: > Add the block_stream command, which starts copy backing file contents > into the image file. Also add the BLOCK_JOB_COMPLETED QMP event which > is emitted when image streaming completes. Later patches add control > over the background

Re: [Qemu-devel] [RFC][PATCH 08/14 v4] introduce a new monitor command 'dump' to dump guest's memory

2012-01-11 Thread Luiz Capitulino
On Wed, 04 Jan 2012 14:11:01 +0800 Wen Congyang wrote: > Signed-off-by: Wen Congyang > --- > Makefile.target |8 +- > dump.c | 588 > +++ > dump.h |4 + > hmp-commands.hx | 16 ++ > monitor.c |3 + > qmp

Re: [Qemu-devel] Last call for 1.0.1 stable release

2012-01-11 Thread Kevin Wolf
Am 09.01.2012 19:00, schrieb 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 s

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

2012-01-11 Thread andrzej zaborowski
On 9 January 2012 19:32, Stefan Weil wrote: > Coverity says that the division by sizeof(*s->rate) might be wrong. > I think that coverity is right. Thanks, applied. Cheers

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

2012-01-11 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-11 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] [RFC] QEMU Code Audit Team

2012-01-11 Thread Kevin Wolf
Am 10.01.2012 14:22, schrieb Anthony Liguori: > On 01/10/2012 06:58 AM, Kevin Wolf wrote: >> Probably we need to attack the reviewing problem first: That I review >> all block patches myself worked well as long as we were two or three >> people in that area, but today it doesn't scale any more with

Re: [Qemu-devel] [PATCH 1/5] usb-redir: Clear iso / irq error when stopping the stream

2012-01-11 Thread Gerd Hoffmann
Hi, On 01/10/12 14:13, Hans de Goede wrote: > And ignore status messages from the client which arrive after stream > stop (the stream stop send to the client and an error status reported by > the client my cross each other due to network latency). Series looks fine. Anthony, can you pull it in

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

2012-01-11 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 v2, v3, v4, v5, v6 Skipped Changes from v1 Clarified the commit message

[Qemu-devel] [PATCH v7 1/6] Add xgmac ethernet model

2012-01-11 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 12/15] qtest: add support for target-i386 -M pc

2012-01-11 Thread Paolo Bonzini
On 01/10/2012 08:10 PM, Anthony Liguori wrote: This involves forcing the CPU into the halted state if qtest is enabled and replacing the local APIC with the qtest interrupt controller. It should be pretty straight forward to do the same for other machine types on other architectures. Signed-off

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

2012-01-11 Thread Luiz Capitulino
On Tue, 10 Jan 2012 08:39:07 + Stefan Hajnoczi wrote: > On Mon, Jan 09, 2012 at 10:04:38AM -0600, Anthony Liguori wrote: > > The general rules for 'make check-quick': > > > > 1) It must complete in less than 10 minutes start to finish (the > > entire rule). We can re-examine this over time

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

2012-01-11 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 v3, v4, v5, v6 Skipped Changes from v2 Created a reset function for highbank_regs Handled creation of regs i/o memory region in a sensibl

Re: [Qemu-devel] early_savevm

2012-01-11 Thread Anthony Liguori
On 12/13/2011 05:55 AM, Stefano Stabellini wrote: On Mon, 12 Dec 2011, Stefano Stabellini wrote: Really, I think this is something inherently incompatible with the current memory API. If Xen has this unfixable special "requirement" (it's rather a design issue IMHO), adjust the API and adapt all

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

2012-01-11 Thread Stefan Hajnoczi
On Tue, Jan 10, 2012 at 5:29 PM, Mathieu Desnoyers wrote: > Hi Stefan, > > * Stefan Hajnoczi (stefa...@gmail.com) wrote: >> On Tue, Jan 10, 2012 at 12:14 AM, Mathieu Desnoyers >> wrote: >> > This is needed to (very soon) add support for sdt.h in LTTng-UST 2.0, so >> > systemtap and gdb can hook i

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

2012-01-11 Thread Stefan Hajnoczi
On Tue, Jan 10, 2012 at 10:59 AM, Andreas Färber wrote: > Am 10.01.2012 17:21, schrieb 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 > > A minor nit: the SoB is a legal assertion that you not stole, et

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

2012-01-11 Thread Anthony Liguori
On 01/10/2012 03:57 AM, Kevin Wolf wrote: Am 10.01.2012 00:56, schrieb Anthony Liguori: On 01/09/2012 05:22 PM, Andreas Färber wrote: Am 09.01.2012 22:42, schrieb Anthony Liguori: If there's some piece of QEMU you care about, start writing tests and tie it into make check. It's that simple :-

Re: [Qemu-devel] [RFC] QEMU Code Audit Team

2012-01-11 Thread Kevin Wolf
Am 07.01.2012 11:42, schrieb Stefan Hajnoczi: > On Sat, Jan 7, 2012 at 3:09 AM, Peter Maydell > wrote: >> On 6 January 2012 20:42, Anthony Liguori wrote: >>> On 01/06/2012 02:02 PM, Andreas Färber wrote: i) Unless it's a build fix, I propose defining a minimum review time before a patc

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

2012-01-11 Thread Mark Langsdorf
From: Rob Herring Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf Reviewed-by: Peter Maydell --- Changes from v7, v8 None Changes from v1, v2, v3, v4, v5, v6 Skipped target-arm/cpu.h |3 ++- target-arm/helper.c |9 + target-arm/machine.c |2 +

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

2012-01-11 Thread Stefan Hajnoczi
On Tue, Jan 10, 2012 at 12:14 AM, Mathieu Desnoyers wrote: > This is needed to (very soon) add support for sdt.h in LTTng-UST 2.0, so > systemtap and gdb can hook into tracepoints declared by lttng-ust 2.0. If lttng supports sdt.h in the future will it also provide a dtrace(1) wrapper? I'm wonde

[Qemu-devel] [PATCH 1/6] trace: [tracetool] Do not rebuild event list in backend code

2012-01-11 Thread Lluís Vilanova
Signed-off-by: Lluís Vilanova --- scripts/tracetool.py | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/tracetool.py b/scripts/tracetool.py index 6874f66..80e5684 100755 --- a/scripts/tracetool.py +++ b/scripts/tracetool.py @@ -171,15 +171,14 @@ def si

  1   2   3   >