Open fish4terrisa-MSDSM opened 2 years ago
It looks like zcore didn't map the BAR space for device(used to config device under pci) If you look up query_or_map trait, you can see it's only implemented by arch riscv64. So you will have a page fault in any other arch. Maybe you can write config to BAR space use physical address directly. Or implement query_or_map for x86 arch.
log:
命令
qemu-system-x86_64 -net nic,model=e1000e,macaddr=00:20:91:37:33:77 -net user -m 3058 -pflash /storage/emulated/0/OVMF.fd -cpu max,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on --accel tcg,thread=multi -smp 4 -vga std -vnc :3 -serial mon:stdio -drive format=raw,file=fat:rw:./esp -device isa-debug-exit -device nvme,id=nvme-ctrl-0,serial=deadbeef -drive file=/storage/emulated/0/xinhao/windows/arch.qcow2,if=none,id=nvm-1 -device nvme-ns,drive=nvm-1