Statistics
| Branch: | Revision:

root @ ac72472b

# Date Author Comment
2df87df7 08/28/2009 03:33 am Juan Quintela

Add fdt to new feature convention

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

fc321b4b 08/28/2009 03:33 am Juan Quintela

Add xen to new feature convention

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

b31a0277 08/28/2009 03:33 am Juan Quintela

Add kvm to new feature convention

Extra error message is only given if --enable-kvm was given

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

dfffc653 08/28/2009 03:33 am Juan Quintela

Add sparse to new feature convention

Once there, move to a proper test to see if we are going to use it or not

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

5ac1fad3 08/28/2009 03:33 am Paolo Bonzini

add file descriptor migration

Signed-off-by: Paolo Bonzini <>
Cc: Chris Lalancette <>
Signed-off-by: Anthony Liguori <>

dc6b1c09 08/28/2009 03:33 am Andre Przywara

extend -smp parsing to include cores= and threads= options

For injecting multi-core and multi-threading CPU topology into guests
extend the -smp syntax to accommodate cores and threads specification.
Syntax: -smp smp_value[,cores=nr_cores][,threads=nr_threads]\...

ac72472b 08/28/2009 03:33 am Andre Przywara

push CPUID level to 4 to allow Intel multicore decoding

Intel CPUs store the number of cores in CPUID leaf 4. So push
the maxleaf value to 4 to allow the guests access to this leaf.

Signed-off-by: Andre Przywara <>
Signed-off-by: Anthony Liguori <>

a25dba17 08/28/2009 03:33 am Juan Quintela

Rename build_docs to docs

All other features are named foo and enabled with --enable-foo.

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

c4198157 08/28/2009 03:33 am Juan Quintela

Add sdl to new feature convention

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

1be10ad2 08/28/2009 03:33 am Juan Quintela

Add vnc_tls to new feature convencion

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

ea784e3b 08/28/2009 03:33 am Juan Quintela

Add vnc_sasl to new feature convencion

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

c584a6d0 08/28/2009 03:33 am Juan Quintela

Add curses to new feature convencion

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

788c8196 08/28/2009 03:33 am Juan Quintela

Add curl to new feature convencion

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

b0a47e79 08/28/2009 03:33 am Juan Quintela

Add nptl to new feature convencion

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

a20a6f46 08/28/2009 03:33 am Juan Quintela

Add bluez to new feature convencion

Once there, remove extra check for package and output if bluez was found or not as the other features

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

83a3ab8b 08/28/2009 03:33 am Juan Quintela

Add build_docs to new feature convention

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

576edbfa 08/28/2009 03:33 am Juan Quintela

Make vnc configure options less verbose.

Rest of libraries don't print themselves

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

4f78ef9a 08/28/2009 03:33 am Juan Quintela

Use the same structure for list of libs in curses and pthread

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

e2d52ad3 08/28/2009 03:33 am Juan Quintela

Add feature configure help

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

249247c9 08/28/2009 03:33 am Juan Quintela

Add error message for feature not found

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

4ffcedb6 08/28/2009 03:33 am Juan Quintela

Add brlapi to new feature convencion

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

dfb278bd 08/28/2009 03:33 am Juan Quintela

Add vde to new feature convencion

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

523e727d 08/27/2009 05:04 pm malc

Remove a hack introduced by d19076faca944c31bb051b95d285e75ec67902f7

Work by Blue Swirl culminating with 5c55ff99fa88158871d5b9f619c485deae5f3d5b
made it unnecessary.

15c875a3 08/26/2009 12:55 pm Consul

Fix dsound typos

Dsound currently does not compile due to the typos in the code. This
patch makes it compile again.{PATCH}

Signed-off-by: Alex Ivanov <>
Signed-off-by: malc <>

4e02cd33 08/25/2009 10:32 pm Blue Swirl

Remove kqemu.c accidentally added by d60efc6b0d3d4e90cbbb86e21451e55263c29416

Signed-off-by: Blue Swirl <>

462eda24 08/25/2009 09:29 pm Blue Swirl

Sparc32: improve interrupt handling

Level 15 interrupts are broadcast to all CPUs, each CPU can clear the
interrupt using the local Clear Pending register.

Update intbit_to_level table.

Don't try to raise level 0 interrupts.

Calculate pending interrupts based on the separate inputs from master...

d60efc6b 08/25/2009 09:29 pm Blue Swirl

Make CPURead/WriteFunc structure 'const'

Signed-off-by: Blue Swirl <>

fa31af0e 08/25/2009 07:05 pm Nathan Froyd

target-mips: fix conditional moves off fp condition codes

Conditional moves off fp condition codes were using the result of
get_fp_bit to isolate and test the relevant condition code. However,
get_fp_bit returns the bit number of the condition code, not a...

4e6f6d4c 08/25/2009 02:14 am Laurent Desnogues

ARM back-end: Fix encode_imm

the encode_imm function in tcg/arm/tcg-target.c lacks shift declaration.

Laurent

Signed-off-by: Laurent Desnogues <>
Signed-off-by: Andrzej Zaborowski <>

aa7116cb 08/24/2009 04:46 pm Gerd Hoffmann

qdev/prop: convert isa-bus to helper macros.

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

177539e0 08/24/2009 04:46 pm Gerd Hoffmann

virtio-blk: add msi support.

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

5ec4d682 08/24/2009 04:46 pm Nathan Froyd

eliminate errors about unused results in block/vpc.c

These errors come up when compiling with gcc-4.3.3 and some older headers:

/scratch/froydnj/qemu.git/block/vpc.c: In function 'vpc_create':
/scratch/froydnj/qemu.git/block/vpc.c:514: error: value computed is not used...

0d6b0b1d 08/24/2009 04:46 pm Anthony Liguori

Make the e1000 the default network adapter for the pc target.

The ne2k is an ancient card that performs pretty terribly under QEMU. In many
modern OSes, there is no longer drivers available for the ne2k.

Switch the default network adapter to e1000. This card is more widely...

3987e1cf 08/24/2009 04:46 pm Michael S. Tsirkin

qemu: move virtio-pci.o to near pci.o

virtio-pci depends, and will always depend, on pci.c
so it makes sense to keep it in the same makefile,
(unlike the rest of virtio files which should eventually
be moved out to Makefile.hw).

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

4dd75c70 08/24/2009 04:46 pm Christoph Hellwig

make pthreads mandatory

As requested by Anthony make pthreads mandatory. This means we will always
have AIO available on posix hosts, and it will also allow enabling the I/O
thread unconditionally once it's ready.

Signed-off-by: Christoph Hellwig <>...

0b5c1ce8 08/24/2009 04:21 pm Nathan Froyd

cleanup cpu-exec.c, part 0/N: consolidate handle_cpu_signal

handle_cpu_signal is very nearly copy-paste code for each target, with a
few minor variations. This patch sets up appropriate defaults for a
generic handle_cpu_signal and provides overrides for particular targets...

793cbfb5 08/24/2009 04:21 pm Amit Shah

char: Emit 'CLOSED' events on char device close

Notify users of the char interface whenever the file / connection is
closed.

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

4a1418e0 08/24/2009 04:02 pm Anthony Liguori

Unbreak large mem support by removing kqemu

kqemu introduces a number of restrictions on the i386 target. The worst is that
it prevents large memory from working in the default build.

Furthermore, kqemu is fundamentally flawed in a number of ways. It relies on...

a25a0ef5 08/24/2009 04:02 pm Anthony Liguori

Only build osdep once

We no longer need hackery to work around kqemu

Signed-off-by: Anthony Liguori <>

7f79dd28 08/24/2009 04:02 pm Paolo Bonzini

unify popen/fopen qemu wrappers

While reading Chris's code for fd migration I noticed the duplication
between QEMUFilePopen and QEMUFileStdio. This fixes it, and makes
qemu_fopen more similar qemu_popen.

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

1632dc6a 08/24/2009 04:01 pm Avi Kivity

Route IOAPIC interrupts via ISA bus

Instead of calling the IOAPIC from the PIC, raise IOAPIC irqs via the ISA bus.
As a side effect, IOAPIC lines 16-23 are enabled.

Signed-off-by: Avi Kivity <>
Signed-off-by: Anthony Liguori <>

4951f65b 08/24/2009 04:01 pm Chris Lalancette

Migration via unix sockets.

Implement migration via unix sockets. While you can fake this using
exec and netcat, this involves forking another process and is
generally not very nice. By doing this directly in qemu, we can avoid
the copy through the external nc command. This is useful for...

0953a80f 08/24/2009 04:01 pm Zachary Amsden

Add a configure switch to enable / disable all user targets. I felt compelled to do it for symmetry, mostly it is useful to disable user targets when you don't want to build them.

Signed-off-by: Zachary Amsden <>
Signed-off-by: Anthony Liguori <>

e8b54394 08/24/2009 04:01 pm Brian Wheeler

SMART ATA Functionality

For the lulz I implemented basic SMART functionality in ide.c. smartctl
on linux recognizes it just fine and starting self tests with it
complete successfully.

Signed-off-by: Brian Wheeler <>
Signed-off-by: Anthony Liguori <>

6b35e7bf 08/24/2009 04:01 pm Jes Sorensen

QEMU set irq0override in fw_cfg

Hi,

After discussing the issue with Avi, Gleb and a couple others on irq,
we came to the conclusion that it is preferred to have QEMU request
features from the BIOS, rather than notifying the BIOS that it is
running on QEMU or KVM. This way memory ranges can change etc. and...

21d4e8e3 08/24/2009 04:01 pm Alexandre Bique

Makefile: fixed rule TAGS

- still works if the build dir is not the src dir
- use find instead of .c block/.c etc...

Signed-off-by: Alexandre Bique <>
Signed-off-by: Anthony Liguori <>

1452411b 08/24/2009 04:01 pm Avi Kivity

Route PC irqs to ISA bus instead of i8259 directly

A PC has its motherboard IRQ lines connected to both the PIC and IOAPIC.
Currently, qemu routes IRQs to the PIC which then calls the IOAPIC, an
incestuous arrangement. In order to clean this up, create a new ISA IRQ...

90750009 08/24/2009 04:01 pm Chris Lalancette

Fix detached migration with exec.

When trying to do detached migration with exec, I found that
the monitor wouldn't always return in a timely manner. I
tracked this down to exec_start_outgoing_migration. It
appeared we were setting the fd to NONBLOCK'ing, but in...

7ef92331 08/24/2009 04:01 pm Zachary Amsden

Don't segfault when changing VNC password on an SDL display.

Signed-off-by: Zachary Amsden <>
Signed-off-by: Anthony Liguori <>

52c18be9 08/24/2009 04:01 pm Zachary Amsden

When using stdio monitor and VNC display, one can set or clear a VNC password; this should set or turn off VNC authentication as well.

Signed-off-by: Zachary Amsden <>
Signed-off-by: Anthony Liguori <>

86176759 08/24/2009 04:01 pm Zachary Amsden

Clean up VGA type selection; far too many variables being used to track one state leads to confusion if new variables are added.

Signed-off-by: Zachary Amsden <>
Signed-off-by: Anthony Liguori <>

7dc3fa09 08/24/2009 04:01 pm Stefan Weil

Add missing linefeed in error message

The error message for an unknown network device given to
monitor command set_link looks better with a terminating
linefeed.

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

04a52b41 08/24/2009 04:01 pm Stefano Stabellini

make vga screen_dump use DisplayState properly

Hi all,
currently the vga screen_dump code doesn't use the DisplayState
interface properly and tries to replace it temporarily while taking the
screenshot.
A better approach is to register a DisplayChangeListener, call...

6b99dadc 08/24/2009 04:01 pm Avi Kivity

Do not disable autostart for live migration

If the user does not want autostart, they can specify -S.

Signed-off-by: Avi Kivity <>
Signed-off-by: Anthony Liguori <>

b6f6d0e2 08/24/2009 02:18 pm malc

Restore consistent formatting

Signed-off-by: malc <>

e5944641 08/24/2009 02:15 pm Juan Quintela

es1370: Remove unused indirection of PCIES1370State and ES1370State

Signed-off-by: Juan Quintela <>

2a1704a7 08/23/2009 11:10 pm Blue Swirl

Fix device name completion for 'eject'

Signed-off-by: Blue Swirl <>

4445b0a6 08/23/2009 08:00 pm Andrzej Zaborowski

Revert my commit c00a9de060124a988bd9847c095e5836488c6f01

was incorrect.

8d30b794 08/23/2009 07:08 pm Torsten Duwe

Fix segfault of qemu-system-arm with PXA target

qemu-system-arm (0.10.5) segfaults when invoked with a PXA machine target,
e.g. -M tosa. The reason is fairly obvious:

Signed-off-by: Torsten Duwe <>
Signed-off-by: Christoph Hellwig <>...

699960b2 08/23/2009 07:03 pm Reimar Döffinger

sdl.c: support 32 bpp cursors

Hello,
currently when a 32 bpp cursor gets defined the result is all-black in
the areas that are not transparent (you'll get a 32 bpp cursor if you
use my previous patch to allow vmware_vga to use a 32 bpp framebuffer).
This is because the switch in sdl.c lacks a 32 bpp case....

c00a9de0 08/23/2009 07:00 pm Reimar Döffinger

Use corect depth from DisplaySurface in vmware_vga.c

Hello,
for what I can tell, there is no way for vmware_vga to work correctly
right now. It assumes that the framebuffer bits-per-pixel and the one
from the DisplaySurface are identical (it uses directly the VRAM from...

13f59cbf 08/23/2009 06:44 pm Andrzej Zaborowski

Remove the unnecessary and only global in musicpal.c

7ef6e71c 08/23/2009 06:19 pm Andrzej Zaborowski

Merge with :/srv/git/qemu.git

d074769c 08/23/2009 04:51 pm Andrzej Zaborowski

Make musicpal.c use the I2C device and the Marvell 88w8618 audio device

Signed-off-by: Benoit Canet <>
Signed-off-by: Andrzej Zaborowski <>

ef07b491 08/23/2009 04:44 pm Andrzej Zaborowski

Extract the Marvell 88w8618 audio device from musicpal.c

Signed-off-by: Benoit Canet <>
Signed-off-by: Andrzej Zaborowski <>

3ead03bd 08/23/2009 04:38 pm Andrzej Zaborowski

Extract musicpal.c I2C bitbanging code and make it gpio aware

Signed-off-by: Benoit Canet <>
Signed-off-by: Andrzej Zaborowski <>

343ec8e4 08/23/2009 03:38 pm Benoit Canet

Musicpal qdev conversion: gpio (except I2C part), keyboard and lcd

Signed-off-by: Benoit Canet <>
Signed-off-by: Andrzej Zaborowski <>

d453c2c3 08/23/2009 03:23 pm Blue Swirl

Sparc32: fix monitor commands 'info pic' and 'info irq'

Signed-off-by: Blue Swirl <>

7432ff5d 08/23/2009 09:12 am Blue Swirl

Rearrange to suppress gcc 3.3.5 warning about unused variable

Signed-off-by: Blue Swirl <>

9c9c310a 08/22/2009 08:23 pm Igor Kovalenko

def-helper.h allow helpers returning pointers

This change allows to define helpers returning pointers.
This looks like a typo in original commit.

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

0fd0eb21 08/22/2009 04:55 pm Blue Swirl

ESP: implement Transfer Pad

Signed-off-by: Blue Swirl <>

5e1e0a3b 08/22/2009 04:54 pm Blue Swirl

ESP: Implement select without ATN, fix comments

Signed-off-by: Blue Swirl <>

94953e6d 08/22/2009 03:29 pm Laurent Desnogues

ARM back-end: Handle all possible immediates for ALU ops

this patch handles all possible constants for immediate operand of ALU ops.
I'm not very satisfied by the implementation.

Laurent

Signed-off-by: Laurent Desnogues <>
Signed-off-by: Andrzej Zaborowski <>

f878d2d2 08/22/2009 02:55 pm Laurent Desnogues

ARM back-end: Add TCG not

this patch:

- implements TCG not.

Laurent

Signed-off-by: Laurent Desnogues <>
Signed-off-by: Andrzej Zaborowski <>

4c6aa085 08/22/2009 02:54 pm Blue Swirl

sparc32 remove an unnecessary cpu irq set

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

c27e2752 08/22/2009 02:46 pm Blue Swirl

Sparc32/64: fix jmpl followed by branch

Fix a case where 'jmpl' instruction followed by a branch instruction was
handled incorrectly.

Signed-off-by: Blue Swirl <>

10ee2aaa 08/22/2009 12:51 pm Juan Quintela

Remove unneded ac97 indirection accessing its state

Searching for "inspiration" to convert another device to qdev, I got
ac97. Once I understood a bit of qdev, found that ac97 used a not needed
indirection. To protect the unaware, just fixed it.

Later, Juan....

6b743278 08/18/2009 09:04 pm Blue Swirl

Sparc32/64: Fix user emulator breakage

Signed-off-by: Blue Swirl <>

7ecd8df8 08/18/2009 08:01 pm Blue Swirl

Fix breakage of alpha, mips64, ppc64 and x86_64 targets on non-amd64 host

Signed-off-by: Blue Swirl <>

b11ebf64 08/16/2009 02:54 pm Blue Swirl

Replace REGX with PRIx64

Signed-off-by: Blue Swirl <>

90e189ec 08/16/2009 02:13 pm Blue Swirl

Replace local ADDRX/PADDRX macros with TARGET_FMT_lx/plx

Signed-off-by: Blue Swirl <>

636aa200 08/16/2009 12:06 pm Blue Swirl

Replace always_inline with inline

We define inline as always_inline.

Signed-off-by: Blue Swirl <>

facd2857 08/16/2009 11:03 am Blue Swirl

user: compile host-utils.c only once

Signed-off-by: Blue Swirl <>

e27b27b3 08/16/2009 10:39 am Blue Swirl

Simplify 5ba6531956b9b6486560cbd13604c2238a3542dd

Thanks to Juan Quintela.

Signed-off-by: Blue Swirl <>

cfa90513 08/15/2009 07:52 pm Blue Swirl

Fix desynchronization of condition code state when a memory access traps

Signed-off-by: Blue Swirl <>

802670e6 08/15/2009 05:27 pm Blue Swirl

PPC: clean up ppc405

Rely on the subpage system instead of the local version.
Make most functions "static".
Fix wrong parameter passed to ppc4xx_pob_reset.

Signed-off-by: Blue Swirl <>

1786dc15 08/15/2009 02:33 pm Blue Swirl

Use pstrcpy to avoid OpenBSD linker warnings

Signed-off-by: Blue Swirl <>

fc0d96b4 08/15/2009 01:35 pm Blue Swirl

bsd-user: Add generic env variable handling

Based on 04a6dfebb6b52532a1e0bd637899f1eba14e94c6.

Adds support for qemu to modify target process environment
variables using -E and -U commandline switches. This replaces
eventually the -drop-ld-preload flag....

6af5a252 08/15/2009 11:47 am Blue Swirl

linux-user: compile envlist.c only once

Signed-off-by: Blue Swirl <>

5ba65319 08/15/2009 10:52 am Blue Swirl

user: compile ioport-user.c only for x86

Signed-off-by: Blue Swirl <>

37022086 08/15/2009 10:51 am Blue Swirl

user: compile path.c only once

Also merge bsd-user/path.c and linux-user/path.c.

Signed-off-by: Blue Swirl <>

0bf5e443 08/14/2009 12:05 am Anthony Liguori

Fix migration for ide devices

commit 93c8cfd9e67a62711b86f4c93747566885eb7928
Author: Gleb Natapov <>
Date: Sun Aug 2 11:36:47 2009 +0300

make windows notice media change

Broke save/restore by loading a new field but not saving it....

0c5b8d83 08/13/2009 08:51 pm Blue Swirl

Unbreak Sparc64

EBus is a sort of ISA bus.

Signed-off-by: Blue Swirl <>

bc19fcaa 08/13/2009 07:26 pm Blue Swirl

Unbreak Sparc32 and PPC

Convert qdev ptr type to chr, allow a NULL pointer.

Signed-off-by: Blue Swirl <>

aa0cba4a 08/13/2009 05:41 am malc

Third attempt to invoke create_config properly

Second attempt failed due to $_ not being standard and as such it's
interpretation by certain shells when they were symlinked to /bin/sh
and invoked as such led to unpredictable results. So instead of trying...

197bc219 08/12/2009 10:11 pm malc

Fix typo

971c47cc 08/11/2009 10:15 pm malc

Do not use $SHELL to invoke our scripts

http://www.opengroup.org/onlinepubs/7990989775/xbd/envvar.html

<quote>
SHELL
A pathname of the user's preferred command language
interpreter. If this interpreter does not conform to the XSI Shell
Command Language in the XCU specification, Shell Command Language,...

1dd3e4d1 08/11/2009 07:51 pm Juan Quintela

use C99 initializers for audio_pcm_ops

Signed-off-by: Juan Quintela <>

1a40d5e2 08/11/2009 07:51 pm Juan Quintela

use C99 initializers for all audio/*

Signed-off-by: Juan Quintela <>

98f9f48c 08/11/2009 07:51 pm malc

Aesthetics

Reformat to make item borders more visible
Fix cases of stray tabs and vertical misalignments

Signed-off-by: malc <>