History | View | Annotate | Download (59.6 kB)
Merge commit 'linux-user/linux-user-for-upstream' into staging
Relax pthreads check to avoid win32
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
ide: move code to hw/ide/
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
raw-posix: add Linux native AIO support
Now that do have a nicer interface to work against we can add Linux nativeAIO support. It's an extremly thing layer just setting up an iocb forthe io_submit system call in the submission path, and registering an...
Add fdt to new feature convention
Signed-off-by: Juan Quintela <quintela@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Add xen to new feature convention
Add kvm to new feature convention
Extra error message is only given if --enable-kvm was given
Add sparse to new feature convention
Once there, move to a proper test to see if we are going to use it or not
Rename build_docs to docs
All other features are named foo and enabled with --enable-foo.
Add sdl to new feature convention
Add vnc_tls to new feature convencion
Add vnc_sasl to new feature convencion
Add curses to new feature convencion
Add curl to new feature convencion
Add nptl to new feature convencion
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
Add build_docs to new feature convention
Make vnc configure options less verbose.
Rest of libraries don't print themselves
Use the same structure for list of libs in curses and pthread
Add feature configure help
Add error message for feature not found
Add brlapi to new feature convencion
Add vde to new feature convencion
linux-user: add eventfd support
Straightforward implementation. This syscall is rare enough that wedon't need to support the odder cases, just disable it if host glibcis too old.
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
make pthreads mandatory
As requested by Anthony make pthreads mandatory. This means we will alwayshave AIO available on posix hosts, and it will also allow enabling the I/Othread unconditionally once it's ready.
Signed-off-by: Christoph Hellwig <hch@lst.de>...
Unbreak large mem support by removing kqemu
kqemu introduces a number of restrictions on the i386 target. The worst is thatit prevents large memory from working in the default build.
Furthermore, kqemu is fundamentally flawed in a number of ways. It relies on...
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 <zamsden@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Third attempt to invoke create_config properly
Second attempt failed due to $_ not being standard and as such it'sinterpretation by certain shells when they were symlinked to /bin/shand invoked as such led to unpredictable results. So instead of trying...
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,...
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
CURL libs are used both by tools and softmmu
Add cocoa libs at Darwin selection time
Consolidate audio flags in configure
We also need TARGET_<arechname> in Makefiles
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
Make slirp include dir globlal in cflags
We already include it everywhere
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
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
move coreaudio libraries to coreaudio selection
Move sound library selection to sound selection
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 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.
Signed-off-by: Juan Quintela <quintela@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>...
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
strip binary is not used anywhere
oss variable don't exist anymore
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,...
configure: let it find xen headers and libs
Attached patch lets configure find xen headers and libswith --extra-cflags and --extra-ldlfags option.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>...
Do not try to invoke shebang scripts directly (NFS issues)
Signed-off-by: malc <av1474@comtv.ru>
enable NPTL for ppc-linux-user targets in configure
Enabling support for ppc64-linux-user should be easy enough to do later.
Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>Signed-off-by: malc <av1474@comtv.ru>
Option rom makefile fixes
Fix toplevel option rom makefile rules.
Signed-off-by: Paul Brook <paul@codesourcery.com>