dgreid / crosvm

BSD 3-Clause "New" or "Revised" License
53 stars 10 forks source link

cannot create IRQ Chip on RISC-V #1

Closed runninglinuxkernel closed 10 months ago

runninglinuxkernel commented 11 months ago

hi all,

I am trying crosvm, compile this branch: topic/riscv_rebase_23-04-07 for RISC-V, but some errors were observed, here is the log:

root:mnt# ./crosvm.cli 
[2023-12-26T07:19:07.363055385+00:00 INFO  crosvm] crosvm started.
[2023-12-26T07:19:07.428825885+00:00 INFO  crosvm] CLI arguments parsed.
[2023-12-26T07:19:07.477688385+00:00 DEBUG crosvm::crosvm::sys::unix] creating hypervisor: Kvm { device: Some("/dev/kvm") }
[2023-12-26T07:19:07.541957885+00:00 ERROR crosvm] exiting with error 1: failed to create IRQ chip

Caused by:
    Operation not supported (os error 95)

i saw this commit https://github.com/dgreid/crosvm/commit/51665a74a46933aa6522079afb0856cdc38ec09e has add IRQ Chip for RISC-V, anyone test it?

dgreid commented 10 months ago

That branch is pretty old. All the work has been merge to the main branch for crosvm at:https://chromium.googlesource.com/crosvm/crosvm

Were there older directions that sent you to the bebase branch for risc-v that need updating?