Statistics
| Branch: | Revision:

root @ 7f64f8e2

# Date Author Comment
7f64f8e2 04/19/2012 05:15 pm Paolo Bonzini

scsi: force unit access on VERIFY

Also DMA data from the host, to avoid that the host reports an
underrun.

Signed-off-by: Paolo Bonzini <>

80624c93 04/19/2012 04:27 pm Paolo Bonzini

scsi: make code more homogeneous in AIO callback functions

First scsi_flush_complete, like scsi_dma_complete, is always called with
an active AIOCB.

Second, always test for "ret < 0" to check for errors.

Signed-off-by: Paolo Bonzini <>

b77912a7 04/19/2012 04:27 pm Paolo Bonzini

scsi: move scsi_flush_complete around

Signed-off-by: Paolo Bonzini <>

7e8c49c5 04/19/2012 04:27 pm Paolo Bonzini

scsi: add support for FUA on writes

To force unit access, add a flush operation after the actual write.
WRITE AND VERIFY commands always flush according to SBC, so do it
even though we do not perform the reread.

Signed-off-by: Paolo Bonzini <>

b8aba8d7 04/19/2012 04:27 pm Paolo Bonzini

scsi: add missing test for cancelled request

Signed-off-by: Paolo Bonzini <>

b7c8c35f 04/19/2012 11:31 am Paolo Bonzini

scsi: fix memory leak

scsibus_get_dev_path is leaking id if it is not NULL. Fix it.

Reported-by: Laszlo Ersek <>
Signed-off-by: Paolo Bonzini <>

fcf104a7 04/19/2012 11:31 am Paolo Bonzini

virtio-scsi: prepare migration format for multiqueue

In order to restore requests correctly from a multitude of virtqueues,
we need to store the id of the request queue that each request came
from.

Do this even for single-queue, by storing a hard-coded zero, to...

c80decdb 04/19/2012 11:31 am Paolo Bonzini

virtio: add virtio_queue_get_id

Serializing virtio-scsi requests needs a simple way to get from a
VirtQueue to the number of the queue. The virtio_queue_get_id
provides this.

Signed-off-by: Paolo Bonzini <>

d2ad7dd4 04/19/2012 11:31 am Paolo Bonzini

virtio-scsi: add multiqueue capability

Adding multiqueue is as simple as creating more than one virtqueues,
and saving the queue number for each request.

Signed-off-by: Paolo Bonzini <>

e6f5d0be 04/15/2012 10:56 pm Blue Swirl

Merge branch 'w64' of git://qemu.weilnetz.de/qemu

  • 'w64' of git://qemu.weilnetz.de/qemu:
    w64: Fix time conversion for some versions of MinGW-w64
    nbd: Fix compiler warning (w64)
    disas: Replace 'unsigned long' by 'uintptr_t'
    cpu-exec: Remove non-portable type cast and fix format string...
9444006f 04/15/2012 10:26 pm Andreas Färber

target-alpha: QOM'ify CPU init

Move code from cpu_alpha_init() into a CPU initializer.

Signed-off-by: Andreas Färber <>
Acked-by: Richard Henderson <>

25ebd80f 04/15/2012 10:26 pm Andreas Färber

target-alpha: QOM'ify CPU

Embed CPUAlphaState as first member of AlphaCPU.

Signed-off-by: Andreas Färber <>
Acked-by: Richard Henderson <>

b0b0f1c9 04/15/2012 10:25 pm Stefan Weil

disas: Replace 'unsigned long' by 'uintptr_t'

This is needed for w64. It changes nothing for other hosts.

Signed-off-by: Stefan Weil <>

0fee8f34 04/15/2012 10:25 pm Stefan Weil

nbd: Fix compiler warning (w64)

Portable printing of dev_offset (data type off_t) needs a type cast.

Signed-off-by: Stefan Weil <>

55dd9ffa 04/15/2012 10:25 pm Stefan Weil

w64: Fix time conversion for some versions of MinGW-w64

tb.time is a time value, but not necessarily of the same size as time_t:
while time_t is 64 bit for w64, tb.time still is 32 bit only.

Therefore we need en explicit conversion.

Signed-off-by: Stefan Weil <>

23ddbf08 04/15/2012 10:25 pm Stefan Weil

softmmu: Use uintptr_t for physaddr and rename it

Variable physaddr is a host address which should be represented by
data type 'uintptr_t'.

This is needed for w64 and changes nothing for other hosts.

v2:
Rename physaddr -> hostaddr (suggested by Blue Swirl)....

8efe0ca8 04/15/2012 10:25 pm Stefan Weil

w64: Use uintptr_t in exec.c

Replace all type casts to 'long' or 'unsigned long' by 'intptr_t' or 'uintptr_t'.

For type casts which are only used to extract the lower bits of an address
or to modify those bits, signedness does not matter. There I always use 'uintptr_t'....

b065927a 04/15/2012 10:25 pm Stefan Weil

w64: Fix data types in softmmu*.h

w64 requires uintptr_t.

Signed-off-by: Stefan Weil <>

58b9630d 04/15/2012 10:25 pm Stefan Weil

w64: Fix type cast in os_host_main_loop_wait

Casting a pointer to an integer must use (DWORD_PTR) instead of (DWORD).
This also matches the definition of 'fd' (gint for w32, gint64 for w64).

Signed-off-by: Stefan Weil <>

b69e48a8 04/15/2012 10:25 pm Stefan Weil

target-mips: Fix type cast for w64 (uintptr_t)

This changes nothing for other hosts.

Signed-off-by: Stefan Weil <>

3ba19255 04/15/2012 10:25 pm Stefan Weil

cpu-exec: Remove non-portable type cast and fix format string

This change is needed for w64, but also changes the code for other hosts.

Signed-off-by: Stefan Weil <>

27b0dc16 04/15/2012 10:25 pm Stefan Weil

w64: Fix type casts used in some macros in cpu-all.h

Instead of type casts to long, w64 needs type casts to intptr_t.
For other hosts, this changes nothing.

Signed-off-by: Stefan Weil <>

c6d50674 04/15/2012 10:25 pm Stefan Weil

w64: Fix data types in cpu-all.h, exec.c

w64 needs uintptr_t instead of unsigned long.
For other hosts, nothing changes.

Signed-off-by: Stefan Weil <>

6840981d 04/15/2012 10:25 pm Stefan Weil

w64: Use larger alignment for section with generated code

The MinGW-w64 compiler allows attribute((aligned (32)).

Signed-off-by: Stefan Weil <>

acf126ba 04/15/2012 10:25 pm Stefan Weil

w32: Move defines for socket specific errors to qemu-os-win32.h

As those defines are only used for w32,
they should be in the header file for w32.

All files which include slirp.h or qemu_socket.h also
include qemu-os-win32.h.

Signed-off-by: Stefan Weil <>

5cf6dd51 04/15/2012 10:25 pm Stefan Weil

w64: Fix definition of setjmp

The default definition of setjmp which is implemented in MinGW-w64
cannot be used with programs like QEMU which call longjmp from
code without structured exception handling (SEH).

This code therefore disables stack unwinding....

3b2992e4 04/15/2012 10:25 pm Stefan Weil

w64: Fix struct CPUTLBEntry

For w64, some entries need 'uintptr_t' instead of 'unsigned long'.

For other host systems, both data types are identical, so nothing changes.

Signed-off-by: Stefan Weil <>

c170cb66 04/15/2012 10:25 pm Stefan Weil

tcg/i386: Use GDB JIT debugging interface only for hosts with ELF

Not all i386 / x86_64 hosts use ELF.
Ask the compiler whether ELF is used.

On w64, gdb crashes when ELF_HOST_MACHINE is defined.

Cc: Blue Swirl <>
Acked-by: Richard Henderson <>...

8d918718 04/15/2012 10:25 pm Stefan Weil

tcg/i386: Add support for w64 ABI

w64 uses the registers rcx, rdx, r8 and r9 for function arguments,
so it needs a different declaration of tcg_target_call_iarg_regs.

rax, rcx, rdx, r8, r9, r10 and r11 may be changed by function calls.

rbx, rbp, rdi, rsi, r12, r13, r14 and r15 remain unchanged by function calls....

4d036516 04/15/2012 09:39 pm Blue Swirl

Merge branch 'ppc-for-upstream' of git://repo.or.cz/qemu/agraf

  • 'ppc-for-upstream' of git://repo.or.cz/qemu/agraf:
    pseries: Fix reset of VIO network device
    pseries: Reset vscsi properly
    pseries: Correctly use the device model reset hooks
    pseries: Remove old hcalls hook stub...
c17491b6 04/15/2012 09:07 pm David Gibson

pseries: Fix reset of VIO network device

Currently, the PAPR VIO network device does not have a reset handler. This
means that after a hard reset, H_REGISTER_LOGICAL_LAN will return an error
when the new guest boot attempts to initialize the device.

This patch corrects this, adding a suitable reset hook....

e2d9154d 04/15/2012 09:02 pm David Gibson

pseries: Remove old debug leftovers from spapr_vscsi

The PAPR VSCSI emulation contains a few lines of code which were once used
for debug but now do nothing at all. This patch removes them.

Signed-off-by: David Gibson <>
Signed-off-by: Andreas Färber <>

91067bf8 04/15/2012 09:02 pm David Gibson

pseries: Remove old hcalls hook stub

Some time ago we removed all use of the 'hcalls' callback in the pseries
VIO code, which was used to workaround an ordering problem which has since
been solved properly. However, the function pointer for the hook remains....

b1c7f725 04/15/2012 09:02 pm David Gibson

pseries: Correctly use the device model reset hooks

Recently we added code to properly clean away VIO CRQs on reset However,
this directly uses qemu_register, rather than the existing device model
reset callbacks. This patch cleans this up by adding proper use of the...

3cabba60 04/15/2012 09:02 pm David Gibson

pseries: Reset vscsi properly

Currently the PAPR vscsi implementation does not properly clear its table
of request tags when the system is reset. This patch adds a reset hook
to do so.

Signed-off-by: David Gibson <>
Signed-off-by: Andreas Färber <>

92615a5a 04/15/2012 09:02 pm David Gibson

pseries: Fix RTAS based config access

On the pseries platform, access to PCI config space is via RTAS calls(
which go to the hypervisor) rather than MMIO. This means we don't use
the same code path as nearly everyone else which goes through pci_host.c
and we're missing some of the parameter checking along the way....

b79b38e4 04/15/2012 08:43 pm Max Filippov

target-xtensa: add license to core-fsf.c

Signed-off-by: Max Filippov <>
Reviewed-by: Andreas Färber <>
Signed-off-by: Blue Swirl <>

fbaa9fb5 04/15/2012 08:43 pm Max Filippov

target-xtensa: add license to core-dc232b.c

Signed-off-by: Max Filippov <>
Reviewed-by: Andreas Färber <>
Signed-off-by: Blue Swirl <>

176ac95e 04/15/2012 08:43 pm Max Filippov

target-xtensa: add dc233c core

This is Diamond 233L Standard Core Rev.C (LE), implemented through
linux/gdb overlay.

Signed-off-by: Max Filippov <>
Reviewed-by: Andreas Färber <>
Signed-off-by: Blue Swirl <>

11ea4090 04/15/2012 07:54 pm Andreas Färber

linux-user: Fix exit syscall with QOM CPU

For QOM'ified CPUs we cannot g_free() CPUArchState, we must
object_delete() the object it is embedded into.

Fixes LP#982321 (invalid free() while executing pacman with qemu-arm).

Reported-by: Serge Schneider <>...

45e45ed2 04/15/2012 07:23 pm Juan Quintela

target-ppc/machine.c: Drop unnecessary ifdefs

machine.c is only compiled for softmmu targets, so checks for
!defined(CONFIG_USER_ONLY) are unnecessary and can be dropped.

Signed-off-by: Juan Quintela <>
[AF: Use more verbose commit message suggested by PMM]...

a5cabbda 04/15/2012 07:09 pm Meador Inge

target-ppc: Init dcache and icache size for e500 user mode

commit f7aa558396dd0f6b7a2b22c05cb503c655854102 pulled the dcache and icache
line size initialization inside of a '#if !defined(CONFIG_USER_ONLY)' block.
This is not correct because instructions like 'dcbz' need the dcache size...

5724753e 04/15/2012 06:33 pm Stefan Weil

target-ppc: Fix type casts for w64 (uintptr_t)

This changes nothing for other hosts.

Signed-off-by: Stefan Weil <>
Signed-off-by: Andreas Färber <>

a1389542 04/15/2012 06:12 pm Andreas Färber

target-ppc: QOM'ify CPU reset

Move code from cpu_state_reset() into ppc_cpu_reset().
Reorder #include of helper_regs.h to use it in translate_init.c.

Adjust whitespace and add braces.

Signed-off-by: Andreas Färber <>
Acked-by: David Gibson <>

6cca7ad6 04/15/2012 06:11 pm Andreas Färber

target-ppc: Start QOM'ifying CPU init

Move code not dependent on ppc_def_t from cpu_ppc_init() into an initfn.

Signed-off-by: Andreas Färber <>
Acked-by: David Gibson <>

1d0cb67d 04/15/2012 06:10 pm Andreas Färber

target-ppc: QOM'ify CPU

Embed CPUPPCState as first member of PowerPCCPU.
Distinguish between "powerpc-cpu", "powerpc64-cpu" and
"embedded-powerpc-cpu".

Let CPUClass::reset() call cpu_state_reset() for now.

Signed-off-by: Andreas Färber <>...

12b1143b 04/15/2012 06:09 pm David Gibson

target-ppc: Add hooks for handling tcg and kvm limitations

On target-ppc, our table of CPU types and features encodes the features as
found on the hardware, regardless of whether these features are actually
usable under TCG or KVM. We already have cases where the information from...

52d631dc 04/15/2012 06:07 pm Mark Cave-Ayland

PPC: Fix TLB invalidation bug within the PPC interrupt handler.

Commit 41557447d30eeb944e42069513df13585f5e6c7f also introduced a subtle TLB
flush bug. By applying a mask to the interrupt MSR which cleared the IR/DR
bits at the start of the interrupt handler, the logic towards the end of the...

d9599c92 04/15/2012 06:07 pm David Gibson

pseries: Clean up hcall_dprintf() debugging messages

The pseries machine code has a number of debug messages for debugging PAPR
hypercalls, dependent on DEBUG_SPAPR_HCALLS. This patch cleans these
messages up a bit, by adding func to the hcall_dprintf() macro and...

8e01f355 04/15/2012 06:07 pm David Gibson

pseries: Fix bug with reset of VIO CRQs

PAPR specifies a Command Response Queue (CRQ) mechanism used for virtual
IO, which we implement. However, we don't correctly clean up registered
CRQs when we reset the system.

This patch adds a reset handler to fix this bug. While we're at it, add...

c821a43c 04/15/2012 06:07 pm David Gibson

pseries: Implement RTAS system-reboot call

This patch adds the PAPR defined RTAS system-reboot call to the pseries
machine emulation, providing the guest with a way to trigger a reboot.

Signed-off-by: David Gibson <>
Signed-off-by: Andreas Färber <>

3b768df9 04/15/2012 06:07 pm David Gibson

pseries: Remove unused fields from VIOsPAPRBus structure

The VIOsPAPRBus structure, used on the pseries machine contains some old
fields which are no longer used anywhere. This patch removes them.

Signed-off-by: David Gibson <>...

5f2e2ba2 04/15/2012 06:07 pm David Gibson

pseries: Consolidate hack for RTAS display-character usage

Currently the pseries machine contains not one but two somewhat ugly hacks
to allow printing of early debug messages before the guest has properly
read the device tree.

First, we special case H_PUT_TERM_CHAR so that a vtermno of 0 (usually...

e2fbb432 04/15/2012 06:07 pm Andreas Färber

target-ppc: Drop cpu_ppc_close()

It is unused, so avoid QOM'ifying it unneededly.

Signed-off-by: Andreas Färber <>
Acked-by: David Gibson <>

da12872a 04/15/2012 07:56 am Hervé Poussineau

pcspk: initialize PC speaker if compiled in

PC speaker has been moved to target-independant code in 71093711589dafcb920dc3bc9bb811eaf8b14101,
so do not depend of target to include it or not.

Cc: malc <>
Cc: Blue Swirl <>...

2ad59607 04/14/2012 07:19 pm Paolo Bonzini

tests: remove .SECONDARY special target

The special target should not be needed anymore, and caused (perhaps
due to a Make bug) a failure with "make -j2". In any case, the
main makefile is a better place for such special targets rather
than an included makefile....

ec9fe93e 04/14/2012 06:25 pm Max Filippov

target-xtensa: add tests for LBEG/LEND invalidation

Signed-off-by: Max Filippov <>
Signed-off-by: Blue Swirl <>

ad4ccc93 04/14/2012 06:25 pm Max Filippov

target-xtensa: add test for IBREAK invalidation

Signed-off-by: Max Filippov <>
Signed-off-by: Blue Swirl <>

3d0be8a5 04/14/2012 06:25 pm Max Filippov

target-xtensa: fix tb invalidation for IBREAK and LOOP

Instruction breakpoint/zero overhead loop handling code is built into
TBs pointed to by IBREAKA/LEND SRs. When these or related SRs get
changed TBs at virtual addresses corresponding to their old and their...

1e7855a5 04/14/2012 06:25 pm Max Filippov

exec: provide tb_invalidate_phys_addr function

Allow TB invalidation by its physical address, extract implementation
from the breakpoint_invalidate function.

Signed-off-by: Max Filippov <>
Signed-off-by: Blue Swirl <>

20503968 04/14/2012 05:23 pm Blue Swirl

Use uintptr_t for various op related functions

Use uintptr_t instead of void * or unsigned long in
several op related functions, env->mem_io_pc and
GETPC macro.

Reviewed-by: Stefan Weil <>
Signed-off-by: Blue Swirl <>

d1b719e9 04/14/2012 01:59 pm Peter Maydell

coroutine-gthread.c: Avoid threading APIs deprecated in GLib 2.31

The GLib threading APIs were revamped in GLib 2.31 and a number
of the old interfaces were deprecated, which means they provoke
compilation warnings (errors if -Werror) now. Add support for the...

044c62aa 04/14/2012 01:56 pm Blue Swirl

Merge branch 'xtensa' of git://jcmvbkbc.spb.ru/dumb/qemu-xtensa

  • 'xtensa' of git://jcmvbkbc.spb.ru/dumb/qemu-xtensa:
    target-xtensa: Start QOM'ifying CPU init
    target-xtensa: QOM'ify CPU reset
    target-xtensa: QOM'ify CPU
    target-xtensa: improve unit tests debugging...
e92861cc 04/14/2012 01:55 pm Blue Swirl

Merge branch 'arm-devs.for-upstream' of git://git.linaro.org/people/pmaydell/qemu-arm

  • 'arm-devs.for-upstream' of git://git.linaro.org/people/pmaydell/qemu-arm:
    hw/arm_gic: Remove stray hardcoded tab
    hw/arm_gic: gic_set_pending_private() is NVIC only...
16c1deae 04/14/2012 02:48 am Lluís Vilanova

target-xtensa: Move helpers.h to helper.h

Provides a file naming scheme consistent with other targets.

Signed-off-by: Lluís Vilanova <>
Signed-off-by: Max Filippov <>

7d6b9f0a 04/14/2012 02:48 am Max Filippov

target-xtensa: improve unit tests debugging

- add testcase announcement;
- add global symbols for individual tests;
- add host-debug-* makefile target.

Signed-off-by: Max Filippov <>

a4633e16 04/14/2012 02:48 am Andreas Färber

target-xtensa: QOM'ify CPU

Embed CPUXtensaState as first member of XtensaCPU.
Let CPUClass::reset() call cpu_state_reset() for now.

Signed-off-by: Andreas Färber <>
Signed-off-by: Max Filippov <>

5087a72c 04/14/2012 02:48 am Andreas Färber

target-xtensa: QOM'ify CPU reset

Move code from cpu_state_reset() into QOM xtensa_cpu_reset().
To avoid moving reset_mmu() and dependencies, make it non-static.

Signed-off-by: Andreas Färber <>
Signed-off-by: Max Filippov <>

e554bbc6 04/14/2012 02:48 am Andreas Färber

target-xtensa: Start QOM'ifying CPU init

Move XtensaConfig-independent code from cpu_xtensa_init() into a
QOM initfn, as a start.

Signed-off-by: Andreas Färber <>
Signed-off-by: Max Filippov <>

7672725d 04/13/2012 04:04 pm Anthony Liguori

Merge remote-tracking branch 'stefanha/trivial-patches' into staging

  • stefanha/trivial-patches:
    configure: Insist on a Python 2, not Python 3
    bsd-user: fix compile failure
    ps2: avoid repeated header file includes
    make: Always set LC_ALL=C for makeinfo...
3cbe19b2 04/13/2012 04:04 pm Anthony Liguori

Merge remote-tracking branch 'qemu-kvm/uq/master' into staging

  • qemu-kvm/uq/master:
    kvmclock: guest stop notification
    kvm: update linux headers
    kvm: set gsi_bits and max_gsi correctly
    kvm: Drop unused kvm_pit_in_kernel
    kvm: allow arbitrarily sized mmio ioeventfd...
a602e489 04/13/2012 04:04 pm Anthony Liguori

Merge remote-tracking branch 'afaerber/qom-cpu-lm32.v3' into staging

  • afaerber/qom-cpu-lm32.v3:
    target-lm32: QOM'ify CPU reset
    target-lm32: QOM'ify CPU init
    target-lm32: QOM'ify CPU
2e9dfe20 04/13/2012 03:29 pm Peter Maydell

hw/arm11mpcore: Convert to using sysbus GIC device

Convert arm11mpcore to using the standalone sysbus GIC device.

Signed-off-by: Peter Maydell <>

aecff692 04/13/2012 03:29 pm Peter Maydell

hw/arm_gic: Make gic_reset a sysbus reset function

Make gic_reset a sysbus reset function, so we actually
reset the GIC on system reset rather than only at init.
For the NVIC this requires us also to implement reset
of the SysTick.

Signed-off-by: Peter Maydell <>

0d256bdc 04/13/2012 03:29 pm Peter Maydell

hw/arm_gic: Use NVIC instead of LEGACY_INCLUDED_GIC define

Now all the A profile cores have been switched to use the standalone
sysbus GIC, the only remaining code which #includes arm_gic.c is
the v7M NVIC. The coupling is much closer here so it's not so...

b7dc1a59 04/13/2012 03:29 pm Peter Maydell

hw/arm_gic: gic_set_pending_private() is NVIC only

The function gic_set_pending_private() is now used by the NVIC
only (for the GIC we now set PPI interrupts via gpio lines and
gic_set_irq()). So make it #ifdef NVIC and remove the 'attribute
unused' annotation....

c79981ce 04/13/2012 03:29 pm Peter Maydell

hw/arm_gic: Remove stray hardcoded tab

Remove the single instance of a hardcoded tab from hw/arm_gic.c.

Signed-off-by: Peter Maydell <>

4637a027 04/13/2012 03:29 pm Peter Maydell

hw/a15mpcore: switch to using sysbus GIC

Switch the a15mpcore private peripheral region to using
the standalone sysbus GIC device.

Signed-off-by: Peter Maydell <>

ddd76165 04/13/2012 03:29 pm Peter Maydell

hw/a9mpcore: Switch to using sysbus GIC

Switch the a9mpcore to using the sysbus GIC device rather
than having the a9mp private memory region device subclass
the GIC.

Signed-off-by: Peter Maydell <>

fbbd05dc 04/13/2012 03:29 pm Peter Maydell

hw/realview_gic: switch to sysbus GIC

Switch the realview_gic device to the standalone sysbus GIC.

Signed-off-by: Peter Maydell <>

23b92f60 04/13/2012 03:29 pm Peter Maydell

hw/exynos4210_gic: Convert to using sysbus GIC

Convert the Exynos GIC code to use the standalone sysbus
GIC device.

Signed-off-by: Peter Maydell <>
Reviewed-by: Evgeny Voevodin <>

386e2955 04/13/2012 02:39 pm Peter Maydell

hw/arm_gic: Move NCPU definition to arm_gic.c

Move the NCPU definition to arm_gic.c: the maximum number
of CPU interfaces is defined by the GIC architecture specification
to be 8, so we don't need to have this #define in each of the
sources files which currently includes arm_gic.c....

926c4aff 04/13/2012 02:39 pm Peter Maydell

hw/arm_gic: Move gic_get_current_cpu into arm_gic.c

Move the gic_get_current_cpu() function into arm_gic.c.
There are only two implementations: (1) "get the index
of the currently executing CPU", used by all multicore
GICs, and (2) "always 0", used by all GICs instantiated...

544d1afa 04/13/2012 02:39 pm Peter Maydell

hw/arm_gic: Expose PPI inputs as gpio inputs

Expose the Private Peripheral Interrupt inputs as GPIO inputs.
The layout of the GPIO array is thus:
[0..N-1] SPIs
[N..N+31] PPIs for CPU 0
[N+32..N+63] PPIs for CPU 1
...

Treating PPIs as being another kind of input line is in line with the...

496dbcd1 04/13/2012 02:39 pm Peter Maydell

hw/arm_gic: Make the GIC its own sysbus device

Compile arm_gic.c as a standalone C file to produce a self contained
sysbus GIC device. Support the legacy usage by #include of the .c file
by making those users #define LEGACY_INCLUDED_GIC, so we can convert...

b85f62d7 04/13/2012 02:39 pm Daniel P. Berrange

Fix bit test in Exynos4210 UART emulation to use & instead of &&

  • hw/exynos4210_uart.c: s/&&/&/

Signed-off-by: Daniel P. Berrange <>
Signed-off-by: Peter Maydell <>

3f088e36 04/13/2012 02:39 pm Evgeny Voevodin

ARM: Exynos4210: Drop gic_cpu_write() after initialization.

Remove gic_cpu_write() call after initialization that was emulating
functionality of earliest SOC bootloader which enables external
GIC CPU1 interface. Instead introduce Exynos4210-specific secondary...

5181b50f 04/13/2012 02:39 pm Evgeny Voevodin

hw/exynos4210_combiner.c: Drop excessive read/write access check.

Access to reserved area at offset higher than 0x3c is allowed in
External Combiner. Samsung Galaxy Kernel implements this. So, drop
excessive checks in read/write functions.

Signed-off-by: Evgeny Voevodin <>...

6ccea1e4 04/13/2012 12:01 pm Peter Maydell

configure: Insist on a Python 2, not Python 3

Our Python scripts require Python 2 and will fail on Python 3, eg:
File "/home/petmay01/linaro/qemu-from-laptop/qemu/scripts/qapi-commands.py", line 378
except getopt.GetoptError, err:
^...

d6ef40bf 04/13/2012 11:57 am Peter Maydell

bsd-user: fix compile failure

bsd-user doesn't actually support reserving a memory area for the
guest address space, but we need to at least define the reserved_va
global so that cpu-all.h's RESERVED_VA macro will work correctly.

This fixes a compilation error introduced in commit 39879bb...

bc8c6788 04/13/2012 01:01 am Jason Baron

kvm: set gsi_bits and max_gsi correctly

The current kvm_init_irq_routing() doesn't set up the used_gsi_bitmap
correctly, and as a consequence pins max_gsi to 32 when it really
should be 1024. I ran into this limitation while testing pci
passthrough, where I consistently got an -ENOSPC return from...

9ab2195d 04/13/2012 01:01 am Marcelo Tosatti

kvm: update linux headers

Signed-off-by: Marcelo Tosatti <>

f349c12c 04/13/2012 01:01 am Eric B Munson

kvmclock: guest stop notification

Often when a guest is stopped from the qemu console, it will report spurious
soft lockup warnings on resume. There are kernel patches being discussed that
will give the host the ability to tell the guest that it is being stopped and...

b3c09bde 04/13/2012 01:01 am Stefan Hajnoczi

kvm: add flightrecorder script

The kvm kernel module includes a number of trace events which can be
useful when debugging system behavior. Even on production systems these
trace events can be used to observe guest behavior and identify the
source of problems....

56b9ead2 04/13/2012 01:01 am Jan Kiszka

kvm: Drop redundant kvm_enabled from cpu_thread_is_idle

This is now implied by kvm_irqchip_in_kernel.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Avi Kivity <>

4b8f1c88 04/13/2012 01:01 am Michael S. Tsirkin

kvm: allow arbitrarily sized mmio ioeventfd

We use a 2 byte ioeventfd for virtio memory,
add support for this.

Signed-off-by: Michael S. Tsirkin <>
Reviewed-by: Amos Kong <>
Signed-off-by: Avi Kivity <>

c73b0097 04/13/2012 01:01 am Jan Kiszka

kvm: Drop unused kvm_pit_in_kernel

This is now implied by kvm_irqchip_in_kernel.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Marcelo Tosatti <>

fd65f595 04/12/2012 01:14 pm Wanpeng Li

ps2: avoid repeated header file includes

Signed-off-by: Wanpeng Li <>
Signed-off-by: Stefan Hajnoczi <>

952ef67c 04/12/2012 01:14 pm Stefan Weil

make: Always set LC_ALL=C for makeinfo

Otherwise the generated file qemu-doc.html will contain "Anhang"
instead of "Appendix" with a German locale (de_DE.UTF-8).

Signed-off-by: Stefan Weil <>
Signed-off-by: Stefan Hajnoczi <>

e172fe11 04/12/2012 11:51 am Stefan Weil

configure: Fix wrong preprocessor statement

#abort is not a preprocessor statement. It aborts, but the preprocessor
statement #error is more common to abort a compilation.

Signed-off-by: Stefan Weil <>
Signed-off-by: Stefan Hajnoczi <>