Re: [Qemu-devel] [PATCH 1/2] hw/virtio/virtio: Don't allow guests to add/remove queues

2013-07-27 Thread Michael S. Tsirkin
On Fri, Jul 26, 2013 at 09:05:33AM +0100, Peter Maydell wrote: > On 26 July 2013 00:27, Michael S. Tsirkin wrote: > > On Thu, Jul 25, 2013 at 11:37:22PM +0100, Peter Maydell wrote: > >> On 25 July 2013 23:33, Michael S. Tsirkin wrote: > >> > On Thu, Jul 25, 2013 at 02:37:42PM +0100, Peter Maydell

Re: [Qemu-devel] [PATCH] musicpal: Fix typo in name of local function

2013-07-27 Thread Jan Kiszka
On 2013-07-28 07:54, Stefan Weil wrote: > The misspelling was spotted by Andreas Färber. > > Signed-off-by: Stefan Weil > --- > hw/arm/musicpal.c |4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/hw/arm/musicpal.c b/hw/arm/musicpal.c > index b06d442..d27 100644

Re: [Qemu-devel] [PATCH qom-cpu for-1.6] cpu: Partially revert "cpu: Change qemu_init_vcpu() argument to CPUState"

2013-07-27 Thread Igor Mammedov
On Sat, 27 Jul 2013 04:01:50 +0200 Andreas Färber wrote: > Commit c643bed99 moved qemu_init_vcpu() calls to common CPUState code. > This causes x86 cpu-add to fail with "KVM: setting VAPIC address failed". > > The reason for the failure is that CPUClass::kvm_fd is not yet > initialized in the fo

[Qemu-devel] [PATCH] musicpal: Fix typo in name of local function

2013-07-27 Thread Stefan Weil
The misspelling was spotted by Andreas Färber. Signed-off-by: Stefan Weil --- hw/arm/musicpal.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/arm/musicpal.c b/hw/arm/musicpal.c index b06d442..d27 100644 --- a/hw/arm/musicpal.c +++ b/hw/arm/musicpal.c @@ -534,7

[Qemu-devel] [PULL w32 01/01] w32, w64: Add build rule for installer

2013-07-27 Thread Stefan Weil
The new rules in Makefile allow building installers for QEMU on Windows using NSIS, a package which is also available for Linux distributions (so cross builds are possible). The rules for NSIS are in qemu.nsi which also uses two new images. Signed-off-by: Stefan Weil --- Makefile |

[Qemu-devel] [PULL w32 00/01] W32 patch queue for QEMU 1.6

2013-07-27 Thread Stefan Weil
The following changes since commit 200a06397f5d3e982028fd78b25b420507ade021: Merge remote-tracking branch 'afaerber/tags/qom-cpu-for-anthony' into staging (2013-07-26 17:53:19 -0500) are available in the git repository at: git://qemu.weilnetz.de/qemu.git w32 for you to fetch changes up to

Re: [Qemu-devel] [PATCH] target-mips: 64-bit FPU for user-mode emulation.

2013-07-27 Thread Petar Jovanovic
Will there be an update to this patch? It would be nice to see this in for 1.6. As of fp64 mode for o32/Rev2, it does not have to be resolved now. Regards, Petar On Sun, 9 Jun 2013, Thomas Schwinge wrote: > In my reading of the relevant documents, the latter change is not correct > for o32, and

[Qemu-devel] [PATCH RFC for-1.6 qom-next 1/3] pcie: Move AER log into VMSTATE_PCIE_DEVICE()

2013-07-27 Thread Andreas Färber
VMSTATE_PCIE_DEVICE() currently has the following users: * ioh3420 * xio3130-downstream * x3130-upstream * nec-usb-xhci All except for XHCI have VMSTATE_STRUCT(exp.aer_log, ...) following VMSTATE_PCIE_DEVICE(), and XHCI was marked unmigratable in v1.5.0. Therefore move this recurring PCIe-onl

[Qemu-devel] [PATCH RFC for-1.6 qom-next 3/3] pci: Move AER log into VMStateSubsection

2013-07-27 Thread Andreas Färber
XHCI does not call pcie_aer_init(), so use allocation of the AER log as indicator for whether vmstate_pcie_aer_log is needed. Go safe and zero the log pointer to support unrealizing and re-realizing a PCIDevice without AER. Signed-off-by: Andreas Färber --- hw/pci/pci.c | 24 ++

[Qemu-devel] [PATCH RFC for-1.6 qom-next 0/3] PCIe VMState cleanups for 1.6

2013-07-27 Thread Andreas Färber
Hello Michael and Gerd, As discussed, this series attempts to clean up PCIe devices fiddling with individual PCIe VMState fields. It is based on my qom-next queue, containing type and field changes for PCIe devices. Patch 1 assumes the following are equivalent: a) - Struct A - Field Aa

[Qemu-devel] [PATCH RFC for-1.6 qom-next 2/3] pci: Add MSIX subsection for vmstate_pcie_device

2013-07-27 Thread Andreas Färber
Instead of having devices like XHCI manually add VMSTATE_MSIX() fields, reuse vmstate_msix as subsection in VMSTATE_PCIE_DEVICE(), dependent on msix_present(). XHCI is the only user of VMSTATE_MSIX() and the only PCIe user of msix_init[_exclusive_bar](). XHCI was marked unmigratable in v1.5.0, so

Re: [Qemu-devel] [PATCH v3 01/14] hw/i386/pc.c: move IO_APIC_DEFAULT_ADDRESS to include/hw/i386/apic.h

2013-07-27 Thread Andreas Färber
Am 24.07.2013 18:01, schrieb Michael S. Tsirkin: > Signed-off-by: Michael S. Tsirkin > Signed-off-by: Laszlo Ersek > --- > hw/i386/pc.c | 2 -- > include/hw/i386/apic.h | 2 ++ > 2 files changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Andreas Färber Andreas -- SUSE LINUX Pro

Re: [Qemu-devel] [PATCH v3 09/14] i386: define pc guest info

2013-07-27 Thread Andreas Färber
Am 24.07.2013 18:02, schrieb Michael S. Tsirkin: > This defines a structure that will be used to fill in guest info table. > This structure will be filled in in follow-up patches, using QOM. Fill > in NUMA node info is not available in QOM so it is filled in directly. > > Signed-off-by: Michael S

Re: [Qemu-devel] [PATCH v3 10/14] ich9: APIs for pc guest info

2013-07-27 Thread Andreas Färber
Am 24.07.2013 18:02, schrieb Michael S. Tsirkin: > This adds APIs that will be used to fill in > guest info table, implemented using QOM, > to various ich9 components. > > Signed-off-by: Michael S. Tsirkin > --- > hw/acpi/ich9.c| 6 ++ > hw/isa/lpc_ich9.c | 19 ++

Re: [Qemu-devel] [PATCH v3 11/14] piix: APIs for pc guest info

2013-07-27 Thread Andreas Färber
Am 25.07.2013 11:32, schrieb Michael S. Tsirkin: > This adds APIs that will be used to fill in guest info table, > implemented using QOM, to various piix components. > > Signed-off-by: Michael S. Tsirkin > --- > > diff --git a/hw/acpi/piix4.c b/hw/acpi/piix4.c > index c885690..2128f13 100644 > -

Re: [Qemu-devel] [PATCH v3 12/14] pvpanic: add API to access io port

2013-07-27 Thread Andreas Färber
Am 25.07.2013 14:23, schrieb Michael S. Tsirkin: > On Thu, Jul 25, 2013 at 02:03:33PM +0200, Gerd Hoffmann wrote: >> On 07/25/13 13:22, Michael S. Tsirkin wrote: >>> On Thu, Jul 25, 2013 at 01:05:12PM +0200, Gerd Hoffmann wrote: > I can change the implementation but I don't think it's > a g

Re: [Qemu-devel] [PATCH v3 13/14] hpet: add API to find it

2013-07-27 Thread Andreas Färber
Am 24.07.2013 18:02, schrieb Michael S. Tsirkin: > Add API to find HPET using QOM. > > Signed-off-by: Michael S. Tsirkin > --- > hw/timer/hpet.c | 5 + > include/hw/timer/hpet.h | 2 ++ > 2 files changed, 7 insertions(+) > > diff --git a/hw/timer/hpet.c b/hw/timer/hpet.c > index 648

Re: [Qemu-devel] [PATCH] target-mips: fix multiplication in mipsdsp_rndq15_mul_q15_q15

2013-07-27 Thread Petar Jovanovic
ping Can somebody submit these for 1.6? Thank you. Regards, Petar From: Petar Jovanovic Sent: Monday, July 22, 2013 10:52 AM To: Richard Henderson Cc: Petar Jovanovic; qemu-devel@nongnu.org; aurel...@aurel32.net Subject: RE: [Qemu-devel] [PATCH] target-mip

Re: [Qemu-devel] [PATCH v2] target-mips: fix mipsdsp_trunc16_sat16_round

2013-07-27 Thread Petar Jovanovic
ping Can somebody submit these for 1.6? Thank you. Regards, Petar __ From: Petar Jovanovic Sent: Monday, July 22, 2013 10:51 AM To: Richard Henderson; Petar Jovanovic Cc: qemu-devel@nongnu.org; aurel...@aurel32.net Subject: RE: [PATCH v2] target-mips: fix mipsdsp_t

Re: [Qemu-devel] [PATCH v3 00/14] qemu: generate acpi tables for the guest

2013-07-27 Thread Andreas Färber
Am 26.07.2013 14:19, schrieb Andreas Färber: > Am 25.07.2013 18:19, schrieb Michael S. Tsirkin: >> On Thu, Jul 25, 2013 at 05:50:55PM +0200, Andreas Färber wrote: >>> Am 24.07.2013 18:01, schrieb Michael S. Tsirkin: This code can also be found here: git://git.kernel.org/pub/scm/virt/kvm/m

[Qemu-devel] [PATCH qom-next for-1.6 11/11] sysbus: QOM parent field cleanup for SysBusDevice

2013-07-27 Thread Andreas Färber
Rename the parent field and hide it from gtk-doc. Signed-off-by: Andreas Färber --- include/hw/sysbus.h | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/hw/sysbus.h b/include/hw/sysbus.h index f1d1c5e..bb50a87 100644 --- a/include/hw/sysbus.h +++ b/include/hw/sysbu

[Qemu-devel] [PATCH qom-next for-1.6 10/11] spapr_pci: QOM cast cleanup

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/ppc/spapr_pci.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hw/ppc/spapr_pci.c b/hw/ppc/spapr_pci.c index c880a75..e6d34bc 100644 --- a/hw/ppc/spapr_pci.c +++ b/hw/ppc/spapr_pci.c @@ -479,6 +479,7 @@ static AddressSpace *spapr_pc

[Qemu-devel] [PATCH qom-next for-1.6 06/11] kvmvapic: QOM cast cleanup

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/i386/kvmvapic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/i386/kvmvapic.c b/hw/i386/kvmvapic.c index a4506bc..15beb80 100644 --- a/hw/i386/kvmvapic.c +++ b/hw/i386/kvmvapic.c @@ -456,7 +456,7 @@ static void patch_instruction(VA

[Qemu-devel] [PATCH qom-next for-1.6 04/11] opencores_eth: QOM cast cleanup

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/net/opencores_eth.c | 24 +++- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/hw/net/opencores_eth.c b/hw/net/opencores_eth.c index 4637557..f2f82f2 100644 --- a/hw/net/opencores_eth.c +++ b/hw/net/opencores_eth.c @@ -267,8

[Qemu-devel] [PATCH qom-next for-1.6 03/11] exynos4210_i2c: QOM cast cleanup

2013-07-27 Thread Andreas Färber
Fix one ->qdev access and rename parent field. Signed-off-by: Andreas Färber --- hw/i2c/exynos4210_i2c.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/hw/i2c/exynos4210_i2c.c b/hw/i2c/exynos4210_i2c.c index 42f5e89..ce5f849 100644 --- a/hw/i2c/exynos4210_i2c.c

[Qemu-devel] [PATCH qom-next for-1.6 07/11] kvm/ioapic: QOM cast cleanup

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/i386/kvm/ioapic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/i386/kvm/ioapic.c b/hw/i386/kvm/ioapic.c index 688cb5c..f11a540 100644 --- a/hw/i386/kvm/ioapic.c +++ b/hw/i386/kvm/ioapic.c @@ -112,7 +112,7 @@ static void kvm_ioapic

[Qemu-devel] [PATCH qom-next for-1.6 08/11] ioapic: QOM cast cleanup

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/intc/ioapic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/intc/ioapic.c b/hw/intc/ioapic.c index 5d064fe..d866e00 100644 --- a/hw/intc/ioapic.c +++ b/hw/intc/ioapic.c @@ -230,7 +230,7 @@ static void ioapic_init(IOAPICCommonState *s,

[Qemu-devel] [PATCH qom-next for-1.6 05/11] mipsnet: QOM cast cleanup

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/net/mipsnet.c | 20 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/hw/net/mipsnet.c b/hw/net/mipsnet.c index 9080850..4c5a6f3 100644 --- a/hw/net/mipsnet.c +++ b/hw/net/mipsnet.c @@ -19,8 +19,11 @@ #define MAX_ETH_FRAME_

[Qemu-devel] [PATCH qom-next for-1.6 02/11] sysbus: Remove unused sysbus_new() prototype

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- include/hw/sysbus.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/hw/sysbus.h b/include/hw/sysbus.h index fbfc066..f1d1c5e 100644 --- a/include/hw/sysbus.h +++ b/include/hw/sysbus.h @@ -55,7 +55,6 @@ struct SysBusDevice { pio_addr_t pio[QDEV_MAX

[Qemu-devel] [PATCH v2 4/9] qapi.py: Decent syntax error reporting

2013-07-27 Thread Markus Armbruster
Signed-off-by: Markus Armbruster Reviewed-by: Eric Blake --- scripts/qapi.py | 29 +++-- tests/qapi-schema/test-qapi.py| 2 ++ tests/qapi-schema/unclosed-string.err | 2 +- 3 files changed, 30 insertions(+), 3 deletions(-) diff --git a/scr

Re: [Qemu-devel] [PATCH for-1.6] target-mips: do not raise exceptions when accessing invalid memory

2013-07-27 Thread Stefan Weil
Am 27.07.2013 22:43, schrieb Andreas Färber: > Am 27.07.2013 21:37, schrieb Stefan Weil: >> Am 27.07.2013 19:43, schrieb Peter Maydell: >>> On 27 July 2013 17:18, Hervé Poussineau wrote: Another solution would be to add a big dummy memory regions on all MIPS boards to catch memory

Re: [Qemu-devel] [PATCH for-1.6] target-mips: do not raise exceptions when accessing invalid memory

2013-07-27 Thread Peter Maydell
On 27 July 2013 21:43, Andreas Färber wrote: > Am 27.07.2013 21:37, schrieb Stefan Weil: >> Am 27.07.2013 19:43, schrieb Peter Maydell: >>> On 27 July 2013 17:18, Hervé Poussineau wrote: Another solution would be to add a big dummy memory regions on all MIPS boards to catch memory

Re: [Qemu-devel] [PATCH for-1.6] target-mips: do not raise exceptions when accessing invalid memory

2013-07-27 Thread Stefan Weil
Am 27.07.2013 19:43, schrieb Peter Maydell: > On 27 July 2013 17:18, Hervé Poussineau wrote: >> Another solution would be to add a big dummy memory regions on all MIPS >> boards >> to catch memory accesses and not raise an exception. However, this means that >> each MIPS board will have its own u

[Qemu-devel] [PATCH qom-next for-1.6 00/11] sysbus: QOM cast cleanups -- plus outlook

2013-07-27 Thread Andreas Färber
Hello, This series finally eliminates the FROM_SYSBUS() macro. It goes on to fix remaining ->qdev field accesses (less work than I thought). I've been pushing out device patches ASAP to give them maximum review hours, now here follows the rationale why I made this effort: i) Murphy's Law When t

[Qemu-devel] [PATCH qom-next for-1.6 09/11] mips_malta: QOM cast cleanup

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/mips/mips_malta.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/hw/mips/mips_malta.c b/hw/mips/mips_malta.c index dad58c0..e932fdc 100644 --- a/hw/mips/mips_malta.c +++ b/hw/mips/mips_malta.c @@ -79,8 +79,12 @@ typedef struct

Re: [Qemu-devel] [PATCH for-1.6] target-mips: do not raise exceptions when accessing invalid memory

2013-07-27 Thread Andreas Färber
Am 27.07.2013 21:37, schrieb Stefan Weil: > Am 27.07.2013 19:43, schrieb Peter Maydell: >> On 27 July 2013 17:18, Hervé Poussineau wrote: >>> Another solution would be to add a big dummy memory regions on all MIPS >>> boards >>> to catch memory accesses and not raise an exception. However, this m

[Qemu-devel] [PATCH qom-next for-1.6 01/11] sysbus: Drop FROM_SYSBUS()

2013-07-27 Thread Andreas Färber
As a replacement, use your own macro based on OBJECT_CHECK(). Signed-off-by: Andreas Färber --- include/hw/sysbus.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/hw/sysbus.h b/include/hw/sysbus.h index 8c17165..fbfc066 100644 --- a/include/hw/sysbus.h +++ b/include/hw/sysbus.h @@

Re: [Qemu-devel] [PATCH qom-next for-1.6 06/29] musicpal: QOM'ify musicpal_lcd_state

2013-07-27 Thread Andreas Färber
Am 24.07.2013 09:48, schrieb Andreas Färber: > Signed-off-by: Andreas Färber > --- > hw/arm/musicpal.c | 15 +++ > 1 file changed, 11 insertions(+), 4 deletions(-) > > diff --git a/hw/arm/musicpal.c b/hw/arm/musicpal.c > index 293ab26..e7efed9 100644 > --- a/hw/arm/musicpal.c > +++ b

Re: [Qemu-devel] [PATCH qom-next for-1.6 06/29] musicpal: QOM'ify musicpal_lcd_state

2013-07-27 Thread Andreas Färber
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 27.07.2013 16:33, schrieb Jan Kiszka: > On 2013-07-27 16:10, Andreas Färber wrote: >> Needs the following addition: >> >> diff --git a/hw/arm/musicpal.c b/hw/arm/musicpal.c index >> 6065051..9174b87 100644 --- a/hw/arm/musicpal.c +++ >> b/hw/arm/mu

[Qemu-devel] [PATCH v2 6/9] qapi.py: Fix schema parser to check syntax systematically

2013-07-27 Thread Markus Armbruster
Fixes at least the following parser bugs: * accepts any token in place of a colon * treats comma as optional * crashes when closing braces or brackets are missing Signed-off-by: Markus Armbruster Reviewed-by: Eric Blake --- scripts/qapi.py | 40 ++

Re: [Qemu-devel] [PATCH qom-next for-1.6 7/8] pl110: QOM'ify pl110, pl110_versatile and pl111

2013-07-27 Thread Andreas Färber
Am 26.07.2013 14:40, schrieb Andreas Färber: > Am 26.07.2013 04:58, schrieb Hu Tao: >> Would it be better to explicitly set PL110 version? I know PL110 is 0, >> but it's not like a normal variable which is always good to be >> initialized to 0, assuming a version number is bad. (This is not a probl

[Qemu-devel] [PATCH v2 1/9] tests: QAPI schema parser tests

2013-07-27 Thread Markus Armbruster
The parser handles erroneous input badly. To be improved shortly. Signed-off-by: Markus Armbruster --- configure | 2 +- tests/Makefile | 24 ++-- tests/qapi-schema/comments.exit| 1 + tes

[Qemu-devel] [PATCH v2 0/9] Our QAPI parser is a hack, replace it

2013-07-27 Thread Markus Armbruster
If you think I'm exaggerating, check out the list of issues in PATCH 3/9. v2: * Straightforward rebase * A few more tests in 1/9, in part suggested by Eric Markus Armbruster (9): tests: QAPI schema parser tests tests: Use qapi-schema-test.json as schema parser test qapi.py: Restructure lexe

Re: [Qemu-devel] [PATCH qom-next for-1.6 4/4] pl041: QOM'ify

2013-07-27 Thread Andreas Färber
Am 26.07.2013 10:52, schrieb Hu Tao: > On Wed, Jul 24, 2013 at 10:35:54AM +0200, Andreas Färber wrote: >> Signed-off-by: Andreas Färber >> --- >> hw/audio/pl041.c | 45 + >> 1 file changed, 25 insertions(+), 20 deletions(-) > > Reviewed-by: Hu Tao Sp

Re: [Qemu-devel] [PATCH for-1.6] target-mips: do not raise exceptions when accessing invalid memory

2013-07-27 Thread Peter Maydell
On 27 July 2013 17:18, Hervé Poussineau wrote: > Another solution would be to add a big dummy memory regions on all MIPS boards > to catch memory accesses and not raise an exception. However, this means that > each MIPS board will have its own unassigned memory handler, different from > the > glo

[Qemu-devel] [PATCH v2 5/9] qapi.py: Reject invalid characters in schema file

2013-07-27 Thread Markus Armbruster
Signed-off-by: Markus Armbruster Reviewed-by: Eric Blake --- scripts/qapi.py | 2 ++ tests/qapi-schema/comments.err| 1 + tests/qapi-schema/comments.exit | 2 +- tests/qapi-schema/comments.out| 3 --- tests/qapi-schema/funny-char.err | 1 + tests/qapi-schema/funny-ch

[Qemu-devel] [PATCH v2 2/9] tests: Use qapi-schema-test.json as schema parser test

2013-07-27 Thread Markus Armbruster
Signed-off-by: Markus Armbruster Reviewed-by: Eric Blake --- tests/Makefile| 8 tests/qapi-schema/qapi-schema-test.exit | 1 + .../qapi-schema/qapi-schema-test.json | 0 tests/qapi-schema/qapi-schema-test.out

[Qemu-devel] [PATCH v2 9/9] qapi.py: Permit comments starting anywhere on the line

2013-07-27 Thread Markus Armbruster
Signed-off-by: Markus Armbruster Reviewed-by: Eric Blake --- scripts/qapi.py | 3 +-- tests/qapi-schema/comments.err | 1 - tests/qapi-schema/comments.exit | 2 +- tests/qapi-schema/comments.out | 3 +++ 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/qap

[Qemu-devel] [PATCH v2 3/9] qapi.py: Restructure lexer and parser

2013-07-27 Thread Markus Armbruster
The parser has a rather unorthodox structure: Until EOF: Read a section: Generator function get_expr() yields one section after the other, as a string. An unindented, non-empty line that isn't a comment starts a new section. Lexing:

[Qemu-devel] [PATCH v2 8/9] qapi.py: Rename expr_eval to expr in parse_schema()

2013-07-27 Thread Markus Armbruster
Signed-off-by: Markus Armbruster Reviewed-by: Eric Blake --- scripts/qapi.py | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/scripts/qapi.py b/scripts/qapi.py index 75fc282..f64b7b2 100644 --- a/scripts/qapi.py +++ b/scripts/qapi.py @@ -168,15 +168,15 @@ de

[Qemu-devel] [PATCH v2 7/9] qapi.py: Fix diagnosing non-objects at a schema's top-level

2013-07-27 Thread Markus Armbruster
Report syntax error instead of crashing. Signed-off-by: Markus Armbruster Reviewed-by: Eric Blake --- scripts/qapi.py | 10 ++ tests/qapi-schema/non-objects.err | 2 +- tests/qapi-schema/quoted-structural-chars.err | 2 +- 3 files changed, 8 i

Re: [Qemu-devel] [PATCH for-1.6] target-mips: do not raise exceptions when accessing invalid memory

2013-07-27 Thread Andreas Färber
Am 27.07.2013 18:18, schrieb Hervé Poussineau: > c658b94f6e8c206c59d02aa6fbac285b86b53d2c ("cpu: Turn cpu_unassigned_access() > into a CPUState hook") made MIPS raise exceptions when accessing > invalid memory for data, by unconditionally calling CPUState unassigned hook. > > While this seems to b

[Qemu-devel] [PATCH for-1.6] target-mips: do not raise exceptions when accessing invalid memory

2013-07-27 Thread Hervé Poussineau
c658b94f6e8c206c59d02aa6fbac285b86b53d2c ("cpu: Turn cpu_unassigned_access() into a CPUState hook") made MIPS raise exceptions when accessing invalid memory for data, by unconditionally calling CPUState unassigned hook. While this seems to be the right behaviour, this breaks a lot of guests (Linux

Re: [Qemu-devel] [PATCH 2/9] tests: Use qapi-schema-test.json as schema parser test

2013-07-27 Thread Markus Armbruster
Eric Blake writes: > On 07/26/2013 06:39 AM, Markus Armbruster wrote: >> Signed-off-by: Markus Armbruster >> --- >> qapi-schema-test.json | 53 - >> tests/Makefile | 8 ++--- >> tests/qapi-schema/qapi-schema-test.exit | 1 + >> tests/qa

Re: [Qemu-devel] [PATCH qom-next for-1.6 19/29] spitz: QOM'ify SpitzKeyboardState

2013-07-27 Thread Andreas Färber
Am 24.07.2013 09:48, schrieb Andreas Färber: > Signed-off-by: Andreas Färber > --- > hw/arm/spitz.c | 17 ++--- > 1 file changed, 10 insertions(+), 7 deletions(-) > > diff --git a/hw/arm/spitz.c b/hw/arm/spitz.c > index 0bf5c5c..70f23b3 100644 > --- a/hw/arm/spitz.c > +++ b/hw/arm/sp

Re: [Qemu-devel] [PATCH qom-next for-1.6 05/29] musicpal: QOM'ify mv88w8618_eth_state

2013-07-27 Thread Andreas Färber
Am 24.07.2013 09:48, schrieb Andreas Färber: > Introduce type constant and use QOM casts. > > Signed-off-by: Andreas Färber > --- > hw/arm/musicpal.c | 13 ++--- > 1 file changed, 10 insertions(+), 3 deletions(-) > > diff --git a/hw/arm/musicpal.c b/hw/arm/musicpal.c > index b06d442..29

Re: [Qemu-devel] [PATCH qom-next for-1.6 04/29] integratorcp: QOM'ify icp_pic_state

2013-07-27 Thread Andreas Färber
Am 24.07.2013 09:47, schrieb Andreas Färber: > diff --git a/hw/arm/integratorcp.c b/hw/arm/integratorcp.c > index 58f4ed7..af31007 100644 > --- a/hw/arm/integratorcp.c > +++ b/hw/arm/integratorcp.c [...] > @@ -376,7 +382,7 @@ static const MemoryRegionOps icp_pic_ops = { > > static int icp_pic_in

Re: [Qemu-devel] [PATCH qom-next for-1.6 06/29] musicpal: QOM'ify musicpal_lcd_state

2013-07-27 Thread Jan Kiszka
On 2013-07-27 16:10, Andreas Färber wrote: > Am 24.07.2013 09:48, schrieb Andreas Färber: >> Signed-off-by: Andreas Färber >> --- >> hw/arm/musicpal.c | 15 +++ >> 1 file changed, 11 insertions(+), 4 deletions(-) >> >> diff --git a/hw/arm/musicpal.c b/hw/arm/musicpal.c >> index 293ab2

Re: [Qemu-devel] [PATCH qom-next for-1.6 02/11] etraxfs_eth: QOM cast cleanup

2013-07-27 Thread Andreas Färber
Am 27.07.2013 12:44, schrieb Andreas Färber: > Signed-off-by: Andreas Färber > --- > hw/net/etraxfs_eth.c | 11 --- > 1 file changed, 8 insertions(+), 3 deletions(-) > > diff --git a/hw/net/etraxfs_eth.c b/hw/net/etraxfs_eth.c > index ab9a215..71b4fb8 100644 > --- a/hw/net/etraxfs_eth.c

Re: [Qemu-devel] [PATCH qom-next for-1.6 20/29] stellaris: QOM'ify gptm_state

2013-07-27 Thread Andreas Färber
Am 24.07.2013 09:48, schrieb Andreas Färber: > Signed-off-by: Andreas Färber > --- > hw/arm/stellaris.c | 13 + > 1 file changed, 9 insertions(+), 4 deletions(-) > > diff --git a/hw/arm/stellaris.c b/hw/arm/stellaris.c > index a2b6b17..1c69bcf 100644 > --- a/hw/arm/stellaris.c > +++

Re: [Qemu-devel] [PATCH qom-next for-1.6 15/29] pxa2xx: QOM'ify PXA2xxI2CState

2013-07-27 Thread Andreas Färber
Am 24.07.2013 09:48, schrieb Andreas Färber: > Signed-off-by: Andreas Färber > --- > hw/arm/pxa2xx.c | 26 +- > 1 file changed, 17 insertions(+), 9 deletions(-) > > diff --git a/hw/arm/pxa2xx.c b/hw/arm/pxa2xx.c > index 6548338..ab145ee 100644 > --- a/hw/arm/pxa2xx.c > ++

[Qemu-devel] [PATCH qom-next for-1.6 14/20] pl031: Rename pl031_state to PL031State

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/timer/pl031.c | 36 ++-- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/hw/timer/pl031.c b/hw/timer/pl031.c index 3ce6ed8..e705a69 100644 --- a/hw/timer/pl031.c +++ b/hw/timer/pl031.c @@ -33,7 +33,7 @@ do { prin

[Qemu-devel] [PATCH qom-next for-1.6 16/20] puv3_ost: QOM cast cleanup

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/timer/puv3_ost.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/hw/timer/puv3_ost.c b/hw/timer/puv3_ost.c index 63f2c9f..4bd2b76 100644 --- a/hw/timer/puv3_ost.c +++ b/hw/timer/puv3_ost.c @@ -14,9 +14,13 @@ #undef DEBUG_PUV3

[Qemu-devel] [PATCH qom-next for-1.6 17/20] pxa2xx_timer: QOM cast cleanup

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/timer/pxa2xx_timer.c | 38 +++--- 1 file changed, 27 insertions(+), 11 deletions(-) diff --git a/hw/timer/pxa2xx_timer.c b/hw/timer/pxa2xx_timer.c index 4d28719..ff63fa6 100644 --- a/hw/timer/pxa2xx_timer.c +++ b/hw/timer/pxa2x

[Qemu-devel] [PATCH qom-next for-1.6 20/20] xilinx_timer: QOM cast cleanup

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/timer/xilinx_timer.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/hw/timer/xilinx_timer.c b/hw/timer/xilinx_timer.c index ee53834..5f2c902 100644 --- a/hw/timer/xilinx_timer.c +++ b/hw/timer/xilinx_timer.c @@ -57,9 +57,14 @@

[Qemu-devel] [PATCH qom-next for-1.6 06/20] etraxfs_timer: QOM cast cleanup

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/timer/etraxfs_timer.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/hw/timer/etraxfs_timer.c b/hw/timer/etraxfs_timer.c index 7e9807d..a38d9e4 100644 --- a/hw/timer/etraxfs_timer.c +++ b/hw/timer/etraxfs_timer.c @@ -42,8 +42,1

[Qemu-devel] [PATCH qom-next for-1.6 12/20] m48t59: QOM cast cleanup for M48t59SysBusState

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/timer/m48t59.c | 16 ++-- include/hw/timer/m48t59.h | 3 +++ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/hw/timer/m48t59.c b/hw/timer/m48t59.c index be3490b..0cc9e5b 100644 --- a/hw/timer/m48t59.c +++ b/hw/timer/m48t59.

[Qemu-devel] [PATCH qom-next for-1.6 05/20] etraxfs_timer: Rename etrax_timer to ETRAXTimerState

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/timer/etraxfs_timer.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/hw/timer/etraxfs_timer.c b/hw/timer/etraxfs_timer.c index 6dd1072..7e9807d 100644 --- a/hw/timer/etraxfs_timer.c +++ b/hw/timer/etraxfs_timer

[Qemu-devel] [PATCH qom-next for-1.6 13/20] milkymist-sysctl: QOM cast cleanup

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/timer/milkymist-sysctl.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/hw/timer/milkymist-sysctl.c b/hw/timer/milkymist-sysctl.c index 5009394..94246e5 100644 --- a/hw/timer/milkymist-sysctl.c +++ b/hw/timer/milkymist-sysct

[Qemu-devel] [PATCH qom-next for-1.6 18/20] slavio_timer: QOM cast cleanup

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/timer/slavio_timer.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/hw/timer/slavio_timer.c b/hw/timer/slavio_timer.c index 7f844d7..33e8f6c 100644 --- a/hw/timer/slavio_timer.c +++ b/hw/timer/slavio_timer.c @@ -54,8 +54,13 @

[Qemu-devel] [PATCH qom-next for-1.6 11/20] lm32_timer: QOM cast cleanup

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/timer/lm32_timer.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/hw/timer/lm32_timer.c b/hw/timer/lm32_timer.c index 016dade..986e6a1 100644 --- a/hw/timer/lm32_timer.c +++ b/hw/timer/lm32_timer.c @@ -50,8 +50,12 @@ enum {

[Qemu-devel] [PATCH qom-next for-1.6 10/20] grlib_gptimer: QOM cast cleanup

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/timer/grlib_gptimer.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/hw/timer/grlib_gptimer.c b/hw/timer/grlib_gptimer.c index 37ba47d..7c1055a 100644 --- a/hw/timer/grlib_gptimer.c +++ b/hw/timer/grlib_gptimer.c @@ -50,6 +50

[Qemu-devel] [PATCH qom-next for-1.6 19/20] tusb6010: QOM cast cleanup

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/timer/tusb6010.c | 26 -- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/hw/timer/tusb6010.c b/hw/timer/tusb6010.c index 47b6809..c48ecf8 100644 --- a/hw/timer/tusb6010.c +++ b/hw/timer/tusb6010.c @@ -26,8 +26,12 @@ #i

[Qemu-devel] [PATCH qom-next for-1.6 01/20] arm_timer: Rename sp804_state to SP804State

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/timer/arm_timer.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/hw/timer/arm_timer.c b/hw/timer/arm_timer.c index 798a8da..25e8890 100644 --- a/hw/timer/arm_timer.c +++ b/hw/timer/arm_timer.c @@ -179,14 +179,14 @@ s

[Qemu-devel] [PATCH qom-next for-1.6 08/20] exynos4210_pwm: QOM cast cleanup

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/timer/exynos4210_pwm.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/hw/timer/exynos4210_pwm.c b/hw/timer/exynos4210_pwm.c index 8fa0bb2..a52f0f6 100644 --- a/hw/timer/exynos4210_pwm.c +++ b/hw/timer/exynos4210_pwm.c @@ -97,9

[Qemu-devel] [PATCH qom-next for-1.6 15/20] pl031: QOM cast cleanup

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/timer/pl031.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/hw/timer/pl031.c b/hw/timer/pl031.c index e705a69..d5e2f3e 100644 --- a/hw/timer/pl031.c +++ b/hw/timer/pl031.c @@ -33,8 +33,12 @@ do { printf("pl031: " fmt , ## __VA_

[Qemu-devel] [PATCH qom-next for-1.6 04/20] cadence_ttc: QOM cast cleanup

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/timer/cadence_ttc.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/hw/timer/cadence_ttc.c b/hw/timer/cadence_ttc.c index a861049..888f9ce 100644 --- a/hw/timer/cadence_ttc.c +++ b/hw/timer/cadence_ttc.c @@ -64,8 +64,13 @@ typ

[Qemu-devel] [PATCH qom-next for-1.6 02/20] arm_timer: QOM cast cleanup for SP804State

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/timer/arm_timer.c | 19 --- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/hw/timer/arm_timer.c b/hw/timer/arm_timer.c index 25e8890..8d95743 100644 --- a/hw/timer/arm_timer.c +++ b/hw/timer/arm_timer.c @@ -179,8 +179,12 @@ stat

[Qemu-devel] [PATCH qom-next for-1.6 09/20] exynos4210_rtc: QOM cast cleanup

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/timer/exynos4210_rtc.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/hw/timer/exynos4210_rtc.c b/hw/timer/exynos4210_rtc.c index 7fca071..3f2c8c5 100644 --- a/hw/timer/exynos4210_rtc.c +++ b/hw/timer/exynos4210_rtc.c @@ -79,

[Qemu-devel] [PATCH qom-next for-1.6 07/20] exynos4210_mct: QOM cast cleanup

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/timer/exynos4210_mct.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/hw/timer/exynos4210_mct.c b/hw/timer/exynos4210_mct.c index 28ebe5d..a8009a4 100644 --- a/hw/timer/exynos4210_mct.c +++ b/hw/timer/exynos4210_mct.c @@ -240

[Qemu-devel] [PATCH qom-next for-1.6 03/20] arm_timer: QOM cast cleanup for icp_pit_state

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/timer/arm_timer.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/hw/timer/arm_timer.c b/hw/timer/arm_timer.c index 8d95743..acfea59 100644 --- a/hw/timer/arm_timer.c +++ b/hw/timer/arm_timer.c @@ -298,8 +298,13 @@ static int sp

[Qemu-devel] [PATCH qom-next for-1.6 00/20] timer: QOM cast cleanups

2013-07-27 Thread Andreas Färber
Hello, This series eliminates FROM_SYSBUS() in hw/timer/. Regards, Andreas Cc: Hu Tao Andreas Färber (20): arm_timer: Rename sp804_state to SP804State arm_timer: QOM cast cleanup for SP804State arm_timer: QOM cast cleanup for icp_pit_state cadence_ttc: QOM cast cleanup etraxfs_timer:

Re: [Qemu-devel] ioport: qemu-system-sparc64 currently broken

2013-07-27 Thread Mark Cave-Ayland
On 27/07/13 09:55, Paolo Bonzini wrote: Il 27/07/2013 00:21, Mark Cave-Ayland ha scritto: I suspect that there may be multiple breakages here (as HEAD blows up differently with a trap failure), but this is definitely the start of the chain. Yes, the fixes so far are the following: commit 2b8

[Qemu-devel] [PATCH qom-next for-1.6 07/11] smc91c111: QOM cast cleanup

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/net/smc91c111.c | 30 +++--- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/hw/net/smc91c111.c b/hw/net/smc91c111.c index c49e37a..f5963e2 100644 --- a/hw/net/smc91c111.c +++ b/hw/net/smc91c111.c @@ -16,8 +16,12 @@ /*

[Qemu-devel] [PATCH qom-next for-1.6 03/11] etraxfs_eth: Rename fs_eth to ETRAXFSEthState

2013-07-27 Thread Andreas Färber
Also add a typedef. Signed-off-by: Andreas Färber --- hw/net/etraxfs_eth.c | 38 +++--- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/hw/net/etraxfs_eth.c b/hw/net/etraxfs_eth.c index 71b4fb8..b1febec 100644 --- a/hw/net/etraxfs_eth.c +++ b/hw/ne

[Qemu-devel] [PATCH qom-next for-1.6 02/11] etraxfs_eth: QOM cast cleanup

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/net/etraxfs_eth.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/hw/net/etraxfs_eth.c b/hw/net/etraxfs_eth.c index ab9a215..71b4fb8 100644 --- a/hw/net/etraxfs_eth.c +++ b/hw/net/etraxfs_eth.c @@ -322,9 +322,14 @@ static void m

[Qemu-devel] [PATCH qom-next for-1.6 00/11] net: QOM cast cleanups

2013-07-27 Thread Andreas Färber
Hello, This series eliminates FROM_SYSBUS() in hw/net/. Regards, Andreas Cc: Hu Tao Andreas Färber (11): cadence_gem: QOM cast cleanup etraxfs_eth: QOM cast cleanup etraxfs_eth: Rename fs_eth to ETRAXFSEthState lan9118: QOM cast cleanup lance: QOM cast cleanup milkymist-minimac2: Q

[Qemu-devel] [PATCH qom-next for-1.6 05/11] lance: QOM cast cleanup

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/net/lance.c | 24 +++- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/hw/net/lance.c b/hw/net/lance.c index 98bcdfc..cf86ba1 100644 --- a/hw/net/lance.c +++ b/hw/net/lance.c @@ -43,8 +43,13 @@ #include "pcnet.h" #include "

[Qemu-devel] [PATCH qom-next for-1.6 0/3] ssi: QOM cast cleanups

2013-07-27 Thread Andreas Färber
Hello, This series eliminates FROM_SYSBUS() in hw/ssi/. Regards, Andreas Cc: Hu Tao Andreas Färber (3): pl022: Rename pl022_state to PL022State pl022: QOM cast cleanup xilinx_spi: QOM cast cleanup hw/ssi/pl022.c | 91 - hw/ssi/xi

Re: [Qemu-devel] Cirrus VGA slow screen update, show blank screen last 13s or so for windows XP guest

2013-07-27 Thread Gonglei (Arei)
> -Original Message- > From: Andreas Färber [mailto:afaer...@suse.de] > Sent: Friday, July 26, 2013 6:28 PM > To: Gerd Hoffmann; Gonglei (Arei) > Cc: Anthony Liguori; Hanweidong; Luonengjun; qemu-devel@nongnu.org; > Huangweidong (Hardware); xen-de...@lists.xen.org > Subject: Re: [Qemu-deve

[Qemu-devel] [PATCH qom-next for-1.6 08/11] stellaris_enet: QOM cast cleanup

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/net/stellaris_enet.c | 24 +++- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/hw/net/stellaris_enet.c b/hw/net/stellaris_enet.c index aac7c76..6194e33 100644 --- a/hw/net/stellaris_enet.c +++ b/hw/net/stellaris_enet.c @@ -4

[Qemu-devel] [PATCH qom-next for-1.6 3/3] xilinx_spi: QOM cast cleanup

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/ssi/xilinx_spi.c | 27 --- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/hw/ssi/xilinx_spi.c b/hw/ssi/xilinx_spi.c index 7a9fd81..d44caae 100644 --- a/hw/ssi/xilinx_spi.c +++ b/hw/ssi/xilinx_spi.c @@ -73,8 +73,12 @@

[Qemu-devel] [PATCH qom-next for-1.6 0/2] nvram: QOM cast cleanups

2013-07-27 Thread Andreas Färber
Hello, This series eliminates FROM_SYSBUS() in hw/nvram/. Regards, Andreas Cc: Hu Tao Andreas Färber (2): ds1225y: Drop bogus qdev field from NvRamState ds1225y: QOM cast cleanup hw/nvram/ds1225y.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) -- 1.8.1.4

[Qemu-devel] [PATCH qom-next for-1.6 01/11] cadence_gem: QOM cast cleanup

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/net/cadence_gem.c | 26 +++--- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/hw/net/cadence_gem.c b/hw/net/cadence_gem.c index ac929cb..4a355bb 100644 --- a/hw/net/cadence_gem.c +++ b/hw/net/cadence_gem.c @@ -315,8 +315,12

[Qemu-devel] [PATCH qom-next for-1.6 2/3] pl022: QOM cast cleanup

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/ssi/pl022.c | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/hw/ssi/pl022.c b/hw/ssi/pl022.c index d33534e..fd479ef 100644 --- a/hw/ssi/pl022.c +++ b/hw/ssi/pl022.c @@ -39,8 +39,12 @@ do { fprintf(stderr, "pl022: error

[Qemu-devel] [PATCH qom-next for-1.6 1/3] pl022: Rename pl022_state to PL022State

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/ssi/pl022.c | 72 +- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/hw/ssi/pl022.c b/hw/ssi/pl022.c index 711a0c1..d33534e 100644 --- a/hw/ssi/pl022.c +++ b/hw/ssi/pl022.c @@ -39,7 +39,7

[Qemu-devel] [PATCH qom-next for-1.6 3/3] pl181: QOM cast cleanup

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/sd/pl181.c | 23 ++- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/hw/sd/pl181.c b/hw/sd/pl181.c index dc08595..03875bf 100644 --- a/hw/sd/pl181.c +++ b/hw/sd/pl181.c @@ -22,8 +22,12 @@ do { printf("pl181: " fmt , ## __VA_A

[Qemu-devel] [PATCH qom-next for-1.6 0/3] sd: QOM cast cleanups

2013-07-27 Thread Andreas Färber
Hello, This series eliminates FROM_SYSBUS() in hw/sd/. Regards, Andreas Cc: Hu Tao Andreas Färber (3): milkymist-memcard: QOM cast cleanup pl181: Rename pl181_state to PL181State pl181: QOM cast cleanup hw/sd/milkymist-memcard.c | 14 + hw/sd/pl181.c | 75 ++

[Qemu-devel] [PATCH qom-next for-1.6 2/3] pl181: Rename pl181_state to PL181State

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/sd/pl181.c | 56 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/hw/sd/pl181.c b/hw/sd/pl181.c index f5eb1e4..dc08595 100644 --- a/hw/sd/pl181.c +++ b/hw/sd/pl181.c @@ -22,7 +22,7 @@ do {

[Qemu-devel] [PATCH qom-next for-1.6 3/6] sun4m: QOM cast cleanup for PROMState

2013-07-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/sparc/sun4m.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/hw/sparc/sun4m.c b/hw/sparc/sun4m.c index e5c6881..b943a07 100644 --- a/hw/sparc/sun4m.c +++ b/hw/sparc/sun4m.c @@ -658,8 +658,12 @@ static const TypeInfo afx_info =

  1   2   >