configure: check for supported Python 2.x versions
The tracetool code requires Python 2.4, which was released in 2004.Check for a supported Python version so we can give a clear errormessage.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>...
tracetool: use Python 2.4-compatible exception handling syntax
The newer "except <exception-type> as <exception>:" syntax is notsupported by Python 2.4, we need to use "except <exception-type>,<exception>:".
Tested all trace backends with Python 2.4....
tracetool: use Python 2.4-compatible import() arguments
In Python 2.5 keyword arguments were added to import(). Avoid usingthem to achieve Python 2.4 compatibility.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>Reviewed-by: Lluís Vilanova <vilanova@ac.upc.edu>
tracetool: avoid str.rpartition() Python 2.5 function
The str.rpartition() function is related to str.split() and is used forsplitting strings. It was introduced in Python 2.5 and therefore cannotbe used in tracetool as Python 2.4 compatibility is required....
tracetool: avoid pkgutil.iter_modules() Python 2.7 function
The pkgutil.iter_modules() function provides a way to enumerate childmodules. Unfortunately it's missing in Python <2.7 so we must implementsimilar behavior ourselves.
Remove stray HOST_LONG_SIZE
Signed-off-by: malc <av1474@comtv.ru>
pc-bios: update OpenBIOS images
Update OpenBIOS images to SVN r1056.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
configure: Add libraries for qemu-ga on Solaris
Move socket-related Solaris libraries to $solarisnetlibs and use themfor both $LIBS and $libs_qga.
Fixes build on illumos without --disable-guest-agent.
Signed-off-by: Lee Essen <lee.essen@nowonline.co.uk>...
qemu-ga: Implement alternative to O_ASYNC
ga_channel_open() was using open flag O_ASYNC for SIGIO-driven I/O.This breaks on illumos, so fall back to POSIX I_SETSIG ioctl (SIGPOLL).
Signed-off-by: Lee Essen <lee.essen@nowonline.co.uk>Signed-off-by: Andreas Färber <andreas.faerber@web.de>...
main-loop: Calculate poll timeout using timeout argument
The timeout argument was unused up to now,but it can be used to reduce the poll_timeout when it is infinite(negative value) or larger than timeout.
Signed-off-by: Stefan Weil <sw@weilnetz.de>Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>...
View all revisions | View revisions
Also available in: Atom