Statistics
| Branch: | Revision:

root @ d9840e25

# Date Author Comment
83f73fce 09/09/2013 10:17 pm Tomoki Sekiyama

configure: Support configuring C++ compiler

Add configuration for C++ compiler in configure and Makefiles.
The C++ compiler is choosed as following:
- ${CXX}, if it is specified.
- ${cross_prefix}g++, if ${cross_prefix} is specified.
- Otherwise, c++ is used....

6f88009e 09/09/2013 10:17 pm Tomoki Sekiyama

Add c++ keywords to QAPI helper script

Add c++ keywords to avoid errors in compiling with c++ compiler.
This also renames class member of PciDeviceInfo to q_class.

Signed-off-by: Tomoki Sekiyama <>
Reviewed-by: Laszlo Ersek <>...

69d5d21f 09/09/2013 10:17 pm Tomoki Sekiyama

checkpatch.pl: Check .cpp files

Enable checkpatch.pl to apply the same checks as C source files for
C++ files with .cpp extensions. It also adds some exceptions for C++
sources to suppress errors for:
- <> used in C++ template arguments (e.g. template <class T>)...

24482749 09/09/2013 10:17 pm Tomoki Sekiyama

Add a script to extract VSS SDK headers on POSIX system

VSS SDK setup.exe is only runnable on Windows. This adds a script
to extract VSS SDK headers on POSIX-systems using msitools.

From: Paolo Bonzini <>...

d9840e25 09/09/2013 10:17 pm Tomoki Sekiyama

qemu-ga: Add configure options to specify path to Windows/VSS SDK

To enable VSS support in qemu-ga for Windows, header files included in
VSS SDK are required.
The VSS support is enabled by the configure option like below:
./configure --with-vss-sdk="/path/to/VSS SDK"...

94c2b6af 09/09/2013 07:42 pm Paul Burton

mips_malta: support up to 2GiB RAM

A Malta board can support up to 2GiB of RAM. Since the unmapped kseg0/1
regions are only 512MiB large & the latter 256MiB of those are taken up
by the IO region, access to RAM beyond 256MiB must be done through a
mapped region. In the case of a Linux guest this means we need to use...

df713162 09/05/2013 09:38 pm Anthony Liguori

Merge remote-tracking branch 'bonzini/iommu-for-anthony' into staging

  1. By Jan Kiszka (2) and others
  2. Via Paolo Bonzini
    • bonzini/iommu-for-anthony:
      exec: do tcg_commit only when tcg_enabled
      Revert "memory: Return -1 again on reads from unsigned regions"...
2641689a 09/05/2013 07:11 pm liguang

exec: do tcg_commit only when tcg_enabled

Signed-off-by: liguang <>
Signed-off-by: Paolo Bonzini <>

68a7439a 09/05/2013 07:11 pm Jan Kiszka

Revert "memory: Return -1 again on reads from unsigned regions"

This reverts commit 9b8c69243585a32d14b9bb9fcd52c37b0b5a1b71.

The commit was wrong: We only return -1 on invalid accesses, not on
valid but unbacked ones. This broke various corner cases.

Cc: ...

3bb28b72 09/05/2013 07:11 pm Jan Kiszka

memory: Provide separate handling of unassigned io ports accesses

Accesses to unassigned io ports shall return -1 on read and be ignored
on write. Ensure these properties via dedicated ops, decoupling us from
the memory core's handling of unassigned accesses....

88266249 09/05/2013 07:11 pm Hu Tao

exec: check offset_within_address_space for register subpage

If offset_within_address_space falls in a page, then we register a
subpage. So check offset_within_address_space rather than
offset_within_region.

Cc:
Cc: Paolo Bonzini <>...

098178f2 09/05/2013 07:11 pm Paolo Bonzini

exec: fix writing to MMIO area with non-power-of-two length

The problem is introduced by commit 2332616 (exec: Support 64-bit
operations in address_space_rw, 2013-07-08). Before that commit,
memory_access_size would only return 1/2/4.

Since alignment is already handled above, reduce l to the largest...

863a8341 09/05/2013 05:40 pm Anthony Liguori

Update mailmap

This makes get_maintainers.pl behave a little better.

Reported-by: Peter Maydell <>
Signed-off-by: Anthony Liguori <>

aaa6a401 09/03/2013 08:33 pm Anthony Liguori

Merge remote-tracking branch 'afaerber/tags/qom-cpu-for-anthony' into staging

QOM CPUState refactorings / X86CPU

  • Conversion of global CPU list to QTAILQ - preparing for CPU hot-unplug
  • Document X86CPU magic numbers for CPUID cache info
  1. gpg: Signature made Tue 03 Sep 2013 10:59:22 AM CDT using RSA key ID 3E7E013F...
bb7d4d82 09/03/2013 08:32 pm Anthony Liguori

Merge remote-tracking branch 'kwolf/for-anthony' into staging

  1. By Max Reitz (11) and others
  2. Via Kevin Wolf
    • kwolf/for-anthony: (26 commits)
      qemu-iotests: Overlapping cluster allocations
      qcow2_check: Mark image consistent
      qcow2-refcount: Repair shared refcount blocks...
5a93d5c2 09/03/2013 08:31 pm Anthony Liguori

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

  1. By Stefan Weil (6) and others
  2. Via Michael Tokarev
    • mjt/trivial-patches:
      aio / timers: use g_usleep() not sleep()
      adlib: sort offsets in portio registration
      qmp: fix integer usage in examples...
9ea0f58f 09/03/2013 08:31 pm Anthony Liguori

Merge remote-tracking branch 'kraxel/usb.88' into staging

  1. By Gerd Hoffmann (10) and Marcel Apfelbaum (1)
  2. Via Gerd Hoffmann
    • kraxel/usb.88:
      usb/dev-hid: Modified usb-tablet category from Misc to Input
      Revert "usb-hub: report status changes only once"...
9889e04a 09/03/2013 08:31 pm Anthony Liguori

Merge remote-tracking branch 'mst/tags/for_anthony' into staging

pc,pci,virtio fixes and cleanups

This includes pc and pci cleanups and enhancements,
and a virtio bugfix for level interrupts.

Signed-off-by: Michael S. Tsirkin <>

  1. gpg: Signature made Sun 01 Sep 2013 03:15:36 AM CDT using RSA key ID D28D5469...
5cff81f0 09/03/2013 08:30 pm Anthony Liguori

Merge remote-tracking branch 'afaerber/tags/qom-devices-for-anthony' into staging

QOM device refactorings

  • Fix QOM and ISA documentation errors
  • Extend object_initialize() et al. to check the instance size
  1. gpg: Signature made Fri 30 Aug 2013 02:19:48 PM CDT using RSA key ID 3E7E013F...
5e891bf8 09/03/2013 01:25 pm Eduardo Habkost

target-i386: Use #defines instead of magic numbers for CPUID cache info

This is an attempt to make the CPUID cache topology code clearer, by
replacing the magic numbers in the code with #defines, and moving all
the cache information to the same place in the file....

bdc44640 09/03/2013 01:25 pm Andreas Färber

cpu: Use QTAILQ for CPU list

Introduce CPU_FOREACH(), CPU_FOREACH_SAFE() and CPU_NEXT() shorthand
macros.

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

38fcbd3f 09/03/2013 01:25 pm Andreas Färber

cpu: Replace qemu_for_each_cpu()

It was introduced to loop over CPUs from target-independent code, but
since commit 182735efaf956ccab50b6d74a4fed163e0f35660 target-independent
CPUState is used.

A loop can be considered more efficient than function calls in a loop,...

27013bf2 09/03/2013 12:30 pm Andreas Färber

a15mpcore: Use qemu_get_cpu() for generic timers

This simplifies the loop and aids with refactoring of CPU list.

Requested-by: Peter Maydell <>
Signed-off-by: Andreas Färber <>

545825d4 09/03/2013 02:35 am Aurelien Jarno

Merge branch 'tcg-next' of git://github.com/rth7680/qemu

  • 'tcg-next' of git://github.com/rth7680/qemu: (29 commits)
    tcg-i386: Make use of zero-extended memory helper routines
    tcg: Introduce zero and sign-extended versions of load helpers
    exec: Split softmmu_defs.h...
32f3bd6d 09/03/2013 02:35 am Aurelien Jarno

Merge branch 'ppc-for-upstream' of git://github.com/agraf/qemu

  • 'ppc-for-upstream' of git://github.com/agraf/qemu:
    PPC: spapr: iommu: rework traces
    spapr: add "stop-self" RTAS call required to support hot CPU unplug
    PPC: KVM: Compile fix for qemu_notify_event...
988902fc 09/03/2013 02:34 am Aurelien Jarno

tcg/mips: detect available host instructions at runtime

Now that TCG supports enabling and disabling ops at runtime, it's
possible to detect the available host instructions at runtime, and
enable the corresponding ops accordingly.

Unfortunately it's not easy to probe for available instructions on...

df81ff51 09/03/2013 02:34 am Aurelien Jarno

tcg/mips: inline bswap16/bswap32 ops

Use an inline version for the bswap16 and bswap32 ops to avoid
testing for MIPS32R2 instructions availability, as these ops are
only available in that case.

Reviewed-by: Richard Henderson <>
Signed-off-by: Aurelien Jarno <>

3207bf25 09/03/2013 02:34 am Aurelien Jarno

tcg/mips: only enable ext8s/ext16s ops on MIPS32R2

On MIPS ext8s and ext16s ops are implemented with a dedicated
instruction only on MIPS32R2, otherwise the same kind of implementation
than at TCG level (shift left followed by shift right) is used.

Change that by only implementing the ext8s and ext16s ops on MIPS32R2 so...

c8f94df5 09/02/2013 07:08 pm Richard Henderson

tcg: Introduce zero and sign-extended versions of load helpers

Reviewed-by: Aurelien Jarno <>
Signed-off-by: Richard Henderson <>

6fb58745 09/02/2013 07:08 pm Richard Henderson

tcg-i386: Make use of zero-extended memory helper routines

For 8 and 16-bit unsigned loads, rely on the zero-extension
from the helper and use a smaller 32-bit move insn.

Reviewed-by: Aurelien Jarno <>
Signed-off-by: Richard Henderson <>

8cfd0495 09/02/2013 07:08 pm Richard Henderson

tcg: Change tcg_gen_exit_tb argument to uintptr_t

And update all users.

Reviewed-by: Aurelien Jarno <>
Signed-off-by: Richard Henderson <>

a05b5b9b 09/02/2013 07:08 pm Richard Henderson

tcg: Change tcg_out_ld/st offset to intptr_t

Reviewed-by: Aurelien Jarno <>
Signed-off-by: Richard Henderson <>

d3452f1f 09/02/2013 07:08 pm Richard Henderson

tcg: Use appropriate types in tcg_reg_alloc_call

Reviewed-by: Aurelien Jarno <>
Signed-off-by: Richard Henderson <>

edee2579 09/02/2013 07:08 pm Richard Henderson

tcg: Fix jit debug for x32

Reviewed-by: Aurelien Jarno <>
Signed-off-by: Richard Henderson <>

357e3d8a 09/02/2013 07:08 pm Richard Henderson

tcg-i386: Use intptr_t appropriately

Reviewed-by: Aurelien Jarno <>
Signed-off-by: Richard Henderson <>

d5dad3be 09/02/2013 07:08 pm Richard Henderson

tcg-i386: Adjust tcg_out_tlb_load for x32

Reviewed-by: Aurelien Jarno <>
Signed-off-by: Richard Henderson <>

c72b26ec 09/02/2013 07:08 pm Richard Henderson

configure: Allow x32 as a host

Reviewed-by: Aurelien Jarno <>
Signed-off-by: Richard Henderson <>

0f842f8a 09/02/2013 07:08 pm Richard Henderson

exec: Reorganize the GETRA/GETPC macros

Always define GETRA; use __builtin_extract_return_addr, rather than
having a special case for s390. Split GETPC_ADJ out of GETPC; use 2
universally, rather than having a special case for arm.

Rename GETPC_LDST to GETRA_LDST to indicate that it does not...

5bcebc25 09/02/2013 07:08 pm Richard Henderson

tcg-i386: Don't perform GETPC adjustment in TCG code

Since we now perform it inside the helper, no need to do it here.
This also lets us perform a tail-call from the store slow path to
the helper.

Reviewed-by: Aurelien Jarno <>
Signed-off-by: Richard Henderson <>

701e3a5c 09/02/2013 07:08 pm Richard Henderson

exec: Rename USUFFIX to LSUFFIX

In a following patch, there will be confusion between multiple "unsigned"
suffixes; rename this one so as to imply "load".

Reviewed-by: Aurelien Jarno <>
Signed-off-by: Richard Henderson <>

b1669e5e 09/02/2013 07:08 pm Richard Henderson

target: Include softmmu_exec.h where forgotten

Several targets forgot to include softmmu_exec.h, which would
break them with a header cleanup to follow.

Reviewed-by: Aurelien Jarno <>
Signed-off-by: Richard Henderson <>

e58eb534 09/02/2013 07:08 pm Richard Henderson

exec: Split softmmu_defs.h

The _cmmu helpers can be moved to exec-all.h. The helpers that are
used from TCG will shortly need access to tcg_target_long so move
their declarations into tcg.h.

This requires minor include adjustments to all TCG backends.
...

03271524 09/02/2013 07:08 pm Richard Henderson

tcg: Add muluh and mulsh opcodes

Use them in places where mulu2 and muls2 are used.
Optimize mulx2 with dead low part to mulxh.

Reviewed-by: Aurelien Jarno <>
Signed-off-by: Richard Henderson <>

3c9a8f17 09/02/2013 07:08 pm Richard Henderson

tcg-mips: Implement mulsh, muluh

With the optimization in tcg_liveness_analysis,
we can avoid the MFLO when it is unused.

Reviewed-by: Aurelien Jarno <>
Signed-off-by: Richard Henderson <>

32f5717f 09/02/2013 07:08 pm Richard Henderson

tcg-ppc64: Implement muluh, mulsh

Using these instead of mulu2 and muls2 lets us avoid having to argument
overlap analysis in the backend. Normal register allocation will DTRT.

Reviewed-by: Aurelien Jarno <>
Signed-off-by: Richard Henderson <>

01547f7f 09/02/2013 07:08 pm Richard Henderson

tcg: Constant fold div, rem

Reviewed-by: Aurelien Jarno <>
Signed-off-by: Richard Henderson <>

35aa3fb3 09/02/2013 07:08 pm Richard Henderson

qtest: Fix FMT_timeval vs time_t

Since FMT_timeval unconditionally uses %ld for both tv_sec and tv_usec,
and already casts tv_usec to long, also cast tv_sec to long.

Cc: Andreas Färber <>
Reviewed-by: Aurelien Jarno <>...

b93949ef 09/02/2013 07:08 pm Richard Henderson

tcg: Change flush_icache_range arguments to uintptr_t

Reviewed-by: Aurelien Jarno <>
Signed-off-by: Richard Henderson <>

04d5a1da 09/02/2013 07:08 pm Richard Henderson

tcg: Change tcg_qemu_tb_exec return to uintptr_t

Reviewed-by: Aurelien Jarno <>
Signed-off-by: Richard Henderson <>

3e9bd63a 09/02/2013 07:08 pm Richard Henderson

tcg: Fix next_tb type in cpu_exec

Reviewed-by: Aurelien Jarno <>
Signed-off-by: Richard Henderson <>

78cd7b83 09/02/2013 07:08 pm Richard Henderson

tcg: Allow TCG_TARGET_REG_BITS to be specified independantly

There are several hosts for which it would be useful to use the
available 64-bit registers in a 32-bit pointer environment.

Reviewed-by: Aurelien Jarno <>
Signed-off-by: Richard Henderson <>

d289837e 09/02/2013 07:08 pm Richard Henderson

tcg: Define TCG_TYPE_PTR properly

Reviewed-by: Aurelien Jarno <>
Signed-off-by: Richard Henderson <>

8b73d49f 09/02/2013 07:08 pm Richard Henderson

tcg: Define TCG_ptr properly

Reviewed-by: Aurelien Jarno <>
Signed-off-by: Richard Henderson <>

e2c6d1b4 09/02/2013 07:08 pm Richard Henderson

tcg: Change frame pointer offsets to intptr_t

Reviewed-by: Aurelien Jarno <>
Signed-off-by: Richard Henderson <>

2f2f244d 09/02/2013 07:08 pm Richard Henderson

tcg: Change memory offsets to intptr_t

Reviewed-by: Aurelien Jarno <>
Signed-off-by: Richard Henderson <>

2ba7fae2 09/02/2013 07:08 pm Richard Henderson

tcg: Change relocation offsets to intptr_t

Reviewed-by: Aurelien Jarno <>
Signed-off-by: Richard Henderson <>

48bc6bab 09/02/2013 07:08 pm Richard Henderson

tcg: Use uintptr_t in TCGHelperInfo

Reviewed-by: Aurelien Jarno <>
Signed-off-by: Richard Henderson <>

c96c41ed 09/02/2013 12:06 pm Gerd Hoffmann

usb: parallelize usb3 streams

usb3 bulk endpoints with streams are implicitly pipelined now,
so the requests will actually be processed in parallel. Also
allow them to complete out-of-order.

Fixes stalls in the uas driver.

Cc:
Signed-off-by: Gerd Hoffmann <>

b8cbc137 09/02/2013 12:06 pm Gerd Hoffmann

usb-hub: add tracepoint for status reports

Signed-off-by: Gerd Hoffmann <>

bdebd6ee 09/02/2013 12:06 pm Gerd Hoffmann

Revert "usb-hub: report status changes only once"

This reverts commit a309ee6e0a256f690760abfba44fceaa52a7c2f3.

This isn't in line with the usb specification and adds regressions,
win7 fails to drive the usb hub for example.

Was added because it "solved" the issue of hubs interacting badly...

31efd2e8 09/02/2013 12:06 pm Marcel Apfelbaum

usb/dev-hid: Modified usb-tablet category from Misc to Input

usb-tablet device was wrongly assigned to Misc category

Reported-by: Markus Armbruster <>
Cc:
Signed-off-by: Marcel Apfelbaum <>
Reviewed-by: Andreas Färber <>...

52190422 09/02/2013 12:06 pm Gerd Hoffmann

xhci: remove leftover debug printf

Signed-off-by: Gerd Hoffmann <>

1c82392a 09/02/2013 12:06 pm Gerd Hoffmann

xhci: add tracepoint for endpoint state changes

Signed-off-by: Gerd Hoffmann <>

65d81ed4 09/02/2013 12:06 pm Gerd Hoffmann

xhci: add port to slot_address tracepoint

Signed-off-by: Gerd Hoffmann <>

ca716278 09/02/2013 12:06 pm Gerd Hoffmann

xhci: fix endpoint interval calculation

Cc:
Signed-off-by: Gerd Hoffmann <>

4d7a81c0 09/02/2013 12:06 pm Gerd Hoffmann

xhci: emulate intr endpoint intervals correctly

Respect the interval for interrupt endpoints, so we don't finish
transfers as fast as possible but at the rate configured by the guest.

Fixes guest deadlocks triggered by interrupt storms.

Cc:
Signed-off-by: Gerd Hoffmann <>

5c67dd7b 09/02/2013 12:06 pm Gerd Hoffmann

xhci: reset port when disabling slot

Cc:
Signed-off-by: Gerd Hoffmann <>

1556a8fc 09/02/2013 12:06 pm Gerd Hoffmann

uas: add property for request logging

Signed-off-by: Gerd Hoffmann <>

24530f3e 09/02/2013 11:15 am Max Reitz

qcow2_check: Mark image consistent

If no corruptions remain after an image repair (and no errors have been
encountered), clear the corrupt flag in qcow2_check.

Signed-off-by: Max Reitz <>
Signed-off-by: Kevin Wolf <>

ca0eca91 09/02/2013 11:15 am Max Reitz

qemu-iotests: Overlapping cluster allocations

A new test on corrupted images with overlapping cluster allocations.

Signed-off-by: Max Reitz <>
Signed-off-by: Kevin Wolf <>

afa50193 09/02/2013 11:06 am Max Reitz

qcow2-refcount: Repair shared refcount blocks

If the refcount of a refcount block is greater than one, we can at least
try to repair that problem by duplicating the affected block.

Signed-off-by: Max Reitz <>
Signed-off-by: Kevin Wolf <>

7e472264 09/02/2013 11:06 am Alexey Kardashevskiy

PPC: spapr: iommu: rework traces

This converts old style fprintf to traces.

Signed-off-by: Alexey Kardashevskiy <>
[agraf: change patch subject]
Signed-off-by: Alexander Graf <>

779f6590 09/02/2013 11:06 am Aurelien Jarno

target-ppc: fix bit extraction for FPBF and FPL

Bit extraction for the FP BF and L field of the MTFSFI and MTFSF
instructions is wrong and doesn't match the reference manual (which
explain the bit number in big endian format). It has been broken in
commit 7d08d85645def18eac2a9d672c1868a35e0bcf79....

5dac82ce 09/02/2013 11:06 am Alexey Kardashevskiy

spapr-pci: fix config space access to support bridges

spapr-pci config space accessors use find_dev() to find a PCI device.
However find_dev() only searched on a primary bus and did not do
recursive search through secondary buses so config space access was not...

a3cedb54 09/02/2013 11:06 am Aneesh Kumar K.V

target-ppc: Use #define instead of opencoding SLB valid bit

Use SLB_ESID_V instead of (1 << 27) in the code

Reviewed-by: Andreas Färber <>
Signed-off-by: Aneesh Kumar K.V <>
Signed-off-by: Alexander Graf <>

f1c2dc7c 09/02/2013 11:06 am Alexey Kardashevskiy

spapr-pci: rework MSI/MSIX

On the sPAPR platform a guest allocates MSI/MSIX vectors via RTAS
hypercalls which return global IRQ numbers to a guest so it only
operates with those and never touches MSIMessage.

Therefore MSIMessage handling is completely hidden in QEMU....

33a0e5d8 09/02/2013 11:06 am Alexey Kardashevskiy

xics: move registration of global state to realize()

Registration of global state belongs into realize so move it there.

Signed-off-by: Alexey Kardashevskiy <>
Reviewed-by: Andreas Färber <>
Signed-off-by: Alexander Graf <>

42561bf2 09/02/2013 11:06 am Anton Blanchard

pseries: Add H_SET_MODE hcall to change guest exception endianness

H_SET_MODE is used for controlling various partition settings. One
of these settings is the endianness a guest takes its exceptions in.

Signed-off-by: Anton Blanchard <>
[agraf: fix whitespace]...

7bb438b6 09/02/2013 11:06 am Alexander Graf

PPC: KVM: Compile fix for qemu_notify_event

The function qemu_notify_event is defined by a header that we don't
include in the PPC KVM code. Include it to get the code building
again.

target-ppc/kvm_ppc.c: In function 'kvmppc_timer_hack':
target-ppc/kvm_ppc.c:26:5: error: implicit declaration of function 'qemu_notify_event' [-Werror=implicit-function-declaration]...
59760f2d 09/02/2013 11:06 am Alexey Kardashevskiy

spapr: add "stop-self" RTAS call required to support hot CPU unplug

PAPR+ requires two RTAS calls to be supported by the hypervisor in
order to allow hotplugging VCPUs from the guest. The "start-cpu" RTAS
call was already there but "stop-self" was not.

This adds the "stop-self" RTAS call....

7770b6f7 09/02/2013 11:06 am Anton Blanchard

pseries: Fix stalls on hypervisor virtual console

A number of users are reporting stalls when using the pseries
hypervisor virtual console.

A simple test case is to paste 15 or 17 characters at a time
into the console. Pasting 15 characters at a time works fine...

1e0c7e55 09/02/2013 11:06 am Anton Blanchard

target-ppc: USE LPCR_ILE to control exception endian on POWER7

On POWER7, LPCR_ILE is used to control what endian guests take
their exceptions in so use it instead of MSR_ILE.

Signed-off-by: Anton Blanchard <>
Reviewed-by: Anthony Liguori <>...

bb429d22 09/02/2013 11:06 am Anton Blanchard

target-ppc: POWER7 supports the MSR_LE bit

Add MSR_LE to the msr_mask for POWER7.

Signed-off-by: Anton Blanchard <>
Reviewed-by: Anthony Liguori <>
Signed-off-by: Alexander Graf <>

95f5b6e3 09/02/2013 11:06 am Anton Blanchard

disas/ppc.c: Fix little endian disassembly

Use info->endian to select the endian of the instruction to
be disassembled.

Signed-off-by: Anton Blanchard <>
Reviewed-by: Anthony Liguori <>
Signed-off-by: Alexander Graf <>

daf285b6 09/02/2013 11:06 am Efimov Vasily

ppc: virtex_ml507: QEMU_OPTION_dtb support for this machine.

QEMU has 'dtb' option for specifing the device tree file for the kernel.
The patch adds support for this option to the 'virtex_ml507' machine
implementation.

Signed-off-by: Efimov Vasily <>...

bf2ed917 09/02/2013 11:06 am Andreas Färber

ppc405_boards: Disable debug output

Also move one stray debug output into an #ifdef.

Signed-off-by: Andreas Färber <>
Signed-off-by: Alexander Graf <>

0d84382e 09/02/2013 11:06 am Andreas Färber

ppc405_uc: Disable debug output

Signed-off-by: Andreas Färber <>
Signed-off-by: Alexander Graf <>

ad9990ac 09/02/2013 11:06 am Andreas Färber

ppc405_boards: Don't enforce presence of firmware for qtest

Adopt error_report() while at it.

Signed-off-by: Andreas Färber <>
Signed-off-by: Alexander Graf <>

28290f37 09/02/2013 11:06 am Alexander Graf

PPC: E500: Generate device tree on reset

Today we generate the device tree once on machine initialization and then
store the finalized blob in memory to reload it on reset.

This is bad for 2 reasons. First we potentially waste a bunch of RAM for no
good reason, as we have all information required to regenerate the device...

fcdda211 09/01/2013 07:02 pm Alex Bligh

aio / timers: use g_usleep() not sleep()

sleep() apparently doesn't exist under mingw. Use g_usleep for
portability.

Signed-off-by: Alex Bligh <>
Reviewed-by: Stefan Weil <>
Signed-off-by: Michael Tokarev <>

2b21fb57 09/01/2013 06:59 pm Hervé Poussineau

adlib: sort offsets in portio registration

This fixes the following assert when -device adlib is used:
ioport.c:240: portio_list_add: Assertion `pio->offset >= off_last' failed.

Signed-off-by: Hervé Poussineau <>
Signed-off-by: Michael Tokarev <>

586b5466 09/01/2013 06:46 pm Eric Blake

qmp: fix integer usage in examples

Per the qapi schema, block_set_io_throttle takes most arguments
as ints, not strings.

  • qmp-commands.hx (block_set_io_throttle): Use correct type. Fix
    whitespace and a copy-paste bug in the process.

Signed-off-by: Eric Blake <>...

a32b1274 09/01/2013 06:36 pm Stefan Weil

tci: Remove function tcg_out64 (fix broken build)

Commit ac26eb69a311396668809eadbf7ff4e623447d4c added tcg_out64 to tcg/tcg.c.
tcg/tci/tcg-target.c already had a nearly identical implementation which is
now removed to fix a compiler error.

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

e0c270d9 09/01/2013 06:34 pm Stefan Weil

target-arm: Report unimplemented opcodes (LOG_UNIMP)

These unimplemented opcodes are handled like illegal opcodes, but
they are used in existing code. We should at least report when they
are executed.

Signed-off-by: Stefan Weil <>
Reviewed-by: Peter Maydell <>...

56f99ea1 09/01/2013 06:32 pm Antony Pavlov

pflash_cfi02.c: fix debug macro

If PFLASH_DEBUG is enabled then we have some build errors:

hw/block/pflash_cfi02.c: In function ‘pflash_timer’:
hw/block/pflash_cfi02.c:128:5: error: expected ‘)’ before string constant
hw/block/pflash_cfi02.c:128:5: error: too few arguments to function ‘fprintf’...

65d5d3f9 09/01/2013 06:26 pm Stefan Weil

configure: Remove unneeded redirections of stderr (pkg-config --exists)

Predicate options (--exists, --atleast-version, ...) of pkg-config dont't
print error messages to stderr, so redirecting stderr is not necessary.

Combining a predicate option with --modversion is not necessary for tests....

ca871ec8 09/01/2013 06:26 pm Stefan Weil

configure: Remove unneeded redirections of stderr (pkg-config --cflags, --libs)

For existing libraries, pkg-config --cflags and pkg-config --libs won't
print error messages to stderr, so redirecting stderr is not necessary.

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

1d984a67 09/01/2013 06:14 pm Stefan Weil

configure: Don't write .pyc files by default (python -B)

When a Python script is run, Python normally writes bytecode into a .pyc file.
QEMU's build process uses several Python scripts which are called from
configure or make.

The generated .pyc files take disk space without being of much use, because...

5b21a2ae 09/01/2013 06:11 pm Stefan Hajnoczi

curl: qemu_bh_new() can never return NULL

Drop error code path which cannot be taken since qemu_bh_new() does not
return NULL.

Signed-off-by: Stefan Hajnoczi <>
Reviewed-by: Paolo Bonzini <>
Signed-off-by: Michael Tokarev <>

ed6bc28e 09/01/2013 06:09 pm Peter Maydell

slirp/arp_table.c: Avoid shifting into sign bit of signed integers

"0xf << 28" shifts right into the sign bit, since 0xf is a signed
integer. Use the 'U' suffix to force an unsigned shift to avoid
this undefined behaviour and a clang sanitizer warning.

Signed-off-by: Peter Maydell <>...