qemu-e2k/util
Eduardo Habkost fac862ffa6 osdep: Change default value of qemu_hw_version() to "2.5+"
There are two issues with qemu_hw_version() today:

1) If a machine has hw_version set, the value returned by it is
   not very useful, because it is not the actual QEMU version.
2) If a machine does't set hw_version, the return value of
   qemu_hw_version() is broken, because it will change when
   upgrading QEMU.

For those reasons, using qemu_hw_version() is strongly
discouraged, and should be used only in code that used
QEMU_VERSION in the past and needs to keep compatibility.

To fix (2), instead of making every machine broken by default
unless they set hw_version, make qemu_hw_version() simply return
"2.5+" if qemu_set_hw_version() is not called.

Suggested-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2015-11-25 13:42:37 +02:00
..
acl.c acl: fix memory leak 2014-11-17 11:48:56 +01:00
bitmap.c maint: remove / fix many doubled words 2015-09-11 10:21:38 +03:00
bitops.c
buffer.c buffer: allow a buffer to shrink gracefully 2015-11-05 09:09:58 +01:00
compatfd.c util: Remove unused functions 2015-04-30 16:05:48 +03:00
coroutine-gthread.c coroutine: move into libqemuutil.a library 2015-10-20 14:59:04 +01:00
coroutine-sigaltstack.c coroutine: move into libqemuutil.a library 2015-10-20 14:59:04 +01:00
coroutine-ucontext.c coroutine: move into libqemuutil.a library 2015-10-20 14:59:04 +01:00
coroutine-win32.c coroutine: move into libqemuutil.a library 2015-10-20 14:59:04 +01:00
crc32c.c
cutils.c utils: rename strtosz to use qemu prefix 2015-09-25 12:04:41 +02:00
envlist.c utils: drop strtok_r from envlist_parse 2015-02-16 16:20:02 -06:00
error.c qapi: Simplify error cleanup in test-qmp-* 2015-11-10 08:08:21 +01:00
event_notifier-posix.c util: const event_notifier_get_fd() argument 2015-10-24 18:02:49 +02:00
event_notifier-win32.c
fifo8.c savevm: Remove all the unneeded version_minimum_id_old (arm) 2014-05-13 16:09:35 +01:00
getauxval.c util: Move general qemu_getauxval to util/getauxval.c 2014-09-09 13:13:05 +02:00
hbitmap.c util/hbitmap: Add an API to reset all set bits in hbitmap 2015-06-23 15:06:16 +01:00
hexdump.c
host-utils.c util: Don't link host-utils.o if it's empty 2014-09-09 13:13:05 +02:00
id.c util - add automated ID generation utility 2015-10-16 15:34:30 +02:00
iov.c iov: don't touch iov in iov_send_recv() 2015-06-23 16:05:34 +01:00
Makefile.objs util: Infrastructure for computing recent averages 2015-11-12 16:22:45 +01:00
memfd.c vhost: add migration block if memfd failed 2015-10-22 14:34:49 +03:00
mmap-alloc.c mmap-alloc: fix error handling 2015-10-29 11:05:24 +02:00
module.c module: Don't complain when a module is absent 2014-07-18 14:57:35 +02:00
notify.c
osdep.c osdep: Change default value of qemu_hw_version() to "2.5+" 2015-11-25 13:42:37 +02:00
oslib-posix.c vhost, pc, virtio features, fixes, cleanups 2015-10-22 12:41:44 +01:00
oslib-win32.c osdep: add qemu_fork() wrapper for safely handling signals 2015-10-20 14:40:49 +01:00
path.c util/path: Use the GLib memory allocation routines 2014-08-24 13:16:32 +04:00
qemu-config.c util/qemu-config: fix missing machine command line options 2015-10-20 16:21:00 +02:00
qemu-coroutine-io.c coroutine: move into libqemuutil.a library 2015-10-20 14:59:04 +01:00
qemu-coroutine-lock.c coroutine: move into libqemuutil.a library 2015-10-20 14:59:04 +01:00
qemu-coroutine-sleep.c coroutine: move into libqemuutil.a library 2015-10-20 14:59:04 +01:00
qemu-coroutine.c coroutine: move into libqemuutil.a library 2015-10-20 14:59:04 +01:00
qemu-error.c error: only prepend timestamp on stderr 2015-09-18 14:34:39 +02:00
qemu-openpty.c util/qemu-openpty: fix build with musl libc by include termios.h as fallback 2014-06-11 00:25:06 +01:00
qemu-option.c hmp: Allow for error message hints on HMP 2015-09-18 14:34:39 +02:00
qemu-progress.c qemu-progress: Fix progress printing on SIGUSR1 2014-01-24 14:33:00 +01:00
qemu-sockets.c qemu-sockets: do not test path with access() before unlinking 2015-11-06 15:42:38 +03:00
qemu-thread-posix.c * Support for jemalloc 2015-09-14 16:13:16 +01:00
qemu-thread-win32.c qemu-thread: add a fast path to the Win32 QemuEvent 2015-09-24 20:52:28 +02:00
qemu-timer-common.c
rcu.c Revert "rcu: init rcu_registry_lock after fork" 2015-09-16 17:33:32 +02:00
readline.c readline: Clear screen on form feed. 2014-06-11 10:10:29 -04:00
rfifolock.c rfifolock: add recursive FIFO lock 2014-03-13 14:42:21 +01:00
throttle.c throttle: refuse bps_max/iops_max without bps/iops 2015-08-05 12:53:48 +01:00
timed-average.c block: Add average I/O queue depth to BlockDeviceTimedStats 2015-11-12 16:22:46 +01:00
unicode.c
uri.c util/uri: Add overflow check to rfc3986_parse_port 2015-03-18 12:05:31 +01:00