Statistics
| Branch: | Revision:

root / hw @ 1ad2134f

# Date Author Comment
1ad2134f 05/19/2009 06:17 pm Paul Brook

Hardware convenience library

The only target dependency for most hardware is sizeof(target_phys_addr_t).
Build these files into a convenience library, and use that instead of
building for every target.

Remove and poison various target specific macros to avoid bogus target...

8a637d44 05/19/2009 06:05 pm Paul Brook

Disable >4G ram support on 32-bit targets

If the target only has a 32-bit physical address space then
the code to map >4G ram breaks horribly, and causes compiler warnings.

Signed-off-by: Paul Brook <>

bba831e8 05/19/2009 04:52 pm Paul Brook

Remove obsolete BIOS_SIZE from sysemu.h

BIOS_SIZE is no longer needed by vl.c, so there's no point having it in
sysemu.h.

Signed-off-by: Paul Brook <>

fd6dc90b 05/18/2009 11:24 pm Edgar E. Iglesias

cris: First shot at qdev for CRIS interrupts.

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

96d7ddde 05/18/2009 10:44 pm Edgar E. Iglesias

etrax: Don't keep the passed irq pointer.

Copy passed irq object at channel connect.

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

678fdca8 05/18/2009 10:34 pm Edgar E. Iglesias

etrax: Remove unused eth irq line.

The ethernet blocks irq line to report errors is unimplemented in QEMU.
Remove it for now.

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

340d96e7 05/18/2009 08:27 pm Paul Brook

Syborg virtio bindings.

Implement Syborg device bindings for virtio-net.

Signed-off-by: Paul Brook <>

53c25cea 05/18/2009 08:26 pm Paul Brook

Separate virtio PCI code

Split the PCI host bindings from the VRing transport implementation.

Signed-off-by: Paul Brook <>

89a740e1 05/17/2009 04:55 pm Paul Brook

Consistently use uint64_t for int properties

I apparently failed to do this properly on the first attempt.

Signed-off-by: Paul Brook <>

979d98ca 05/16/2009 01:28 pm Edgar E. Iglesias

ETRAX-PIC: Untabify.

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

3b1fd90e 05/16/2009 03:14 am Edgar E. Iglesias

ETRAX-TIMER: qdevify.

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

84ceea57 05/16/2009 03:13 am Edgar E. Iglesias

ETRAX-TIMER: Untabify.

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

2a9859e7 05/16/2009 03:13 am Edgar E. Iglesias

ETRAX-SER: Untabify.

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

4b816985 05/16/2009 03:13 am Edgar E. Iglesias

ETRAX-SER: qdevify.

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

73cfd29f 05/16/2009 03:13 am Edgar E. Iglesias

ETRAX: Simplify PIC interface.

Instead of exporting a custom structure to represent different
interrupt types, just export the irq array and have the top
elements point to the NMI lines.

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

d33fd9d1 05/15/2009 05:53 pm Edgar E. Iglesias

ETRAX: Correct passing of kernel command line.

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

4af39611 05/15/2009 01:11 am Paul Brook

Syborg (Symbian Virtual Platform) board

A virtual reference platform for SymbianOS development/debugging.

Signed-off-by: Paul Brook <>

1de9610c 05/15/2009 12:35 am Paul Brook

Stellaris I2C qdev conversion

Signed-off-by: Paul Brook <>

90d37239 05/15/2009 12:35 am Paul Brook

SSP bus framework

Signed-off-by: Paul Brook <>

5493e33f 05/15/2009 12:35 am Paul Brook

Stellaris SSI qdev conversion

Signed-off-by: Paul Brook <>

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

PXA SSI qdev conversion

Signed-off-by: Paul Brook <>

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

PL080 qdev conversion

Signed-off-by: Paul Brook <>

07e3af9a 05/15/2009 12:35 am Paul Brook

Virtio-blk qdev conversion

Signed-off-by: Paul Brook <>

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

Virtio-balloon qdev conversion

Signed-off-by: Paul Brook <>

0e058a8a 05/15/2009 12:35 am Paul Brook

Virtio-console conversion

Signed-off-by: Paul Brook <>

0027b06d 05/15/2009 12:35 am Paul Brook

ARM PCI host qdev conversion

Signed-off-by: Paul Brook <>

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

ARM GIC qdev conversion

Signed-off-by: Paul Brook <>

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

MusicPal qdev conversion

Signed-off-by: Paul Brook <>

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

I2C qdev support

Signed-off-by: Paul Brook <>

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

SSD0303 qdev conversion

Signed-off-by: Paul Brook <>

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

MAX7310 I2C qdev conversion

Signed-off-by: Paul Brook <>

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

LM832x qdev conversion

Signed-off-by: Paul Brook <>

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

PXA2xx I2C slave qdev conversion

Signed-off-by: Paul Brook <>

697454eb 05/15/2009 12:35 am Paul Brook

TMP105 qdev conversion

Signed-off-by: Paul Brook <>

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

WM8750 qdev coversion

Signed-off-by: Paul Brook <>

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

TWL92230 qdev conversion

Signed-off-by: Paul Brook <>

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

TOSC DAC i2c qdev voncersion

Signed-off-by: Paul Brook <>

1ea96673 05/15/2009 12:35 am Paul Brook

SMBus qdev conversion

Signed-off-by: Paul Brook <>

0077147e 05/15/2009 12:35 am Paul Brook

Remove bogus omap i2c slave code

Signed-off-by: Paul Brook <>

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

I2C cleanup

Signed-off-by: Paul Brook <>

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 <>

3950f18b 05/15/2009 12:35 am Paul Brook

Versatile/PB core qdev conversion

Signed-off-by: Paul Brook <>

82634c2d 05/15/2009 12:35 am Paul Brook

ARM RealView sytem controller 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 <>

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

Remove any pretense that there can be more than one AudioState

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 <>

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 <>

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 <>

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....

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 <>

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....

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...

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 <>...

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 <>

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 <>

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 <>

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

Handle NULL bdrv.

Signed-off-by: Paul Brook <>

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 <>...

9dd986cc 05/01/2009 05:44 pm Richard W.M. Jones

Hardware watchdog

Here is an updated hardware watchdog patch, which should fix
everything that was raised about the previous version ...

Signed-off-by: Richard W.M. Jones <>
Signed-off-by: Anthony Liguori <>

8b91408b 05/01/2009 05:44 pm Christoph Hellwig

fix virtio_blk_inhdr comment

The inhdr is at the end of the S/G list, not the beginning.

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

49669fc5 05/01/2009 05:44 pm Glauber Costa

suport device driver initialization model

According to PnP specification, Appendix B, Option ROMs
that support DDIM (device driver initialization model) should
have their memory space writeable.

KVM deviates from us here, by removing the IO_MEM_ROM flag,...

1063b8b1 05/01/2009 05:44 pm Christoph Hellwig

virtio-blk: add SGI_IO passthru support

[had the qemu list address wrong the first time, reply to this message,
not the previous if you were on Cc]

Add support for SG_IO passthru (packet commands) to the virtio-blk
backend. Conceptually based on an older patch from Hannes Reinecke...

582af0da 05/01/2009 05:16 pm Paul Brook

Remove redundant cirrus vga ram functions.

Signed-off-by: Paul Brook <>

1dcea8e8 04/30/2009 08:35 pm Paul Brook

Remove vga LFB accessor hacks.

These are redundant now that we remap the LFB ram area.

Signed-off-by: Paul Brook <>

c0c440f3 04/27/2009 09:10 pm Blue Swirl

Synch to VGA

12c7e75a 04/27/2009 08:57 pm Avi Kivity

[RESEND] Fix vga segfaults or screen corruption with large memory guests

page0 and friends are ram addresses; a smaller size will overflow and
cause a segfault or random corruption.

Change them to ram_addr_t.

Signed-off-by: Avi Kivity <>

6fcfeff9 04/25/2009 11:00 am Blue Swirl

Fix compilation when x86_64 is defined

c433bedf 04/25/2009 10:31 am Blue Swirl

Fix warning

d9f75a4e 04/24/2009 09:03 pm aliguori

qemu: create helper for event notification (Marcelo Tosatti)

Signed-off-by: Marcelo Tosatti <>
Signed-off-by: Anthony Liguori <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7236 c046a42c-6fe2-441c-8c8c-71466251a162