History | View | Annotate | Download (11.5 kB)
Include microblaze binaries in tarbin.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Compile some user files only once for all targets
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Compile host-utils only once
See also facd2857783d58387885ad7cb1e4a8386f241738 and34005a0060c176b3025a9e7c5d064615a9f80325.
Compile TCG runtime library only once
ioports: remove unused env parameter and compile only once
The CPU state parameter is not used, remove it and adjust callers. Now wecan compile ioport.c once for all targets.
Compile qemu-config only once
Add configure option to compile user targets as PIE
Build uset targers as true PIE if user want to keep qemuself-virtualizable.
v5: - Split into to patches: drop link hack and add PIE support - do not build PIE by default and drop toolchain check
v4:...
qdev/scsi: add scsi bus support to qdev, convert drivers.
Adding scsi disks via -device works now, i.e. you can do:
-drive id=sda,if=none,......
qdev/usb: add usb bus support to qdev, convert drivers.
TODO: * make the rest of qemu aware of usb busses and kill the FIXMEs added by this patch....
Introduce QString unit-tests
This suite contains tests to assure that QString API works as expected.
To execute it you should have check installed and build QEMU withcheck support enabled (--enable-check-utests) and then run:
$ ./check-qstring
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>...
Introduce QDict unit-tests
This suite contains tests to assure that QDict API works as expected.
$ ./check-qdict
Introduce QInt unit-tests
This suite contains tests to assure that QInt API works as expected.
$ ./check-qint
Introduce QInt
QInt is a high-level data type that can be used to represent integers,internally it stores an int64_t value.
The following functions are available:
- qint_from_int() Create a new QInt- qint_get_int() Get the stored integer
Introduce QString
QString is a high-level data type that can be used to representC strings.
- qstring_from_str() Create a new QString- qstring_get_str() Get a pointer to the stored string
Note that qstring_get_str() is too low-level for a data type like...
Introduce QDict
QDict is a high-level dictionary data type that can be used to store acollection of QObjects. A unique key is associated with only oneQObject.
- qdict_new() Create a new QDict- qdict_put() Add a new 'key:object' pair...
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 file descriptor migration
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>Cc: Chris Lalancette <clalance@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
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>...
Only build osdep once
We no longer need hackery to work around kqemu
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Migration via unix sockets.
Implement migration via unix sockets. While you can fake this usingexec and netcat, this involves forking another process and isgenerally not very nice. By doing this directly in qemu, we can avoidthe copy through the external nc command. This is useful for...
Makefile: fixed rule TAGS
- still works if the build dir is not the src dir- use find instead of .c block/.c etc...
Signed-off-by: Alexandre Bique <alexandre.bique@citrix.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Fix breakage of alpha, mips64, ppc64 and x86_64 targets on non-amd64 host
user: compile host-utils.c only once
linux-user: compile envlist.c only once
user: compile path.c only once
Also merge bsd-user/path.c and linux-user/path.c.
CURL libs are used both by tools and softmmu
Signed-off-by: Juan Quintela <quintela@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>Message-Id:
CONFIG_POSIX makes more sense that not CONFIG_WIN32
Add libs_tools support
Libraries used by qemu-<tools>
VDE libs are used both by tools and softmmu
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 BRLAPI_LIBS into libs_softmmu
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>...
move common QEMU_CFLAGS 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
Add CURL_CFLAGS
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:
Option rom makefile fixes
Fix toplevel option rom makefile rules.
Signed-off-by: Paul Brook <paul@codesourcery.com>
set SEARCH_PATH for the linker script from output of ld --verbose -v
Signed-off-by: Juan Quintela <quintela@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
simplify brlapi selection
Use same style that everythnig else
Use CONFIG_POSIX to simplify Makefile
Add -static in configure if needed
remove CONFIG_ from BLUEZ_{LIBS,FLAGS}
make fmod also use FMOD_{LIBS,CFLAGS}
remove CONFIG_ from VNC_TLS_{LIBS, FLAGS}
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
use block-nested-y for files inside block/
already defined several lines before in block-obj-y
qdev: rework device properties.
This patch is a major overhaul of the device properties. The propertiesare saved directly in the device state struct now, the linked list ofproperty values is gone.
Advantages: * We don't have to maintain the list with the property values....
Fix build for ESD audio
Fix sdl_zoom compile problems on OpenBSD
Substitute ifdef CONFIG_FOO by obj-
make tags useful for block drivers and hardaware devices
Rename BLOCK_OBJS to block-obj-y
Rename AUDIO_OBJS to audio-obj-y
Rename SLIRP_OBJS to slirp-obj-y
Rename XEN_OBJS to xen-obj-y
Rename USER_OBJS to user-obj-y
Rename OBJS to obj-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....
slirp: Cleanup and basic reanimation of debug code
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
sdl zooming
Hi all,this patch implements zooming capabilities for the sdl interface.A new sdl_zoom_blit function is added that is able to scale and blit aportion of a surface into another.This way we can enable SDL_RESIZABLE and have a real_screen surface with...
Win: Install keymaps for Windows, too (needed for VNC).
Signed-off-by: Stefan Weil <weil@mail.berlios.de>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Disable _FORTIFY_SOURCE to fix Ubuntu build with -Werror
This eliminates the results unused warnings.
qcow2: Split out refcount handling
qcow2-refcount.c contains all functions which are related to clusterallocation and management in the image file. A large part of this is thereference counting of these clusters.
Also a header file qcow2.h is introduced which will contain the interface of...
qcow2: Split out guest cluster functions
qcow2-cluster.c contains all functions related to the management of guestclusters, i.e. what the guest sees on its virtual disk. This code is aboutmapping these guest clusters to host clusters in the image file using the...
qcow2: Split out snapshot functions
qcow2-snapshot.c contains the code related to snapshotting.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Make sure to use SDL_CFLAGS everywhere we include SDL headers
Clean up generated qemu-img-cmds.h
Use hxtool for qemu-img command list
Use hxtool to generate the 'command syntax' section of qemu-img's helpmessage, and the corresponding section of the texinfo documentation.
This has the side-effect of adding 'check' to this list of commands inthe texinfo documentation....
Use hxtool to generate monitor documentation and C structures
microblaze: Fix loading of petalogix s3adsp1800 dtb.
Provide a petalogix-s3adsp1800.dtb blob.Correct loading of the petalogix dtb.
Install keymaps from new location
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...
Create qemu-option.h
This patch creates a new header file and the corresponding implementation filefor parsing of parameter strings for options (like used in -drive). Part ofthis is code moved from vl.c (so qemu-img can use it later).
The idea is to have a data structure describing all accepted parameters. When...
Compile most Xen files only once
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...
SSP bus framework
Basic qdev infrastructure.
Move block drivers into their own directory
Constructor support
Allow devices/drivers to register themselves via constructors.Destructors are not needed (can be registered from a constructor)and "priority" has been renamed and changed to an enum for clarity.
Signed-off-by: Paul Brook <paul@codesourcery.com>...
Add tool_osdep.c
osdep.c is built in both as a toplevel target independant object, andas a per-target object because of kqemu dependencies. Under somecircumstances make picks up the wrong one.
Build the former as tool-osdep to avoid this conflict.
Suppress make directory messages.
We already print a directory prefix in non-verbose mode, so there's nopoint printing a messages when recursive make enters/leaves a directory.
ppc: include cache-utils.o in BLOCK_OBJS
On ppc, cutils.o needs cache-utils.o or an undefined reference toqemu_cache_conf results.
Signed-off-by: Mark McLoughlin <markmc@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
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
Build system: Fix dependency of qemu.1
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7190 c046a42c-6fe2-441c-8c8c-71466251a162
buildsytem: consistently use install (Christoph Egger)
attached patch makes qemu use install consistently.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7177 c046a42c-6fe2-441c-8c8c-71466251a162
Make the sed script also work with OpenBSD and OpenSolaris seds
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7164 c046a42c-6fe2-441c-8c8c-71466251a162
Simplify reconfiguration
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7113 c046a42c-6fe2-441c-8c8c-71466251a162
Call configure automatically when needed
Automatically rerun configure when it is needed.
Signed-off-by: Stefan Weil <weil@mail.berlios.de>Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7110 c046a42c-6fe2-441c-8c8c-71466251a162
Compile target independent files only once
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7083 c046a42c-6fe2-441c-8c8c-71466251a162
qemu-io - an I/O path exerciser (Christoph Hellwig)
This patch adds a new qemu-io tool that links against the block layer andimage formats and allow to exercise them without needing a guest image.It is inspired by the xfs_io tool which does the same for plain file I/O....