Just a little context. So trying to get balloon driver working in windows 11 and playing around. I may not have the correct settings and am on the wrong path so please be kind on that, still learning incus and pushing my knowledge. Originally I tried without hugepages but wasn’t seeing memory compaction etc. so thought I’d try adding hugepages. I get an instant error on launch of the vm. I do see the hugepages mount during boot debug. I think i probably don’t want ballooning and hugepages at the same time. I’ve also retest it with just hugepages.
I hit an oddity that I suspect shouldn’t be happening. Love for a second opinion as I’m not exactly sure how to debug on the OS itself.
Here is the relevant vm config:
limits.memory: 12GB
limits.memory.hugepages: 'true'
nb i use limits.memory.hotplug: 12GB for ballooning
Error i see in the web portal:
Instance start failed w11
Failed to run: forklimits limit=memlock:unlimited:unlimited fd=3 fd=4 -- /opt/incus/bin/qemu-system-x86_64 -S -name w11 -uuid 374d39ce-4d55-4287-ac34-537a13feccd6 -daemonize -cpu host,hv_passthrough,migratable=no,+invtsc -nographic -serial chardev:console -nodefaults -no-user-config -sandbox on,obsolete=deny,elevateprivileges=allow,spawn=allow,resourcecontrol=deny -readconfig /run/incus/w11/qemu.conf -spice unix=on,disable-ticketing=on,addr=/run/incus/w11/qemu.spice -pidfile /run/incus/w11/qemu.pid -D /var/log/incus/w11/qemu.log -smbios type=2,manufacturer=LinuxContainers,product=Incus -run-with user=incus: : exit status 1
and the debug log from when i clicked run instance:
[2026/01/18 16:11:06 GMT] kernel: audit: type=1700 audit(1768752666.166:392): dev=tapf60a1e0f prom=256 old_prom=0 auid=4294967295 uid=0 gid=0 ses=4294967295
[2026/01/18 16:11:06 GMT] kernel: audit: type=1300 audit(1768752666.166:392): arch=c000003e syscall=44 success=yes exit=40 a0=1c a1=c000ed91a0 a2=28 a3=0 items=0 ppid=1 pid=1286 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="incusd" exe="/opt/incus/bin/incusd" subj=unconfined key=(null)
[2026/01/18 16:11:06 GMT] kernel: audit: type=1327 audit(1768752666.166:392): proctitle=696E63757364002D2D67726F757000696E6375732D61646D696E002D2D6C6F6766696C65002F7661722F6C6F672F696E6375732F696E637573642E6C6F67
[2026/01/18 16:11:06 GMT] kernel: audit: type=1400 audit(1768752666.228:393): apparmor="STATUS" operation="profile_load" profile="unconfined" name="incus-w11_</var/lib/incus>" pid=1417 comm="apparmor_parser"
[2026/01/18 16:11:06 GMT] kernel: audit: type=1300 audit(1768752666.228:393): arch=c000003e syscall=1 success=yes exit=312489 a0=6 a1=7f5a8c7b0010 a2=4c4a9 a3=0 items=0 ppid=1416 pid=1417 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="apparmor_parser" exe="/usr/sbin/apparmor_parser" subj=unconfined key=(null)
[2026/01/18 16:11:06 GMT] kernel: audit: type=1327 audit(1768752666.228:393): proctitle=61707061726D6F725F706172736572002D72574C002F7661722F6C69622F696E6375732F73656375726974792F61707061726D6F722F6361636865002F7661722F6C69622F696E6375732F73656375726974792F61707061726D6F722F70726F66696C65732F696E6375732D773131
[2026/01/18 16:11:06 GMT] kernel: audit: type=1400 audit(1768752666.251:394): apparmor="DENIED" operation="open" class="file" profile="incus-w11_</var/lib/incus>" name="/proc/1419/mountinfo" pid=1419 comm="incusd" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[2026/01/18 16:11:06 GMT] kernel: audit: type=1300 audit(1768752666.251:394): arch=c000003e syscall=257 success=no exit=-13 a0=ffffffffffffff9c a1=7ffea0194c43 a2=80000 a3=0 items=0 ppid=1286 pid=1419 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="incusd" exe="/opt/incus/bin/incusd" subj=incus-w11_</var/lib/incus> key=(null)
[2026/01/18 16:11:06 GMT] systemd: var-lib-incus-devices-w11-config.mount.mount: Deactivated successfully.
[2026/01/18 16:11:06 GMT] kernel: tapf60a1e0f: left allmulticast mode
[2026/01/18 16:11:06 GMT] kernel: tapf60a1e0f: left promiscuous mode
[2026/01/18 16:11:06 GMT] kernel: incusbr0: port 1(tapf60a1e0f) entered disabled state
[2026/01/18 16:11:06 GMT] systemd-networkd: tapf60a1e0f: Link UP
[2026/01/18 16:11:06 GMT] systemd-networkd: tapf60a1e0f: Link DOWN
[2026/01/18 16:11:06 GMT] systemd: var-lib-incus-storage\x2dpools-local-virtual\x2dmachines-w11.mount: Deactivated successfully.
[2026/01/18 16:11:06 GMT] 55-scsi-sg3_id.rules: WARNING: SCSI device zd32 has no device ID, consider changing .SCSI_ID_SERIAL_SRC in 00-scsi-sg3_config.rules
I was thinking specifically this from the above might be the cause of the failed launch:
[2026/01/18 16:11:06 GMT] kernel: audit: type=1400 audit(1768752666.251:394): apparmor="DENIED" operation="open" class="file" profile="incus-w11_</var/lib/incus>" name="/proc/1419/mountinfo" pid=1419 comm="incusd" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Am I misunderstanding something? With hugepages turned off, vm works fine. Hugepages should have worked is what I’m thinking. Is it something on my system (small cheap n100), can someone confirm hugepages works on their incus os?