Explorar el Código

更新了Qemu可能存在的问题

Liric Mechan hace 2 años
padre
commit
2c15f8fd5e
Se han modificado 1 ficheros con 12 adiciones y 0 borrados
  1. 12 0
      docs/introduction/build_system.md

+ 12 - 0
docs/introduction/build_system.md

@@ -30,6 +30,18 @@ sudo apt install -y qemu qemu-system qemu-kvm
 
   请留意,若您的Linux系统是在虚拟机中运行的,还请您在您的VMware/Virtual Box虚拟机的处理器设置选项卡中,开启Intel VT-x或AMD-V选项,否则,DragonOS将无法运行。
 
+*在某些Linux发行版的软件仓库中构建的Qemu可能存在不识别命令参数的问题,如果遇到这种问题,请卸载Qemu,并采用编译安装的方式重新安装Qemu*
+
+在该地址下载Qemu源代码: https://download.qemu.org/
+
+解压后进入源代码目录,然后执行下列命令:
+
+```shell
+./configure --enable-kvm
+make -j 8
+sudo make install
+```
+
 ### 下载DragonOS的源代码
 
   假设您的计算机上已经安装了git,您可以通过以下命令,获得DragonOS的最新的源代码: