~ubuntu-branches/ubuntu/trusty/qemu/trusty

« back to all changes in this revision

Viewing changes to debian/patches/ubuntu/arm64/0020-configure-Enable-KVM-for-aarch64-host-target-combina.patch

  • Committer: Package Import Robot
  • Author(s): Serge Hallyn
  • Date: 2014-02-04 12:13:08 UTC
  • mfrom: (10.1.45 sid)
  • Revision ID: package-import@ubuntu.com-20140204121308-1xq92lrfs75agw2g
Tags: 1.7.0+dfsg-3ubuntu1~ppa1
* Merge 1.7.0+dfsg-3 from debian.  Remaining changes:
  - debian/patches/ubuntu:
    * expose-vmx_qemu64cpu.patch
    * linaro (omap3) and arm64 patches
    * ubuntu/target-ppc-add-stubs-for-kvm-breakpoints: fix FTBFS
      on ppc
    * ubuntu/CVE-2013-4377.patch: fix denial of service via virtio
  - debian/qemu-system-x86.modprobe: set kvm_intel nested=1 options
  - debian/control:
    * add arm64 to Architectures
    * add qemu-common and qemu-system-aarch64 packages
  - debian/qemu-system-common.install: add debian/tmp/usr/lib
  - debian/qemu-system-common.preinst: add kvm group
  - debian/qemu-system-common.postinst: remove acl placed by udev,
    and add udevadm trigger.
  - qemu-system-x86.links: add eepro100.rom, remove pxe-virtio,
    pxe-e1000 and pxe-rtl8139.
  - add qemu-system-x86.qemu-kvm.upstart and .default
  - qemu-user-static.postinst-in: remove arm64 binfmt
  - debian/rules:
    * allow parallel build
    * add aarch64 to system_targets and sys_systems
    * add qemu-kvm-spice links
    * install qemu-system-x86.modprobe
  - add debian/qemu-system-common.links for OVMF.fd link
* Remove kvm-img, kvm-nbd, kvm-ifup and kvm-ifdown symlinks.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
From d88fe5de3f16148238a65341c74466c8094e3582 Mon Sep 17 00:00:00 2001
 
2
From: Peter Maydell <peter.maydell@linaro.org>
 
3
Date: Tue, 17 Dec 2013 19:42:30 +0000
 
4
Subject: [PATCH 20/49] configure: Enable KVM for aarch64 host/target
 
5
 combination
 
6
 
 
7
Enable KVM if the host and target CPU are both aarch64. Note
 
8
that host aarch64 + target arm is not valid for KVM acceleration:
 
9
the 64 bit kernel does not support the ioctl interface for
 
10
32 bit CPUs. 32 bit VMs on 64 bit hosts need to be created
 
11
using the 64 bit ioctl interface; when QEMU supports this it
 
12
will be on the arch64-softmmu target with a -cpu parameter for
 
13
a 32 bit CPU, which is still an aarch64/aarch64 combination
 
14
as far as configure is concerned.
 
15
 
 
16
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
 
17
Message-id: 1385645602-18662-5-git-send-email-peter.maydell@linaro.org
 
18
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
 
19
---
 
20
 configure | 2 +-
 
21
 1 file changed, 1 insertion(+), 1 deletion(-)
 
22
 
 
23
diff --git a/configure b/configure
 
24
index 0666228..72432ef 100755
 
25
--- a/configure
 
26
+++ b/configure
 
27
@@ -4518,7 +4518,7 @@ case "$target_name" in
 
28
   *)
 
29
 esac
 
30
 case "$target_name" in
 
31
-  arm|i386|x86_64|ppcemb|ppc|ppc64|s390x)
 
32
+  aarch64|arm|i386|x86_64|ppcemb|ppc|ppc64|s390x)
 
33
     # Make sure the target and host cpus are compatible
 
34
     if test "$kvm" = "yes" -a "$target_softmmu" = "yes" -a \
 
35
       \( "$target_name" = "$cpu" -o \
 
36
-- 
 
37
1.8.5.2
 
38