History | View | Annotate | Download (55.5 kB)
rename HAVE_GPROF to TARGET_GPROF
Use was not consistent, in Makefile was TARGET_GPROF and in *h HAVE_GPROF
Signed-off-by: Juan Quintela <quintela@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
rename HAVE_BYTESWAP_H to CONFIG_BYTESWAP_H
rename DEBUG_TCG to CONFIG_DEBUG_TCG
rename DEBUG_EXEC to CONFIG_DEBUG_EXEC
rename WORDS_BIGENDIAN to HOST_WORDS_BIGENDIAN
fix indententation
O_LARGEFILE is already set in qemu-common.h
rename HOST_BSD to CONFIG_BSD
define MAP_ANONYMOUS if it is not defined in qemu-common.h
rename HAVE_PREADV to CONFIG_PREADV
rename HAVE_IOVEC to CONFIG_IOVEC
rename HAVE_FNMATCH_H to CONFIG_FNMATCH
rename HAVE_MACHINE_BSWAP_H to CONFIG_MACHINE_BSWAP_H
Add -static in configure if needed
Rename HAVE_FDT to CONFIG_FDT and define it also in Makefile
move printing of config-host.mak variables to end of generation
use same algorithm for testing and
remove CONFIG_ from VNC_SASL_{LIBS, FLAGS}
remove CONFIG_ from BLUEZ_{LIBS,FLAGS}
make fmod also use FMOD_{LIBS,CFLAGS}
make oss use OSS_LIBS
change HOST_SOLARIS to CONFIG_SOLARIS{_VERSION}
Remove SP_CFLAGS and SP_LDFLAGS
SP_CFLAGS and SP_LDFLAGS are only used as initial values for ARCH_CFLAGS/ARCH_LDFLAGS. Call it directly ARCH_*. Once there, use the same indentantion that the rest of the file
Signed-off-by: Juan Quintela <quintela@redhat.com>...
target_arch2 is redefined unconditionally later
remove CONFIG_ from VNC_TLS_{LIBS, FLAGS}
Link bios files when building out of tree
When starting a qemu binary directly from the build directory and thatdir is located outside the source files, the search for bios filesfails. Fix this by linking them from the build to the source directory.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>...
Enable PPC KVM for non-embedded
We now have KVM on PPC64 too and might get it on PPC32 as well, as soonas someone writes it.
So let's enable KVM for PPC32 and PPC64 targets.
Signed-off-by: Alexander Graf <agraf@suse.de>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Fix a similar configure typo from microblaze.
this patch fixes a typo where armv4l was incorrectly spelled arm4l,preventing the correct handling of --cpu=armv4l.
Laurent
Signed-off-by: Laurent Desnogues <laurent.desnogues@gmail.com>Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
PPC 32/64 GUEST_BASE support
Signed-off-by: malc <av1474@comtv.ru>
Userspace guest address offsetting
Re-implement GUEST_BASE support.Offset guest ddress space by default if the guest binary containsregions below the host mmap_min_addr.Implement support for i386, x86-64 and arm hosts.
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>...
simplify TARGET_ARCH2 generation
simplify TARGET_ABI_DIR generation
rename s/config_mak/config_host_mak/ and s/config_h/config_host_h/
Refactor config_softfloat selection in another list
Generate $target_dir/config.h from $target_dir/config.mak
Only setup TARGET_ARCH when it is different of
generate TARGET_ARCH for config.h
generate TARGET_<arch name> for config.h
simplify TARGET_BASE_ARCH generation
We can wrap OS_CFLAGS/OS_LDFLAGS in CFLAGS/LDFLAGS at configure time
We can wrap ARCH_CFLAGS/ARCH_LDFLAGS in CFLAGS/LDFLAGS at configure time
generate ARCH name instead of coding it
Refactor common code using a list
Refactor targe_bigendian selection in another list
print only once TARGET_ARCH
TARGET_ARCH2 is already known at configure time.
Remove re-construction in Makefile.target
configure xen in a single place
configure kvm in a single place
configure kqemu in a single place
configure already knows what TARGET_BASE_ARCH we need, no need to put the logic in Makefile.target
Fix multiboot.bin build on mingw32
This combination of ld/object was suggested by Bartlomiej Celary
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
configure: Append extra cflags and ldflags
In order to allow overriding flags that are set by configure, we have toappend them instead of prepending as it is done so far.
v2: Clarify documentation.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
configure: detect xen with --extra-cflags / --extra-ldflags
Attached patch lets configure find xen headers and xen libswhen called with --extra-cflags and --extra-ldflags options.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Merge commit 'linux-user/linux-user-for-upstream' into tmp-staging
Enable MIPS NPTL
Enable NPTL support for MIPS usermode emulation.
Signed-off-by: Paul Brook <paul@codesourcery.com>
configure: remove bogus linux-user check
linux-user=yes is not a reliable identifier that linux-user targetshave been selected. user targets can be selected via --target-listas well.
Rename target_cpu to target_arch2
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
move CONFIG_* values from yes to y
Multiboot build system v4
In order to build the multiboot option rom, we need a Makefile and a toolto sign the rom with.
Both are provided by this patch and mostly taken from the extboot source,written by Anthony Liguori.
Once built, the resulting binary gets copied to pc-bios automatically....
Prefer ncurses over curses
Not every distro provides libcurses anymore, at least OpenSUSE, and atleast under a standard library search path. So try to link againststandard ncurses first and then fall back to legacy curses.
add sparc64-softmmu to default configure targets list
Add sparc64 to default list of softmmu targetsSigned-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
Fix build on Mac OS X
Fix help message for new configure option --enable-debug.
The new option is --enable-debug, not --disable-debug.
Signed-off-by: Stefan Weil <weil@mail.berlios.de>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
kvm: Restrict configure check to Linux
There is no point in trying to find KVM on anything else than Linux, atleast for the moment.
linux-user: add tee, splice and vmsplice
Add support for tee, splice and vmsplice.
Originally from: vibi sreenivasan <vibi_sreenivasan@cms.com>
Riku: squashed patches together, added a test to configureand removed compliler warning by picking up correct type for...
linux-user: implement pipe2 [v3]
implement pipe2 syscall.
[v2] fix do_pipe on mips and sh4[v3] use pipe2 to ensure atomicity, but only when it is available.
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
linux-user: fix utimensat
The glibc function for utimensat glibc returns -EINVAL when the path is nullwhich is a different behaviour with the syscall.
path can be null because internally the glibc is using utimensat withpath null when implmenting futimens. If path is null, call futimes...
Really enable -Werror
487fefdb.. did not actually enable -Werror despite the claims made byconfigure output.
Enable -Werror by default for git builds on Linux hosts
Additional hosts can be added to the white list as they are confirmed to buildwith --enable-werror.
kvm: Improve upgrade notes when facing unsupported kernels
Users complained that it is not obvious what to do when kvm refuses tobuild or run due to an unsupported host kernel, so let's improve thehints.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Fix generation of CONFIG_KVM
When configuring for several targets, some with KVM and some without, CONFIG_KVM was accidentally disabled for some of the targets.
Add --enable-debug
New configure option for debug builds.
Add detection of pthread library name
Try to detect the name of the pthread library.Currently it looks for "-pthread" and "-pthreadGC2".
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
microblaze: Hook into the build-system.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Remove temporary config-host.h
Avoid errors when curl-config does not exist
Add HTTP protocol using curl v6
Currently Qemu can read from posix I/O and NBD. This patch adds athird protocol to the game: HTTP.
In certain situations it can be useful to access HTTP data directly,for example if you want to try out an http provided OS image, but...
Compile most Xen files only once
Eliminate --disable-gfx-check and make VNC default when SDL not available
--disable-gfx-check predates VNC server support. It made sense back thenbecause the only thing you could do without SDL was use -nographic mode orsimilar tricks. Since this is a very advanced mode of operation, gfx-check...
Hardware convenience library
The only target dependency for most hardware is sizeof(target_phys_addr_t).Build these files into a convenience library, and use that instead ofbuilding for every target.
Remove and poison various target specific macros to avoid bogus target...
Fix build on Solaris and WIN32
Move block drivers into their own directory
Add a --disable-docs to configure to allow doc build to be disabled
Drop CONFIG_GDBSTUB
This is no user-flippable switch, and no arch makes use of disablinggdbstub support. So it's pointless to keep the related #ifdefs andconfigure hunks around - and risking breakages like 711c410fdd again.
Silence missing pkg-config error messages
build system: Silence failing configure tests
qemu: mutex/thread/cond wrappers and configure tweaks (Marcelo Tosatti)
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7237 c046a42c-6fe2-441c-8c8c-71466251a162
xen: pv domain builder. (Gerd Hoffmann)
This adds domain building support for paravirtual domains to qemu.This allows booting xen guests directly with qemu, without Xendand the management stack.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>...
xen: groundwork for xen support (Gerd Hoffmann)
- configure script and build system changes.- wind up new machine type.- add xen* command line options.
kqemu: merge CONFIG_KQEMU and USE_KQEMU
Basically a recursive ":%s/USE_KQEMU/CONFIG_KQEMU/g".
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7189 c046a42c-6fe2-441c-8c8c-71466251a162
kqemu: only compile kqemu.o if actually needed
kqemu.o is compiled even if kqemu support is disabled. This is useless(kqemu.o should provide nothing that is actually used in that case) andslightly confusing. So introduce CONFIG_KQEMU for optionally compiling...
buildsytem: consistently use install (Christoph Egger)
attached patch makes qemu use install consistently.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7177 c046a42c-6fe2-441c-8c8c-71466251a162
linux-user: fix inotify syscalls
Configure test was broken, so the breakage of the #ifdef'dcode was not noticed.
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7134 c046a42c-6fe2-441c-8c8c-71466251a162
configure: display debug tcg status in summary
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7123 c046a42c-6fe2-441c-8c8c-71466251a162
fix a typo introduced in r7118
Reported by Stefan Weil
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7121 c046a42c-6fe2-441c-8c8c-71466251a162
linux-user: prefer glibc over direct syscalls
The openat/*at syscalls are incredibly common with modern coreutils,calling them directly via syscalls breaks for example fakeroot. Useglibc stubs whenever directly available and provide old syscallcalling for people still using older libc....
Add a --enable-debug-tcg option to configure
This patch allows DEBUG_TCGV to be defined (and also prevents NDEBUGfrom being defined) when passing an option to the configure script.This should help to prevent any accidental changes that enableDEBUG_TCGV in tcg/tcg.h from being committed in future, and may...
Probe via #define check for OpenBSD and *Solaris
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7104 c046a42c-6fe2-441c-8c8c-71466251a162
Fix OpenSolaris softfloat warnings
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7102 c046a42c-6fe2-441c-8c8c-71466251a162