summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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