Statistics
| Branch: | Revision:

root @ 97aff481

# Date Author Comment
6b1b92d3 05/15/2009 12:35 am Paul Brook

PCI qdev support

Signed-off-by: Paul Brook <>

6f68ecb2 05/15/2009 12:35 am Paul Brook

qdev scsi bus infrastructure

Signed-off-by: Paul Brook <>

2e9bdce5 05/15/2009 12:35 am Paul Brook

PL110 qdev conversion

Signed-off-by: Paul Brook <>

a7d518a6 05/15/2009 12:35 am Paul Brook

PL011 qdev conversion

Signed-off-by: Paul Brook <>

86394e96 05/15/2009 12:35 am Paul Brook

PL050 qdev conversion

Signed-off-by: Paul Brook <>

9be5dafe 05/15/2009 12:35 am Paul Brook

LSI SCSI qdev conversion

Signed-off-by: Paul Brook <>

9d07d757 05/15/2009 12:35 am Paul Brook

PCI network qdev conversion

Signed-off-by: Paul Brook <>

cf21e106 05/15/2009 12:35 am Paul Brook

Virtio-net qdev conversion

Signed-off-by: Paul Brook <>

a5580466 05/15/2009 12:35 am Paul Brook

Stellaris ethernet qdev conversion

Signed-off-by: Paul Brook <>

a63bdb31 05/15/2009 12:35 am Paul Brook

PL031 qdev conversion

Signed-off-by: Paul Brook <>

aa9311d8 05/15/2009 12:35 am Paul Brook

PL181 qdev conversion

Signed-off-by: Paul Brook <>

a7086888 05/15/2009 12:35 am Paul Brook

Integrator/CP core qdev conversion

Signed-off-by: Paul Brook <>

6a824ec3 05/15/2009 12:35 am Paul Brook

ARM timers qdev conversion

Signed-off-by: Paul Brook <>

418dcf5b 05/15/2009 12:35 am Paul Brook

smc91c111 qdev conversion

Signed-off-by: Paul Brook <>

cfb9de9c 05/15/2009 12:35 am Paul Brook

ESP SCSI qdev conversion

Signed-off-by: Paul Brook <>

97aff481 05/15/2009 12:35 am Paul Brook

PL190 qdev conversion

Signed-off-by: Paul Brook <>

aae9460e 05/15/2009 12:35 am Paul Brook

Basic qdev infrastructure.

Signed-off-by: Paul Brook <>

4d6ae674 05/15/2009 12:35 am Paul Brook

qdev child bus support

Signed-off-by: Paul Brook <>

019d6b8f 05/15/2009 12:13 am Anthony Liguori

Move block drivers into their own directory

Signed-off-by: Anthony Liguori <>

5efa9d5a 05/15/2009 12:13 am Anthony Liguori

Convert block infrastructure to use new module init functionality

Signed-off-by: Anthony Liguori <>

0bfe3ca5 05/14/2009 09:29 pm Anthony Liguori

Constructor support

Allow devices/drivers to register themselves via constructors.
Destructors are not needed (can be registered from a constructor)
and "priority" has been renamed and changed to an enum for clarity.

Signed-off-by: Paul Brook <>...

70ec5dc0 05/14/2009 04:29 pm Anthony Liguori

Add a --disable-docs to configure to allow doc build to be disabled

Signed-off-by: Anthony Liguori <>

1b3b9ca3 05/14/2009 02:51 am Paul Brook

Remove duplicate block objects.

Signed-off-by: Paul Brook <>

1a7dafce 05/14/2009 02:20 am malc

Remove any pretense that there can be more than one AudioState

b36aa85c 05/14/2009 12:35 am Paul Brook

Remove redundant pcnet.o

Signed-off-by: Paul Brook <>

88ca2a59 05/14/2009 12:21 am Paul Brook

Add tool_osdep.c

osdep.c is built in both as a toplevel target independant object, and
as a per-target object because of kqemu dependencies. Under some
circumstances make picks up the wrong one.

Build the former as tool-osdep to avoid this conflict.

Signed-off-by: Paul Brook <>

55616505 05/13/2009 10:54 pm Paul Brook

Include assert.h from qemu-common.h

Include assert.h from qemu-common.h and remove other direct uses.
cpu-all.h still need to include it because of the dyngen-exec.h hacks

Signed-off-by: Paul Brook <>

6c7f4b47 05/13/2009 09:09 pm Blue Swirl

Replace gcc variadic macro extension with C99 version (missed one)

Signed-off-by: Blue Swirl <>

001faf32 05/13/2009 08:53 pm Blue Swirl

Replace gcc variadic macro extension with C99 version

Signed-off-by: Blue Swirl <>

4cfce484 05/13/2009 08:08 pm Paul Brook

Fix kqemu build failure.

Signed-off-by: Paul Brook <>

fbe1b595 05/13/2009 07:56 pm Paul Brook

Remove vga_ram_size

The vga_ram_size argument to machine init functions always has the same
value, and is ignored by many machines (including SPARC32 which has an
obsolete ifdef for VGA_RAM_SIZE).

Remove it and push VGA_RAM_SIZE into vga_int.h.

Signed-off-by: Paul Brook <>

1481e16a 05/13/2009 02:18 pm malc

Fix typo that leads to out of bounds array access on big endian systems

4af6e404 05/13/2009 11:17 am Edgar E. Iglesias

ETRAX: Correct setting of ethernet station address.

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

d3151521 05/12/2009 05:39 pm Paul Brook

Follow coding conventions.

More structure renaming.

Signed-off-by: Paul Brook <>

f3bc5238 05/12/2009 05:12 pm Edgar E. Iglesias

CRIS: Fix bmi.

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

22d83b14 05/12/2009 02:33 pm Paul Brook

Push AUD_init down to devices

Now we can safely call AUD_init multiple times we can push it down to
individual audio devices, rather than having to pass it from the board
init.

Signed-off-by: Paul Brook <>

0d9acba8 05/12/2009 02:02 pm Paul Brook

Make AUD_init failure fatal

Failure to initialize the audio subsystem is not handled consistently.
Where it is handled it has guest visible effects, which is wrong.
We already have a "nosound" audio driver as a last resort, so trying to
proceed without an audio backend seems pointless....

f0f26a06 05/10/2009 09:23 pm Blue Swirl

Update docs on dynamic condition code calculation

Signed-off-by: Blue Swirl <>

d084469c 05/10/2009 10:43 am Blue Swirl

Convert mulscc

Signed-off-by: Blue Swirl <>

6c78ea32 05/10/2009 10:42 am Blue Swirl

Convert udiv/sdiv

Signed-off-by: Blue Swirl <>

3b2d1e92 05/10/2009 10:38 am Blue Swirl

Convert tagged ops

Signed-off-by: Blue Swirl <>

38482a77 05/10/2009 10:38 am Blue Swirl

Convert logical operations and umul/smul

Signed-off-by: Blue Swirl <>

d4b0d468 05/10/2009 10:38 am Blue Swirl

Convert sub

Signed-off-by: Blue Swirl <>

2ca1d92b 05/10/2009 10:38 am Blue Swirl

Convert subx

Signed-off-by: Blue Swirl <>

789c91ef 05/10/2009 10:19 am Blue Swirl

Convert addx

Signed-off-by: Blue Swirl <>

bdf9f35d 05/10/2009 10:19 am Blue Swirl

Convert add

Signed-off-by: Blue Swirl <>

8393617c 05/10/2009 10:19 am Blue Swirl

Use dynamical computation for condition codes

Signed-off-by: Blue Swirl <>

bc24a225 05/10/2009 03:44 am Paul Brook

Follow coding conventions

Remove explicit struct qualifiers and rename structure types.

Signed-off-by: Paul Brook <>

d4ec5228 05/10/2009 01:22 am Paul Brook

Workaround compiler warnings at -O1

Signed-off-by: Paul Brook <>

cb76e138 05/10/2009 01:12 am Paul Brook

Fixe ARM NEON vrshl.

Signed-off-by: Paul Brook <>

009a4356 05/09/2009 11:28 pm Laurent Vivier

Add m68k_cpu_list()

This patch adds to m68k target the missing m68k_cpu_list():

$ ./m68k-softmmu/qemu-system-m68k -cpu ?
m5206
m5208
cfv4e
any

Signed-off-by: Laurent Vivier <>

39b6efc8 05/09/2009 12:11 am vibi

Fix in file qemu-sockets.c

1) Changed usage of malloc,free,strdup to qemu_malloc,qemu_free,qemu_strdup
2) Some coding style fixes (based on CODING_STYLE document)
3) Free struct addrinfo *res after failure of listen

Signed-off-by: vibi <>...

4e12cd94 05/09/2009 12:11 am Avi Kivity

vga: Replace VGA_COMMON with a structure

All VGA devices share a common field subset; currently they do so by
a macro which defines the common fields inline their state structures,
relying on the the common state being placed at offset 0 in the structure....

fbb7b4e0 05/09/2009 12:02 am Kevin Wolf

Improve block range checks

This patch makes the range checks for block requests more strict: It fixes a
potential integer overflow and checks for negative offsets. Also, it adds the
check for compressed writes.

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

989cebff 05/08/2009 11:51 pm Anthony Liguori

Remove noisy printf when KVM masks CPU features

Signed-off-by: Anthony Liguori <>

e7d54ae8 05/08/2009 11:51 pm Christoph Hellwig

fix asynchronous ioctls

posix_aio_read expect aio requests to return the number of bytes
requests to be successfull, so we need to fake this up for ioctls.

Signed-off-by: Christoph Hellwig <>
Signed-off-by: Anthony Liguori <>

b827df58 05/08/2009 11:42 pm Avi Kivity

kvm: Add support for querying supported cpu features

kvm does not support all cpu features; add support for dunamically querying
the supported feature set.

Signed-off-by: Avi Kivity <>
Signed-off-by: Anthony Liguori <>

c6fa82c4 05/08/2009 11:42 pm Avi Kivity

Make x86 cpuid feature names available in file scope

To be used later.

Signed-off-by: Avi Kivity <>
Signed-off-by: Anthony Liguori <>

02b049df 05/08/2009 11:42 pm Avi Kivity

Fix x86 feature modifications for features that set multiple bits

QEMU allows adding or removing cpu features by using the syntax '-cpu +feature'
or '-cpu -feature'. Some cpuid features cause more than one bit to be set or
cleared; but QEMU stops after just one bit has been modified, causing the...

e8a6aec9 05/08/2009 11:42 pm Avi Kivity

kvm: Trim cpu features not supported by kvm

Remove cpu features that are not supported by kvm from the cpuid features
reported to the guest.

Signed-off-by: Avi Kivity <>
Signed-off-by: Anthony Liguori <>

ad7b8b33 05/08/2009 11:42 pm Anthony Liguori

Introduce kvm_check_extension to check if KVM extensions are supported

Signed-off-by: Anthony Liguori <>

e28f9884 05/08/2009 11:24 pm Glauber Costa

register reset handler for option_roms

Currently, boot options are not preserved across a system reset.
option roms can modify themselves, or can for instance restore the real
int 0x19 vector after they tried to boot from it.

To properly do that, we need a reset handler registered to deal with option...

d6ecb036 05/08/2009 11:24 pm Glauber Costa

reset state for load_linux

The linux loader is just an option rom like any other, just with
some special requirements. Right now, our option rom resetting
mechanism is not being applied to it. As a result, users using
-kernel will not be able to successfully reboot their machines...

79d5ca56 05/08/2009 11:24 pm Alexander Graf

AIO deletion race fix

When deleting an fd event there is a chance the object doesn't get
deleted, but only ->deleted set positive and deleted somewhere later.

Now, if we create a handler for the fd again before the actual
deletion occurs, we end up writing data into an object that has...

4a794a62 05/08/2009 11:24 pm Amit Shah

e1000: Do not reinit pci config space to 0

pci_register_device already mallocs the pci config space buffer filled
with zeroes.

Doing this again breaks some default config space writes like
setting the subsystem vendor id and subsystem device id.

Signed-off-by: Amit Shah <>...

d4d698f0 05/08/2009 11:24 pm Gleb Natapov

Fix cluster freeing in qcow2

Need to drop QCOW_OFLAG_COPIED from a cluster pointer before freeing it.

Add an explanation how thing meant to work.

Signed-off-by: Gleb Natapov <>
Signed-off-by: Anthony Liguori <>

a6d65524 05/08/2009 06:13 pm Anthony Liguori

Enable power button even generation.

Signed-off-by: Gleb Natapov <>
Signed-off-by: Anthony Liguori <>

322f9d01 05/08/2009 03:24 pm Jan Kiszka

Drop CONFIG_GDBSTUB

This is no user-flippable switch, and no arch makes use of disabling
gdbstub support. So it's pointless to keep the related #ifdefs and
configure hunks around - and risking breakages like 711c410fdd again.

Signed-off-by: Jan Kiszka <>

c599710f 05/08/2009 03:20 pm Paul Brook

Remove superfluous #includes.

Signed-off-by: Paul Brook <>

42a89d77 05/08/2009 03:19 pm Paul Brook

Use target_phys_addr_t, not target_ulong.

Signed-off-by: Paul Brook <>

2ac71179 05/08/2009 04:35 am Paul Brook

Replace cpu_abort with hw_error

Signed-off-by: Paul Brook <>

e612a1f7 05/07/2009 08:14 pm Blue Swirl

Fix disassembler memory accesses

Sparc disassembler wants to check previous addresses for some stuff
and this may actually cause faults to be generated to the guest if the
address is close to page start, because of the function used for the
memory access....

0087375e 05/07/2009 04:00 am Paul Brook

Suppress make directory messages.

We already print a directory prefix in non-verbose mode, so there's no
point printing a messages when recursive make enters/leaves a directory.

Signed-off-by: Paul Brook <>

399a4e21 05/06/2009 06:18 pm Paul Brook

Fix PL110 framebuffer byteswapping in 32bpp mode.

Signed-off-by: Paul Brook <>

72af9170 05/05/2009 02:13 pm Edgar E. Iglesias

ETRAX: Simplify serport control logic.

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

f2964260 05/05/2009 01:50 pm Edgar E. Iglesias

ETRAX: Drop _t for the serial type.

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

4ad804df 05/05/2009 01:48 pm Edgar E. Iglesias

ETRAX: Use NULL for subwidth serport reg accesses.

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

b23b0fd0 05/05/2009 01:41 pm Edgar E. Iglesias

ETRAX: Drop the _t for the internal PIC type.

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

8d13fcc0 05/05/2009 01:38 pm Edgar E. Iglesias

ETRAX: Simplify the interrupt controller model.

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

7a3161ba 05/05/2009 01:25 pm Edgar E. Iglesias

ETRAX: Simplify interrupt signaling.

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

65a650c2 05/04/2009 05:19 pm Paul Brook

Fix compiler warnings in nwfpe code.

Signed-off-by: Paul Brook <>

6bb72b18 05/04/2009 11:05 am Aurelien Jarno

target-mips: proper sign extension for 'SUBU rd, zero, rt'

Signed-off-by: Aurelien Jarno <>

88cbb980 05/04/2009 11:05 am Aurelien Jarno

target-mips: fix comments about SUB/DSUB

Signed-off-by: Aurelien Jarno <>

c304d317 05/04/2009 11:05 am Aurelien Jarno

qemu-options.hx: fix description of cache=none suboption

Signed-off-by: Aurelien Jarno <>

cc63bb0f 05/04/2009 12:40 am Paul Brook

Suppress type mismatch warnings in VDE code.

Signed-off-by: Paul Brook <>

425c608c 05/03/2009 10:10 pm Isaku Yamahata

minor fix of pci_register_bus()

keep first_bus linked list correct.

Signed-off-by: Isaku Yamahata <>

6407f373 05/03/2009 10:03 pm Isaku Yamahata

use PCI_HEADER_TYPE.

use symbolic value instead of 0x0e and related value.

Signed-off-by: Isaku Yamahata <>

ccbb4d44 05/03/2009 09:58 pm Stuart Brady

Fix typos in comments in exec.c

This patch fixes several typos in comments in exec.c:

longet -> longer
recommanded -> recommended
ajustments -> adjustments
inconsistancies -> inconsistencies
phsical -> physical
positionned -> positioned...
719f66a7 05/03/2009 09:51 pm Blue Swirl

Optimize cmp x, 0 case

Signed-off-by: Blue Swirl <>

dc1a6971 05/03/2009 09:51 pm Blue Swirl

Reindent

Signed-off-by: Blue Swirl <>

03f311ed 05/03/2009 07:00 pm Paul Brook

Handle NULL bdrv.

Signed-off-by: Paul Brook <>

b89e94af 05/02/2009 11:19 pm Blue Swirl

Improve instruction name comments for easier searching

Signed-off-by: Blue Swirl <>

7ab463cb 05/02/2009 10:52 pm Blue Swirl

Clarify: dmmuregs1 is not a typo

Signed-off-by: Blue Swirl <>

41d72852 05/02/2009 10:14 pm Blue Swirl

Optimize operations with immediate parameters

67526b20 05/02/2009 09:58 pm Blue Swirl

Fix Sparc64 sign extension problems

Signed-off-by: Blue Swirl <>

d02f7094 05/01/2009 06:03 pm Anthony Liguori

Make sure not to fall through on error in loadvm

This is from the KVM tree

Signed-off-by: Anthony Liguori <>

f654d9e2 05/01/2009 06:03 pm Alex Williamson

Fix hw/acpi.c build w/ DEBUG enabled

Trivial build warning/fixes when the local DEBUG define is enabled.

Signed-off-by: Alex Williamson <>
Signed-off-by: Avi Kivity <>
Signed-off-by: Anthony Liguori <>

aff427a1 05/01/2009 05:47 pm Chris Wright

Pci nic: pci_register_device can fail

The pci_register_device() call in PCI nic initialization routines can
fail. Handle this failure and propagate a meaningful error message to
the user instead of generating a SEGV.

Cc: Marcelo Tosatti <>...

e6a6dfe4 05/01/2009 05:44 pm Anthony Liguori

Fix serial option with -drive

This is from the KVM tree.

Signed-off-by: Anthony Liguori <>

704aec58 05/01/2009 05:44 pm Xiantao Zhang

Build fix for !CONFIG_GDBSTUB case

Once CONFIG_GDBSTUB not configured, compile will generate error.

Signed-off-by: Xiantao Zhang <>
Signed-off-by: Avi Kivity <>
Signed-off-by: Anthony Liguori <>