Statistics
| Branch: | Revision:

root / hw @ 2d6c1ef4

# Date Author Comment
2d6c1ef4 03/21/2011 01:27 pm Amit Shah

char: Prevent multiple devices opening same chardev

Prevent:

-chardev socket,path=/tmp/foo,server,nowait,id=c0 \
-device virtserialport,chardev=c0,id=vs0 \
-device virtserialport,chardev=c0,id=vs1

Reported-by: Mike Cao <>
Signed-off-by: Amit Shah <>

f9a90f18 03/21/2011 01:26 pm Amit Shah

virtio-console: Keep chardev open for other users after hot-unplug

After a hot-unplug operation, the previous behaviour was to close the
chardev. That meant the chardev couldn't be re-used. Also, since
chardev hot-plug isn't possible so far, this means virtio-console...

32059220 03/21/2011 01:25 pm Amit Shah

virtio-serial: Enable ioeventfd

Enable ioeventfd for virtio-serial devices by default. Commit
25db9ebe15125deb32958c6df74996f745edf1f9 lists the benefits of using
ioeventfd.

Copying a file from guest to host over a virtio-serial channel didn't
show much difference in time or io_exit rate....

e9b382b0 03/21/2011 01:25 pm Amit Shah

virtio-serial-bus: Simplify handle_output() function

There's no code change, just re-arrangement to simplify the function
after recent modifications.

Reported-by: Juan Quintela <>
Signed-off-by: Amit Shah <>

fee063c0 03/21/2011 01:25 pm Amit Shah

virtio-serial: Don't clear ->have_data() pointer after unplug

After a port unplug operation, the port->info->have_data() pointer was
set to NULL. The problem is, the ->info struct is shared by all ports,
effectively disabling writes to other ports.

Reported-by: juzhang <>...

6b331efb 03/21/2011 01:25 pm Amit Shah

virtio-serial: Use a struct to pass config information from proxy

Instead of using a single variable to pass to the virtio_serial_init
function, use a struct so that expanding the number of variables to be
passed on later is easier.

Signed-off-by: Amit Shah <>

0b8b716d 03/21/2011 01:25 pm Amit Shah

virtio-serial: Disallow generic ports at id 0

Port 0 is reserved for virtconsole devices for backward compatibility
with the old -virtioconsole (from qemu 0.12) device type.

libvirt prior to commit 8e28c5d40200b4c5d483bd585d237b9d870372e5 used
port 0 for generic ports. libvirt will no longer do that, but disallow...

d81e54de 03/19/2011 10:43 am Blue Swirl

petalogix_ml605_mmu: remove unused variable

Remove a write-only variable, spotted by GCC 4.6.0:
/src/qemu/hw/petalogix_ml605_mmu.c: In function 'petalogix_ml605_init':
/src/qemu/hw/petalogix_ml605_mmu.c:153:11: error: variable 'serial' set but not used [-Werror=unused-but-set-variable]...

ca22a3a3 03/19/2011 10:29 am Jan Kiszka

i8254: Fix migration from older versions

qdev conversion broke migration as the previous version used vmstate
instance IDs derived from the iobase. Fix it by registering a legacy
alias.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Blue Swirl <>

93f1e401 03/16/2011 04:18 pm Edgar E. Iglesias

xilinx: Add AXIENET & DMA models

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

00914b7d 03/16/2011 04:18 pm Michal Simek

microblaze: Add PetaLogix ml605 MMU little-endian ref design

Add the first Microblaze little endian platform.
Platform uses uart16550, axi ethernet, timer, intc.

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

94ad5b00 03/13/2011 04:44 pm Paolo Bonzini

always qemu_cpu_kick after unhalting a cpu

This ensures env->halt_cond is broadcast, and the loop in
qemu_tcg_wait_io_event and qemu_kvm_wait_io_event is exited
naturally rather than through a timeout.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Blue Swirl <>

913895ab 03/13/2011 03:35 pm Stefan Weil

hw/fmopl: Fix buffer access out-of-bounds errors

Index 75 is one too large for AR_TABLE75, DR_TABLE75.
This error was reported by cppcheck.

hw/fmopl.c:600: error: Buffer access out-of-bounds: OPL.AR_TABLE
hw/fmopl.c:601: error: Buffer access out-of-bounds: OPL.DR_TABLE...

7165448a 03/13/2011 03:24 pm William Dauchy

moving eeprom initialization

The initialization should not be only on reset but also when initializing
the device.
It resolves a bug when hot plugging a pci network device: the mac address
was always null.

Signed-off-by: William Dauchy <>...

e14c8062 03/12/2011 11:52 am Blue Swirl

pc: fix wrong CMOS values for floppy drives

Before commit 63ffb564dca94f8bda01ed6d209784104630a4d2, states for
floppy drives were calculated in fdc.c:fd_revalidate(). There it is
also considered whether a disk is inserted or not. The commit didn't copy
the logic completely to pc.c, which caused a regression....

73ad9e62 03/11/2011 04:24 pm Michal Simek

microblaze: Fix PetaLogix company name

trivial fix.

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

82fa39b7 03/11/2011 12:12 am Juan Quintela

vmstate: Fix varrays with uint8 indexes

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

a624b086 03/11/2011 12:12 am Juan Quintela

vmstate: add UINT32 VARRAYS

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

2a57b6c8 03/11/2011 12:12 am Juan Quintela

vmstate: add VMSTATE_STRUCT_VARRAY_INT32

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

15c6a56e 03/11/2011 12:12 am Juan Quintela

vmstate: add VMSTATE_INT64_ARRAY

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

1283da72 03/11/2011 12:12 am Juan Quintela

vmstate: add VMSTATE_STRUCT_VARRAY_UINT32

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

6059631c 03/11/2011 12:12 am Juan Quintela

vmstate: Add a way to send a partial array

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

639f49b6 03/11/2011 12:12 am Juan Quintela

vmstate: be able to store/save a pci device from a pointer

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

f6317a6e 03/11/2011 12:12 am Juan Quintela

vmstate: move timers to use test instead of version

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

9122a8fe 03/11/2011 12:12 am Juan Quintela

vmstate: add VMSTATE_UINT32_EQUAL

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

d48751ed 03/10/2011 10:16 am Edgar E. Iglesias

xilinx-ethlite: Simplify byteswapping to/from brams

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

b651fc6f 03/10/2011 04:38 am Dmitry Eremin-Solenikov

mainstone: PCMCIA support

Extend mst_fpga and mainstone with logic to support PCMCIA
attachment (IRQs, status regs).

Signed-off-by: Dmitry Eremin-Solenikov <>
Signed-off-by: Andrzej Zaborowski <>

95499a1d 03/10/2011 04:36 am Dmitry Eremin-Solenikov

mainstone: use gpio 0 for connection of FPGA instead of hooking into PIC directly

Signed-off-by: Dmitry Eremin-Solenikov <>
Signed-off-by: Andrzej Zaborowski <>

8034ce7d 03/10/2011 04:31 am Andrzej Zaborowski

pxa2xx_timer: Get rid of .level in PXA2xxTimer0.

7c29d6ce 03/10/2011 04:11 am Andrzej Zaborowski

pxa2xx_pic: fixup initialisation

This is based on Dmitry Eremin-Solenikov's patch but simplified.

4ff927cc 03/10/2011 03:46 am Dmitry Eremin-Solenikov

pxa2xx_timer: separate irq for pxa27x handling

First, sysbus_init_irq shan't be called on on-stack variables. Indeed,
it only stores a passed pointer in qdev and the stored irq is later
populated, so we get a nice write-to-stack bug.
Second, irq for pxa27x should probably be handled in a more gentler way,...

f19410ca 03/07/2011 02:42 pm Michael Walle

lm32: system control model

This patch add support for a system control block. It is supposed to
act as helper for the emulated program. E.g. shutting down the VM or
printing test results. This model is intended for testing purposes only and
doesn't fit to any real hardware. Therefore, it is not added to any board...

e5f799a2 03/07/2011 02:42 pm Michael Walle

lm32: support for creating device tree

This patch adds helper functions to create a ROM, which contains a hardware
description of a board. This is used in Theobromas LM32 Linux port.

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

d821732a 03/07/2011 02:42 pm Michael Walle

lm32: EVR32 and uclinux BSP

This patch adds support for the following two BSPs:
- LM32 EVR32 BSP (as used by RTEMS)
- uclinux BSP by Theobroma Systems

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

4ef66fa7 03/07/2011 02:42 pm Michael Walle

lm32: interrupt controller model

This patch adds the interrupt controller of the lm32. Because the PIC is
accessed through special control registers and opcodes, there are callbacks
from the lm32 translation code to this model.

Signed-off-by: Michael Walle <>...

15d7dc4f 03/07/2011 02:42 pm Michael Walle

lm32: juart model

This patch adds the JTAG UART model. It is accessed through special control
registers and opcodes. Therefore the translation uses callbacks to this
model.

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

f89286ae 03/07/2011 02:42 pm Michael Walle

lm32: pic and juart helper functions

This patch adds init functions for the PIC and JTAG UART commonly used
in the board initialization.

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

ea7924dc 03/07/2011 02:42 pm Michael Walle

lm32: timer model

This patch adds support for the LatticeMico32 system timer.

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

770ae571 03/07/2011 02:42 pm Michael Walle

lm32: uart model

This patch add support for the LatticeMico32 UART.

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

6ed221b6 03/07/2011 12:37 am Adam Lackorzynski

target-arm: Integrate secondary CPU reset in arm_boot

Integrate secondary CPU reset into arm_boot, removing it from realview.c.
On non-Linux systems secondary CPUs start with the same entry as the boot
CPU.

Signed-off-by: Adam Lackorzynski <>...

fa250144 03/07/2011 12:37 am Adam Lackorzynski

target-arm: Fix soft interrupt in GIC distributor

Fix selection of target list filter mode.

Signed-off-by: Adam Lackorzynski <>
Reviewed-by: Peter Maydell <>
Signed-off-by: Aurelien Jarno <>

532847e4 03/06/2011 09:10 pm Juan Quintela

vmstate: remove grackle_pci savevm code

It was migrating the wrong structures, no way it would work

Signed-off-by: Juan Quintela <>
Signed-off-by: Aurelien Jarno <>

9023f7b2 03/06/2011 09:10 pm Juan Quintela

vmstate: remove uninorth savevm code

It was migrating the wrong structures, no way it would work

Signed-off-by: Juan Quintela <>
Signed-off-by: Aurelien Jarno <>

05a7fcd0 03/06/2011 09:10 pm Juan Quintela

gt64xxx: remove savevm support

Signed-off-by: Juan Quintela <>
Signed-off-by: Aurelien Jarno <>

0d2e91c1 03/06/2011 09:02 pm Aurelien Jarno

hw/sd.c: fix sd_set_cb() crash when bdrv == NULL

sd_set_cb() calls bdrv_is_read_only() and bdrv_is_inserted() even if
no block driver is associated with the card reader.

This patch fixes the issues by not setting the irq in this case, this
fixes ARM versatile crash....

9793212b 03/06/2011 08:01 pm Peter Maydell

hw/irq: Add qemu_irq_split() so one GPIO output can feed two inputs

Add a qemu_irq_split() function which allows a board to wire a single
GPIO output up to two GPIO inputs. This is needed for realview boards,
where the MMC card status is visible both in a system register and...

26883c69 03/06/2011 08:01 pm Peter Maydell

hw/realview: Wire up the MMC card status

Instantiate the three PL061 GPIO modules the realview boards have.
Connect the MMC card status outputs of the PL181 MMC controller
to both the system registers and the GPIO module which handles
internal devices.

Signed-off-by: Peter Maydell <>...

b50ff6f5 03/06/2011 08:01 pm Peter Maydell

hw/arm_sysctl.c: Wire MCI register MMC card status bits to GPIO inputs

Implement some GPIO inputs which a board can connect up to set the
MMC card status bits in the MCI register.

Signed-off-by: Peter Maydell <>
Signed-off-by: Aurelien Jarno <>

7063f49f 03/06/2011 08:01 pm Peter Maydell

hw/pl061.c: Implement ARM PL061 as well as Luminary one

ARM's PL061 has a different set of ID registers to the one in the
Luminary Stellaris; implement this so that the Linux driver can
identify the Realview PBX PL061 correctly.

Signed-off-by: Peter Maydell <>...

c31a4724 03/06/2011 08:01 pm Peter Maydell

hw/pl181: Implement GPIO output pins for card status

Add two GPIO output pins to the PL181 model to indicate the card
present and readonly status information. On ARM boards these usually
are reflected in a system register.

Signed-off-by: Peter Maydell <>...

444dd39b 03/06/2011 07:22 pm Stefan Hajnoczi

lsi53c895a: Update dnad when skipping MSGOUT bytes

Update not only dbc but also dnad when skipping bytes during the MSGOUT
phase. Previously only dbc was updated which is probably wrong and
could lead to bogus message codes being read.

Tested on Linux and Windows Server 2003....

219982ef 03/05/2011 03:07 pm Gerhard Wiesinger

hw/pcnet.c: Fix EPROM contents to suit AMD netware drivers

bugfix under DOS for AMD netware driver:
AMD PCNTNW Ethernet MLID v3.10 (960115), network card not found

bugfix works well under DOS with:
1.) AMD NDIS driver v2.0.1
2.) AMD PCNTNW Ethernet MLID v3.10 (960115)...

b46d97f2 03/04/2011 12:33 am Stefan Hajnoczi

virtio-net: Fix lduw_p() pointer argument of wrong size

A pointer to a size_t variable was passed as the void * pointer to
lduw_p() in virtio_net_receive(). Instead of acting on the 16-bit value
this caused failure on big-endian hosts.

Avoid this issue in the future by using stw_p() instead. In general we...

8a231487 03/03/2011 04:13 pm Andrzej Zaborowski

pxa2xx: port pxa2xx_rtc to using qdev/vmstate

Signed-off-by: Dmitry Eremin-Solenikov <>
Signed-off-by: Andrzej Zaborowski <>

f114c826 03/03/2011 04:06 pm Andrzej Zaborowski

pxa2xx_dma: Get rid of a forward declaration.

2115c019 03/03/2011 04:04 pm Andrzej Zaborowski

pxa2xx_dma: port to qdev/vmstate

Signed-off-by: Dmitry Eremin-Solenikov <>
Signed-off-by: Andrzej Zaborowski <>

47188700 03/03/2011 03:54 pm Dmitry Eremin-Solenikov

vmstate: move VMSTATE_PCIE_AER_ERRS to hw/hw.h

VMSTATE_PCIE_AER_ERRS is indeed useful for other emulation drivers.
Move it to hw/hw.h under the name of VMSTATE_STRUCT_VARRAY_POINTER_UINT16.
Also add VMSTATE_STRUCT_VARRAY_POINTER_INT32 which is more or less...

ee2479d3 03/03/2011 03:50 pm Dmitry Eremin-Solenikov

pxa2xx_dma: drop unused pxa2xx_dma_handler_t/handler field

Signed-off-by: Dmitry Eremin-Solenikov <>
Signed-off-by: Andrzej Zaborowski <>

5251d196 03/03/2011 03:24 pm Andrzej Zaborowski

pxa2xx_timer: Store relevant irq line in each timer.

797e9542 03/03/2011 03:14 pm Dmitry Eremin-Solenikov

pxa2xx_timer: switch to using qdev/vmstate

Signed-off-by: Dmitry Eremin-Solenikov <>
Signed-off-by: Andrzej Zaborowski <>

d353eb43 03/03/2011 04:45 am Dmitry Eremin-Solenikov

pxa2xx_timer: change info struct name to comply with guidelines

It should be PXA2xxTimerInfo, not pxa2xx_timer_info. Replace all
occurences of old name with the new one.

Signed-off-by: Dmitry Eremin-Solenikov <>
Signed-off-by: Andrzej Zaborowski <>

0c69aa70 03/03/2011 04:43 am Andrzej Zaborowski

pxa2xx_pic: Set base address for sysbus device.

Thid device's registration was broken since
e1f8c729fa890c67bb4532f22c22ace6fb0e1aaf, this should fix it.

13801f32 03/03/2011 04:34 am Dmitry Eremin-Solenikov

vmstate: add VMSTATE_STRUCT_ARRAY_TEST

This is a _TEST variant of VMSTATE_STRUCT_ARRAY, necessary e.g.
for future patch changing pxa2xx_timer to use vmstate.

Signed-off-by: Dmitry Eremin-Solenikov <>
Signed-off-by: Andrzej Zaborowski <>

e1f8c729 02/25/2011 01:13 pm Dmitry Eremin-Solenikov

pxa2xx_pic: update to use qdev

Use qdev/sysbus framework to handle pxa2xx-pic. Instead of exposing IRQs
via array, reference them via qdev_get_gpio_in().

Patch has been modified by the committer.

Signed-off-by: Dmitry Eremin-Solenikov <>...

3e1dbc3b 02/25/2011 10:06 am Dmitry Eremin-Solenikov

mst_fpga: correct irq level settings

Final corrections for IRQ levels that are set by mst_fpga:

  • Don't retranslate IRQ if previously IRQ was masked.
  • After setting or clearing IRQs through register, apply mask
    before setting parent IRQ level.

Signed-off-by: Dmitry Eremin-Solenikov <>...

a43f9c90 02/24/2011 07:25 pm Gerd Hoffmann

virtio-serial: kill VirtIOSerialDevice

VirtIOSerialDevice is like VirtIOSerialPort with just the first two
fields, which makes it pretty pointless. Using VirtIOSerialPort
directly works equally well and is less confusing.

[Amit: - rebase
- rename 'dev' to 'port' in function params in virtio-serial.h ]...

fb1ba03a 02/24/2011 09:53 am Peter Maydell

hw/sd.c: Add missing state change for SD_STATUS, SEND_NUM_WR_BLOCKS

The SD_STATUS and SEND_NUM_WR_BLOCKS commands are supposed to cause
the card to send data back to the host. However sd.c was missing the
state change to sd_sendingdata_state for these commands, with the effect...

082e5be8 02/23/2011 01:31 pm Edgar E. Iglesias

pls3adsp1800: Base load_elf endianness on target endianness

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

9a31334f 02/21/2011 05:02 pm Peter Maydell

hw/irq.h: Remove unused SetIRQFunc typedef

Remove the typedef SetIRQFunc, as it is not used by anything.

Signed-off-by: Peter Maydell <>
Signed-off-by: Aurelien Jarno <>

81aa0647 02/21/2011 04:53 pm Aurelien Jarno

Revert "prep: Disable second IDE channel, as long as ISA IDE emulation doesn't support same irq for both channels"

This reverts commit 491e2a338fdf8310c84f6ebaed1683a871a0700e.

ee951a37 02/21/2011 04:46 pm Jan Kiszka

isa-bus: Remove bogus IRQ sharing check

Nothing prevented IRQ sharing on the ISA bus in principle. Not all
boards supported this, neither each and every card nor driver and OS.
Still, there existed valid IRQ sharing scenarios, (at least) two of them
can also be found in QEMU: >2 PC UARTs and the PREP IDE buses....

7096a96d 02/21/2011 04:41 pm Roy Tam

PS/2 keyboard Scancode Set 3 support

The following patch adds PS/2 keyboard Scancode Set 3 support.

Signed-off-by: Roy Tam <>
Signed-off-by: Aurelien Jarno <>

9dda2465 02/20/2011 09:28 pm Vasily Khoruzhick

Fix obvious mistake in pxa2xx i2s driver

RST bit is (1 << 4) bit, not (1 << 3), fix condition
that enables i2s if ENB is set and RST is not set.

Signed-off-by: Vasily Khoruzhick <>
Signed-off-by: Aurelien Jarno <>

582798b5 02/20/2011 08:53 pm Vasily Khoruzhick

pxa2xx_keypad: Handle 0xe0xx keycodes

Add handling of 0xe0xx keycodes to pxa2xx_driver.
Extended keycodes in keymap should be marked with most significant
bit set (i.e. 0x80). Without this patch it's not possible to handle
i.e. cursor keys.

Signed-off-by: Vasily Khoruzhick <>...

b976b4c0 02/20/2011 08:53 pm Vasily Khoruzhick

pxa2xx_keypad: enhance emulation of KPAS, KPASMKP regs

Add emulation of KPAS register and proper emulation of
KPASMKP regs, so now driver supports multipresses and properly
works with Linux driver.

Signed-off-by: Vasily Khoruzhick <>
Signed-off-by: Aurelien Jarno <>

5a5e3d55 02/20/2011 07:51 pm David 'Digit' Turner

qdev: Fix printout of bit device properties with bit index >= 8

Signed-off-by: David 'Digit' Turner <>
Acked-by: Markus Armbruster <>
Signed-off-by: Aurelien Jarno <>

e98ccb3f 02/20/2011 07:23 pm Stefan Weil

ppc405: Fix memory leak

Signed-off-by: Stefan Weil <>
Acked-by: Andreas Färber <>
Signed-off-by: Aurelien Jarno <>

9f953ca0 02/20/2011 07:23 pm Stefan Weil

s390: Fix memory leak

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

386bbf45 02/20/2011 07:23 pm Stefan Weil

pci: Fix memory leak

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

32993698 02/20/2011 07:06 pm Michael S. Tsirkin

vhost: disable on tap link down

qemu makes it possible to disable link at tap which is not communicated
to the guest but causes all packets to be dropped.

When vhost-net is enabled, vhost needs to be aware of both the virtio
link_down and the peer link_down. we switch to userspace emulation when...

322fd48a 02/20/2011 04:18 pm Michael S. Tsirkin

e1000: verify we have buffers, upfront

The spec says: Any descriptor with a non-zero status byte has been
processed by the hardware, and is ready to be handled by the software.

Thus, once we change a descriptor status to non-zero we should
never move the head backwards and try to reuse this...

ee912ccf 02/20/2011 04:18 pm Michael S. Tsirkin

e1000: clear EOP for multi-buffer descriptors

The e1000 spec says: if software statically allocates
buffers, and uses memory read to check for completed descriptors, it
simply has to zero the status byte in the descriptor to make it ready
for reuse by hardware. This is not a hardware requirement (moving the...

b19487e2 02/20/2011 04:18 pm Michael S. Tsirkin

e1000: multi-buffer packet support

e1000 supports multi-buffer packets larger than rxbuf_size.

This fixes the following (on linux):
- in guest: ifconfig eth1 mtu 16110
- in host: ifconfig tap0 mtu 16110
ping -s 16082 <guest-ip>

Signed-off-by: Michael S. Tsirkin <>...

1c693710 02/20/2011 04:13 pm Aurelien Jarno

pc: remove test on TARGET_PHYS_ADDR_BITS == 32

Both i386 and x86_64 targets are now using target_phys_bits=64. Remove
useless code.

Signed-off-by: Aurelien Jarno <>

64d7e9a4 02/20/2011 11:35 am Blue Swirl

i8254: convert to qdev

Convert to qdev. Don't expose PITState.

Signed-off-by: Blue Swirl <>

c74b88df 02/20/2011 11:34 am Blue Swirl

vga-isa: make optional

Ignore failure with vga-isa device creation, but print a warning
message.

Signed-off-by: Blue Swirl <>

7435b791 02/20/2011 11:34 am Blue Swirl

vga-isa: convert to qdev

Signed-off-by: Blue Swirl <>

17801c78 02/20/2011 11:34 am Blue Swirl

fdc: make optional

Ignore failure with fdc device creation.

Signed-off-by: Blue Swirl <>

63ffb564 02/20/2011 11:33 am Blue Swirl

fdc: refactor device creation

Turn fdc_init_isa into an inline function.

Get floppy geometry directly from the drives.

Don't expose FDCtrl.

Signed-off-by: Blue Swirl <>

d288c7ba 02/20/2011 11:33 am Blue Swirl

fdc: use FDriveType for floppy drive type

Signed-off-by: Blue Swirl <>

5bbdbb46 02/20/2011 11:33 am Blue Swirl

fdc: move floppy geometry guessing to block.c

Other geometry guessing functions already reside in block.c.

Remove some unused or debugging only fields.

Signed-off-by: Blue Swirl <>

9b13ef9f 02/20/2011 11:33 am Blue Swirl

serial: make optional

Ignore failure with serial device creation.

Signed-off-by: Blue Swirl <>

e22cf21e 02/20/2011 11:32 am Blue Swirl

serial: refactor device creation

Turn serial_init into an inline function.

Signed-off-by: Blue Swirl <>

cd1b8a8b 02/20/2011 11:32 am Blue Swirl

ne2000_isa: make optional

Ignore failure with ne2000_isa device creation.

Signed-off-by: Blue Swirl <>

60a14ad3 02/20/2011 11:32 am Blue Swirl

ne2000_isa: refactor device creation

Turn isa_ne2000_init into an inline function.

Signed-off-by: Blue Swirl <>

73531538 02/20/2011 11:31 am Blue Swirl

parallel: make optional

Ignore failure with parallel device creation.

Signed-off-by: Blue Swirl <>

defdb20e 02/20/2011 11:31 am Blue Swirl

parallel: refactor device creation

Turn parallel_init into an inline function.

Don't expose ParallelState.

Signed-off-by: Blue Swirl <>

e14da0af 02/17/2011 09:34 pm Marcelo Tosatti

Fix vmport segfault (v2)

Fix regression caused by qdev conversion.

Signed-off-by: Marcelo Tosatti <>
Signed-off-by: Blue Swirl <>

c5d69e6b 02/16/2011 04:47 pm Anthony Liguori

Merge remote branch 'qemu-kvm/uq/master' into staging

459505a2 02/16/2011 03:04 am Dmitry Eremin-Solenikov

Merge mainstone.h header into mainstone.c

Now the only user of mainstone.h is mainstone.c file. Merge header
into board file.

Signed-off-by: Dmitry Eremin-Solenikov <>
Signed-off-by: Andrzej Zaborowski <>