incus-win10.yaml
1architecture: x86_64
2config:
3 limits.cpu: 0,16,1,17,2,18,3,19
4 limits.memory: 32GiB
5 raw.qemu: |
6 -cpu host,topoext
7 -device ivshmem-plain,id=shmem0,memdev=looking-glass
8 -object memory-backend-file,id=looking-glass,mem-path=/dev/kvmfr0,size=128M,share=yes
9 -device intel-hda,bus=pcie.0,addr=0x1b
10 -device hda-output,audiodev=snd0
11 -audiodev spice,id=snd0
12 raw.qemu.conf: |-
13 [device "qemu_tablet"]
14 [device "qemu_vsock"]
15 [smp-opts]
16 cpus = ""
17 raw.qemu.scriptlet: |
18 def qemu_hook(instance, stage):
19 if stage == "config":
20 # Delete the incorrect numa nodes generated by incus
21 set_qemu_conf([ x for x in get_qemu_conf() if x["name"] != "numa" ])
22 security.secureboot: "false"
23devices:
24 nvidia1650:
25 gputype: physical
26 pci: 0000:0a:00.0
27 type: gpu
28 root:
29 boot.priority: "20"
30 path: /
31 pool: default
32 type: disk
33ephemeral: false
34profiles:
35- windows
36stateful: false
37description: ""