Gerd Hoffmann [Mon, 3 Aug 2009 15:35:27 +0000 (17:35 +0200)]
qdev/prop: convert iommu.c to helper macros.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Gerd Hoffmann [Mon, 3 Aug 2009 15:35:26 +0000 (17:35 +0200)]
qdev/prop: convert integratorcp.c to helper macros.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Gerd Hoffmann [Mon, 3 Aug 2009 15:35:25 +0000 (17:35 +0200)]
qdev/prop: convert i2c.c to helper macros.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Gerd Hoffmann [Mon, 3 Aug 2009 15:35:24 +0000 (17:35 +0200)]
qdev/prop: convert etraxfs_pic.c to helper macros.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Gerd Hoffmann [Mon, 3 Aug 2009 15:35:23 +0000 (17:35 +0200)]
qdev/prop: convert escc.c to helper macros.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Gerd Hoffmann [Mon, 3 Aug 2009 15:35:22 +0000 (17:35 +0200)]
qdev/prop: convert eccmemctl.c to helper macros.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Gerd Hoffmann [Mon, 3 Aug 2009 15:35:21 +0000 (17:35 +0200)]
qdev/prop: convert armv7m.c to helper macros.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Gerd Hoffmann [Mon, 3 Aug 2009 15:35:20 +0000 (17:35 +0200)]
qdev/prop: convert arm_sysctl.c to helper macros.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Gerd Hoffmann [Mon, 3 Aug 2009 15:35:19 +0000 (17:35 +0200)]
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:
Gerd Hoffmann [Mon, 3 Aug 2009 15:35:18 +0000 (17:35 +0200)]
qdev/prop: add CharDriverState property.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Gerd Hoffmann [Mon, 3 Aug 2009 15:35:17 +0000 (17:35 +0200)]
qdev/prop: macros for creating typechecked properties.
There are DEFINE_PROP_$TYPE("name", struct, field, default) 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
correct one for the given property.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Gleb Natapov [Sun, 2 Aug 2009 08:36:47 +0000 (11:36 +0300)]
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
haven't changed. Fake "media not present" step.
Filip Navara did a great job debugging this issue in Windows and this is
what he found out:
BINGO! ... The media present notifications were broken ever since
Windows 2000 it seems. The media change is detected properly and it's
passed to ClassSetMediaChangeState function which in turn calls
ClasspInternalSetMediaChangeState. This function is responsible for
changing some internal state of the device object and sending the PnP
events which later result in application notifications. It has this
tiny bit of code (not copied byte for byte):
if (oldMediaState == NewState) {
// Media is in the same state it was before.
return;
}
so the end result is that for the case of UNIT NEEDS ATTENTION /
MEDIUM MAY HAVE CHANGED without NOT READY in-between is really broken.
It results in the internal media change counter incremented, so the
media contents are re-read when necessary, instead of relying on the
cache, but the notifications to applications are never sent.
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Luiz Capitulino [Fri, 31 Jul 2009 18:15:41 +0000 (15:15 -0300)]
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
by do_commit() :)
The fix is to call bdrv_commit() to the specified device only and
ignore the others (when 'all' is not specified).
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Luiz Capitulino [Mon, 3 Aug 2009 16:56:59 +0000 (13:56 -0300)]
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 <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Beth Kon [Fri, 31 Jul 2009 17:49:14 +0000 (13:49 -0400)]
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>
--
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:47:11 +0000 (14:47 +0200)]
Move libsunpath to use the same style than everything else
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:47:10 +0000 (14:47 +0200)]
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:
Juan Quintela [Mon, 3 Aug 2009 12:47:09 +0000 (14:47 +0200)]
Add cocoa libs at Darwin selection time
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:47:08 +0000 (14:47 +0200)]
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:
Juan Quintela [Mon, 3 Aug 2009 12:47:07 +0000 (14:47 +0200)]
VDE 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:
Juan Quintela [Mon, 3 Aug 2009 12:47:06 +0000 (14:47 +0200)]
Add libs_tools support
Libraries used by qemu-<tools>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:47:05 +0000 (14:47 +0200)]
Disable aio in mingw32
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:47:04 +0000 (14:47 +0200)]
use TARGET_<arch name> for selection
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:47:03 +0000 (14:47 +0200)]
We also need TARGET_<arechname> in Makefiles
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:47:02 +0000 (14:47 +0200)]
Consolidate audio flags in configure
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:47:01 +0000 (14:47 +0200)]
remove last 3 uses of :=, everywhere else uses += or =
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:47:00 +0000 (14:47 +0200)]
CONFIG_POSIX makes more sense that not CONFIG_WIN32
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:59 +0000 (14:46 +0200)]
Generate CONFIG_AUDIO_PT_INT in configure
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:58 +0000 (14:46 +0200)]
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 <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:57 +0000 (14:46 +0200)]
FMOD_CFLAGS is not set when CONFIG_FMOD is undef
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:56 +0000 (14:46 +0200)]
Make slirp include dir globlal in cflags
We already include it everywhere
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:55 +0000 (14:46 +0200)]
Use one less HELPER_CFLAGS
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:54 +0000 (14:46 +0200)]
Use only one KVM_CFLAGS
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:53 +0000 (14:46 +0200)]
Move dis-* selection to configure
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:52 +0000 (14:46 +0200)]
Added CONFIG_NEED_MMU for microblaze and cris
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:51 +0000 (14:46 +0200)]
Generate more conmmon CFLAGS
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:50 +0000 (14:46 +0200)]
Fold TARGET_GPROF handling in configure
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:49 +0000 (14:46 +0200)]
this bit was already generated in configure
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:48 +0000 (14:46 +0200)]
Move ia64 QEMU_CFLAGS target to configure
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:47 +0000 (14:46 +0200)]
Move alpha CFLAGS target to configure
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:46 +0000 (14:46 +0200)]
fix typo, there should be bsd_user there
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:45 +0000 (14:46 +0200)]
permit to add things to CFLAGS per target
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:44 +0000 (14:46 +0200)]
refactor linker_script common part and change quoting
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:43 +0000 (14:46 +0200)]
permit to add things to LDFLAGS for target
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:42 +0000 (14:46 +0200)]
Introduce CONFIG_NOSOFTFLOAT and simplify Makefile.target
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:41 +0000 (14:46 +0200)]
\!CONFIG_USER_ONLY == CONFIG_SOFTMMU
Use this to simplify Makefile.target and remove negative logic
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:40 +0000 (14:46 +0200)]
remove duplicated TARGET_GPROF code
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:39 +0000 (14:46 +0200)]
Fold BRLAPI_LIBS into libs_softmmu
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:38 +0000 (14:46 +0200)]
Fold FDT_LIBS into libs_softmmu
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:37 +0000 (14:46 +0200)]
Fold BLUEZ_LIBS into libs_softmmu
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:36 +0000 (14:46 +0200)]
Fold XEN_LIBS into libs_softmmu
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:35 +0000 (14:46 +0200)]
Fold VNC_SASL_LIBS into libs_softmmu
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:34 +0000 (14:46 +0200)]
Fold VNC_TLS_LIBS into libs_softmmu
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:33 +0000 (14:46 +0200)]
Fold CURSES_LIBS into libsoftmmu_libs
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:32 +0000 (14:46 +0200)]
Test if we need -lutil in ,/configure
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:31 +0000 (14:46 +0200)]
files are only compiled when CONFIG_ADLIB is defined
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:30 +0000 (14:46 +0200)]
Move sound library selection to sound selection
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:29 +0000 (14:46 +0200)]
move coreaudio libraries to coreaudio selection
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:28 +0000 (14:46 +0200)]
gcc generates the right dependency for this file
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:27 +0000 (14:46 +0200)]
Add SDL_LIBS to libs_softmmu
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:26 +0000 (14:46 +0200)]
Add libs_softmmu variable
It is used only for softmmu variables
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:25 +0000 (14:46 +0200)]
move SDL_LIBS Win32 hack to configure
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:24 +0000 (14:46 +0200)]
Refactor HELPER_CFLAGS
Calculate its value in ./configure.
Put together all its uses
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:23 +0000 (14:46 +0200)]
move common QEMU_CFLAGS to configure
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:22 +0000 (14:46 +0200)]
split QEMU_CFLAGS very long line
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:21 +0000 (14:46 +0200)]
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 <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:20 +0000 (14:46 +0200)]
We set -Werror through configure now
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:19 +0000 (14:46 +0200)]
Move to configure CONFIG_WIN32 libraries needed always
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:18 +0000 (14:46 +0200)]
Move to configure CONFIG_SOLARIS libraries needed always
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:17 +0000 (14:46 +0200)]
CLOCKLIBS was used for all binaries
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:16 +0000 (14:46 +0200)]
PTHREADLIBS was used for all binaries
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:15 +0000 (14:46 +0200)]
We want to pass LIB through configuration files now
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:14 +0000 (14:46 +0200)]
We use -lz for all binaries
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:13 +0000 (14:46 +0200)]
reindent Operating System selection configure
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:12 +0000 (14:46 +0200)]
refactor $cpu selection in various places
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:11 +0000 (14:46 +0200)]
refactor sparc_cpu code to be in a single place
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:10 +0000 (14:46 +0200)]
move sparc_cpu arg parsing to the begining
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:09 +0000 (14:46 +0200)]
refactor kqemu selection for both mingw32
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:08 +0000 (14:46 +0200)]
This variables can't be set here
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:07 +0000 (14:46 +0200)]
move mingw32 code after selection of OS
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:06 +0000 (14:46 +0200)]
__sparc_*__ is defined through -D__sparc_*__
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:05 +0000 (14:46 +0200)]
Add CURL_CFLAGS
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:04 +0000 (14:46 +0200)]
remove unused temporal files
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:03 +0000 (14:46 +0200)]
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 <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:02 +0000 (14:46 +0200)]
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 <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:01 +0000 (14:46 +0200)]
Remove OS_{CFLAGS, LDFLAGS} and ARCH_{LDFLAGS, CFLAGS}
Fold its values into LDFLAGS and CFLAGS
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:46:00 +0000 (14:46 +0200)]
We want to add options at the beggining, not at the end of variables
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:45:59 +0000 (14:45 +0200)]
move general CFLAGS/LDFLAGS definitions after last $cc run
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:45:58 +0000 (14:45 +0200)]
move checks for bswap32/bswap_32 sooner than starting of printing variables
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:45:57 +0000 (14:45 +0200)]
remove not needed rt variable
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:45:56 +0000 (14:45 +0200)]
move check_linker_flags sooner than starting of printing variables
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:45:55 +0000 (14:45 +0200)]
move cpu command line setting to the beggining
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:45:54 +0000 (14:45 +0200)]
Use CFLAGS from enviroment, ARCH_CFLAGS hasn't been defined yet
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:45:53 +0000 (14:45 +0200)]
oss variable don't exist anymore
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Juan Quintela [Mon, 3 Aug 2009 12:45:52 +0000 (14:45 +0200)]
strip binary is not used anywhere
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Stefano Stabellini [Mon, 3 Aug 2009 15:14:39 +0000 (16:14 +0100)]
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
other emulated devices.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Stefano Stabellini [Mon, 3 Aug 2009 15:10:43 +0000 (16:10 +0100)]
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 <stefano.stabellini@eu.citrix.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Stefano Stabellini [Mon, 3 Aug 2009 09:56:01 +0000 (10:56 +0100)]
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
because I needed to call it from vnc.c however I don't think this change
should have any serious consequence.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Stefano Stabellini [Mon, 3 Aug 2009 09:54:32 +0000 (10:54 +0100)]
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
to track guest updates in more than one place.
This patch has been updated to handle CopyRect correctly and efficiently.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Stefano Stabellini [Mon, 3 Aug 2009 09:54:05 +0000 (10:54 +0100)]
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 <stefano.stabellini@eu.citrix.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id: