当前位置:网站首页>Modprobe: fatal: module kvmgt not found, kvmgt has no module, kvmgt has no driver, gvt-g precautions, gvt-g precautions for starting win10 in UEFI mode
Modprobe: fatal: module kvmgt not found, kvmgt has no module, kvmgt has no driver, gvt-g precautions, gvt-g precautions for starting win10 in UEFI mode
2022-06-25 21:25:00 【Deng_ Xian_ Sheng】
About starting kernel modules kvmgt Problems encountered
Only add kernel parameters intel_iommu=on i915.enable_gvt=1 i915.enable_guc=0 To grub Configuration file to start kvmgt, Otherwise, in the next step , When starting the kernel module modprobe kvmgt vfio-iommu-type1 mdev You will encounter an error report
There are two small pits :
1、 After revising grub The configuration file must execute update-grub And restart to take effect
2、 perform modprobe kvmgt vfio-iommu-type1 mdev after , Only effective for this startup ; This means that you need to turn it on to automatically execute this command
GVT-g With UEFI Mode start Win10
On the Internet about using GVT-g By tradition BIOS Mode start Win10 The tutorial has been perfected , Most of them refer to ArchWiKi:
https://wiki.archlinux.org/title/Intel_GVT-g
But the “Using DMA-BUF with UEFI/OVMF” There are some puzzling problems in the chapter , In the client, the performance is ; You can't install the graphics driver anyway 、 The graphics card driver is stuck during installation 、 Even cause the physical machine to jam
It's actually kvm Configuration error , The core display of virtualization is not provided to the virtual machine .
I tried again and again , Through the following operations, we succeeded in UEFI Mode start Win10:
First , Make sure you have the virtualization kernel ready , perform ls /sys/bus/pci/devices/0000:00:02.0/mdev_supported_types/ To see ;0000:00:02.0 It depends on your graphics card , Use lspci -D -nn Command to find .
The above command should get something like i915-GVTg_V5_4 i915-GVTg_V5_8 Output
Make sure you have generated uuid For the virtualized graphics card , The order is similar to echo "$GVT_GUID" > "/sys/devices/pci${GVT_DOM}/$GVT_PCI/mdev_supported_types/$GVT_TYPE/create"
about “libvirt qemu hook”, Again, make sure that it has executable permissions ; If libvirt qemu hook Not working properly , start-up KVM The client will report an error , Be similar to Error starting domain : device not found: mediated device 'c3e42018-b346-4fe5-b82c-ca0419f6e4eb' not found
When you think everything is all right , About to operate “Assign a virtual GPU to the virtual machine” For a period of time , Please do this :
operation “Assign a virtual GPU to the virtual machine” a section ; But will <hostdev mode='subsystem' type='mdev' managed='no' model='vfio-pci' display='off'> Medium display='off' Change it to display='on'.
operation “Getting virtual GPU display contents” a section ( Yes , You're not mistaken , Although it is UEFI; But to operate this section ).
operation “Using DMA-BUF with UEFI/OVMF” a section .
operation “Enable RAMFB display (optional)” a section .
operation “Display virtual GPU output” Medium “Output using QEMU display (QEMU CLI only)” perhaps “libvirt”( Depends on using the command line to create KVM The client still uses xml File creation ); And use <gl enable='yes' rendernode='/dev/dri/by-path/pci-0000:00:02.0-render'/> Replace
$ virsh edit vmname
...
<graphics type='spice'>
<listen type='none'/>
<gl enable='yes'/>
</graphics>
<video>
<model type='none'/>
</video>
...
Medium <gl enable='yes'/>; Be careful 0000:00:02.0 It depends on your graphics card
Don't operate “Output using SPICE with MESA EGL” and “Output using SPICE with NVIDIA EGL or VNC”; Unless you know how to use it
operation “Changing the display resolution of virtual GPU”
thus , start-up KVM The client and the kernel display driver can run normally
边栏推荐
- How to write an infinite loop
- MySQL trigger
- Data query of server SQL. The most important chapter in database learning
- Ecu-test report converted to excel format
- [nailing scenario capability package] video conference (official conference system)
- JS__ This, arguments, cloning, ternary operator__ Duyi
- org. apache. ibatis. exceptions. PersistenceException:
- Insert and update each database
- Is it safe to open an account with qiniu securities?
- Decryption of APP parameters of a cross-border export e-commerce - dunhuang.com
猜你喜欢

On ACM competition

XMIND to excel test case

"Developer theory" multi system integrated development - rapid nailing of enterprise owned systems

Compile 6relayd using the cross compiler
![[nailing - scenario capability package] nailer card](/img/ec/c2f342a54ab69d8b834a8a1c8f8a01.jpg)
[nailing - scenario capability package] nailer card

lombok

How to write an infinite loop

The correct way to clear the cache of the computer. The computer will not get stuck immediately after changing. practical

Jmeter- (I) installation of interface test

Summary of several methods for FPS calculation
随机推荐
Canoe learning notes (4)
"Developer theory" multi system integrated development - rapid nailing of enterprise owned systems
Mutual conversion of CString and char*
On dynamic programming
Working principle and experimental analysis of DHCP
Shell scripts: Variables
Patrol script
ECU test modify test case
Get the root directory of the package at compile time from buildreoot
What is a server? (Powercert animated videos)
OLED driven learning based on ssd1306 (II): addressing mode of ssd1306
Set eye color
Legal mix of settlements (utf8mb4_0900_ai_ci, implicit) and (utf8mb4_general_ci, implicit) error resolution
Illustration tcp/ip - Chapter 1 and 2 Notes
MySQL operation Basics
Using two stacks to realize the function of one queue?
STM32 self balancing robot project, with code, circuit diagram and other data attached at the end (learning materials and learning group at the end)
Docker Alpine image installation PHP extension redis
JS__ This, arguments, cloning, ternary operator__ Duyi
The robotframework executes CMD commands and bat scripts