Statistics
| Branch: | Revision:

root @ f878d2d2

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

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

bee37f32 08/11/2009 07:51 pm Juan Quintela

Use proper struct initializers and remove INIT_FIELD() macro

Signed-off-by: Juan Quintela <>

2700efa3 08/11/2009 07:51 pm Juan Quintela

Use C99 initializers for audio_option

Signed-off-by: Juan Quintela <>

c981d39c 08/11/2009 03:27 am Anthony Liguori

Fix virtio-blk

Reported-by: Christoph Hellwig
Signed-off-by: Anthony Liguori <>

05f02579 08/10/2009 09:11 pm Gerd Hoffmann

qdev/prop: convert xilinx_ethlite.c to helper macros.

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

8017dc26 08/10/2009 09:11 pm Gerd Hoffmann

qdev/prop: convert xilinx_intc.c to helper macros.

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

ea2b7271 08/10/2009 09:11 pm Gerd Hoffmann

qdev/prop: convert xilinx_timer.c to helper macros.

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

22f2e344 08/10/2009 09:11 pm Gerd Hoffmann

fix qdev_print_devinfo()

snprintf returns number of bytes needed for the output, not the number
of bytes actually written. Thus the math is wrong ...

Spotted by Markus Armbruster.

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

f6c64e0e 08/10/2009 09:11 pm Gerd Hoffmann

rename "info qdrv" to "info qdm"

As requested by avi: driver != device model.

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

6ca8d0fd 08/10/2009 09:11 pm Nathan Froyd

check for PR_SET_NAME being defined

Depending on what glibc/kernel headers you are compiling against,
PR_SET_NAME may or may not be defined. Do the right thing if
PR_SET_NAME isn't defined and skip setting the process name.

Signed-off-by: Nathan Froyd <>...

562593aa 08/10/2009 09:11 pm Anthony Liguori

Add emacs header to Makefile.target

Signed-off-by: Anthony Liguori <>
Signed-off-by: Anthony Liguori <>
Message-Id:

3c2aed8b 08/10/2009 09:11 pm Gerd Hoffmann

qdev/prop: convert syborg_interrupt.c to helper macros.

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

51dd5927 08/10/2009 09:11 pm Gerd Hoffmann

qdev/prop: convert syborg_keyboard.c to helper macros.

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

5cdabc14 08/10/2009 09:11 pm Gerd Hoffmann

qdev/prop: convert syborg_pointer.c to helper macros.

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

c4470b25 08/10/2009 09:11 pm Gerd Hoffmann

qdev/prop: convert syborg_serial.c to helper macros.

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

083301fc 08/10/2009 09:11 pm Gerd Hoffmann

qdev/prop: convert syborg_timer.c to helper macros.

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

53dad499 08/10/2009 09:11 pm Gerd Hoffmann

qdev/prop: convert tcx.c to helper macros.

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

df59cbc6 08/10/2009 09:11 pm Gerd Hoffmann

qdev/prop: convert vga.c to helper macros.

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

72c61d0b 08/10/2009 09:11 pm Gerd Hoffmann

qdev/prop: convert virtio-pci.c to helper macros.

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

18c637dc 08/10/2009 09:11 pm Gerd Hoffmann

qdev/prop: convert slavio_timer.c to helper macros.

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

bf2782d7 08/10/2009 09:11 pm Gerd Hoffmann

qdev/prop: convert smbus_eeprom.c to helper macros.

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

3180d772 08/10/2009 09:11 pm Gerd Hoffmann

qdev/prop: convert sparc32_dma.c to helper macros.

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

c885159a 08/10/2009 09:11 pm Gerd Hoffmann

qdev/prop: convert sun4m.c to helper macros.

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

32a7ee98 08/10/2009 09:11 pm Gerd Hoffmann

qdev/prop: convert sun4u.c to helper macros.

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

c230c4e3 08/10/2009 09:11 pm Gerd Hoffmann

qdev/prop: convert syborg_fb.c to helper macros.

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

7fdaf611 08/10/2009 09:08 pm Gerd Hoffmann

qdev/prop: convert slavio_intctl.c to helper macros.

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

186507b4 08/10/2009 09:05 pm Gerd Hoffmann

qdev/prop: convert pcnet.c to helper macros.

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

ddde095c 08/10/2009 09:05 pm Gerd Hoffmann

qdev/prop: convert etraxfs_pic.c to helper macros.

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

368eb5d4 08/10/2009 09:05 pm Gerd Hoffmann

qdev/prop: convert i2c.c to helper macros.

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

bb36f66a 08/10/2009 09:05 pm Gerd Hoffmann

qdev/prop: convert integratorcp.c to helper macros.

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

668724a7 08/10/2009 09:05 pm Gerd Hoffmann

qdev/prop: convert iommu.c to helper macros.

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

01274424 08/10/2009 09:05 pm Gerd Hoffmann

qdev/prop: convert m48t59.c to helper macros.

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

54586bd1 08/10/2009 09:05 pm Gerd Hoffmann

qdev/prop: convert pci.c to helper macros.

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

e325775b 08/10/2009 09:05 pm Gerd Hoffmann

qdev/prop: convert arm_sysctl.c to helper macros.

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

1832efa2 08/10/2009 09:05 pm Gerd Hoffmann

qdev/prop: convert armv7m.c to helper macros.

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

d210a1b4 08/10/2009 09:05 pm Gerd Hoffmann

qdev/prop: convert eccmemctl.c to helper macros.

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

ec02f7de 08/10/2009 09:05 pm Gerd Hoffmann

qdev/prop: convert escc.c to helper macros.

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

313feaab 08/10/2009 09:05 pm Gerd Hoffmann

qdev/prop: add CharDriverState property.

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

f622d8a3 08/10/2009 09:05 pm Juan Quintela

convert gprof flags to style of rest of Makefile

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

f14bfdf9 08/10/2009 09:05 pm Juan Quintela

Move libsunpath to use the same style than everything else

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

09c0848e 08/10/2009 09:05 pm Beth Kon

Add/Fix command-line checks for smbios options v2

- One type 4 table is required per cpu. Add a check for this.
- Fix check for smbios file.

Changes from v1:
- static designation of smbios_validate_table, and remove whitespace

Signed-off-by: Beth Kon <>...

c3cf0d3f 08/10/2009 09:05 pm Luiz Capitulino

net: Fix do_set_link() return type

do_set_link() returns int, but Monitor handler functions should
always return void.

Signed-off-by: Luiz Capitulino <>
Signed-off-by: Anthony Liguori <>
Message-Id:

73006d2a 08/10/2009 09:05 pm Luiz Capitulino

Fix do_commit() behavior

Commit 751c6a17042b5d011013d6963c0505d671cf708e changed the monitor's
'commit' command to this behavior:

1. Any string you type as argument will cause do_commit() to
call bdrv_commit() to all devices

2. If you enter a device name, it will be the only one ignored...

93c8cfd9 08/10/2009 09:05 pm Gleb Natapov

make windows notice media change

Windows seems to be very stupid about cdrom media change. It polls
cdrom status and if status goes ready->media not present->ready
it assumes that media was changed. If "media not present" step doesn't
happen even if "medium may have changed" was seen it assumes media...

cf12b95b 08/10/2009 09:05 pm Gerd Hoffmann

qdev/prop: macros for creating typechecked properties.

There are DEFINE_PROP_$TYPE macros for
each property type. These macros link the qdev_prop_$name struct to the
type used by that property. typeof(struct->field) is verifyed to be the...

f0302935 08/10/2009 09:05 pm Juan Quintela

CURL libs are used both by tools and softmmu

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

7973f21c 08/10/2009 09:05 pm Juan Quintela

Add cocoa libs at Darwin selection time

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

96d409eb 08/10/2009 09:05 pm Juan Quintela

CONFIG_POSIX makes more sense that not CONFIG_WIN32

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

ed69c30d 08/10/2009 09:05 pm Juan Quintela

remove last 3 uses of :=, everywhere else uses += or =

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

55d9c04b 08/10/2009 09:05 pm Juan Quintela

Consolidate audio flags in configure

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

053dd92e 08/10/2009 09:05 pm Juan Quintela

We also need TARGET_<arechname> in Makefiles

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

e18ea868 08/10/2009 09:05 pm Juan Quintela

use TARGET_<arch name> for selection

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

a990240b 08/10/2009 09:05 pm Juan Quintela

Disable aio in mingw32

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

3e2e0e6b 08/10/2009 09:05 pm Juan Quintela

Add libs_tools support

Libraries used by qemu-<tools>

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

8e02e54c 08/10/2009 09:05 pm Juan Quintela

VDE libs are used both by tools and softmmu

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

64656024 08/10/2009 09:05 pm Juan Quintela

Move dis-* selection to configure

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

b248a85d 08/10/2009 09:05 pm Juan Quintela

Use only one KVM_CFLAGS

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

864de24a 08/10/2009 09:05 pm Juan Quintela

Use one less HELPER_CFLAGS

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

4de67f2f 08/10/2009 09:05 pm Juan Quintela

Make slirp include dir globlal in cflags

We already include it everywhere

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

98b068a9 08/10/2009 09:05 pm Juan Quintela

FMOD_CFLAGS is not set when CONFIG_FMOD is undef

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

611b0db5 08/10/2009 09:05 pm Juan Quintela

AUDIO_PT is not needed

AUDIO_PT only changes LDFLAGS to include -pthread, but it change it in
Makefile, and audio files are linked only on Makefile.target

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

67f86e8e 08/10/2009 09:05 pm Juan Quintela

Generate CONFIG_AUDIO_PT_INT in configure

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

d02c1db3 08/10/2009 09:05 pm Juan Quintela

Fold TARGET_GPROF handling in configure

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

57ddfbf7 08/10/2009 09:05 pm Juan Quintela

Generate more conmmon CFLAGS

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

471857dd 08/10/2009 09:05 pm Juan Quintela

Added CONFIG_NEED_MMU for microblaze and cris

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

9b8e111f 08/10/2009 09:05 pm Juan Quintela

fix typo, there should be bsd_user there

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

6ee7126f 08/10/2009 09:05 pm Juan Quintela

Move alpha CFLAGS target to configure

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

c60d0afa 08/10/2009 09:05 pm Juan Quintela

Move ia64 QEMU_CFLAGS target to configure

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

10a072a2 08/10/2009 09:05 pm Juan Quintela

this bit was already generated in configure

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

7ce9361c 08/10/2009 09:05 pm Juan Quintela

remove duplicated TARGET_GPROF code

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

76dfdd24 08/10/2009 09:05 pm Juan Quintela

\!CONFIG_USER_ONLY == CONFIG_SOFTMMU

Use this to simplify Makefile.target and remove negative logic

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

d6b38939 08/10/2009 09:05 pm Juan Quintela

Introduce CONFIG_NOSOFTFLOAT and simplify Makefile.target

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

07dac55d 08/10/2009 09:05 pm Juan Quintela

permit to add things to LDFLAGS for target

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

322e5878 08/10/2009 09:05 pm Juan Quintela

refactor linker_script common part and change quoting

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

4afddb55 08/10/2009 09:05 pm Juan Quintela

permit to add things to CFLAGS per target

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

264606b3 08/10/2009 09:05 pm Juan Quintela

Fold BRLAPI_LIBS into libs_softmmu

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