summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWulf Krueger <philantrop@gentoo.org>2008-02-24 20:20:17 +0000
committerWulf Krueger <philantrop@gentoo.org>2008-02-24 20:20:17 +0000
commit1d6df5b8d2f570fdcb837adf5bda01327ce391d0 (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /app-emulation/kvm/files/kvm-45-qemu-gcc4.patch
parentSpring cleaning. (diff)
downloadphilantrop-master.tar.gz
philantrop-master.tar.bz2
philantrop-master.zip
svn path=/trunk/; revision=62
Diffstat (limited to 'app-emulation/kvm/files/kvm-45-qemu-gcc4.patch')
-rw-r--r--app-emulation/kvm/files/kvm-45-qemu-gcc4.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/app-emulation/kvm/files/kvm-45-qemu-gcc4.patch b/app-emulation/kvm/files/kvm-45-qemu-gcc4.patch
deleted file mode 100644
index 4fb3594..0000000
--- a/app-emulation/kvm/files/kvm-45-qemu-gcc4.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- kvm-45/qemu/vl.c 2007-10-02 01:36:33.000000000 -0700
-+++ kvm-45/qemu/vl.c 2007-10-07 23:32:19.000000000 -0700
-@@ -8421,8 +8421,13 @@ int main(int argc, char **argv)
- #endif
- #ifdef USE_KVM
- case QEMU_OPTION_no_kvm:
-+#if __GNUC__ >= 4
-+ fprintf(stderr, "Can't run without kvm if compiled with gcc4\n");
-+ exit(1);
-+#else
- kvm_allowed = 0;
- break;
-+#endif
- case QEMU_OPTION_no_kvm_irqchip:
- kvm_irqchip = 0;
- break;
-@@ -8552,8 +8557,13 @@ int main(int argc, char **argv)
- #if USE_KVM
- if (kvm_allowed) {
- if (kvm_qemu_init() < 0) {
-+#if __GNUC__ >= 4
-+ fprintf(stderr, "Could not initialize KVM, can't run without kvm if compiled with gcc4\n");
-+ exit(1);
-+#else
- fprintf(stderr, "Could not initialize KVM, will disable KVM support\n");
- kvm_allowed = 0;
-+#endif
- }
- }
- #endif