Statistics
| Branch: | Revision:

root @ d14ed254

# Date Author Comment
d14ed254 12/19/2009 05:04 pm Alexander Graf

target-ppc: Initialize OpenPIC properly

When lowering an IRQ line, we search for the line we're supposed to lower.

Usually we run into an optimization there that queues up interrupts. This
queue ends with -1. Unfortunately we didn't set the first item to -1....

94048982 12/19/2009 04:26 pm Luiz Capitulino

QMP: Update spec file

- Remove "draft" status
- Change default success response to be json-object
- Change error and event data member to be a json-object
- Update examples
- Add new section "Compatibility Considerations"
- Other fixes and clarifications...

b6e098d7 12/19/2009 04:26 pm Luiz Capitulino

monitor: Introduce 'M' argument type

This is a target long value in megabytes which should be
converted to bytes.

It will be used by handlers which accept a megabyte value
when in "user mode".

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

3b0bd6ec 12/19/2009 04:26 pm Luiz Capitulino

monitor: do_balloon(): Use 'M' argument type

This makes do_balloon() accept megabyte values from the user
Monitor while accepting byte values for QMP.

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

c7493749 12/19/2009 04:26 pm Anthony Liguori

e1000: Don't muck with PCI commmand register

Otherwise, the driver does not work in Linux after the INT_DISABLE changes in
PCI.

Michael Tsirkin had a patch to do this, I'm not sure what happened to it.

Signed-off-by: Anthony Liguori <>

13232b8f 12/19/2009 04:26 pm Anthony Liguori

Revert "monitor: Convert do_migrate_set_speed() to QObject"

This reverts commit 3a4921047d514c336531c304bec362c4d138ebcc.

From Luiz:

do_migrate_set_speed() accepts a suffix for the 'value' argument and this is
not good for QMP. We will have to add a new argument type to handle that and...
4303f6d8 12/19/2009 04:26 pm Anthony Liguori

Update to SeaBIOS 0.5.0

The only change is updating the makefile but that way we're carrying an official
release.

Signed-off-by: Anthony Liguori <>

0aced4e2 12/19/2009 04:26 pm Anthony Liguori

Update version and changelog to sync with stable branch

Signed-off-by: Anthony Liguori <>

0abc6579 12/19/2009 04:26 pm Luiz Capitulino

QMP: Return an empty dict by default

Currently, when a regular command doesn't have any data to output,
QMP will emit:

{ "return": "OK" }

Returning an empty dict is better though, because dicts can support
some protocol changes in a compatible way.

So, with this commit we will return:...

3661d51e 12/19/2009 04:26 pm Luiz Capitulino

QMP: Assure that returned data is a QDict

This is for debug purposes only.

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

052f1b9b 12/19/2009 04:26 pm Luiz Capitulino

QMP: Update README file

- Fix output description
- Fix command-line usage notes
- Minor improvements

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

43e713ce 12/19/2009 04:26 pm Luiz Capitulino

QMP: Only handle converted commands

Looks like I dropped this check when addressing the 'query-'
commands request.

QMP should only handle converted commands, obviously.

Reported-by: Markus Armbruster <>

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

82c09f2f 12/19/2009 10:30 am Alexander Graf

target-ppc: fix ppc32 kvm build

My segment sync patch broke compilation on PPC32, because it was trying to
sync the SLB even though ppc32 CPUs don't have an SLB.

So let's only sync it when we're on a PP64 one!

Signed-off-by: Alexander Graf <>...

1e8b27ca 12/19/2009 12:23 am Juha Riihimäki

Fix win32 log file location

/tmp doesn't exist under win32. Ease the pain of win32 development slightly.

From: Juha Riihimäki <>
Signed-off-by: Riku Voipio <>
Signed-off-by: Aurelien Jarno <>

099fe236 12/19/2009 12:23 am Juha Riihimäki

fix pidfile option to work in WIN32

Explicit read/write locking pidfile under WIN32 is bit extreme
nobody get the chance to read the pidfile. Convert to a write-only lock.

Also, creating pidfile was disabled along with daemonize under
WIN32. Enable it, but do not enable daemon support which doesn't...

9a0c6a33 12/19/2009 12:23 am Juha Riihimäki

fix networking on win32 host

At least under some mingw compilers slirp networking fails without declaring
these fields packed.

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

c6703b47 12/19/2009 12:23 am Riku Voipio

Give a error when running out of iomem areas.

The limit of iomem areas is quite low. Without the
debug print, it is quite hard to figure out why more
devices are not getting registered.

Signed-off-by: Riku Voipio <>
Signed-off-by: Aurelien Jarno <>

659139d7 12/19/2009 12:23 am Riku Voipio

Make USB hid devices self-powered

Simplifies power budget negotiation.

Signed-off-by: Riku Voipio <>
Signed-off-by: Aurelien Jarno <>

109ac32f 12/19/2009 12:23 am Juha Riihimäki

handle SD CMD5 without error messages

From: Juha Riihimäki <>
Signed-off-by: Juha Riihimäki <>
Signed-off-by: Riku Voipio <>
Signed-off-by: Aurelien Jarno <>

384dce1e 12/19/2009 12:23 am Riku Voipio

usb-musb: convert fifo to 8bit and add more registers

Convert musb fifo to 8bit to allow 8/16/32bit access

MUSB allows reading and writing to the fifo in 32/16/8 bit
width. The Linux kernel does this sometimes, most usually at
the end of writing the packet to allow packet to end at a...

c2039bd0 12/18/2009 07:26 pm Anthony Liguori

Support PCI based option rom loading

Currently, we preload option roms into the option rom space in memory. This
prevents DDIM from functioning correctly which severely limits the number
of roms we can support.

This patch introduces a pci_add_option_rom() which registers the...

8c52c8f3 12/18/2009 07:26 pm Gerd Hoffmann

pci romfiles: add property, add default to PCIDeviceInfo

This patch adds a romfile property to the pci bus. It allows to specify
a romfile to load into the rom bar of the pci device. The default value
comes from a new field in PCIDeviceInfo. The property allows to change...

c2b5bda4 12/18/2009 07:26 pm Gerd Hoffmann

fw_cfg: make calls typesafe

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

abe147e0 12/18/2009 07:26 pm Gerd Hoffmann

fw_cfg: add API for file transfer.

This patch adds a file transfer interface to fw_cfg. Intended to be
used for passing non-pci option roms and vgabios to seabios. Namespace
is modeled after the existing cbfs filesystem support in seabios.

Reading the new FW_CFG_FILE_DIR entry returns a file list....

379526a4 12/18/2009 07:26 pm Gerd Hoffmann

roms: use new fw_cfg file xfer support.

roms: use fw_cfg for vgabios and option rom loading, additionally to
deploying them the traditional way (copy to 0xc0000 -> 0xe0000 range).

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

632cf034 12/18/2009 07:26 pm Gerd Hoffmann

roms: remove option rom packing logic

Now that we load the option roms via fw_cfg, we can stop copying
them to the 0xc000 -> 0xe000. The patch does just that.

Also the rom loader gets simplified as all remaining users of the
rom loader load the bits at a fixed address so the packing and...

2dc3f77c 12/18/2009 07:26 pm Anthony Liguori

Update SeaBIOS to include PCI based option rom loading

Also remove pcbios from the tree. It will no longer work.

Signed-off-by: Anthony Liguori <>

b5cc6e32 12/18/2009 07:26 pm Anthony Liguori

VMware VGA: Only enable dirty log tracking when fifo is disabled

This patch enables dirty log tracking whenever it's needed and disables it
when it is not.

We unconditionally enable dirty log tracking on reset, restart dirty log
tracking when PCI IO regions are remapped, and disable/enable it based on...

8095cb3e 12/18/2009 07:26 pm Dave Airlie

vmware: increase cursor buffer size.

The cursor pixmap size we calculate later ends up being 4096 dwords
long by the looks of it. This boots an F12 LiveCD now.

Signed-off-by: Dave Airlie <>
Signed-off-by: Anthony Liguori <>

acb6685f 12/18/2009 07:26 pm Anthony Liguori

Revert "kvm: x86: Save/restore exception_index"

This reverts commit ebbc8a3d8e76d0402f8a08c10c0f32e24715d41d.

As suggested by Jan Kiszka,

"It was obsoleted by d1793b836f8f123b961c613de1bb1c0c185c84cc and now
saves/restores a useless field."

Signed-off-by: Anthony Liguori <>

c62313bb 12/18/2009 07:26 pm Jan Kiszka

monitor: Accept input only byte-wise

This allows to suspend command interpretation and execution
synchronously, e.g. during migration.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Anthony Liguori <>

aef30c3c 12/18/2009 07:26 pm Juan Quintela

Revert "fdc: fix vmstate variable passed"

Floppy used the io_base address to register savevm region.

This reverts commit 2966b390d0f7cd5e5b971290fcc20685de374228.

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

47f5ba72 12/18/2009 07:26 pm Juan Quintela

fdc: fix migration from 0.11

0.11 uses as instance ide io_base, get it back

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

ec7efac4 12/18/2009 07:26 pm Daniel P. Berrange

Fix backcompat for hotplug of SCSI controllers

SCSI controllers have no trouble existing without any attached
disks. This could be achieved with the (legacy) monitor syntax

pci_add pci_addr=auto storage if=scsi

This is now denied with

scsi requires a backing file/device....
ee3e41a9 12/18/2009 07:26 pm Anthony Liguori

Make sure to enable dirty log tracking for VMware VGA

This is needed for VMware VGA to work properly under KVM.

Signed-off-by: Anthony Liguori <>

a6109ff1 12/18/2009 07:26 pm Anthony Liguori

Fix VMware VGA depth computation

VMware VGA requires that the depth presented to the guest is the same as the
DisplaySurface that it renders to. This is because it performs a very simple
memcpy() to blit from one surface to another.

We currently hardcode a 24-bit depth. The surface allocator for SDL may, and...

f351d050 12/18/2009 07:26 pm Dave Airlie

vmware: setup PCI BAR 2 for FIFO as per vmware spec

Signed-off-by: Anthony Liguori <>

f0138a63 12/18/2009 07:26 pm Anthony Liguori

Make sure to enable dirty tracking of VBE vram mapping

Apparently, VBE maps the VGA vram to a fixed physical location. KVM requires
that all mappings of the VGA vram have dirty tracking enabled on them. Any
access to the VGA vram through the VBE mapping currently fails to result in...

9ef5c4bf 12/18/2009 07:26 pm Gerd Hoffmann

qdev: improve property error reporting.

Add a error message in case we fail to parse a qdev property.

Also make qemu not abort() in case setting a global property can't be
set. This used to be a clear programming error. The introduction of
the -global switch changed that though, so better exit instead (after...

42be86ce 12/18/2009 07:26 pm Gerd Hoffmann

usb-net: use qdev for -usbdevice

Rebased to master, adapted to device renaming by armbru,
no other changes.

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

eba6fe87 12/18/2009 07:26 pm Gerd Hoffmann

usb-host: check mon before using it.

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

69fd02ee 12/18/2009 07:26 pm Gerd Hoffmann

fix vga names in default_list

Fix mismerge between 64465297 and 556cd098.

Cc: Markus Armbruster <>
Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>

29ec3156 12/18/2009 07:26 pm Luiz Capitulino

QDict: Fix size update

Key replacement should not update the dictionary's size.

This commit also adds a test for the bug.

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

78d714e0 12/18/2009 07:26 pm Luiz Capitulino

monitor: Use 'device' in eject

Monitor's eject command uses 'filename' for the device name
argument, but 'device' is a better name.

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

cfdf2c40 12/18/2009 07:26 pm Luiz Capitulino

monitor: do_balloon(): Check for errors

do_balloon() should check for ballooning availability as
do_info_balloon() does.

Noted by Daniel P. Berrange <>.

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

183e6e52 12/18/2009 07:26 pm Luiz Capitulino

monitor: Avoid readline functions in QMP

The monitor_read_command() function is readline specific
and should only be used when readline is available.

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

2daa1191 12/18/2009 07:26 pm Luiz Capitulino

monitor: Catch printing to non-existent monitor

The monitor_vprintf() function now touches the 'mon' pointer
before calling monitor_puts(), this causes block migration
to segfault as its functions call monitor_printf() with a
NULL 'mon'.

To fix the problem this commit moves the 'mon' NULL check...

ac33f8fa 12/18/2009 07:26 pm Gerd Hoffmann

defaults: split default_drive

Split default_drive into default_{floppy,cdrom,sdcard}.
Also add QEMUMachine flags to disable them per machine.

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

d8bcbabf 12/18/2009 07:26 pm Gerd Hoffmann

defaults: update device_list[]

Add isa-fdc (disables default_floppy).
Add ide-drive (disables default_cdrom).

Also walk the -global QemuOpts, so we'll catch
-global isa-fdc.drive{A,B}=<name> too.

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

15ff7705 12/18/2009 07:26 pm Gerd Hoffmann

Check rom_load_all() return value.

Check rom_load_all() return value.
Also don't make option rom loading failure fatal.

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

36ecd7c0 12/18/2009 07:26 pm Paolo Bonzini

Fix thinko in linuxboot.S

The %gs segment that was used was not matching the comments.
I just moved the GDT descriptor on the stack instead.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Anthony Liguori <>

40a0d7c3 12/18/2009 07:26 pm Kevin Wolf

qemu-io: Fix memory leak

Signed-off-by: Kevin Wolf <>
Signed-off-by: Anthony Liguori <>

75f12475 12/18/2009 07:26 pm Kevin Wolf

Revert "Rename DriveInfo.onerror to on_write_error" (fix mismerge)

Part of the first patch of the -drive rerror series has been merged once more
on top of the rest of the series. This effectively disables the rerror option
and always goes with the default value. Reverting the commit re-enables the...

092493be 12/18/2009 07:26 pm Kevin Wolf

Fix loading of ELF multiboot kernels

The multiboot implementation assumed that there is only one program header
(which contains the entry point) and that the entry point is at the start of
the code. This doesn't hold true generally and caused too little data to be...

2dd650e5 12/18/2009 07:26 pm Daniel P. Berrange

Avoid permanently disabled QEMU monitor when UNIX migration fails

If a UNIX migration command is attempt to a UNIX socket which does
not exist, then the monitor is suspended, but never resumed. This
prevents any further use of the monitor

  • migration-unix.c: Only call migrate_fd_monitor_suspend() once...
18dd19a7 12/18/2009 07:26 pm Markus Armbruster

qdev: Improve uni-north device names

Switch to the names suggested by Blue Swirl.

Signed-off-by: Markus Armbruster <>
Signed-off-by: Anthony Liguori <>

d587e078 12/18/2009 07:26 pm Anthony Liguori

Revert "pci: interrupt disable bit support"

This reverts commit 0ea5709a32085f7d14901a09d12bd35f9b267607.

Per discussion with Michael Tsirkin, this is too risky for 0.12

Signed-off-by: Anthony Liguori <>

02c2b87f 12/18/2009 07:26 pm Anthony Liguori

vnc: hextile: do not generate ForegroundSpecified and SubrectsColoured tiles

This violates the RFB specification (section 6.6.4). It happens to work with
most clients but it's still wrong.

Reported-by: Yaniv Kaul <>
Signed-off-by: Anthony Liguori <>

31827373 12/18/2009 07:26 pm Jan Kiszka

kvm: x86: Use separate exception_injected CPUState field

Marcelo correctly remarked that there are usage conflicts between QEMU
core code and KVM /wrt exception_index. So spend a separate field and
also save/restore it properly.

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

d46272c7 12/18/2009 07:26 pm Jan Kiszka

target-i386: Fix evaluation of DR7 register

hw_breakpoint_type and hw_breakpoint_len used the wrong index multiplier
to extract type and len.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Anthony Liguori <>

e249651c 12/18/2009 05:39 pm Alexander Graf

S390: Bail out without KVM

Currently only the S390 KVM target works. To keep users from accidently not
using KVM, let's not even initialize the machine when KVM is not used.

Signed-off-by: Alexander Graf <>
Signed-off-by: Aurelien Jarno <>

86f3dba6 12/18/2009 05:34 pm Alexander Graf

S390: Don't tell guest we're updating config space

Currently we always set the "config space changed" bit to 1 when triggering
any virtio interrupt. While that worked in 2.6.27, newer kernels interpret
that value as "only the config space changed and nothing else happened"....

38536da1 12/18/2009 05:34 pm Alexander Graf

add default virtcon initialization

When going through the default devices, we don't initialize the virtio
console, unless we're doing -nographic.

I suppose that's just a leftover from the recent code restructuring, so
let's put it in.

Signed-off-by: Alexander Graf <>...

a1e4b07f 12/18/2009 05:34 pm Alexander Graf

S390: Loop through virtio console devices

We used to always create one single virtio console device. This breaks when
either zero of multiple virtio console devices are requested, so let's use
the same code as on x86.

Signed-off-by: Alexander Graf <>...

d7963c43 12/18/2009 05:32 pm Alexander Graf

target-s390: Fail on unknown instructions

We were being a bit too nice and didn't give the guest an invalid instruction
interrupt.

While that works, it's not exactly the fastest thing to do, since now the
guest doesn't know that we're not really implementing that instruction, so it...

3a03bfa5 12/18/2009 05:29 pm Andre Przywara

osdep: Fix runtime failure on older Linux kernels

If QEMU finds newer kernel header files on compilation time, it will use
advertised features like pipe2 or SOCK_CLOEXEC by just doing a compile test.
If later the executables are executed on an older kernel (<2.6.27,...

c1bb0dce 12/17/2009 07:27 pm Juergen Lock

Fix a make -j race

Make libuser.a depend on $(GENERATED_HEADERS) too so make -j won't start
building it before the headers exist. (There may be more bugs like this
but at least this makes (g)make -j4 started from scratch on a quadcore
now always complete here again.)...

06445248 12/17/2009 07:12 pm Richard Henderson

target-alpha: Fix generic ctz64.

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

68bd052e 12/17/2009 07:12 pm Richard Henderson

target-alpha: Fix cvtlq.

We were missing the 0xc0000000 mask, leading to incorrect results.

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

d0af5445 12/17/2009 07:12 pm Richard Henderson

target-alpha: Fix float32_to_s vs zero exponent.

There was a bug in float32_to_s that incorrectly mapped a zero exponent
to 0x38. This meant 0.0f != 0. At the same time, fix a generic type
punning bug in helper_memory_to_s and helper_s_to_memory.

Signed-off-by: Richard Henderson <>...

dbb30fe6 12/17/2009 07:12 pm Richard Henderson

target-alpha: Implement fp branch/cmov inline.

The old fcmov implementation had a typo:
- tcg_gen_mov_i64(cpu_fir[rc], cpu_fir[ra]);
which moved the condition, not the second source, to the destination.

But it's also easy to implement the simplified fp comparison inline....

fe57ca82 12/17/2009 07:11 pm Richard Henderson

target-alpha: Add placeholders for missing userspace PALcalls.

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

ab3aee26 12/17/2009 01:28 am Stefan Weil

target-mips: No MIPS16 support for 4Kc, 4KEc cores

Fix regression introduced by d19954f46dfc262612c30e9534e660e953049487.

4Kc and 4KEc don't support MIPS16.

Signed-off-by: Stefan Weil <>
Signed-off-by: Aurelien Jarno <>

212df029 12/16/2009 07:26 pm Stefan Weil

target-alpha: Fix compiler warning for gcc-4.3 (and older)

"Old" compilers obviously are not able to recognise
that all cases are handled here:

qemu/target-alpha/helper.c:70: error: ‘round_mode’ may be used uninitialized in this function

A small modification helps the compiler to do its jobs....

5a2b3fc5 12/16/2009 07:25 pm Stefan Weil

s390: Fix buggy assignment

nd->model keeps dynamically allocated model names.
So casting of a constant string is wrong here.

Signed-off-by: Stefan Weil <>
Acked-by: Alexander Graf <>
Signed-off-by: Aurelien Jarno <>

73642f5b 12/16/2009 07:20 pm Stefan Weil

target-mips: 4Kc, 4KEc cores do not support MIPS16

4Kc, 4KEc cores do not support MIPS16, so not only the
CP0_Config1 had to be fixed (see previous patch),
but also MIPS16 instructions must not be executed.

(Hint from Nathan Froyd, thanks).

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

4c24aa0a 12/16/2009 01:54 pm Michal Simek

microblaze: Print content of EAR register

I need to see EAR register in output because I need to parse irqsoff problem.

Signed-off-by: Michal Simek <>
Signed-off-by: Edgar E. Iglesias <>

17c52a43 12/16/2009 01:52 pm Edgar E. Iglesias

microblaze: Update debug logs.

Signed-off-by: Edgar E. Iglesias <>

591d6f1d 12/15/2009 06:45 pm malc

tcg/ppc64: Fix loading of 32bit constants

Signed-off-by: malc <>

248c42f3 12/13/2009 10:36 pm Richard Henderson

target-alpha: Expand ins*l inline.

Similar in difficulty to ext*l, already expanded.

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

14ab1634 12/13/2009 10:36 pm Richard Henderson

target-alpha: Expand msk*l inline.

Similar in difficulty to ext*l, already expanded.

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

ffec44f1 12/13/2009 10:36 pm Richard Henderson

target-alpha: Expand msk*h inline.

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

50eb6e5c 12/13/2009 10:36 pm Richard Henderson

target-alpha: Expand ins*h inline.

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

a06d48d9 12/13/2009 10:36 pm Richard Henderson

target-alpha: Fix FMOV.

Properly handle move from the zero register.

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

d9a50a36 12/13/2009 10:36 pm Richard Henderson

target-alpha: Fix double log_cpu_state.

The proper logging is handled by generic code.

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

ab471ade 12/13/2009 10:36 pm Richard Henderson

target-alpha: Implement RD/WRUNIQUE in the translator

When emulating user-mode only, there's no reason to exit
the translation block to effect a call_pal. We can generate
a move to/from the unique slot directly.

Signed-off-by: Richard Henderson <>...

13e4df99 12/13/2009 10:26 pm Richard Henderson

target-alpha: Implement missing MVI instructions.

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

806991da 12/13/2009 10:26 pm Richard Henderson

target-alpha: Fix -d in_asm

Generic disassembly was incorrectly keyed on ALPHA_DEBUG_DISAS
rather than the generic DEBUG_DISAS. Use qemu_log_mask for
additional LOG_DISAS output. Delete some random insn_count
logging noise from gen_intermediate_code_internal....

87d98f95 12/13/2009 10:26 pm Richard Henderson

target-alpha: Expand zap/zapnot with immediate inline.

The vast majority of zap instructions have an immediate operand,
since zapnot is the canonical method to zero-extend from u16 or u32.

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

377a43b6 12/13/2009 10:26 pm Richard Henderson

target-alpha: Rewrite gen_ext_[hl] in terms of zapnot.

The architecture manual specifies the EXT instructions
in terms of the ZAPNOT operation; writing it that way in
the translator makes things a bit clearer.

Signed-off-by: Richard Henderson <>...

73651cce 12/13/2009 10:26 pm Richard Henderson

target-alpha: Fix fbcond branch offset.

The instructions use a disp21 like all other branch insns,
not the disp16 that was being passed.

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

91a75935 12/13/2009 10:01 pm Nathan Froyd

target-mips: fix user-mode emulation startup

Running programs with the MIPS user-mode emulator fails during dynamic
loading, as floating-point instructions are not enabled in in
env->hflags. Move the code for doing so from fpu_init to cpu_reset so
the MIPS_HFLAG_{FPU,F64} setting doesn't get clobbered by cpu_reset...

f1e00a9c 12/13/2009 09:48 pm Andre Przywara

target-i386: Update CPUID feature set for TCG

The CPUID features QEMU presented to the guest were not up-to-date
with QEMU's emulated feature set.
Add the missing bits of recent (and not so recent) additions to
QEMU's emulation engine.
For stability reasons only the user mode usable bits are exposed for...

8a57a6c7 12/13/2009 09:32 pm Richard Henderson

target-alpha: Drop bogus UNIQ initial value on Linux.

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

da1f1402 12/13/2009 09:32 pm Richard Henderson

target-alpha: Add binfmt entry.

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

19188121 12/13/2009 09:32 pm Richard Henderson

target-alpha: Remove bogus DO_TB_FLUSH code from translator.

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

a964acc6 12/13/2009 09:32 pm Richard Henderson

target-alpha: Honor the -cpu command line argument.

Also change the default cpu to ev67.

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

990b3e19 12/13/2009 09:32 pm Richard Henderson

target-alpha: Enable softfloat.

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

ba0e276d 12/13/2009 09:32 pm Richard Henderson

target-alpha: Fixes for alpha-linux syscalls.

1. Add correct definitions of error numbers.
2. Implement SYS_osf_sigprocmask
3. Implement SYS_osf_get/setsysinfo for IEEE_FP_CONTROL.

This last requires exposing the FPCR value to do_syscall.
Since this value is actually split up into the float_status,...

d19954f4 12/13/2009 09:20 pm Nathan Froyd

target-mips: set Config1.CA for MIPS16-aware CPUs

Signed-off-by: Nathan Froyd <>
Signed-off-by: Aurelien Jarno <>