[SOLVED] Anti-Cheat KVM Settings

Unless you edit the patch as a patch for pve-qemu, I don't think it will work as-is in pve

https://github.com/proxmox/pve-qemu
https://github.com/proxmox/mirror_qemu -b v10.1.2

https://github.com/proxmox/pve-edk2-firmware

Since the lines change depending on the version, you must replace them.

After replacing them, use `diff` to create a patch containing the differences between the original and the modified versions, place it in the `debian/patches/extra` directory, and edit the `series` file so that the patch is applied.

If you want to use this in PVE, you'll need to make these adjustments.

Code:
    root@pve1:~# cp aml-build.c aml-build.c_test
    root@pve1:~# ls
    aml-build.c      aml-build.c_mod    aml-build.c_test
    root@pve1:~# diff -up aml-build.c aml-build.c_mod > test    // patch create
    root@pve1:~# patch -Np1 aml-build.c_test < test            // patch test
    patching file aml-build.c_test
    root@pve1:~# diff -up aml-build.c_mod aml-build.c_test > test2    // patch Verify
    -rw-r--r--  1 root root   1801 Mar 16 14:11 test        <-- 1801byte
    -rw-r--r--  1 root root      0 Mar 16 14:16 test2        <-- 0byte
 
Last edited: