Statistics
| Branch: | Revision:

root @ e325775b

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

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:

6362a53f 08/10/2009 09:05 pm Juan Quintela

Test if we need -lutil in ,/configure

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

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

Fold CURSES_LIBS into libsoftmmu_libs

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

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

Fold VNC_TLS_LIBS into libs_softmmu

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

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

Fold VNC_SASL_LIBS into libs_softmmu

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

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

Fold XEN_LIBS into libs_softmmu

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

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

Fold BLUEZ_LIBS into libs_softmmu

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

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

Fold FDT_LIBS into libs_softmmu

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:

73da375e 08/10/2009 09:05 pm Juan Quintela

Add libs_softmmu variable

It is used only for softmmu variables

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

0705667e 08/10/2009 09:05 pm Juan Quintela

Add SDL_LIBS to libs_softmmu

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

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

gcc generates the right dependency for this file

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

997e690a 08/10/2009 09:05 pm Juan Quintela

move coreaudio libraries to coreaudio selection

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

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

Move sound library selection to sound selection

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

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

files are only compiled when CONFIG_ADLIB is defined

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

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

We set -Werror through configure now

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

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

Rename CPPFLAGS to QEMU_CFLAGS

Now we have to variables: QEMU_CFLAGS: flags without which we can't compile
CFLAGS: "-g -O2"

We can now run:

make CFLAGS="-fbar" foo.o
make CFLAGS="" foo.o
make CFLAGS="-O3" foo.o

And it all should work.

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

867c16fd 08/10/2009 09:05 pm Juan Quintela

split QEMU_CFLAGS very long line

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

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

move common QEMU_CFLAGS to configure

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

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

Refactor HELPER_CFLAGS

Calculate its value in ./configure.
Put together all its uses

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

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

move SDL_LIBS Win32 hack to configure

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

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

We use -lz for all binaries

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

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

We want to pass LIB through configuration files now

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

5572b539 08/10/2009 09:05 pm Juan Quintela

PTHREADLIBS was used for all binaries

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

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

CLOCKLIBS was used for all binaries

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

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

Move to configure CONFIG_SOLARIS libraries needed always

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

884044aa 08/10/2009 09:05 pm Juan Quintela

Move to configure CONFIG_WIN32 libraries needed always

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

50e7b1a0 08/10/2009 09:05 pm Juan Quintela

move sparc_cpu arg parsing to the begining

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

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

refactor sparc_cpu code to be in a single place

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

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

refactor $cpu selection in various places

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

0dbfc675 08/10/2009 09:05 pm Juan Quintela

reindent Operating System selection configure

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

9784cde5 08/10/2009 09:05 pm Juan Quintela

remove unused temporal files

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

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

Add CURL_CFLAGS

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

1f653738 08/10/2009 09:05 pm Juan Quintela

sparc_* is defined through -D__sparc_*__

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

3457a3f8 08/10/2009 09:05 pm Juan Quintela

move mingw32 code after selection of OS

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

19a54b77 08/10/2009 09:05 pm Juan Quintela

This variables can't be set here

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

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

refactor kqemu selection for both mingw32

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

1156c669 08/10/2009 09:05 pm Juan Quintela

We want to add options at the beggining, not at the end of variables

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

0c439cbf 08/10/2009 09:05 pm Juan Quintela

Remove OS_{CFLAGS, LDFLAGS} and ARCH_{LDFLAGS, CFLAGS}

Fold its values into LDFLAGS and CFLAGS

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

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

move EXTRA_CFLAGS/LDFLAGS to the very beginning

Now, we compile all the tests with the values passed through the command
line.

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

52166aa0 08/10/2009 09:05 pm Juan Quintela

create compile_object/compile_prog functions

Instead of repeating the code through the file, create this two functions and
call them in all $cc invocations.

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

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

move general CFLAGS/LDFLAGS definitions after last $cc run

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

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

Use CFLAGS from enviroment, ARCH_CFLAGS hasn't been defined yet

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

2ff6b91e 08/10/2009 09:05 pm Juan Quintela

move cpu command line setting to the beggining

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

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

move check_linker_flags sooner than starting of printing variables

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

5169202b 08/10/2009 09:05 pm Juan Quintela

remove not needed rt variable

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

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

move checks for bswap32/bswap_32 sooner than starting of printing variables

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

2430ffe4 08/10/2009 09:05 pm Stefano Stabellini

variable timer intervals

This patch introduces dynamic timer intervals: we slow down the refresh
rate when there in no much activity but we get back to a fast refresh
rate when the activity resume.

Please note that qemu_timer_expired is not an inline function any more...

ae288347 08/10/2009 09:05 pm Stefano Stabellini

fix sdl window resize

Hi all,
this patch fixes the sdl window resize event handler so that it doesn't
require the emulated graphic card (or console.c) to call
qemu_console_resize.

Signed-off-by: Stefano Stabellini <>
Signed-off-by: Anthony Liguori <>...

0bd8246b 08/10/2009 09:05 pm Stefano Stabellini

vga: do not resize the screen on hw_invalidate

Hi all,
currently vga always resizes the screen when vga_hw_invalidate is called
while this is not required and all the other graphic emulators don't.
This patch fixes it, making vga invalidate behaviour consistent with the...

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

strip binary is not used anywhere

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

40bf3844 08/10/2009 09:05 pm Juan Quintela

oss variable don't exist anymore

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

8baf73ad 08/10/2009 09:05 pm Gerd Hoffmann

qdev/isa: convert fdc.

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

55418b96 08/10/2009 09:05 pm Stefan Weil

Win32: Fix default prefix

The old code resulted in wrong escape sequences:

#define CONFIG_QEMU_SHAREDIR "c:\Program Files\Qemu"

gcc warnings:

vl.c:5708:20: warning: unknown escape sequence '\P'
vl.c:5708:20: warning: unknown escape sequence '\Q'

Windows can handle slash (/) path separators,...

9aebd98a 08/10/2009 09:05 pm Stefan Weil

Add new block driver for the VDI format (only aio supported)

This is a new block driver written from scratch
to support the VDI format in QEMU.

VDI is the native format used by Innotek / SUN VirtualBox.

Latest changes:

  • stripped down version
    (code for synchronous operations and experimental code removed)...
c66b57fc 08/10/2009 09:05 pm Alexander Graf

Fix checksum writing in signboot.sh

The printf command takes an octal value after \, so we have to convert
our decimal representation to octal first and then write it.

This unbreaks extboot signing. Multiboot wasn't affected yet because
the checksum was < 8....

703bc68f 08/10/2009 09:05 pm Stefano Stabellini

a single vnc timer to refresh the screen

This patch removes the timer per vnc client connected and adds a single
timer to update all the possible clients.
We call vga_hw_update only once in the timer handler.

Signed-off-by: Stefano Stabellini <>...

1fc62412 08/10/2009 09:05 pm Stefano Stabellini

single vnc server surface

This patch removes the server surface from VncState and adds a single
server surface to VncDisplay for all the possible clients connected.
Each client maintains a different dirty bitmap in VncState.
The guest surface is moved to VncDisplay as well because we don't need...

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

qdev/isa: make pc use qdev for i8042 setup.

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

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

qdev/isa: add qdev support to i8042 (aka ps/2 kbd+mouse).

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

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

qdev/isa: make the piix isa bridge register an isa bus.

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