Execute "SMC" instruction in Guest OS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I want the Guest OS to use the Arm-TF service in Host OS (It is the same as using Trusted Application in OP-TEE). So I should provide some parameters and call SMC instruction.

But it returns an "Undefined Instruction" in my Linux v4.9.51.
I find that KVM calls a " kvm_inject_undefined(vcpu);" when handling the SMC instruction. 

So, if I want the Guest OS to use the "Arm-TF service" or "TA", should I simply change the kvm_inject_undefined() as "SMC #0", and carefully handle the input parameters? What else should I do?

Sincerely,
Wang Chenxu
_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm

[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux