qdev/prop: convert pci.c to helper macros.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>Message-Id:
qdev/prop: convert arm_sysctl.c to helper macros.
qdev/prop: add CharDriverState property.
convert gprof flags to style of rest of Makefile
Signed-off-by: Juan Quintela <quintela@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>Message-Id:
Move libsunpath to use the same style than everything else
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 <eak@us.ibm.com>...
net: Fix do_set_link() return type
do_set_link() returns int, but Monitor handler functions shouldalways return void.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>Message-Id:
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() tocall bdrv_commit() to all devices
2. If you enter a device name, it will be the only one ignored...
make windows notice media change
Windows seems to be very stupid about cdrom media change. It pollscdrom status and if status goes ready->media not present->readyit assumes that media was changed. If "media not present" step doesn'thappen even if "medium may have changed" was seen it assumes media...
qdev/prop: macros for creating typechecked properties.
There are DEFINE_PROP_$TYPE macros foreach property type. These macros link the qdev_prop_$name struct to thetype used by that property. typeof(struct->field) is verifyed to be the...
CURL libs are used both by tools and softmmu
Add cocoa libs at Darwin selection time
CONFIG_POSIX makes more sense that not CONFIG_WIN32
remove last 3 uses of :=, everywhere else uses += or =
Consolidate audio flags in configure
We also need TARGET_<arechname> in Makefiles
use TARGET_<arch name> for selection
Disable aio in mingw32
Add libs_tools support
Libraries used by qemu-<tools>
VDE libs are used both by tools and softmmu
Move dis-* selection to configure
Use only one KVM_CFLAGS
Use one less HELPER_CFLAGS
Make slirp include dir globlal in cflags
We already include it everywhere
FMOD_CFLAGS is not set when CONFIG_FMOD is undef
AUDIO_PT is not needed
AUDIO_PT only changes LDFLAGS to include -pthread, but it change it inMakefile, and audio files are linked only on Makefile.target
Signed-off-by: Juan Quintela <quintela@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>...
Generate CONFIG_AUDIO_PT_INT in configure
Fold TARGET_GPROF handling in configure
Generate more conmmon CFLAGS
Added CONFIG_NEED_MMU for microblaze and cris
fix typo, there should be bsd_user there
Move alpha CFLAGS target to configure
Move ia64 QEMU_CFLAGS target to configure
this bit was already generated in configure
remove duplicated TARGET_GPROF code
\!CONFIG_USER_ONLY == CONFIG_SOFTMMU
Use this to simplify Makefile.target and remove negative logic
Introduce CONFIG_NOSOFTFLOAT and simplify Makefile.target
permit to add things to LDFLAGS for target
refactor linker_script common part and change quoting
permit to add things to CFLAGS per target
Test if we need -lutil in ,/configure
Fold CURSES_LIBS into libsoftmmu_libs
Fold VNC_TLS_LIBS into libs_softmmu
Fold VNC_SASL_LIBS into libs_softmmu
Fold XEN_LIBS into libs_softmmu
Fold BLUEZ_LIBS into libs_softmmu
Fold FDT_LIBS into libs_softmmu
Fold BRLAPI_LIBS into libs_softmmu
Add libs_softmmu variable
It is used only for softmmu variables
Add SDL_LIBS to libs_softmmu
gcc generates the right dependency for this file
move coreaudio libraries to coreaudio selection
Move sound library selection to sound selection
files are only compiled when CONFIG_ADLIB is defined
We set -Werror through configure now
Rename CPPFLAGS to QEMU_CFLAGS
Now we have to variables: QEMU_CFLAGS: flags without which we can't compileCFLAGS: "-g -O2"
We can now run:
make CFLAGS="-fbar" foo.omake CFLAGS="" foo.omake CFLAGS="-O3" foo.o
And it all should work.
Signed-off-by: Juan Quintela <quintela@redhat.com>...
split QEMU_CFLAGS very long line
move common QEMU_CFLAGS to configure
Refactor HELPER_CFLAGS
Calculate its value in ./configure.Put together all its uses
move SDL_LIBS Win32 hack to configure
We use -lz for all binaries
We want to pass LIB through configuration files now
PTHREADLIBS was used for all binaries
CLOCKLIBS was used for all binaries
Move to configure CONFIG_SOLARIS libraries needed always
Move to configure CONFIG_WIN32 libraries needed always
move sparc_cpu arg parsing to the begining
refactor sparc_cpu code to be in a single place
refactor $cpu selection in various places
reindent Operating System selection configure
remove unused temporal files
Add CURL_CFLAGS
sparc_* is defined through -D__sparc_*__
move mingw32 code after selection of OS
This variables can't be set here
refactor kqemu selection for both mingw32
We want to add options at the beggining, not at the end of variables
Remove OS_{CFLAGS, LDFLAGS} and ARCH_{LDFLAGS, CFLAGS}
Fold its values into LDFLAGS and CFLAGS
move EXTRA_CFLAGS/LDFLAGS to the very beginning
Now, we compile all the tests with the values passed through the commandline.
create compile_object/compile_prog functions
Instead of repeating the code through the file, create this two functions andcall them in all $cc invocations.
move general CFLAGS/LDFLAGS definitions after last $cc run
Use CFLAGS from enviroment, ARCH_CFLAGS hasn't been defined yet
move cpu command line setting to the beggining
move check_linker_flags sooner than starting of printing variables
remove not needed rt variable
move checks for bswap32/bswap_32 sooner than starting of printing variables
variable timer intervals
This patch introduces dynamic timer intervals: we slow down the refreshrate when there in no much activity but we get back to a fast refreshrate when the activity resume.
Please note that qemu_timer_expired is not an inline function any more...
fix sdl window resize
Hi all,this patch fixes the sdl window resize event handler so that it doesn'trequire the emulated graphic card (or console.c) to callqemu_console_resize.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>...
vga: do not resize the screen on hw_invalidate
Hi all,currently vga always resizes the screen when vga_hw_invalidate is calledwhile this is not required and all the other graphic emulators don't.This patch fixes it, making vga invalidate behaviour consistent with the...
strip binary is not used anywhere
oss variable don't exist anymore
qdev/isa: convert fdc.
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,...
Add new block driver for the VDI format (only aio supported)
This is a new block driver written from scratchto support the VDI format in QEMU.
VDI is the native format used by Innotek / SUN VirtualBox.
Latest changes:
Fix checksum writing in signboot.sh
The printf command takes an octal value after \, so we have to convertour decimal representation to octal first and then write it.
This unbreaks extboot signing. Multiboot wasn't affected yet becausethe checksum was < 8....
a single vnc timer to refresh the screen
This patch removes the timer per vnc client connected and adds a singletimer to update all the possible clients.We call vga_hw_update only once in the timer handler.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>...
single vnc server surface
This patch removes the server surface from VncState and adds a singleserver 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...
qdev/isa: make pc use qdev for i8042 setup.
qdev/isa: add qdev support to i8042 (aka ps/2 kbd+mouse).
qdev/isa: make the piix isa bridge register an isa bus.