rivosinc / salus

Risc-V hypervisor for TEE development
92 stars 25 forks source link

Build Failure: cpu.x-smaia not supported #287

Closed bows7ring closed 1 year ago

bows7ring commented 1 year ago

Hi, I'm trying to run and test this hypervisor TEE, but run into some problems to do with cpu.x-smaia.

I cloned the rivosinc/qemu and checkout to the 10312022 branch accroding to the table in Readme and set my env variables, the other components were installed the same way.

Howerer, scripts/run_tellus.sh failed with the error below:

qemu-system-riscv64: can't apply global rv64-riscv-cpu.x-smaia=true: Property 'rv64-riscv-cpu.x-smaia' not found

It seems that there is something wrong with my qemu. So I checked my qemu code according to smaia extension patch email and found the patch was already applied.

Is there something wrong with my building steps? What should I do now?

Any help would be appreciated!

abrestic-rivos commented 1 year ago

I've just tried this again and it still works for me. Are you sure that a) you're building from the correct QEMU branch, and b) that you've set QEMU= to point to your QEMU tree?

bows7ring commented 1 year ago

Well, I messed up ${PATH} variables in my scripts ... What a stupid issue...

Thanks for reply ! ; )