Statistics
| Branch: | Revision:

root / hw @ cda9046b

# Date Author Comment
10ae5a7a 06/09/2009 01:38 pm Jan Kiszka

net: Improve parameter error reporting

As host network devices can also be instantiated via the monitor, errors
should then be reported to the related monitor instead of stderr. This
requires larger refactoring, so this patch starts small with introducing...

463af534 06/09/2009 01:38 pm Mark McLoughlin

net: add fd_readv() handler to qemu_new_vlan_client() args

This, apparently, is the style we prefer - all VLANClientState
should be an argument to qemu_new_vlan_client().

Signed-off-by: Mark McLoughlin <>

cda9046b 06/09/2009 01:38 pm Mark McLoughlin

net: re-name vc->fd_read() to vc->receive()

VLANClientState's fd_read() handler doesn't read from file
descriptors, it adds a buffer to the client's receive queue.

Re-name the handlers to make things a little less confusing.

Signed-off-by: Mark McLoughlin <>

98ba2632 06/08/2009 08:36 pm Gerd Hoffmann

qdev: c99 initilaizers for bus_type_names

Signed-off-by: Gerd Hoffmann <>

682aea0e 06/08/2009 08:02 pm Gerd Hoffmann

xen nic: use XC_PAGE_SIZE instead of PAGE_SIZE.

Signed-off-by: Gerd Hoffmann <>

7105b056 06/08/2009 08:01 pm Gerd Hoffmann

xen nic: use qemu_malloc

Signed-off-by: Gerd Hoffmann <>

6379840f 06/06/2009 06:48 pm Gerd Hoffmann

xen: net backend doesn't need linux headers.

Drop them to make qemu build on OpenSolaris.

Cc: Andreas Färber <>
Signed-off-by: Gerd Hoffmann <>

db241f40 06/06/2009 04:49 am Paul Brook

Fix typo

Signed-off-by: Paul Brook <>

cae4956e 06/05/2009 05:53 pm Gerd Hoffmann

qdev: add monitor command to dump the tree.

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Paul Brook <>

1431b6a1 06/05/2009 05:52 pm Paul Brook

Record device property types

Record device property types, and provide a list of properties at device
registration time.

Add a "device" property type that holds a reference to annother device.

Signed-off-by: Paul Brook <>

bdb11366 06/04/2009 03:12 pm Paul Brook

Remove ARM NVIC initialization hack

The ARMv7-M NVIC device pokes itself into the CPU state. Now we have a
proper device model we can have the CPU/SoC code do this.

Signed-off-by: Paul Brook <>

aca312af 06/04/2009 01:24 pm Gerd Hoffmann

qdev: kill DeviceState->name

is redundant with DeviceState->type->name

Signed-off-by: Gerd Hoffmann <>

4b0c7aa3 06/03/2009 10:54 pm Edgar E. Iglesias

microblaze: Fix loading of petalogix s3adsp1800 dtb.

Provide a petalogix-s3adsp1800.dtb blob.
Correct loading of the petalogix dtb.

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

40905a6a 06/03/2009 05:16 pm Paul Brook

Stellaris qdev conversion

Signed-off-by: Paul Brook <>

2c6554bc 06/02/2009 05:30 pm Paul Brook

Implement multiple samplers on stellaris ADC

Signed-off-by: Paul Brook <>

5cea8590 05/30/2009 03:59 am Paul Brook

Use relative path for bios

Look for bios and other support files relative to qemu binary, rather than
a hardcoded prefix.

Signed-off-by: Paul Brook <>

8a43b1ea 05/27/2009 05:46 pm Chris Lalancette

Allow monitor interaction when using migrate -exec

All,
I've recently been playing around with migration via exec. Unfortunately,
when starting the incoming qemu process with "-incoming exec:cmd", it suffers
the same problem that -incoming tcp used to suffer; namely, that you can't...

cab3c825 05/27/2009 05:45 pm Kevin Wolf

e1000: Ignore reset command

When a reset is requested, the current e1000 emulation never clears the
reset bit which may cause a driver to hang. This patch masks the reset
bit out when setting the control registert, so the reset is immediately
completed.
...

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

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