Statistics
| Branch: | Revision:

root / Makefile.target @ a18f844f

History | View | Annotate | Download (9 kB)

# Date Author Comment
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....

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

087431d1 04/01/2010 09:56 pm Anthony Liguori

virtio-pci: compile per-target

With vhost, virtio-pci needs to include kvm.h and kvm.h needs to be built
per-target.

Signed-off-by: Anthony Liguori <>

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

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

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

Compile qemu-timer only once

Arrange various declarations so that also non-CPU code can access
them, adjust users.

Move CPU specific code to cpus.c.

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

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

Refactor target specific handling, compile vl.c only once

Move target specific functions and RAM handling to arch_init.c.

Add a flag to QEMUOptions structure to indicate for which
architectures the option is allowed, check the flag
in run time and remove conditional code in option handling....

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

296af7c9 03/29/2010 10:23 pm Blue Swirl

Refactor CPUState handling out of vl.c

Signed-off-by: Blue Swirl <>

57448a97 03/27/2010 08:18 pm Blue Swirl

Compile vmware_vga only once

Signed-off-by: Blue Swirl <>

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

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

8f51bdab 03/22/2010 10:18 pm Blue Swirl

Compile virtio-pci only once

Signed-off-by: Blue Swirl <>

70615c38 03/22/2010 10:18 pm Blue Swirl

Compile sound devices only once

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

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

Compile pcie_host only once

Signed-off-by: Blue Swirl <>

6842a08e 03/21/2010 09:47 pm Blue Swirl

Compile pci only once

Move coalesced_mmio declarations to a more accessible location.

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

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

Compile ne2000_isa only once

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

7161e571 03/21/2010 09:47 pm Blue Swirl

Compile most PCI network cards only once

Signed-off-by: Blue Swirl <>

64dc9c31 03/21/2010 09:47 pm Blue Swirl

Compile async only once

Signed-off-by: Blue Swirl <>

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

Compile qemu-error only once

Signed-off-by: Blue Swirl <>

35da37e1 03/21/2010 09:47 pm Blue Swirl

Compile fdc only once

Signed-off-by: Blue Swirl <>

9953b2fc 03/21/2010 09:47 pm Blue Swirl

Compile most IDE devices only once

Signed-off-by: Blue Swirl <>

4c65f1e5 03/21/2010 09:47 pm Blue Swirl

Compile usb-uhci only once

Signed-off-by: Blue Swirl <>

7f55c7ce 03/21/2010 09:47 pm Blue Swirl

Compile vga-isa only once

Signed-off-by: Blue Swirl <>

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

Compile i8254 only once

Signed-off-by: Blue Swirl <>

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

Compile pcspk only once

Signed-off-by: Blue Swirl <>

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

Compile parallel only once

Signed-off-by: Blue Swirl <>

1afdfddc 03/21/2010 09:47 pm Blue Swirl

Compile vga-pci only once

Signed-off-by: Blue Swirl <>

4d904533 03/21/2010 10:28 am Blue Swirl

Compile disassemblers only once

Signed-off-by: Blue Swirl <>

db1a4972 03/17/2010 06:16 pm Paolo Bonzini

split out qemu-timer.c

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Anthony Liguori <>

4a39943b 03/17/2010 04:44 pm Anthony Liguori

Merge remote branch 'markus/qerror' into staging

b4a51f7f 03/16/2010 05:55 pm Markus Armbruster

error: Move qemu_error() & friends from monitor.c to own file

They're about reporting errors, not about the monitor.

409dbce5 03/16/2010 09:38 am Aurelien Jarno

load_elf: replace the address addend by a translation function

A few machines need to translate the ELF header addresses into physical
addresses. Currently the only possibility is to add a value to the
addresses.

This patch replaces the addend argument by and a translation function...

c6dc6f63 03/13/2010 05:50 pm Andre Przywara

x86/cpuid: move CPUID functions into separate file

about half of target-i386/helper.c consist of CPUID related functions.
Only one of them is a real TCG helper function. So move the whole
CPUID stuff out of this into a separate file to get better
maintainable parts....

6049f4f8 02/28/2010 06:54 pm Richard Henderson

alpha-linux-user: Implement signals.

Move userland PALcode handling into linux-user main loop so that
we can send signals from there. This also makes alpha_palcode.c
system-level only, so don't build it for userland. Add defines
for GENTRAP PALcall mapping to signals....

51464faf 02/20/2010 11:27 am Blue Swirl

Don't compile rwhandler.c for user targets

Signed-off-by: Blue Swirl <>

049f7adb 02/14/2010 04:10 pm Michael S. Tsirkin

rwhandler: simplified way to register for mem/io

Some users prefer a single callback with length passed as parameter to
using b/w/l callbacks. It would maybe be cleaner to just pass length to
existing callbacks but that's a lot of churn. So for now add a wrapper....

da79030f 02/06/2010 06:19 pm Loïc Minier

linux-user: adapt uname machine to emulated CPU

This patch for linux-user adapts the output of the emulated uname()
syscall to match the configured CPU. Tested with x86, x86-64 and arm
emulation.

Signed-off-by: Riku Voipio <>
Signed-off-by: Loïc Minier <>

e1c6bbab 02/05/2010 08:48 pm Blue Swirl

Refactor DEC 21154 PCI bridge

It's currently not used by PPC machines. Refactor so that also Sparc64
machines can use it.

Signed-off-by: Blue Swirl <>

2548de3a 01/24/2010 06:15 pm Edgar E. Iglesias

microblaze: The petalogix s3adsp board uses intel flashes

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

98b19252 01/20/2010 04:25 pm Amit Shah

virtio-console: qdev conversion, new virtio-serial-bus

This commit converts the virtio-console device to create a new
virtio-serial bus that can host console and generic serial ports. The
file hosting this code is now called virtio-serial-bus.c.

The virtio console is now a very simple qdev device that sits on the...

4d3053a3 01/20/2010 04:25 pm Amit Shah

Move virtio-serial to Makefile.objs

There's nothing target-dependent in the virtio-serial code so allow it
to be compiled just once for all the targets.

Signed-off-by: Amit Shah <>
Signed-off-by: Anthony Liguori <>

59bc10ee 01/09/2010 12:55 am Paolo Bonzini

finish VPATH -> vpath translation

This adds a few more vpath suffixes and points the remaining two paths
explicitly to $(SRC_PATH) in order to eliminate the VPATH assignment
from config-host.mak.

Signed-off-by: Paolo Bonzini <>
Cc: Juan Quintela <>...

52001445 01/08/2010 05:58 pm Adam Lackorzynski

multiboot: Separate multiboot loading into separate file

Move multiboot loading code into separate files as suggested by Alex Graf.

Signed-off-by: Adam Lackorzynski <>
Signed-off-by: Anthony Liguori <>

076d2471 01/08/2010 05:58 pm Paolo Bonzini

Use vpath directive

The vpath directive has two advantages over the VPATH variable:
1) it allows to skip searching of .o files; 2) the default semantics
are to append to the vpath, so there is no confusion between "VPATH=xyz"
and "VPATH+=xyz".

Since "vpath %.c %.h PATH" is not valid, I'm introducing a wrapper...

c9f398e5 01/08/2010 05:58 pm H. Peter Anvin

debugcon: support for debugging consoles (e.g. Bochs port 0xe9)

Add generic support for debugging consoles (simple I/O ports which
when written to cause debugging output to be written to a target.)
The current implementation matches Bochs' port 0xe9, allowing the same...

0e8c9214 01/07/2010 08:08 pm Andreas Färber

Drop --whole-archive and static libraries

Juan has contributed a cool Makefile infrastructure that enables us to drop
static libraries completely:

Move shared obj-y definitions to Makefile.objs, prefixed {common-,hw-,user-},
and link those object files directly into the executables....

f3304eea 12/05/2009 06:36 pm Alexander Graf

Add S390x virtio machine bus

On S390x we don't want to go through the hassle of emulating real existing
hardware, because we don't need to for running Linux.

So let's instead implement a machine that is 100% based on VirtIO which we
fortunately implement already....

8cb310e1 12/05/2009 06:36 pm Alexander Graf

Add S390x virtio machine description

In order to use the new S390x virtio bus we just introduced, we also
need a machine description that sets up the machine according to our
PV specification.

Let's add that machine description and be happy!

Signed-off-by: Alexander Graf <>...

9ea37780 12/03/2009 11:26 pm Stefan Weil

Remove rule for config-devices.h

Since commit a992fe3d0fc185112677286f7a02204d8245b61e
config-devices.h is no longer used.

So there is no need to keep the dependency rules
any longer.

Signed-off-by: Stefan Weil <>
Signed-off-by: Anthony Liguori <>

a992fe3d 11/22/2009 11:24 pm Paul Brook

Makefile dependencies for device configs

Add makefile dependencies for target specific device configs.
These will copy the default config if none exists, obsoleting the old
configure time code. If a config already exists but is older than the
default then print a warning....

f7c70325 11/19/2009 06:45 pm Paul Brook

ARM PBX-A9 board support

Implement ARM RealView PBX-A9 board support.

Signed-off-by: Paul Brook <>

f165b53a 11/19/2009 06:42 pm Paul Brook

Built network devices once

Move some generic NICS into libhw, and build them for ARM targets.

Signed-off-by: Paul Brook <>

2a424990 11/16/2009 07:06 pm Paul Brook

LAN9118 emulation

Add SMSC LAN9118 ethernet emulation.

Signed-off-by: Paul Brook <>

f527c579 11/12/2009 07:23 pm Juan Quintela

fix parallel build

Based on a ideas of Daniel Jacobowitz + Stefan Weil

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

a9f49946 11/09/2009 04:43 pm Isaku Yamahata

pci: pcie host and mmcfg support.

This patch adds common routines for pcie host bridge and pcie mmcfg.
This will be used by q35 based chipset emulation.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Anthony Liguori <>

4f5e19e6 11/09/2009 04:43 pm Isaku Yamahata

pci_host.h: move functions in pci_host.h into .c file.

split static functions in pci_host.h into pci_host.c and
pci_host_template.h.
Later a structures declared in pci_host.h, PCIHostState, will be used.
However pci_host.h doesn't allow to include itself easily. This patches...

4f999d05 10/27/2009 07:28 pm Kevin Wolf

Split out bottom halves

Instead of putting more and more stuff into vl.c, let's have the generic
functions that deal with asynchronous callbacks in their own file.

Signed-off-by: Kevin Wolf <>
Signed-off-by: Anthony Liguori <>

94e1a912 10/27/2009 07:28 pm Gerd Hoffmann

pcnet: split away lance.c (sparc32 code).

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>

4c3df0ec 10/12/2009 05:42 pm Juan Quintela

ide: split cmd646 and piix from pci.c

This patch splits cmd646 specific code from pci.c.
This patch splits piix4 specific code from pci.c.
And compile new piix.o and cmd646.o when they are needed.
The only change that is not code movemet is removal of cmd646 specific parts...

3d0f1517 10/09/2009 05:17 am Juan Quintela

Generate gdbstub-xml.c only when needed

First user of new config-devices.mak

Patchworks-ID: 35198
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

64257584 10/09/2009 05:17 am Juan Quintela

Only compile usb_ohci when one target uses it

Patchworks-ID: 35199
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

185c66c8 10/09/2009 05:17 am Juan Quintela

Only compile isa_mmio when one target uses it

Patchworks-ID: 35200
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

1f3d3c8f 10/09/2009 05:17 am Juan Quintela

Add new config-devices.mak for each target

We generate config-devices.h from there automatically.
We need to do it in main Makefile, because we are going to need a main
Makefile for them.

Patchworks-ID: 35196
Signed-off-by: Juan Quintela <>...

fe0d4d3f 10/09/2009 05:17 am Juan Quintela

Generate config-devices.h

Generate config-devices.h for each target and config-all-devices.h for
common library. We don't want to name both config-devices.h to avoid
path problems

Patchworks-ID: 35195
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

91880d96 10/09/2009 05:17 am Juan Quintela

Move generation of config-target.h to Makefile from configure

Patchworks-ID: 35194
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

25be210f 10/09/2009 05:17 am Juan Quintela

Rename config.{h, mak} config-target.{h, mak}

Add config.h file that includes config-target.h and config-host.h

Patchworks-ID: 35193
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

deed3ccf 10/09/2009 05:17 am Juan Quintela

Don't include config-host.mak from inside config.mak

Include it directly in Makefile.target

Patchworks-ID: 35189
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

add16157 09/27/2009 07:26 pm Blue Swirl

Compile some user files only once for all targets

Signed-off-by: Blue Swirl <>

05d00df4 09/27/2009 04:56 pm Blue Swirl

Fix user emulator breakage

Fix breakage in the following conditions:
- use in-tree building
- build user targets after system targets

Signed-off-by: Blue Swirl <>

3f600fa0 09/25/2009 10:21 pm Blue Swirl

Revert "This files are compiled in libqemu.a now"

This reverts commit fe6549dfd76c278dbcd788b3c15c5e6e5ed32190.

tcg-runtime and host-utils are needed on 32 bit host and they are not part
of libqemu.a.

Thanks to Stefan Weil for reporting.

Signed-off-by: Blue Swirl <>

befb0316 09/25/2009 06:28 pm Juan Quintela

clean: remove ide/*.o files on clean

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

fe6549df 09/23/2009 10:25 am Juan Quintela

This files are compiled in libqemu.a now

This fixes compilation of linux-user with today qemu, please apply.

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

52d94620 09/21/2009 06:24 pm Blue Swirl

Fix user targets broken by 96e132e24ee5a693069e83b6a981693588b088c1

Signed-off-by: Blue Swirl <>

c2b023b6 09/20/2009 10:20 pm Blue Swirl

Compile host-utils only once

See also facd2857783d58387885ad7cb1e4a8386f241738 and
34005a0060c176b3025a9e7c5d064615a9f80325.

Signed-off-by: Blue Swirl <>

96e132e2 09/20/2009 10:06 pm Blue Swirl

Compile TCG runtime library only once

Signed-off-by: Blue Swirl <>

bd390e64 09/20/2009 07:19 pm Blue Swirl

Compile ne2000 only once

Signed-off-by: Blue Swirl <>

afcea8cb 09/20/2009 07:05 pm Blue Swirl

ioports: remove unused env parameter and compile only once

The CPU state parameter is not used, remove it and adjust callers. Now we
can compile ioport.c once for all targets.

Signed-off-by: Blue Swirl <>

5e520a7d 09/20/2009 06:35 pm Blue Swirl

Compile msix only once

Get page size in device init.

Signed-off-by: Blue Swirl <>

ca20cf32 09/20/2009 05:58 pm Blue Swirl

Compile loader only once

Callers must pass ELF machine, byte swapping and symbol LSB clearing
information to ELF loader. A.out loader needs page size information, pass
that too as a parameter.

Extract prototypes to a separate file. Move loader.[ch] and elf_ops.h under hw....

a333cd71 09/20/2009 11:28 am Blue Swirl

Compile qemu-config only once

Signed-off-by: Blue Swirl <>

9801c7b4 09/20/2009 11:02 am Blue Swirl

Compile wdt_i6300esb only once

Signed-off-by: Blue Swirl <>

feef3102 09/15/2009 11:04 pm Gerd Hoffmann

ide/pci: convert to qdev.

With this patch applied ide drives (when attached to a pci adapter) can
be created via -device, like this:

-drive if=none,id=mydisk,file=/path/to/disk.img
-device ide-drive,drive=mydisk,bus=ide.0,unit=0

Note that creating a master on ide1 doesn't work that way. That is a...

5c637a20 09/14/2009 09:34 pm Blue Swirl

Fix breakage by f80237d45032fbc429aba3b597175fb544a11378 for ISA-less targets

Move ISA bus to HW library.

Signed-off-by: Blue Swirl <>

34005a00 09/12/2009 04:17 pm Kirill A. Shutemov

Add configure option to compile user targets as PIE

Build uset targers as true PIE if user want to keep qemu
self-virtualizable.

v5:
- Split into to patches: drop link hack and add PIE support
- do not build PIE by default and drop toolchain check

v4:...

9453c5bc 09/10/2009 06:48 pm Gerd Hoffmann

qdev/isa: convert ne2000

Also split the isa bits into a separate source file, so we don't drag in
a dependency for isa-bus.o for machines which want ne2k_pci only.

Signed-off-by: Gerd Hoffmann <>

47d37dd9 09/09/2009 10:55 pm Juan Quintela

vga: split pci bits into vga-pci.c

Adjust all the VGAState in VGACommonState
Compile vga-pci.o only for targets that use it.

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

76323919 09/09/2009 10:55 pm Juan Quintela

vga: split isa bits inco vga-isa.c

Adjust all the VGAState in VGACommonState
Compile vga-isa.o in the targets that use it

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

79b97bf2 09/09/2009 10:55 pm Juan Quintela

vga: split vga-isa-mm.o

It is only used in mips softmmu, compile only there.
it_shift field was only used for vga_isa_mm, move it from VGACommonState
to ISAVGAMMstate.

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

823e675a 09/04/2009 05:37 pm Juan Quintela

Split piix4 support from piix_pci.c

Now mips_malta uses piix4 and pc's use piix_pci definitions

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

59f2a787 08/28/2009 04:46 am Gerd Hoffmann

ide: move code to hw/ide/

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>