Statistics
| Branch: | Revision:

root / Makefile.target @ 2834c3e0

History | View | Annotate | Download (10.5 kB)

# Date Author Comment
2834c3e0 11/16/2010 05:31 pm Daniel P. Berrange

Add support for generating a systemtap tapset static probes

This introduces generation of a qemu.stp/qemu-system-XXX.stp
files which provides tapsets with friendly names for static
probes & their arguments. Instead of

probe process("qemu").mark("qemu_malloc") {...
b152aa84 10/30/2010 11:02 am Jes Sorensen

Consolidate oom_check() functions

This consolidates the duplicated oom_check() functions, as well as
splitting them into OS dependant versions to avoid the #ifdef
grossness that was present in the old osdep.c version.

Signed-off-by: Jes Sorensen <>...

48f57044 10/05/2010 09:54 pm Anthony Liguori

Merge remote branch 'qmp/for-anthony' into staging

aff447c9 10/03/2010 09:31 am Andreas Färber

Haiku doesn't have libm

Math functions are integrated into Haiku's libroot.

Signed-off-by: Andreas Färber <>
Signed-off-by: Blue Swirl <>

acd0a093 10/01/2010 04:20 pm Luiz Capitulino

Monitor: Rename the qemu-monitor.hx file

Let's be consistent and call it hmp-commands.hx, so that we have
qmp-commands.hx for QMP and hmp-commands.hx for HMP.

Please, note that this commit doesn't touch qemu-monitor.texi. All
texi files have the qemu- prefix and I don't think it's worth...

f36b4afb 10/01/2010 04:20 pm Luiz Capitulino

QMP: Introduce command dispatch table

Also update QMP functions to use it. The table is generated
from the qmp-commands.hx file.

From now on, QMP and HMP have different command dispatch
tables.

Signed-off-by: Luiz Capitulino <>

2c50e26e 09/30/2010 07:53 pm Edgar E. Iglesias

powerpc: Add a virtex5 ml507 refdesign board

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

94a420b1 09/10/2010 12:22 am Stefan Hajnoczi

trace: Add trace-events file for declaring trace events

This patch introduces the trace-events file where trace events can be
declared like so:

qemu_malloc(size_t size) "size %zu"
qemu_free(void *ptr) "ptr %p"

These trace event declarations are processed by a new tool called...

52ba784d 08/26/2010 07:18 pm Hollis Blanchard

Fix "make install" with a cross toolchain

We must be able to use a non-native strip executable, but not all
versions of 'install' support the --strip-program option (e.g.
OpenBSD). Accordingly, we can't use 'install -s', and we must run strip
separately....

3dcbf8f9 08/15/2010 12:44 pm Cam Macdonell

Disable build of ivshmem on non-KVM systems

Signed-off-by: Cam Macdonell <>
Signed-off-by: Blue Swirl <>

6cbf4c8c 08/11/2010 12:25 am Cam Macdonell

RESEND: Inter-VM shared memory PCI device

resend for bug fix related to removal of irqfd

Support an inter-vm shared memory device that maps a shared-memory object as a
PCI device in the guest. This patch also supports interrupts between guest by
communicating over a unix domain socket. This patch applies to the qemu-kvm...

efe556ad 07/27/2010 01:36 am Corentin Chary

vnc: tight add PNG encoding

Introduce a new encoding: VNC_ENCODING_TIGHT_PNG [1] (-269) with a new
tight filter VNC_TIGHT_PNG (0x0A). When the client tells it supports the Tight PNG
encoding, the server will use tight, but will always send encoding pixels using...

2f6f5c7a 07/27/2010 01:23 am Corentin Chary

vnc: tight: add JPEG and gradient subencoding with smooth image detection

Add gradient filter and JPEG compression with an heuristic to detect how
lossy the comppression will be. This code has been adapted from
libvncserver/tight.c.

JPEG support can be enabled/disabled at compile time with --enable-vnc-jpeg...

1ddda5cd 07/11/2010 08:33 pm Alexander Graf

AppleSMC device emulation

Intel Macs have a chip called the "AppleSMC" which they use to control
certain Apple specific parts of the hardware, like the keyboard background
light.

That chip is also used to store a key that Mac OS X uses to decrypt binaries....

08af49da 07/03/2010 09:49 am Blue Swirl

piix4: compile only once

Compile piix4 in hwlib. Two compilations less for the full build.

Signed-off-by: Blue Swirl <>

7f132a21 06/30/2010 09:41 pm cmchao

hw/omap1.c : separate interrupt controller module

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

2d08cc7c 06/30/2010 09:41 pm cmchao

hw/omap2.c : separate spi module

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

cc9577cf 06/30/2010 09:41 pm cmchao

hw/omap2.c : separate tap module(Test-Chip-level)

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

2c1d9ecb 06/30/2010 09:41 pm cmchao

hw/omwp2.c : separate l4 interconnect module

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

02d74341 06/30/2010 09:41 pm cmchao

hw/omap1.c : separate uart module

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

c58d37cf 06/30/2010 09:41 pm cmchao

hw/omap2.c : separate gptimer module

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

011d87d0 06/30/2010 09:41 pm cmchao

hw/omap2.c : separate synctimer module

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

f3354b0e 06/30/2010 09:41 pm cmchao

hw/omap2.c : separate gpmc(general purpose memory controller)

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

0bf43016 06/30/2010 09:41 pm cmchao

hw/omap2.c : separate sdrc (sdram controller)

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

e5c6b25a 06/30/2010 09:41 pm cmchao

hw/omap1.c : separate gpio module

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

051c190b 06/30/2010 12:07 am Huacai Chen

MIPS: Initial support of fulong mini pc (machine construction)

Signed-off-by: Huacai Chen <>
Signed-off-by: Aurelien Jarno <>

d0f7453d 06/30/2010 12:07 am Huacai Chen

MIPS: Initial support of bonito north bridge used by fulong mini pc

Signed-off-by: Huacai Chen <>
Signed-off-by: Aurelien Jarno <>

edf79e66 06/30/2010 12:07 am Huacai Chen

Initial support of vt82686b south bridge used by fulong mini pc

Signed-off-by: Huacai Chen <>
Signed-off-by: Aurelien Jarno <>

758e8e38 06/22/2010 11:15 pm Venkateswararao Jujjuri (JV)

virtio-9p: Make infrastructure for the new security model.

This patch adds required infrastructure for the new security model.

- A new configure option for attr/xattr.
- if CONFIG_VIRTFS will be defined if both CONFIG_LINUX and CONFIG_ATTR defined.
- Defines routines related to both security models....

77d4f95e 06/10/2010 03:45 pm Edgar E. Iglesias

cris: Break out image loading to hw/cris-boot.c.

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

680c877a 05/29/2010 12:27 am Richard Henderson

linux-user: Use qemu-malloc.c.

Since we're no longer setting PAGE_RESERVED, there's no need to
implement qemu_malloc via mmap.

Signed-off-by: Richard Henderson <>
Signed-off-by: Aurelien Jarno <>

4556bd8b 05/22/2010 11:00 am Blue Swirl

Compile dma only once

Use a qemu_irq to request CPU exit.

7 compilations less for the full build.

Signed-off-by: Blue Swirl <>

956a3e6b 05/22/2010 10:59 am Blue Swirl

Compile pckbd only once

Use a qemu_irq to indicate A20 line changes. Move I/O port 92
to pckbd.c.

Signed-off-by: Blue Swirl <>

c69ea0df 05/17/2010 10:32 pm Blue Swirl

Compile acpi_piix4, apm and pm_smbus only once

12 compilations less for the full build.

Signed-off-by: Blue Swirl <>

845773ab 05/15/2010 06:53 pm Isaku Yamahata

pc: split out piix specific part from pc.c into pc_piix.c

Finally, we can safely split out the piix specific part from pc.c
into pc_piix.c.

Signed-off-by: Isaku Yamahata <>
Acked-by: Gerd Hoffmann <>
Signed-off-by: Blue Swirl <>

93d89f63 05/15/2010 06:30 pm Isaku Yamahata

acpi: split acpi.c into the common part and the piix4 part.

Split acpi.c into the common part and the piix4 specific part.
The common part will be used later.

Signed-off-by: Isaku Yamahata <>
Acked-by: Gerd Hoffmann <>...

04762841 05/15/2010 06:27 pm Isaku Yamahata

acpi: split out apm register emulation from acpi.c

Split out apm register emulation for acpi.c into apm.c.
The apm emulation will be used later.

Signed-off-by: Isaku Yamahata <>
Acked-by: Gerd Hoffmann <>
Cc: Aurelien Jarno <>...

fc0bdd99 05/15/2010 06:25 pm Isaku Yamahata

acpi: split out piix4 smbus routines from acpi.c into pm_smbus.c

Split out piix4 smbus routines from acpi.c into pm_smbus.c and
use it.
The split out smbus emulation will be used later.

Signed-off-by: Isaku Yamahata <>
Acked-by: Gerd Hoffmann <>...

d08555c1 05/14/2010 10:31 pm Blue Swirl

Compile virtio-9p-debug and virtio-9p-local once

Signed-off-by: Blue Swirl <>

0e1a275b 05/03/2010 08:39 pm Jan Kiszka

Add KVM CFLAGS to vhost build

The configure test of vhost uses KVM CFLAGS, so the build must use them
as well. Otherwise we specifically miss what --kerneldir provides.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Anthony Liguori <>

9f107513 05/03/2010 08:17 pm Anthony Liguori

virtio-9p: Add a virtio 9p device to qemu

This patch doesn't implement the 9p protocol handling
code. It adds a simple device which dump the protocol data.

[: Little-Endian to host format conversion]
[: Multiple-mounts support]...

6495a044 04/25/2010 03:59 pm Richard Henderson

linux-user: Remove ELFLOAD32.

The ABI-specific types used by linux_binprm and image_info
are different after forcing TARGET_ABI32 on. Which means
that the parameters that load_elf_binary_multi sees are not
those that loader_exec passed. This is inherently broken...

d3538b45 04/19/2010 10:47 pm Blue Swirl

Compile event_notifier only once

Signed-off-by: Blue Swirl <>

04c9a0cb 04/19/2010 10:46 pm Blue Swirl

Compile vl.c once

Since kvm.h can be used in files compiled once,
we can partially revert
b33612d03540fda7fa67485f1c20395beb7a2bf0.

Signed-off-by: Blue Swirl <>

98c8573e 04/19/2010 09:59 pm Paolo Bonzini

provide a stub version of kvm-all.c if !CONFIG_KVM

This allows limited use of kvm functions (which will return ENOSYS)
even in once-compiled modules. The patch also improves a bit the error
messages for KVM initialization.

Signed-off-by: Paolo Bonzini <>...

28c28973 04/09/2010 07:55 pm Paolo Bonzini

move balloon handling to balloon.c

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

e9d0fc74 04/08/2010 10:49 pm Alexander Graf

Make virtio-pci building conditional again

Commit b305b9d7d6990e492966ffb1fdf619482adeb7e2 made building of virtio-pci
conditional and not enabled on S390x, because it collides with the S390 bus.

Commit 087431d1d1bf4e785edfa89e8cd05fcdac558dc3 accidentially reverted that...

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.

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

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