Statistics
| Branch: | Revision:

root / hw @ 7696d1ec

# Date Author Comment
7696d1ec 05/27/2009 11:49 am Edgar E. Iglesias

microblaze: Conditionalize FDT features.

If libfdt is not available, disable the fdt manipulation features.

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

6a8b1ae2 05/26/2009 10:10 pm Edgar E. Iglesias

microblaze: Add petalogix s3a1800dsp MMU linux ref-design.

This setup was designed by petalogix and is supported by upstream linux.
The design targets a xilinx spartan-3a-1800 dsp board with MMU.

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

b43848a1 05/26/2009 10:10 pm Edgar E. Iglesias

xilinx: Add ethlite emulation.

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

ee118d95 05/26/2009 10:10 pm Edgar E. Iglesias

xilinx: Add uartlite emulation.

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

388f60b1 05/26/2009 10:10 pm Edgar E. Iglesias

xilinx: Add OPB timer.

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

1f07fd1f 05/26/2009 10:10 pm Edgar E. Iglesias

microblaze: Add CPU interrupt wrapper logic.

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

17628bc6 05/26/2009 10:10 pm Edgar E. Iglesias

xilinx: Add interrupt controller.

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

067a3ddc 05/26/2009 04:56 pm Paul Brook

Remove qdev irq sink handling

We have both IRQ sinks and GPIO inputs. These are in principle exactly
the same thing, so remove the former.

Signed-off-by: Paul Brook <>

3cb5a223 05/23/2009 10:43 pm Stefan Weil

ETRAX: Removed unused struct entry and fixed Windows build.

"struct timeval last" caused a compilation error with mingw32
(missing header for struct timeval).

It is unused, so it was possible to remove it.

Acked-by: Edgar E. Iglesias <>...

02e2da45 05/23/2009 02:13 am Paul Brook

Add common BusState

Implement and use a common device bus state. The main side-effect is
that creating a bus and attaching it to a parent device are no longer
separate operations. For legacy code we allow a NULL parent, but that
should go away eventually....

4856fcff 05/22/2009 07:44 pm Paul Brook

Fix lance segfaults

Signed-off-by: Paul Brook <>

40ff1624 05/22/2009 06:50 pm Jason Wessel

serial: fix lost character after sysrq

After creating an automated regression test to test the sysrq
responses while running a linux image in qemu, I found that the
simulated uart was eating the character right after the sysrq about
75% of the time.

The problem is that the qemu sets the LSR_DR (data ready) bit on a...

8217606e 05/22/2009 06:50 pm Jan Kiszka

Introduce reset notifier order

Add the parameter 'order' to qemu_register_reset and sort callbacks on
registration. On system reset, callbacks with lower order will be
invoked before those with higher order. Update all existing users to the
standard order 0....

7e57f049 05/22/2009 06:50 pm Jason Wessel

usb-serial: implement break event.

Implement the serial break via usb serial.

The second data byte in ftdi status packet contains the break status.
The values were already defined in usb-serial.c so it was a matter of
making use of the event_trigger to form a urb to send over to the host...

93102fd6 05/22/2009 06:50 pm Jan Kiszka

kvm: Fix framebuffer dirty log sync

kvm_physical_sync_dirty_bitmap() takes the end address as second
argument, not the region size. Moverover, the kvm API should not be used
directly here, but cpu_physical_sync_dirty_bitmap().

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

19629537 05/22/2009 06:50 pm Glauber Costa

introduce set_rate_limit function for QEMUFile

This patch converts the current callers of qemu_fopen_ops().

Signed-off-by: Glauber Costa <>
Signed-off-by: Anthony Liguori <>

993fbfdb 05/22/2009 04:54 am Anthony Liguori

Refactor how display drivers are selected

My previous commit, f92f8afebe, broke -vnc (spotted by Glauber Costa). This
is because it's necessary to tell when the no special display parameters have
been passed and default to SDL or VNC appropriately.

This refactors the display selection logic to be less complicated which has...

0c257437 05/22/2009 04:54 am Anthony Liguori

Introduce is_default field for QEMUMachine

f80f9ec changed the order that machines are registered which had the effect of
changing the default machine. This changeset introduces a new is_default field
so that machine types can declare that they are the default for an architecture....

2567f579 05/21/2009 06:54 pm Blue Swirl

Compile most Xen files only once

Signed-off-by: Blue Swirl <>

e20a8dff 05/21/2009 06:54 pm Blue Swirl

Compile fdc, escc and SCSI controllers only once

Signed-off-by: Blue Swirl <>

368b90db 05/21/2009 06:54 pm Blue Swirl

Let the venomous poison spread to more identifiers

Signed-off-by: Blue Swirl <>

f80f9ec9 05/21/2009 04:47 pm Anthony Liguori

Convert machine registration to use module init functions

This cleans up quite a lot of #ifdefs, extern variables, and other ugliness.

Signed-off-by: Anthony Liguori <>

42fa1c2e 05/20/2009 05:24 pm Richard W.M. Jones

Remove initrd warning message

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

e6ade764 05/20/2009 05:12 pm Glauber Costa

keep initrd in below 4g area.

initrd must be kept on the memory area below 4g. By not doing this,
we're seeing guests break while using -initrd and values of -mem
superior to 4096.

Signed-off-by: Glauber Costa <>

3a8bae3e 05/20/2009 02:27 am malc

Remove dead code

Signed-off-by: malc <>

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