我正在尝试在 Lubuntu 17.10上qemu-kvm使用gpu passthroughvirsh
我安装了 Windows 7 (UEFI),它运行正常,但设备驱动程序没有安装说
资源不足(错误 12)。
所以我丢弃了 gpu rom 并添加了
<rom bar='on' file='/home/gpu.dump'/>
Run Code Online (Sandbox Code Playgroud)
在<hostdev>gpu pci 中。
我做了
chmod 777 /home
Run Code Online (Sandbox Code Playgroud)
和
gpu.dump, user = "root" group = "root"
Run Code Online (Sandbox Code Playgroud)
提前
每当我在 virsh 脚本中添加 rom... 行时,我都会遇到这样的错误消息
############################################################################### "Error starting domain: internal error: process exited while connecting to monitor: 2017-12-13T09:45:38.629221Z qemu-system-x86_64:
-chardev pty,id=charserial0: char device redirected to /dev/pts/2 (label charserial0) 2017-12-13T09:45:39.146358Z qemu-system-x86_64:
-device vfio-pci,host=03:00.0,id=hostdev0,bus=pci.0,addr=0x7,romfile=/home/gt710.dump: failed to find romfile "/home/gt710.dump"
Traceback (most recent call last): …Run Code Online (Sandbox Code Playgroud)