Hi all,
In the Host OS, I make a smc call and get the correct return.
Also, the Host OS enables KVM support. (specifically, it supports VHE, so Host is running on EL2)
Then I run a qemu-system-aarch64 to run a guest OS, with KVM support. Here I use a QEMU v2.9. I pre-load a helloworld module in the ramdisk.img, in the module it contains a SMC call.
My booting instructions are listed below.
./qemu-system-aarch64 -nographic -kernel Image -initrd ramdisk.img -m 512 -machine virt,accel=kvm -cpu host -append "console=ttyAMA0 init=/liunxrc root=/dev/ram0 rw rootfstype=ext4"
Then I execute the module, it says
insmod[1086]: undefined instruction: pc=ffff0000008b5060
Code: 95e2c44a 580002e0 95e2c448 18000360 (d4000003)
....
Why? How to solve this?
Sincerely,
Wang Chenxu