Permalink
Browse files

arm: Use -cpu host on KVM.

  • Loading branch information...
1 parent bdf772d commit 6468b9d60172bcef76b36c14b72f9a1913d94954 @kashyapc kashyapc committed with rwmjones Dec 9, 2014
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/launch.c
View
@@ -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. */

0 comments on commit 6468b9d

Please sign in to comment.