[fedora-arm] uboot with hyp mode support now available for the cubietruck

Richard W.M. Jones rjones at redhat.com
Tue Dec 10 09:39:09 UTC 2013


I can confirm this works at least as far as running libguestfs
appliances using KVM.  I had to use the attached hack to make qemu
create Cortex-A7 guests, otherwise you get the following error:

kvm_init_vcpu failed: Invalid argument

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
-------------- next part --------------
diff --git a/target-arm/kvm.c b/target-arm/kvm.c
index 6e5cd36..48b2773 100644
--- a/target-arm/kvm.c
+++ b/target-arm/kvm.c
@@ -86,7 +86,7 @@ int kvm_arch_init_vcpu(CPUState *cs)
     struct kvm_reg_list *rlp;
     ARMCPU *cpu = ARM_CPU(cs);
 
-    init.target = KVM_ARM_TARGET_CORTEX_A15;
+    init.target = KVM_ARM_TARGET_CORTEX_A7; /* XXX HACK */
     memset(init.features, 0, sizeof(init.features));
     ret = kvm_vcpu_ioctl(cs, KVM_ARM_VCPU_INIT, &init);
     if (ret) {


More information about the arm mailing list