Alexander Graf 61c7bbd236 kvm: Fix enable_cap helpers on older gcc
Commit 40f1ee27aa1 introduced handy helpers for enable_cap calls on
vcpu and vm level. Unfortunately some older gcc versions (4.7.1, 4.6)
seem to choke on signedness detection in inline created variables:

target-ppc/kvm.c: In function 'kvmppc_booke_watchdog_enable':
target-ppc/kvm.c:1302:21: error: comparison of unsigned expression < 0 is always false [-Werror=type-limits]
target-ppc/kvm.c: In function 'kvmppc_set_papr':
target-ppc/kvm.c:1504:21: error: comparison of unsigned expression < 0 is always false [-Werror=type-limits]

However - thanks to Thomas Huth for the suggestion - we can just cast the
offending potentially 0 value to a signed type, making the comparison signed.

Reviewed-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
2014-05-20 13:05:57 +02:00
2014-04-23 10:28:14 +02:00
2014-05-16 10:35:59 -04:00
2013-04-18 13:50:53 +02:00
2014-04-25 12:59:57 +02:00
2014-05-15 14:24:05 +02:00
2014-05-09 09:11:31 -04:00
2014-05-15 14:24:05 +02:00
2014-05-16 10:35:59 -04:00
2014-04-25 09:19:58 -04:00
2014-05-15 16:24:12 +01:00
2014-05-16 10:35:59 -04:00
2014-05-16 08:30:12 +02:00
2012-09-07 09:02:44 +03:00
2014-04-28 08:55:31 +04:00
2014-03-12 17:26:32 +01:00
2013-09-05 09:40:31 -05:00
2014-05-14 15:24:51 +02:00
2013-10-11 09:34:56 -07:00
2014-05-15 18:56:08 +01:00
2008-10-12 17:54:42 +00:00
2013-07-23 02:41:31 +02:00
2013-02-21 16:17:31 -06:00
2013-08-12 09:15:12 -05:00
2013-09-03 12:25:55 +02:00
2014-02-21 21:02:23 +01:00
2014-03-13 14:34:16 +00:00
2014-02-25 14:30:28 +01:00
2014-04-18 10:33:36 +04:00
2014-04-22 12:00:20 +02:00
2014-04-22 12:00:20 +02:00
2013-12-04 15:19:00 +01:00
2014-04-28 13:43:17 +01:00
2013-10-11 09:34:56 -07:00
2014-05-09 22:59:40 +02:00
2014-02-17 11:57:23 -05:00
2014-05-19 12:53:07 +01:00
2014-04-17 20:39:32 +01:00
2013-10-11 09:34:56 -07:00
2014-05-09 20:57:32 +02:00
2014-05-07 16:16:43 +00:00
2013-04-08 18:13:10 +02:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
Description
A fork of QEMU-Nyx which is better suited for my bachelors thesis
Readme 154 MiB
Languages
C 90.3%
Dylan 2.5%
Python 2.1%
C++ 2%
Shell 1.7%
Other 1.4%