# RVEmu **Repository Path**: shinian9712/system ## Basic Information - **Project Name**: RVEmu - **Description**: 64位RISC-V虚拟机,可运行xv6。 - **Primary Language**: C - **License**: WTFPL - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 1 - **Created**: 2021-11-22 - **Last Updated**: 2023-08-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: 虚拟机 ## README # 简介 64位RISC-V虚拟机,可运行xv6. 运行xv6时请确保目录下有以下三个文件. - fs.img : 文件系统镜像,虚拟机启动时会将其作为存储设备. - kernel : 编译好的xv6内核. - vm : 编译好的虚拟机. # 简易教程 ``` git clone https://gitee.com/shinian9712/system.git cd system cd bin ./vm ./kernel ``` ``` shinian@lab-pc:~/playground/system/bin$ ./vm ./kernel xv6 kernel is booting init: starting sh $ ls . 1 1 1024 .. 1 1 1024 README 2 2 2059 cat 2 3 24936 echo 2 4 23712 forktest 2 5 13600 grep 2 6 28488 init 2 7 24800 kill 2 8 23664 ln 2 9 23608 ls 2 10 27224 mkdir 2 11 23776 rm 2 12 23760 sh 2 13 43720 stressfs 2 14 24776 usertests 2 15 158992 grind 2 16 39344 wc 2 17 26128 zombie 2 18 23128 console 3 19 0 $ ```