[Pkg-libvirt-commits] [libguestfs] 62/384: arm: Use -cpu host on KVM.

Hilko Bengen bengen at moszumanska.debian.org
Sun Mar 29 16:55:32 UTC 2015


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch experimental
in repository libguestfs.

commit 6468b9d60172bcef76b36c14b72f9a1913d94954
Author: Kashyap Chamarthy <kchamart at redhat.com>
Date:   Tue Dec 9 16:58:11 2014 +0000

    arm: Use -cpu host on KVM.
---
 src/launch.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/launch.c b/src/launch.c
index 9fadce8..78d26fe 100644
--- a/src/launch.c
+++ b/src/launch.c
@@ -400,7 +400,10 @@ const char *
 guestfs___get_cpu_model (int kvm)
 {
 #if defined(__arm__)            /* 32 bit ARM. */
-  return NULL;
+  if (kvm)
+    return "host";
+  else
+    return NULL;
 
 #elif defined(__aarch64__)
   /* With -M virt, the default -cpu is cortex-a15.  Stupid. */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list