Statistics
| Branch: | Revision:

root / hw @ 0d84be5b

# Date Author Comment
0d84be5b 04/25/2010 10:46 pm Blue Swirl

cris: remove dead assignments, spotted by clang analyzer

Value stored is never read.

Signed-off-by: Blue Swirl <>

22ed1d34 04/25/2010 10:31 pm Blue Swirl

arm: remove dead assignments, spotted by clang analyzer

Value stored is never read.

Signed-off-by: Blue Swirl <>

7f5b7d3e 04/25/2010 09:58 pm Blue Swirl

x86: remove dead assignments, spotted by clang analyzer

Value stored is never read.

Signed-off-by: Blue Swirl <>

9678d950 04/25/2010 09:35 pm Blue Swirl

Remove dead assignments in various common files, spotted by clang analyzer

Value stored is never read.

Signed-off-by: Blue Swirl <>

d4c4e6fd 04/25/2010 09:23 pm Blue Swirl

usb: remove dead assignments, spotted by clang analyzer

Value stored is never read.

Signed-off-by: Blue Swirl <>

7300c079 04/25/2010 09:20 pm Blue Swirl

bt: remove dead assignments, spotted by clang analyzer

Value stored is never read.

Signed-off-by: Blue Swirl <>

4aa720f7 04/23/2010 10:22 pm Blue Swirl

Fix harmless if statement with empty body, spotted by clang

This clang error is harmless but worth fixing:
CC libhw32/rc4030.o
/src/qemu/hw/rc4030.c:244:66: error: if statement has empty body [-Wempty-body]
DPRINTF;...

3cc128bb 04/23/2010 05:21 pm Bruce Rogers

Remove un-needed code

The bdrv_set_geometry_hint call below is not needed - it's just setting
what was just read.

Signed-off-by: Bruce Rogers <>
Signed-off-by: Kevin Wolf <>

d6e9098e 04/23/2010 05:08 pm Kevin Wolf

Replace calls of old bdrv_open

What is known today as bdrv_open2 becomes the new bdrv_open. All remaining
callers of the old function are converted to the new one. In some places they
even know the right format, so they should have used bdrv_open2 from the...

25920d6a 04/23/2010 05:08 pm Kevin Wolf

Make qemu-config available for tools

To be able to use config files for blkdebug, we need to make these functions
available in the tools. This involves moving two functions that can only be
built in the context of the emulator.

Signed-off-by: Kevin Wolf <>

a6e4b143 04/22/2010 04:55 am Andrzej Zaborowski

bt-sdp: Fix an excessive ; and assignment of the wrong variable

Problem-spotted-by: Blue Swirl <>
Signed-off-by: Andrew Zaborowski <>

7b1df88f 04/22/2010 04:41 am Blue Swirl

bt-l2cap: fix if statement with empty body, spotted by clang

Fix clang error:
CC bt-l2cap.o
/src/qemu/hw/bt-l2cap.c:1000:41: error: if statement has empty body
[-Wempty-body]
/* TODO: Signal an error? */;

This means that l2cap_sframe_in() may now get called....

470e6363 04/20/2010 08:15 pm Isaku Yamahata

pci: fix pci_find_bus().

When looking down child bus, it should look parent bridge's
bus number, not child bus's.
Optimized tail recursion and style fix.

Cc: Blue Swirl <>
Cc: "Michael S. Tsirkin" <>
Signed-off-by: Isaku Yamahata <>...

d6fa4b77 04/19/2010 01:07 am M. Mohan Kumar

Check for invalid initrd file

When qemu is invoked with an invalid initrd file, it crashes. Following
patch prints a error message and exits if an invalid initrd is
specified. Includes changes suggested by JV.

Signed-off-by: M. Mohan Kumar <>...

908bb949 04/19/2010 12:55 am Kevin Wolf

virtio-blk: Fix use after free in error case

virtio_blk_req_complete frees the request, so we can't access it any more when
calling bdrv_mon_event. Use the pointer that was copied earlier.

Signed-off-by: Kevin Wolf <>
Signed-off-by: Luiz Capitulino <>

cc601cb7 04/19/2010 12:46 am Markus Armbruster

qdev: Convert qdev_unplug() to QError

Note: our device unplug methods don't need conversion work, because
they can't currently fail.

Signed-off-by: Markus Armbruster <>
Signed-off-by: Luiz Capitulino <>

17a38eaa 04/19/2010 12:46 am Markus Armbruster

monitor: convert do_device_del() to QObject, QError

Signed-off-by: Markus Armbruster <>
Signed-off-by: Luiz Capitulino <>

c389c43e 04/19/2010 12:46 am Markus Armbruster

error: Drop extra messages after qemu_opts_set() and qemu_opts_parse()

Both functions report errors nicely enough now, no need for additional
messages.

Signed-off-by: Markus Armbruster <>
Signed-off-by: Luiz Capitulino <>

e17ba87c 04/19/2010 12:46 am Markus Armbruster

error: Use QERR_INVALID_PARAMETER_VALUE instead of QERR_INVALID_PARAMETER

Signed-off-by: Markus Armbruster <>
Signed-off-by: Luiz Capitulino <>

6ad6135d 04/18/2010 05:22 pm Blue Swirl

Fix harmless if statements with empty body, spotted by clang

These clang errors are harmless but worth fixing:
CC ppc-softmmu/usb-ohci.o
/src/qemu/hw/usb-ohci.c:1104:59: error: if statement has empty body [-Wempty-body]
ohci->ctrl_head, ohci->ctrl_cur);...

676d9b9b 04/18/2010 11:55 am Artyom Tarasenko

sparc32 use empty_slot for missing RAM v1

use empty_slot device for the RAM which is not installed

Models without ECC don't trap when missing ram is accessed.

v0->v1 compile only once and fix indentation

Signed-off-by: Artyom Tarasenko <>...

da9fcfa5 04/18/2010 11:55 am Artyom Tarasenko

create empty_slot device

The empty_slot device emulates known to a bus but not connected devices.

Signed-off-by: Artyom Tarasenko <>
Signed-off-by: Blue Swirl <>

3c83eb4f 04/18/2010 11:46 am Blue Swirl

Fix harmless if statements with empty body, spotted by clang

These clang errors are harmless but worth fixing:
CC libhw64/fdc.o
/src/qemu/hw/fdc.c:998:74: error: if statement has empty body [-Wempty-body]
FLOPPY_DPRINTF("Floppy digital input register: 0x%02x\n", retval);...

bf3de7f1 04/14/2010 04:59 am Anthony Liguori

Merge remote branch 'mst/for_anthony' into staging

11078ae3 04/14/2010 01:12 am Marcelo Tosatti

vhost.c: include <linux/vhost.h> last

So the userspace headers define KERNEL_STRICT_NAMES and there's no
conflict on type definition for older kernels.

Signed-off-by: Marcelo Tosatti <>
Acked-by: Michael S. Tsirkin <>
Signed-off-by: Aurelien Jarno <>

5751995a 04/14/2010 12:59 am Michael S. Tsirkin

vhost-net: disable mergeable buffers

vhost in current kernels doesn't support mergeable buffers.
Disable this feature if vhost is enabled, until such
support is implemented.

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

dc14a397 04/14/2010 12:58 am David L Stevens

vhost: fix features ack

vhost driver in qemu didn't ack features, and this happens
to work because we don't really require any features. However,
it's better not to rely on this. This patch passes features to
vhost as guest acks them.

Signed-off-by: David L Stevens <>...

612b2bd0 04/13/2010 09:17 pm Aurelien Jarno

r2d: always enable IDE and flash

IDE and flash are part of the R2D board, and can't be removed. Emulate
them even if there is no hard-drive plugged to the IDE or if the flash
content is empty.

5ba9e952 04/13/2010 09:17 pm Aurelien Jarno

sh_pci: fix memory and I/O access

Since commit 8da3ff180974732fc4272cb4433fef85c1822961 ("MMIO callback
interface changes"), the addresses passed to the I/O functions are an
offset to the start of the area. As a consequence, there is no need to
correct the address using the value of IOBR. This make possible the use...

73f19035 04/11/2010 08:20 pm Aurelien Jarno

hw/r2d: add initrd support

Signed-off-by: Aurelien Jarno <>

15a2cb7b 04/11/2010 08:16 pm Marcelo Tosatti

vhost.c: include <linux/vhost.h> last

So the userspace headers define KERNEL_STRICT_NAMES and there's no
conflict on type definition for older kernels.

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

c6b35ac4 04/11/2010 08:15 pm Michael S. Tsirkin

vhost-net: disable mergeable buffers

vhost in current kernels doesn't support mergeable buffers.
Disable this feature if vhost is enabled, until such
support is implemented.

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

af4c828e 04/11/2010 08:15 pm David L Stevens

vhost: fix features ack

vhost driver in qemu didn't ack features, and this happens
to work because we don't really require any features. However,
it's better not to rely on this. This patch passes features to
vhost as guest acks them.

Signed-off-by: David L Stevens <>...

8bbd1ce2 04/11/2010 07:37 pm Michael S. Tsirkin

eepro100: convert to new capability API

Using new pci_add_capability_at_offset makes
eepro100 code cleaner.

Signed-off-by: Michael S. Tsirkin <>
Acked-by: Stefan Weil <>

1db5a3aa 04/11/2010 07:37 pm Michael S. Tsirkin

pci: add API to add capability at a known offset

Unlike virtio, device emulations need to add pci capabilities
at known offsets to match real hardware. Make this possible
by adding an appropriate API.

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

56839a19 04/11/2010 04:58 am Aurelien Jarno

hw/r2d: add flash memory

Signed-off-by: Aurelien Jarno <>

baf0b55a 04/09/2010 11:06 pm Alexander Graf

Implement virtio reset

The guest may issue a RESET command for virtio. So far we didn't bother
to implement it, but with my new bootloader we actually need it for Linux
to get back to a safe state.

Signed-off-by: Alexander Graf <>
Signed-off-by: Aurelien Jarno <>

6ac08101 04/09/2010 10:52 pm Gerd Hoffmann

lsi: fix segfault in lsi_command_complete

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Aurelien Jarno <>

37b76cfd 04/09/2010 07:55 pm Paolo Bonzini

move targphys.h and hw/poison.h inclusion to cpu-common.h

With more files from outside the hw/ directory being placed into
libhw, avoid the need to include hw/hw.h for the sake of targ_phys_addr_t.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Aurelien Jarno <>

fbe3288d 04/09/2010 07:55 pm Paolo Bonzini

move two variable declarations out of vl.c

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Aurelien Jarno <>

0534163f 04/08/2010 10:44 pm Adam Lackorzynski

Debugcon: Fix debugging printf

Signed-off-by: Adam Lackorzynski <>
Signed-off-by: Aurelien Jarno <>

98835fe3 04/08/2010 10:32 pm Thomas Monjalon

e1000: fix build on Ubuntu with _FORTIFY_SOURCE

There was a pointer cast warning on Ubuntu since _FORTIFY_SOURCE has been reenabled.

_FORTIFY_SOURCE had been disabled by 4a24470497360d8b77568b83008d0e9d6eb0787d
and reenabled by 849583050d5f6f782718be8cb50688978973fbea....

14da5616 04/08/2010 10:24 pm Lars Munch

smc91c111: allow access to reserved register

Some drivers seems to access the reserved register in bank 0 so allow and
ignore these accesses.

Signed-off-by: Lars Munch <>
Signed-off-by: Aurelien Jarno <>

3b4b86aa 04/08/2010 10:22 pm Lars Munch

smc91c111: mask register offset

this fixes the smc91c111 emulation which has been broken for gumstix and
mainstone and maybe others since the "MMIO callback interface changes"
8da3ff180974732fc4272cb4433fef85c1822961 was commited.

Signed-off-by: Lars Munch <>...

2c7faf31 04/08/2010 10:17 pm Samuel Thibault

baum: add destroy hook

Add a destroy hook for the baum character device, to properly close the BrlAPI
connection.

Signed-off-by: Samuel Thibault <>
Signed-off-by: Aurelien Jarno <>

af92284b 04/08/2010 12:11 pm Gerd Hoffmann

update bochs vbe interface

The bochs vbe interface got a new register a while back, which specifies
the linear framebuffer size in 64k units. This patch adds support for
the new register to qemu. With this patch applied vgabios 0.6c works
with qemu.

Signed-off-by: Gerd Hoffmann <>...

ae543b49 04/07/2010 10:58 am Stefan Weil

eepro100: Set power management capability using pci_reserve_capability

pci_add_capability automatically updates PCI status and
PCI capability pointer, so use it. Use pci_reserve_capability
to make the new capability appear at the correct offset.

Signed-off-by: Stefan Weil <>...

269eba07 04/07/2010 10:58 am Stefan Weil

eepro100: fix mapping of flash memory

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

f62719ca 04/07/2010 10:58 am Stefan Weil

eepro100: fix PCI interrupt pin configuration regression

Commit 15e89f5916c9e82347cbd1fd416db3e348bab426
removed this setting, but it is still needed.

Without this patch, e100 device drivers using
interrupts don't work with qemu.

See other nic emulations which also set the...

3dec59a1 04/06/2010 03:32 pm Stefan Weil

eepro100: Set configuration bit for standard TCB

For some devices, this bit is always set.
For the others, it is set by default.

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

db667a12 04/06/2010 03:32 pm Stefan Weil

eepro100: Add new device variant i82801

This ethernet device is used in Toshiba Tecra 8200 notebooks.

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

558c8634 04/06/2010 03:32 pm Stefan Weil

eepro100: Simplified device instantiation

By using a private device info structure
(as suggested by Gerd Hoffmann), handling of the
different device variants becomes much easier.

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

75f5a6cc 04/06/2010 03:25 pm Stefan Weil

eepro100: Simplify status handling

Includes a minor STATUS_NOT_OK -> 0 tweak.

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

e74818f3 04/06/2010 03:22 pm Stefan Weil

eepro100: Don't allow writing SCBStatus

SCBStatus is readonly, but most drivers which were derived
from the old Linux eepro100.c do a word write to this address
when they want to acknowledge interrupts.

So we have to mask these writes here.

The patch also removes old unused code for status read / write....

61d3cf93 04/05/2010 09:57 pm Paul Brook

OHCI qdev conversion

Convert remaining OHCI devices to QDEV interface.

Signed-off-by: Paul Brook <>

983fe826 04/05/2010 09:43 pm Paul Brook

ARMv7-M reset fixes

Move ARMv7-M PC/SP initialization to the CPU reset routine. Add a board
reset routine to call this. Also load values directly from ROM as
images have not been copied yet.

Avoid clearing the NVIC pointer on cpu reset.

Signed-off-by: Paul Brook <>

5bd2c0d7 04/04/2010 11:48 pm Paul Brook

UHCI spurious interrut fix

Only raise an interrupt if the TD has actually completed.

Signed-off-by: Paul Brook <>

a67ba3b6 04/04/2010 11:18 pm Paul Brook

Revert "Compile usb-ohci only once"

This reverts commit f1698408f1dcb7548a21828a0b1e2b530fae3af3.

PCI is always little-endian. Having a user-visible "be" property is just
plain wrong.

93c5a32f 04/03/2010 10:40 am Blue Swirl

sparc32: add IOMMU chipset doc links

Signed-off-by: Blue Swirl <>

24056690 04/03/2010 10:35 am Blue Swirl

sparc32: rename iommu.c to sun4m_iommu.c to make room for other IOMMUs

Signed-off-by: Blue Swirl <>

68fb89a2 04/03/2010 09:17 am Blue Swirl

sparc32: improve timer implementation

Timer with zero period (free-run) will never match.

Timer counting starts with tick value of 0x200, not from 0,
so the period must calculated from one tick less than the limit.

Signed-off-by: Blue Swirl <>

9caa3ec1 04/02/2010 01:16 pm Aurelien Jarno

hw/r2d: add a USB keyboard

The R2D board does not have a PS/2 port, and only support a keyboard on
the USB bus.

Signed-off-by: Aurelien Jarno <>

98f22dc1 04/02/2010 01:12 pm TeLeMan

usb-bus: fix no params

After commit 702f3e0fb52c124c07f215426eeadb70a716643f, the params is
nerver NULL. It should check *params instead of params to determine
whether the params is empty.

Signed-off-by: TeLeMan <>
Signed-off-by: Aurelien Jarno <>

2b3af999 04/02/2010 01:01 am Stefan Weil

win32: Fix compiler errors from u_int64_t

u_int64_t raises compiler error messages:

CC    libhw32/virtio.o
/qemu/ar7/hw/virtio.c: In function ‘virtio_queue_get_avail_size’:
/qemu/ar7/hw/virtio.c:776: error: ‘u_int64_t’ undeclared (first use in this function)...
2292b339 04/01/2010 09:56 pm Michael S. Tsirkin

notifier: event notifier implementation

event notifiers are slightly generalized eventfd descriptors. Current
implementation depends on eventfd because vhost is the only user, and
vhost depends on eventfd anyway, but a stub is provided for non-eventfd
case....

1cbdabe2 04/01/2010 09:56 pm Michael S. Tsirkin

virtio: notifier support + APIs for queue fields

vhost needs physical addresses for ring and other queue fields,
so add APIs for these. In particular, add binding API to set
host/guest notifiers. Will be used by vhost.

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

3e607cb5 04/01/2010 09:56 pm Michael S. Tsirkin

virtio: add set_status callback

vhost net backend needs to be notified when
frontend status changes. Add a callback,
similar to set_features.

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

2be24aaa 04/01/2010 09:56 pm Michael S. Tsirkin

virtio: move typedef to qemu-common

make it possible to use type without header include,
simplifying header dependencies.

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

ade80dc8 04/01/2010 09:56 pm Michael S. Tsirkin

virtio-pci: fill in notifier support

Support host/guest notifiers in virtio-pci.
The last one only with kvm, that's okay
because vhost relies on kvm anyway.

Note on kvm usage: kvm ioeventfd API
is implemented on non-kvm systems as well,
this is the reason we don't need if (kvm_enabled())...

d5970055 04/01/2010 09:56 pm Michael S. Tsirkin

vhost: vhost net support

This adds vhost net device support in qemu. Will be tied to tap device
and virtio by following patches. Raw backend is currently missing,
will be worked on/submitted separately.

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

9bc6304c 04/01/2010 09:56 pm Michael S. Tsirkin

virtio-net: vhost net support

This connects virtio-net to vhost net backend.
The code is structured in a way analogous to what we have with vnet
header capability in tap.

We start/stop backend on driver start/stop as
well as on save and vm start (for migration)....

b33612d0 04/01/2010 05:58 pm Anthony Liguori

Fix -enable-kvm

Make vl.o compiled per target and fix a thinko in hw/acpi.c. It's not trivial
to make kvm.h consumable by compiled-once files.

Signed-off-by: Anthony Liguori <>

f3571b1a 03/31/2010 07:16 pm Max Reitz

usb: class specific interface requests

Mass Storage Reset and Get Max LUN are class specific requests, but
they were not marked as such in hw/usb-msd.c, moved therefore
ClassInterfaceRequest and ClassInterfaceOutRequest from hw/usb-net.c
to hw/usb.h.
Furthermore there was a problem in hw/usb-ohci.c when using DEBUG...

c81131db 03/31/2010 07:16 pm Alexander Graf

Don't check for bus master for old guests

Older Linux guests don't activate the bus master enable bit. So for those we
can just try to be clever and track if they set the DEVICE_OK bit even though
bus mastering is still disabled.

Under that condition we can disable the windows safety check. With that logic...

2b5eb371 03/30/2010 08:36 pm Blue Swirl

Compile most PPC devices only once

Make byte swapping unconditional since PPC is big endian.

Signed-off-by: Blue Swirl <>

add85a76 03/29/2010 10:24 pm Blue Swirl

Compile prep_pci only once

Make byte swapping unconditional since PPC is big endian.

Signed-off-by: Blue Swirl <>

5c4532ee 03/29/2010 10:23 pm Blue Swirl

Compile openpic only once

Replace TARGET_PAGE_SIZE with 4096. Make byte swapping unconditional
since PPC is big endian.

Signed-off-by: Blue Swirl <>

02c7c992 03/29/2010 10:23 pm Blue Swirl

Compile ide/macio only once

Replace TARGET_PAGE_SIZE with 4096. Make byte swapping unconditional
since PPC is big endian.

Signed-off-by: Blue Swirl <>

3d08ff69 03/29/2010 10:23 pm Blue Swirl

Compile pflash_cfi01 only once

Push TARGET_WORDS_BIGENDIAN dependency to board level.

Signed-off-by: Blue Swirl <>

5f9fc5ad 03/29/2010 10:23 pm Blue Swirl

Compile pflash_cfi02 only once

Push TARGET_WORDS_BIGENDIAN dependency to board level.

Signed-off-by: Blue Swirl <>

53b67b30 03/29/2010 10:23 pm Blue Swirl

Compile acpi only once

Use qemu_irqs to trigger CMOS S3 and SMI events.

Avoid using kvm.h, which uses CPUState.

Signed-off-by: Blue Swirl <>

d745bef8 03/29/2010 10:23 pm Blue Swirl

Move KVM and Xen global flags to vl.c

Signed-off-by: Blue Swirl <>

f8be67ee 03/27/2010 08:24 pm Blue Swirl

pflash_cfi02: fix incorrect TARGET_FMT_lx/d use

Also use target_phys_addr_t for addresses.

Signed-off-by: Blue Swirl <>

9f59b566 03/27/2010 03:30 pm Markus Armbruster

error: Trim includes after "Move qemu_error & friends..."

Missed in commit 2f792016.

Signed-off-by: Markus Armbruster <>
Signed-off-by: Aurelien Jarno <>

bd12ff9d 03/27/2010 02:53 pm Adam Litke

balloon: Fix overflow when reporting actual memory size

Beginning with its introduction, the virtio balloon has had an overflow error
that causes 'info balloon' to misreport the actual memory size when the balloon
itself becomes larger than 4G. Use a cast when converting dev->actual from...

b970ea8f 03/27/2010 09:26 am Blue Swirl

Compile some MIPS devices only once

Move CPU specific declarations to a separate file.

Signed-off-by: Blue Swirl <>

6450a334 03/27/2010 08:58 am Blue Swirl

Fix build

Actually some systems don't define PAGE_SIZE. Fixes build breakage
by f7736b91c40a617e93505e32dcbd2cb56aad8a23.

Signed-off-by: Blue Swirl <>

f7736b91 03/27/2010 08:20 am Blue Swirl

Compile ide/core only once

Make win2k install hack unconditional as it is still restricted to
x86 only in vl.c.

Replace TARGET_PAGE_SIZE and 4096 with PAGE_SIZE.

Signed-off-by: Blue Swirl <>

6725f3fa 03/23/2010 09:26 pm Lars Munch

Fix recent pxa270 serial breakage

This fixes a copy/paste bug introduced in commit
2d48377a8531de63ec1d0c4b9b1959dc4b78356c that pushed TARGET_WORDS_BIGENDIAN
dependency to board level.

Signed-off-by: Lars Munch <>
Signed-off-by: Blue Swirl <>

4dcf7d87 03/23/2010 10:59 am Aurelien Jarno

pci_host: fix breakage

This has been broken by commit 952760bb7bce7fbfe0afcf04fee268745f297b87

Signed-off-by: Aurelien Jarno <>

c9a43af9 03/21/2010 10:37 pm Blue Swirl

Fix Sparc64 build

952760bb7bce7fbfe0afcf04fee268745f297b87 missed one change.

Signed-off-by: Blue Swirl <>

952760bb 03/21/2010 09:47 pm Blue Swirl

Compile pci_host only once

Convert pci_host_conf_register_mmio_noswap(x) to
pci_host_conf_register_mmio(x, 0).

Convert pci_host_conf_register_mmio(x) to
pci_host_conf_register_mmio(x, 1) for big endian hosts, all cases
happen to be BE.

Signed-off-by: Blue Swirl <>

f1698408 03/21/2010 09:47 pm Blue Swirl

Compile usb-ohci only once

Push TARGET_WORDS_BIGENDIAN dependency to board level.

Signed-off-by: Blue Swirl <>

2d48377a 03/21/2010 09:47 pm Blue Swirl

Compile serial only once

Push TARGET_WORDS_BIGENDIAN dependency to board level.

Signed-off-by: Blue Swirl <>

84108e12 03/21/2010 09:47 pm Blue Swirl

Compile isa_mmio only once

Push TARGET_WORDS_BIGENDIAN dependency to board level.

Signed-off-by: Blue Swirl <>

aa28b9bf 03/21/2010 09:46 pm Blue Swirl

Move x86 specific PC declarations to a separate file

x86 definitions (especially CPUState uses) prevent many files from
being compiled within libhw.

Move x86 specific declarations (APIC stuff) to a separate file.

Signed-off-by: Blue Swirl <>

28695489 03/21/2010 09:13 pm Anthony Liguori

Revert "Convert atexit users to exit_notifier"

This reverts commit d7234f4d7e373a708e1df9ab565a71b71b189025.

Conflicts:

hw/xen_machine_pv.c

This should have never been committed.

Signed-off-by: Anthony Liguori <>

8ec68b06 03/21/2010 02:30 pm Blue Swirl

Fix a typo

Signed-off-by: Blue Swirl <>

bafd20ce 03/20/2010 10:55 am Blue Swirl

Fix a typo which broke Xen build

Signed-off-by: Blue Swirl <>

d7234f4d 03/19/2010 10:27 pm Anthony Liguori

Convert atexit users to exit_notifier

All of these users have global state so we really don't see a benefit from
exit_notifier. However, using exit_notifier means that there's one less
justification for having global state in the first place.

Signed-off-by: Anthony Liguori <>