Statistics
| Branch: | Revision:

root @ de7890db

# Date Author Comment
80cd3478 03/08/2010 07:30 pm Luiz Capitulino

QMP: Introduce RTC_CHANGE event

Emitted whenever the RTC time changes.

Signed-off-by: Luiz Capitulino <>
Signed-off-by: Anthony Liguori <>

cf602c7b 03/08/2010 07:30 pm Izik Eidus

adding helper pci functions

Signed-off-by: Izik Eidus <>
Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>

de7890db 03/08/2010 07:30 pm Gerd Hoffmann

move x509 file name defines to qemu-x509.h

Want share them with vnc and spice.

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>

0ee44250 03/08/2010 07:30 pm Luiz Capitulino

QMP: Move RESET event into qemu_system_reset()

Nothing will change as that function is currently only called by
the main loop code, but it's the right place for the RESET event,
as it's where the reset is actually performed.

Signed-off-by: Luiz Capitulino <>...

51a3bd71 03/08/2010 07:30 pm Luiz Capitulino

QMP: Drop DEBUG event

This event has been introduced in the first round of QMP commits,
turns out that it's based on the usage of the EXCP_DEBUG macro,
which has discussable semantics when exposed through QMP.

As libvirt doesn't use this, let's just drop it....

d74c7dfd 03/08/2010 07:30 pm Luiz Capitulino

QMP: Revamp the qmp-events.txt file

Now we can say it's useful, the following changes have been made:

- Put events in alphabetical order
- Add examples to all events
- Document all 'data' members
- Small corrections and cleanups

Signed-off-by: Luiz Capitulino <>...

554a310b 03/08/2010 07:30 pm Luiz Capitulino

block: Emit BLOCK_IO_ERROR before vm_stop() call

The next commit will move the STOP event into do_vm_stop(), to
have the expected event sequence we need to emit the I/O error
event before calling vm_stop().

The expected sequence is:

{ "event": "BLOCK_IO_ERROR" [...] }...

6b8f8fff 03/08/2010 07:30 pm Luiz Capitulino

QMP: Move STOP event into do_vm_stop()

I've introduced the STOP event in the main loop, this is wrong
as it will be only emitted if the io thread is enabled.

This fixes that by moving the STOP event to do_vm_stop().

Signed-off-by: Luiz Capitulino <>...

93d67ee6 03/08/2010 07:29 pm Adam Litke

Fix hanging user monitor when using balloon command

This patch application failed. My patch adds a cb() call in
do_balloon(), but the change in git has added the cb() call to
do_info_balloon(). That is causing qemu segfaults. Applying the
following should correct the damage. Thanks....

4e75b342 03/08/2010 06:59 pm Anthony Liguori

sdl: improve grab exiting instructions

It might not be obvious what "grab" is.

Reported-by: Ingo Molnar <>
Signed-off-by: Anthony Liguori <>

921e169d 03/08/2010 01:31 pm Aurelien Jarno

ppc: don't define bamboo-0.13 as the default machine

It has been broken by commit 977b6b91cee1132f8c7b12d22f4b273091598e44.

Signed-off-by: Aurelien Jarno <>

70539e18 03/07/2010 05:48 pm Blue Swirl

Update to a hopefully more future proof FSF address

See also 8167ee883931cb20c6264fc19d040ce2dc6ceaaa,
530e7615ce3c01882e582c84dc6304ab98a3d5c5 and
fad6cb1a565bb73f83fc0e2654489457b489e436.

Signed-off-by: Blue Swirl <>

bef75aa5 03/07/2010 03:56 pm Blue Swirl

i386-dis: remove dead assignments, spotted by clang

Value stored to 'mask' is never read.

Signed-off-by: Blue Swirl <>

ed086f3d 03/07/2010 03:49 pm Blue Swirl

softfloat: remove dead assignments, spotted by clang

Value stored to 'bSign' is never read.

Signed-off-by: Blue Swirl <>

7071ff32 03/07/2010 03:45 pm Blue Swirl

slirp: remove dead initialization, spotted by clang

Value stored during initialization is never read.

Signed-off-by: Blue Swirl <>

b0e04867 03/07/2010 03:45 pm Blue Swirl

slirp: remove dead nested assignment, spotted by clang

Although the value stored to 'r' is used in the enclosing expression,
the value is never actually read from 'r'.

Signed-off-by: Blue Swirl <>

369c86e7 03/07/2010 03:45 pm Blue Swirl

slirp: remove dead increments, spotted by clang

Value stored is never read.

Signed-off-by: Blue Swirl <>

aca9fcd2 03/07/2010 03:13 pm Blue Swirl

slirp: remove dead assignments, spotted by clang

Value stored is never read.

Signed-off-by: Blue Swirl <>

a990f58f 03/07/2010 12:22 am Adam Lackorzynski

target-arm: Fix missing 'return' in SRS handling.

There's a return missing in the srs handling which leads to srs always being
treated an an invalid op.

Signed-off-by: Adam Lackorzynski <>
Signed-off-by: Aurelien Jarno <>

44bb61c8 03/07/2010 12:15 am Samuel Thibault

Fix curses interaction with keymaps

The combination of keymap support (-k option) and curses is currently
very broken. The patch below fixes it by first extending keymap support
to interpret the shift, ctrl, altgr and addupper keywords in keymaps,
and to fix curses into properly using keymaps....

9d0706e4 03/07/2010 12:09 am Paolo Bonzini

use absolute URLs for .gitmodules

The relative URLs do not work when cloning a fork of qemu or when
cloning from the Savannah URL.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Aurelien Jarno <>

01668d98 03/07/2010 12:07 am Stefan Weil

Documentation: Modify rule for html output (better looking output format)

To create html output from texi input, texi2html was used.
Output from makeinfo looks cleaner, so replace the old rule
and use makeinfo now.

For those who want to use their own variant of html output,...

99aba0c4 03/07/2010 12:05 am Christoph Hellwig

scsi: update comment on the standards revision

Signed-off-by: Christoph Hellwig <>
Signed-off-by: Aurelien Jarno <>

bba7be96 03/07/2010 12:03 am Ryota Ozaki

qemu-nbd: Fix wrong description in qemu-nbd.texi

-c option needs argument <dev> but it's missing now.
This patch fixes it.

Signed-off-by: Ryota Ozaki <>
Signed-off-by: Aurelien Jarno <>

7b234475 03/07/2010 12:02 am Kevin Wolf

Build usb-ohci for PCs

The OHCI emulation isn't obviously broken and there are people who want to use
it. Let's build it by default so that it can be enabled via -device.

Signed-off-by: Kevin Wolf <>
Signed-off-by: Aurelien Jarno <>

21be440c 03/06/2010 11:56 pm Amit Shah

ppc440_bamboo: Disable new virtio-serial features for 0.12 machine type

Disable the MULTIPORT feature and MSI vectors for the 0.12 machine
types; those features are added only for 0.13 onwards.

Signed-off-by: Amit Shah <>
Signed-off-by: Aurelien Jarno <>

977b6b91 03/06/2010 11:56 pm Amit Shah

ppc440_bamboo: Add 0.12 and 0.13 machine types for backward compat

Add a 0.12 machine type for compatibility with older versions. Mark the
default one as 0.13.

Signed-off-by: Amit Shah <>
Signed-off-by: Aurelien Jarno <>

ad509737 03/06/2010 11:55 pm Amit Shah

s390-virtio: Fix compile error for virtio-block init

Commit 428c149b0be790b440e1cbee185b152cdb22feec modified the argument
that virtio_blk_init takes. Update the s390 bus code that calls this
function.

Signed-off-by: Amit Shah <>
CC: Christoph Hellwig <>...

d758d90f 03/06/2010 11:32 pm Kevin Wolf

json-parser: Fix segfault on malformed input

If the parser fails to parse the key in parse_pair, it will access a NULL
pointer. A simple way to trigger this is sending {foo} via QMP. This patch
turns the segfault into a syntax error reply.

Signed-off-by: Kevin Wolf <>...

cdee7bdf 03/06/2010 11:28 pm Aurelien Jarno

hw/serial.c: fix THRE interrupt clearing

UART_IIR_THRI is not a mask, but a possible value for the IIR ID.
Use UART_IIR_ID to extract this value.

Broken by commit 71e605f80313a632cc6714cde7bd240042dbdd95.

Signed-off-by: Aurelien Jarno <>

2f4f22bd 03/06/2010 09:23 pm Aurelien Jarno

hw/serial.c: fix indentation

Signed-off-by: Aurelien Jarno <>

d8714436 03/06/2010 08:37 pm takasi-y@ops.dti.ne.jp

linux-user: Save/restore fpu registers to signal context on sh4

As "todo" comment in source code.
And modify restore_sigcontext() to have three args as kernel's does.

Signed-off-by: Takashi YOSHII <>
Signed-off-by: Aurelien Jarno <>

597c0212 03/06/2010 08:35 pm takasi-y@ops.dti.ne.jp

linux-user: Fix syscall pipe2() retval on sh4

On linux/sh4
pipe() return values by r0:r1 as SH C calling convention.
pipe2() return values on memory as traditional unix way.

Signed-off-by: Takashi YOSHII <>
Signed-off-by: Aurelien Jarno <>

41b1e61f 03/06/2010 08:20 pm malc

target-i386: Fix long jumps/calls in long mode with REX.W set

Signed-off-by: malc <>
Signed-off-by: Aurelien Jarno <>

c2254920 03/06/2010 07:33 pm Aurelien Jarno

target-i386: fix lddqu SSE instruction

This instruction load data from memory to register and not the reverse.

Signed-off-by: Aurelien Jarno <>

a0acb46c 03/06/2010 05:45 am Anthony Liguori

Update to latest SeaBIOS

- 8f469b9 Dynamically allocate ata_channel info; introduce custom atadrive_s struct.
- 575ffc8 Cleanup - build drive description in temp memory during init.

Signed-off-by: Anthony Liguori <>

5309e5fb 03/04/2010 10:54 pm Stefan Weil

Makefile: Fix names of GPXE ROM files

da51e79b7ff2126cc2448749d657a4f6e3b1270f added two new ROM files
and removed an old one for eepro100.c.

These changes were missing in Makefile (which resulted
in a broken "make install").

Reported by Lucas Meneghel Rodrigues, thanks....

deb4203d 03/04/2010 06:42 pm Aurelien Jarno

target-mips: use newer logical ops

Signed-off-by: Aurelien Jarno <>

f374e826 03/04/2010 05:14 pm Anthony Liguori

Merge remote branch 'qemu-kvm/uq/master' into pulls

6cb2996c 03/04/2010 05:29 am Jan Kiszka

x86: Extend validity of bsp_to_cpu

As we hard-wire the BSP to CPU 0 anyway and cpuid_apic_id equals
cpu_index, bsp_to_cpu can also be based on the latter directly. This
will help an early user of it: KVM while initializing mp_state.

Signed-off-by: Jan Kiszka <>...

ea643051 03/04/2010 05:29 am Jan Kiszka

KVM: x86: Restrict writeback of VCPU state

Do not write nmi_pending, sipi_vector, and mpstate unless we at least go
through a reset. And TSC as well as KVM wallclocks should only be
written on full sync, otherwise we risk to drop some time on state
read-modify-write....

ea375f9a 03/04/2010 05:29 am Jan Kiszka

KVM: Rework VCPU state writeback API

This grand cleanup drops all reset and vmsave/load related
synchronization points in favor of four(!) generic hooks:

- cpu_synchronize_all_states in qemu_savevm_state_complete
(initial sync from kernel before vmsave)...

b0b1d690 03/04/2010 05:29 am Jan Kiszka

KVM: Rework of guest debug state writing

So far we synchronized any dirty VCPU state back into the kernel before
updating the guest debug state. This was a tribute to a deficite in x86
kernels before 2.6.33. But as this is an arch-dependent issue, it is
better handle in the x86 part of KVM and remove the writeback point for...

c902760f 03/04/2010 05:28 am Marcelo Tosatti

Add option to use file backed guest memory

Port qemu-kvm's -mem-path and -mem-prealloc options. These are useful
for backing guest memory with huge pages via hugetlbfs.

Signed-off-by: Marcelo Tosatti <>
CC: john cooper <>

60e4c631 03/04/2010 05:28 am Avi Kivity

Allocate memory below 4GB as one chunk

Instead of allocating a separate chunk for the first 640KB and another
for 1MB+, allocate one large chunk. This plays well in terms of alignment
and size with large pages.

Signed-off-by: Avi Kivity <>...

78728c92 03/03/2010 01:47 pm Stefan Weil

eepro100: Keep includes sorted

I always try to keep standard includes sorted
and add a comment why they are there (so they
can be removed when they are no longer needed).

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

e7493b25 03/03/2010 01:47 pm Stefan Weil

eepro100: Remove C++ comments

C++ comments are unwanted, so this is fixed here.

  • Replace C++ comments by C comments.
  • Put code which was deactivated by a C++ comment in #if 0...#endif.

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

f80a7fc3 03/03/2010 01:44 pm Stefan Weil

eepro100: Add diagnose command

Real hardware would run an internal self-test.
The emulation just returns a passed status.

Original patch was from Reimar Döffinger, thanks.

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

3d0f4b9b 03/03/2010 01:44 pm Stefan Weil

eepro100: New function for reading command block

Move code which reads the command block to the
new function read_cb. The patch also fixes some
endianess issues related to the command block
and moves declarations of local variables to
the beginning of the block....

ec1d02d8 03/03/2010 01:34 pm Stefan Weil

eepro100: Use tx.status

There is no need for a local variable "status".
Using tx.status makes it clearer which status
is addressed.

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

cc02c66c 03/03/2010 01:34 pm Stefan Weil

eepro100: Prettify code (no functional changes)

  • Fix indentation.

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

cb25a3fb 03/03/2010 01:34 pm Stefan Weil

eepro100: Fix CU Start command

CU Start is allowed when the CU is in the idle or suspended state.

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

e824012b 03/03/2010 01:34 pm Stefan Weil

eepro100: Support RNR interrupt

The RNR interrupt is triggered under these conditions:

  • the RU is not ready to receive a frame due to missing resources
  • the RU is ready and a RU abort command was requested

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

e715c8e8 03/03/2010 01:34 pm Stefan Weil

eepro100: Replace variable name to fix a compiler warning

When compiling with -Wshadow, gcc gives a warning
which is fixed by renaming stat -> status.

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

b1e87018 03/03/2010 01:34 pm Stefan Weil

eepro100: Use symbolic names for bits in EEPROM id

V2 - Use UPPER_CASE for enum values

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

c5bac302 03/03/2010 01:34 pm Stefan Weil

eepro100: Remove old unused code

This code is no longer needed.

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

ced5296a 03/03/2010 01:34 pm Stefan Weil

eepro100: Use symbolic names and BIT macros in binary operations

Instead of magic numbers like 0x8000, symbolic names are used
for the SCB command and status bits.

There are too many configuration bits to use symbolic names
there, too. Using the BIT macro is a little help when comparing...

762401e2 03/03/2010 01:33 pm Stefan Weil

eepro100: Add device descriptions

Add descriptions for all devices.
These descriptions are shown when users call
qemu -device ?

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

230a167c 03/03/2010 01:33 pm Stefan Weil

eepro100: Update copyright notice

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

ba19f2de 03/03/2010 01:33 pm Stefan Weil

eepro100: Add TODO list

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

da51e79b 03/03/2010 01:33 pm Stefan Weil

eepro100: Support gpxe boot for all eepro100 devices

Only two boot ROM files are needed for all devices.

  • Add these GPXE ROM files using new naming convention
    (as discussed on qemu-devel). Both files were created
    with http://rom-o-matic.net/, PCI vendor / device ids...
6cded3a4 03/03/2010 01:33 pm Stefan Weil

eepro100: Fix PXE boot

The phy handling was wrong for PXE, GPXE boot:
GPXE's eepro100 driver did not detect a valid link.

This is fixed here.

V2 - Use UPPER_CASE for enum values

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

0908bba1 03/03/2010 01:33 pm Stefan Weil

eepro100: Add missing SCB register names

Some system control block registers were addressed
using their offset value. Use symbolic names now
and clean the documentation.

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

ce0e58b3 03/03/2010 01:33 pm Stefan Weil

eepro100: Fix compiler errors from debug messages

When debug output was enabled (by defining DEBUG_EEPRO100),
some debug messages resulted in a compiler error.

This is fixed here.

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

55b1e61f 03/03/2010 01:20 am Samuel Thibault

(curses) Use more descriptive values

Hello,

curses_keys.h is using obscure constant values while the curses.h header
provides fine defines, let's use the latter.

To be applied on top of my previous patch.

Samuel

Signed-off-by: Samuel Thibault <>...

942cef37 03/03/2010 01:20 am Samuel Thibault

Fix curses return key when using -k

Hello,

There is a small incoherency in curses_keys.h, which makes it fail to
emit \n when using e.g. -k fr: curses2keysym transforms \r and 0x157
into \n, but name2keysym binds \r with Return, not \n. The patch below...

e68dd28f 03/03/2010 12:16 am Aurelien Jarno

target-mips: use setcond when possible

Signed-off-by: Aurelien Jarno <>

d3f137e3 03/03/2010 12:12 am Aurelien Jarno

tcg/arm: merge the two sets of #define for optional ops

Signed-off-by: Aurelien Jarno <>

023e77f8 03/02/2010 11:31 pm Aurelien Jarno

tcg/arm: accept immediate arguments for brcond/setcond

Signed-off-by: Aurelien Jarno <>
Signed-off-by: Andrzej Zaborowski <>

b525f0a9 03/02/2010 11:26 pm Andrzej Zaborowski

Add a missing break

e0404769 03/02/2010 11:19 pm Aurelien Jarno

tcg/arm: implement setcond2

Signed-off-by: Aurelien Jarno <>
Signed-off-by: Andrzej Zaborowski <>

f72a6cd7 03/02/2010 11:17 pm Aurelien Jarno

tcg/arm: implement setcond

Signed-off-by: Aurelien Jarno <>
Signed-off-by: Andrzej Zaborowski <>

6b658613 03/02/2010 09:19 pm Aurelien Jarno

tcg/arm: fix div2/divu2

When restoring register values, increase the stack register for skipped
values.

Signed-off-by: Aurelien Jarno <>
Signed-off-by: Andrzej Zaborowski <>

c527ee8f 03/01/2010 06:40 am Paul Brook

Avoid tlb_set_page in userspace emulation

tlb_set_page isn't meaningful for userspace emulation, so remove it.

Signed-off-by: Paul Brook <>

c04b2b78 03/01/2010 06:40 am Paul Brook

Move subpage definitions

Move definitions for subpage handling into !CONFIG_USER_ONLY code.

Signed-off-by: Paul Brook <>

9f9f0309 03/01/2010 06:39 am Paul Brook

Disassembler symbol lookup fix

Fix function signature for userspace disassembler symbol lookup.

Signed-off-by: Paul Brook <>

35bed8ee 03/01/2010 05:29 am Paul Brook

Move ioport.h out of cpu-all.h

Only include ioport.h where it is actually needed.

Signed-off-by: Paul Brook <>

a68fe89c 03/01/2010 02:08 am Paul Brook

Remove bogus cpu_physical_memory_rw

Userspace doesn't have physical memory, so cpu_physical_memory_rw
makes no sense. This is only used to implement cpu_memory_rw_debug, so
just implement that directly instead.

Signed-off-by: Paul Brook <>

6d9a1304 03/01/2010 01:55 am Paul Brook

Remove l1_phys_map from userspace emulation

Userspace emulation doesn't have a physical address space, so
l1_phys_map makes no sense. This code is never actually used, so don't
try and build it.

Signed-off-by: Paul Brook <>

94df27fd 03/01/2010 01:47 am Paul Brook

Fix userspace breakpoint invalidation

Remove bogus virtual->physical address translation in
breakpoint_invalidate for userspace emulation.

Signed-off-by: Paul Brook <>

30d11a2a 02/28/2010 08:30 pm Juha Riihimäki

target-arm: neon vshll instruction fix

implementation only widened the 32bit source vector elements into a
64bit destination vector but forgot to perform the actual shifting
operation.

Signed-off-by: Juha Riihimäki <>
Signed-off-by: Riku Voipio <>...

79b0e534 02/28/2010 08:30 pm Riku Voipio

target-arm: neon - fix VRADDHN/VRSUBHN vs VADDHN/VSUBHN

The rounding/truncating options were inverted. truncating
was done when rounding was meant and vice verse.

Signed-off-by: Riku Voipio <>
Acked-by: Laurent Desnogues <>...

63a54736 02/28/2010 08:20 pm Jason Wessel

target-i386: fix crash on x86 32bit linux host with hw breakpoint exceptions

If you make use of hw breakpoints on a 32bit x86 linux host, qemu
will segmentation fault when processing the exception.

The problem is that the value of env is stored in $ebp in the op_helper...

6049f4f8 02/28/2010 06:54 pm Richard Henderson

alpha-linux-user: Implement signals.

Move userland PALcode handling into linux-user main loop so that
we can send signals from there. This also makes alpha_palcode.c
system-level only, so don't build it for userland. Add defines
for GENTRAP PALcall mapping to signals....

f24518b5 02/28/2010 06:45 pm Richard Henderson

target-alpha: Implement IEEE FP qualifiers.

IEEE FP instructions are split up so that the rounding mode
coming from the instruction and exceptions (both masking and
delivery) are handled external to the base FP operation.
FP exceptions are properly raised for non-finite inputs to...

db9a231d 02/28/2010 05:36 pm Aurelien Jarno

Revert "target-ppc: stop translation after a trap instruction"

This reverts commit 6454e7be1b2504533f7ffb190d54ebe2993cb434.

6c712321 02/28/2010 05:36 pm Aurelien Jarno

target-ppc: don't print invalid opcode messages on the console

Invalid opcode messages can be perfectly normal, for example if this
code is never executed. Don't print an error message on the console,
but keep the message in the log for debugging purposes....

d9812b03 02/28/2010 05:34 pm malc

audio/alsa: Handle SND_PCM_STATE_SETUP in alsa_poll_handler

Signed-off-by: malc <>

f093feb7 02/28/2010 05:20 pm Vagrant Cascadian

audio/alsa: Spelling typo (paramters)

Trivial patch to fix the spelling of "parameters".

Signed-off-by: malc <>

6454e7be 02/28/2010 03:11 pm Aurelien Jarno

target-ppc: stop translation after a trap instruction

Signed-off-by: Aurelien Jarno <>

5bb59902 02/28/2010 12:50 pm Jan Kiszka

qemu-char.c: drop debug printfs from qemu_chr_parse_compat

Signed-off-by: Jan Kiszka <>
Acked-by: Gerd Hoffmann <>
Signed-off-by: Aurelien Jarno <>

75bb6589 02/27/2010 08:48 pm Liu Yu

powerpc/e500: adjust fdt and ramdisk loading addr

Since kernel uimage is getting bigger,
old fixed loading bases will result in regions overlap.

Add pad for fdt and ramdisk, so that they won't overlap with uimage.

Signed-off-by: Liu Yu <>...

dbf916d8 02/27/2010 08:47 pm Aurelien Jarno

powerpc: fix compilation with CONFIG_FDT undefined

Signed-off-by: Aurelien Jarno <>

04088adb 02/27/2010 05:30 pm Liu Yu

powerpc/booke: move fdt loading to rom infrastructure

It's convinent to use rom to checking overlap, to reset etc.
And uImage and ramdisk loading has already moved to it.

Also, after we add fdt to rom, free it.

Signed-off-by: Liu Yu <>...

c4963817 02/27/2010 05:21 pm Liu Yu

target-ppc: add synchronize register for booke init

So that the following registers init could be flushed back to kvm.

Signed-off-by: Liu Yu <>
Acked-by: Hollis Blanchard <>
Signed-off-by: Aurelien Jarno <>

e192a45c 02/27/2010 05:14 pm takasi-y@ops.dti.ne.jp

target-sh4: Fix gdb read/write register

cpu_gdb_read_register(): Fix n={8...15} case.
cpu_gdb_write_register(): Fix n={8...15} case and runaway "case:".

Signed-off-by: Takashi YOSHII <>
Signed-off-by: Aurelien Jarno <>

ae01847f 02/27/2010 05:10 pm Nathan Froyd

target-ppc: fix SPE evsplat* instructions

The shifts in the gen_evsplat* functions were expecting rA to be masked,
not extracted, and so used the wrong shift amounts to sign-extend or pad
with zeroes.

Signed-off-by: Nathan Froyd <>...

e6bba2ef 02/27/2010 05:10 pm Nathan Froyd

target-ppc: fix SPE evcmp* instructions

The CRF_{CH,CL,CH_OR_CL,CH_AND_CL} constants were all off by one bit
position. Because of this, the SPE evcmp* family of instructions would
store values in the result condition register that were also off by one
bit position....

e3b283e9 02/27/2010 05:10 pm Stefan Weil

arm host: Fix linker warning (m68k targets)

Compilation of m68k-softmmu or m68k-linux-user on arm host
(or cross compilation for arm) results in a linker warning:

LINK  m68k-softmmu/qemu-system-m68k
m68k-dis.o: warning: definition of `floatformat_ieee_single_little' overriding common...
9e0a5d54 02/27/2010 05:10 pm Amit Shah

Fix 'make install' from non-srcdir build

Commit b5ec5ce0 broke 'make install' from non source-dir build. Fix.

Signed-off-by: Amit Shah <>
Signed-off-by: Aurelien Jarno <>