fix format in qemu

This commit is contained in:
night0721 2023-11-09 12:53:42 +00:00
parent 7b31cdaa19
commit cc49428dde

View file

@ -126,7 +126,7 @@ At VM Config, go to CDROM and import virtio drivers by selecting the ISO file.
8. Add PCI Host Devices
At VM Config, click "Add Hardware" and select PCI Host Device then choose both NVIDIA devices. Then run the VM, first you might encounter some permissions issue(I did), for that try edit `/etc/libvirt/qemu.conf`, add these lines
```
```sh
user = "night"
group = "libvirt-qemu"
cgroup_device_acl = [
@ -139,7 +139,7 @@ cgroup_device_acl = [
If you face memory [issue](https://www.reddit.com/r/VFIO/comments/mrs4wg/libvirt_error_cannot_limit_locked_memory/
), edit `/etc/security/limits.conf` and add
```
```sh
night hard memlock 28388608
```
or try