mackid1993 Posted March 22, 2023 Share Posted March 22, 2023 I'm not sure if anyone can help me, my Windows 11 VM seems to slowly run out of memory when using memory backing and VirtIOFS. It just gets slower and slower until after about a day of uptime it locks up. 6.12-RC2 has made it better. I am on the latest Virtio drivers and the 2023 version of WinFSP. I'm not sure if anyone has any advice that can make this more stable. I noticed that out of nowhere my memory usage will be over 90% and the VM will be very slow but the actual processes don't add up to that much memory being used. I'm allocating 16GB of RAM to the VM. Thanks! Quote Link to comment
mackid1993 Posted March 22, 2023 Author Share Posted March 22, 2023 I saw some errors in my libvrt log so I went ahead and recreated the libvrt.img and my VM using the same vdisk. I'm hoping this resolves the memory leak issue. Quote Link to comment
mackid1993 Posted March 22, 2023 Author Share Posted March 22, 2023 Any advice from anyone. I'm hoping rebuilding the libvirt.img fixes it but any feedback is appreciated. Quote Link to comment
SimonF Posted March 22, 2023 Share Posted March 22, 2023 12 minutes ago, mackid1993 said: Any advice from anyone. I'm hoping rebuilding the libvirt.img fixes it but any feedback is appreciated. It is unlikely that rebuilding libvirt will help with the memory lead it is jusr a store for the configs. Quote Link to comment
mackid1993 Posted March 22, 2023 Author Share Posted March 22, 2023 Just now, SimonF said: It is unlikely that rebuilding libvirt will help with the memory lead it is jusr a store for the configs. Any idea of what could be causing it? Are there any logs I can share that may help. I noticed that once the VM hits around 24 hours of uptime memory usage should around 95% but the processes don't add up in task manager. The VM gets really slow and will with time get so slow it locks up. Quote Link to comment
SimonF Posted March 22, 2023 Share Posted March 22, 2023 (edited) 36 minutes ago, mackid1993 said: Any idea of what could be causing it? Are there any logs I can share that may help. I noticed that once the VM hits around 24 hours of uptime memory usage should around 95% but the processes don't add up in task manager. The VM gets really slow and will with time get so slow it locks up. Maybe event logs, only log on host will be qemu one but not going to show much. Edited March 22, 2023 by SimonF Quote Link to comment
mackid1993 Posted March 22, 2023 Author Share Posted March 22, 2023 @SimonF you're right recreating the libvirt.img did nothing. It starting reporting memory usage incorrectly again. I don't think Windows is leaking though, I think it's coming from qemu. The percentage of memory used is inconsistent with the processes running. I went and removed <nosharepages/> from the <memorybacking> section of the xml to test since I really think this is related to memorybacking. It wasn't an issue prior to enabling memorybacking and using VirtioFS to mount my shares. Once I removed <nosharepages/> I immediately noticed upon boot that the percentage of memory used is significantly lower. I'm going to let the VM run overnight and hopefully it doesn't creep up. Quote Link to comment
mackid1993 Posted March 23, 2023 Author Share Posted March 23, 2023 (edited) @SimonF, I have my initial and max memory set both to the same thing 16384 MB. I'm wondering if disabling the baloon service in Windows might help this issue. I disabled the service and also disabled the driver in device manager and after rebooting memory usage seems to add up now for each process. I also had a ton of processes that reported 0.0 MB used which now report memory usage. Could this have been the problem? Edited March 23, 2023 by mackid1993 Quote Link to comment
SimonF Posted March 23, 2023 Share Posted March 23, 2023 3 minutes ago, mackid1993 said: @SimonF, I have my initial and max memory set both to the same thing 16384 MB. I'm wondering if disabling the baloon service in Windows might help this issue. I disabled the service and also disabled the driver in device manager and after rebooting memory usage seems to add up now for each process. I also had a ton of processes that reported 0.0 MB used which now report memory usage. Could this have been the problem? Not sure would need to look into it. do you still have memory backing shared removed? Quote Link to comment
mackid1993 Posted March 23, 2023 Author Share Posted March 23, 2023 3 minutes ago, SimonF said: Not sure would need to look into it. do you still have memory backing shared removed? Yes I still have that removed. I let it run overnight and by the morning task manager was showing crazy high memory usage. As a side note for some reason I didn't have windows managing my swap file. I corrected that but I don't think that had much to do with it. Quote Link to comment
mackid1993 Posted March 24, 2023 Author Share Posted March 24, 2023 I had to disable memory backing. Hopefully this becomes more stable with 6.12 stable but for now it's better but still not 100% stable. I've spent a few days trying to get this to work and it's just not worth the energy for me right now. Quote Link to comment
mackid1993 Posted March 25, 2023 Author Share Posted March 25, 2023 I had some time tonight and built a fresh Win 11 VM with VirtioFS, everything is fresh and completely stock with the latest virtio drivers and winfsp. I assigned 8 GB of memory to the VM. To test I opened up a huge amount browser tabs. Vivaldi was using 3 GB of ram and the other processes on the machine weren't using a significant amount yet task manager was reporting 95+% memory usage. I'm convinced that the memory percentage in task manager is borked in these VMs baloon on or off. At this point I'm going to let it run overnight and see if it is stable and responsive in the morning. If after 24 hours it doesn't lock up I'm going to assume it is stable but perhaps the memory percentage is misrepresented. Quote Link to comment
JorgeB Posted March 25, 2023 Share Posted March 25, 2023 6 hours ago, mackid1993 said: yet task manager was reporting 95+% memory usage. I'm convinced that the memory percentage in task manager is borked in these VMs baloon on or off. It's normal for any memory in the balloon to appear as used in the Windows task manager, see here for more info: https://forums.unraid.net/topic/120530-dynamic-memory-for-virtual-machines-how-is-this-actually-designed-to-work/?do=findComment&comment=1238897 Quote Link to comment
mackid1993 Posted March 25, 2023 Author Share Posted March 25, 2023 5 hours ago, JorgeB said: It's normal for any memory in the balloon to appear as used in the Windows task manager, see here for more info: https://forums.unraid.net/topic/120530-dynamic-memory-for-virtual-machines-how-is-this-actually-designed-to-work/?do=findComment&comment=1238897 Thanks for this. I did have the new VM lock up last night again. However when I recreated it I forgot to take out <nosharepages/>. I took that out of the xml and rebooted and hopefully that may lead to stability after 10-12 hours of uptime. Quote Link to comment
SimonF Posted March 25, 2023 Share Posted March 25, 2023 On 3/24/2023 at 2:52 AM, mackid1993 said: I had to disable memory backing. Hopefully this becomes more stable with 6.12 stable but for now it's better but still not 100% stable. I've spent a few days trying to get this to work and it's just not worth the energy for me right now. Can you confirm the memory backing of your VM. Virtiofs needs to have memory backing, have you disabled ballooning drivers still. If you change the config in 6.12 it will put back the memory backing for Virtiofs and maybe enable balloon, Balloon is not enabled if you passthru a pci device. Quote Link to comment
mackid1993 Posted March 25, 2023 Author Share Posted March 25, 2023 10 minutes ago, SimonF said: Can you confirm the memory backing of your VM. Virtiofs needs to have memory backing, have you disabled ballooning drivers still. If you change the config in 6.12 it will put back the memory backing for Virtiofs and maybe enable balloon, Balloon is not enabled if you passthru a pci device. Hi Simon, This is my current XML. I removed <nosharepages/> to test. I found after a lot of patience that the VM just gets extremely slow. This morning I waited about 10 minutes for my RDP session to connect and the System process was going crazy, very high CPU usage and disk activity was pegged at 100%. So it's locking up in the sense that it is getting unbearably slow. Previously I just thought it was frozen but after waiting a while today I found that it is responsive, just insanely bogged down after 10-12 hours of uptime. <?xml version='1.0' encoding='UTF-8'?> <domain type='kvm' id='4'> <name>Windows 11_new</name> <uuid>c9aff419-2b45-d22b-9733-6412b5ac4478</uuid> <metadata> <vmtemplate xmlns="unraid" name="Windows 11" icon="windows11.png" os="windowstpm"/> </metadata> <memory unit='KiB'>8388608</memory> <currentMemory unit='KiB'>8388608</currentMemory> <memoryBacking> <source type='memfd'/> <access mode='shared'/> </memoryBacking> <vcpu placement='static'>8</vcpu> <cputune> <vcpupin vcpu='0' cpuset='0'/> <vcpupin vcpu='1' cpuset='4'/> <vcpupin vcpu='2' cpuset='1'/> <vcpupin vcpu='3' cpuset='5'/> <vcpupin vcpu='4' cpuset='2'/> <vcpupin vcpu='5' cpuset='6'/> <vcpupin vcpu='6' cpuset='3'/> <vcpupin vcpu='7' cpuset='7'/> </cputune> <resource> <partition>/machine</partition> </resource> <os> <type arch='x86_64' machine='pc-i440fx-7.1'>hvm</type> <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi-tpm.fd</loader> <nvram>/etc/libvirt/qemu/nvram/c9aff419-2b45-d22b-9733-6412b5ac4478_VARS-pure-efi-tpm.fd</nvram> </os> <features> <acpi/> <apic/> <hyperv mode='custom'> <relaxed state='on'/> <vapic state='on'/> <spinlocks state='on' retries='8191'/> <vendor_id state='on' value='none'/> </hyperv> </features> <cpu mode='host-passthrough' check='none' migratable='on'> <topology sockets='1' dies='1' cores='4' threads='2'/> <cache mode='passthrough'/> </cpu> <clock offset='localtime'> <timer name='hypervclock' present='yes'/> <timer name='hpet' present='no'/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/local/sbin/qemu</emulator> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/user/domains/Windows 11_new/vdisk1.img' index='1'/> <backingStore/> <target dev='hdc' bus='virtio'/> <serial>vdisk1</serial> <boot order='1'/> <alias name='virtio-disk2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x0e' function='0x0'/> </disk> <controller type='usb' index='0' model='ich9-ehci1'> <alias name='usb'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/> </controller> <controller type='usb' index='0' model='ich9-uhci1'> <alias name='usb'/> <master startport='0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/> </controller> <controller type='usb' index='0' model='ich9-uhci2'> <alias name='usb'/> <master startport='2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/> </controller> <controller type='usb' index='0' model='ich9-uhci3'> <alias name='usb'/> <master startport='4'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/> </controller> <controller type='pci' index='0' model='pci-root'> <alias name='pci.0'/> </controller> <controller type='virtio-serial' index='0'> <alias name='virtio-serial0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x0d' function='0x0'/> </controller> <filesystem type='mount' accessmode='passthrough'> <driver type='virtiofs' queue='1024'/> <binary path='/usr/libexec/virtiofsd' xattr='on'> <cache mode='always'/> <sandbox mode='chroot'/> <lock posix='on' flock='on'/> </binary> <source dir='/mnt/user/Archives'/> <target dir='Archives'/> <alias name='fs0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </filesystem> <filesystem type='mount' accessmode='passthrough'> <driver type='virtiofs' queue='1024'/> <binary path='/usr/libexec/virtiofsd' xattr='on'> <cache mode='always'/> <sandbox mode='chroot'/> <lock posix='on' flock='on'/> </binary> <source dir='/mnt/user/Backup'/> <target dir='Backup'/> <alias name='fs1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </filesystem> <filesystem type='mount' accessmode='passthrough'> <driver type='virtiofs' queue='1024'/> <binary path='/usr/libexec/virtiofsd' xattr='on'> <cache mode='always'/> <sandbox mode='chroot'/> <lock posix='on' flock='on'/> </binary> <source dir='/mnt/user/CommunityApplicationsAppdataBackup'/> <target dir='CommunityApplicationsAppdataBackup'/> <alias name='fs2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </filesystem> <filesystem type='mount' accessmode='passthrough'> <driver type='virtiofs' queue='1024'/> <binary path='/usr/libexec/virtiofsd' xattr='on'> <cache mode='always'/> <sandbox mode='chroot'/> <lock posix='on' flock='on'/> </binary> <source dir='/mnt/user/Downloads'/> <target dir='Downloads'/> <alias name='fs3'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> </filesystem> <filesystem type='mount' accessmode='passthrough'> <driver type='virtiofs' queue='1024'/> <binary path='/usr/libexec/virtiofsd' xattr='on'> <cache mode='always'/> <sandbox mode='chroot'/> <lock posix='on' flock='on'/> </binary> <source dir='/mnt/user/Movies'/> <target dir='Movies'/> <alias name='fs4'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/> </filesystem> <filesystem type='mount' accessmode='passthrough'> <driver type='virtiofs' queue='1024'/> <binary path='/usr/libexec/virtiofsd' xattr='on'> <cache mode='always'/> <sandbox mode='chroot'/> <lock posix='on' flock='on'/> </binary> <source dir='/mnt/user/Music'/> <target dir='Music'/> <alias name='fs5'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/> </filesystem> <filesystem type='mount' accessmode='passthrough'> <driver type='virtiofs' queue='1024'/> <binary path='/usr/libexec/virtiofsd' xattr='on'> <cache mode='always'/> <sandbox mode='chroot'/> <lock posix='on' flock='on'/> </binary> <source dir='/mnt/user/Software'/> <target dir='Software'/> <alias name='fs6'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/> </filesystem> <filesystem type='mount' accessmode='passthrough'> <driver type='virtiofs' queue='1024'/> <binary path='/usr/libexec/virtiofsd' xattr='on'> <cache mode='always'/> <sandbox mode='chroot'/> <lock posix='on' flock='on'/> </binary> <source dir='/mnt/user/TV'/> <target dir='TV'/> <alias name='fs7'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x0b' function='0x0'/> </filesystem> <interface type='bridge'> <mac address='52:54:00:d1:06:c0'/> <source bridge='br0'/> <target dev='vnet3'/> <model type='virtio-net'/> <alias name='net0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x0c' function='0x0'/> </interface> <serial type='pty'> <source path='/dev/pts/1'/> <target type='isa-serial' port='0'> <model name='isa-serial'/> </target> <alias name='serial0'/> </serial> <console type='pty' tty='/dev/pts/1'> <source path='/dev/pts/1'/> <target type='serial' port='0'/> <alias name='serial0'/> </console> <channel type='unix'> <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-4-Windows 11_new/org.qemu.guest_agent.0'/> <target type='virtio' name='org.qemu.guest_agent.0' state='connected'/> <alias name='channel0'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel> <input type='tablet' bus='usb'> <alias name='input0'/> <address type='usb' bus='0' port='1'/> </input> <input type='mouse' bus='ps2'> <alias name='input1'/> </input> <input type='keyboard' bus='ps2'> <alias name='input2'/> </input> <tpm model='tpm-tis'> <backend type='emulator' version='2.0' persistent_state='yes'/> <alias name='tpm0'/> </tpm> <graphics type='vnc' port='5900' autoport='yes' websocket='5700' listen='0.0.0.0' keymap='en-us'> <listen type='address' address='0.0.0.0'/> </graphics> <audio id='1' type='none'/> <video> <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/> <alias name='video0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </video> <memballoon model='virtio'> <alias name='balloon0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x0f' function='0x0'/> </memballoon> </devices> <seclabel type='dynamic' model='dac' relabel='yes'> <label>+0:+100</label> <imagelabel>+0:+100</imagelabel> </seclabel> </domain> I do have the baloon driver installed and service enabled in this VM. I disabled it in the old VM. Should I uninstall the driver/service in this VM to test? Quote Link to comment
Solution SimonF Posted March 25, 2023 Solution Share Posted March 25, 2023 3 hours ago, mackid1993 said: Hi Simon, This is my current XML. I removed <nosharepages/> to test. I found after a lot of patience that the VM just gets extremely slow. This morning I waited about 10 minutes for my RDP session to connect and the System process was going crazy, very high CPU usage and disk activity was pegged at 100%. So it's locking up in the sense that it is getting unbearably slow. Previously I just thought it was frozen but after waiting a while today I found that it is responsive, just insanely bogged down after 10-12 hours of uptime. <?xml version='1.0' encoding='UTF-8'?> <domain type='kvm' id='4'> <name>Windows 11_new</name> <uuid>c9aff419-2b45-d22b-9733-6412b5ac4478</uuid> <metadata> <vmtemplate xmlns="unraid" name="Windows 11" icon="windows11.png" os="windowstpm"/> </metadata> <memory unit='KiB'>8388608</memory> <currentMemory unit='KiB'>8388608</currentMemory> <memoryBacking> <source type='memfd'/> <access mode='shared'/> </memoryBacking> <vcpu placement='static'>8</vcpu> <cputune> <vcpupin vcpu='0' cpuset='0'/> <vcpupin vcpu='1' cpuset='4'/> <vcpupin vcpu='2' cpuset='1'/> <vcpupin vcpu='3' cpuset='5'/> <vcpupin vcpu='4' cpuset='2'/> <vcpupin vcpu='5' cpuset='6'/> <vcpupin vcpu='6' cpuset='3'/> <vcpupin vcpu='7' cpuset='7'/> </cputune> <resource> <partition>/machine</partition> </resource> <os> <type arch='x86_64' machine='pc-i440fx-7.1'>hvm</type> <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi-tpm.fd</loader> <nvram>/etc/libvirt/qemu/nvram/c9aff419-2b45-d22b-9733-6412b5ac4478_VARS-pure-efi-tpm.fd</nvram> </os> <features> <acpi/> <apic/> <hyperv mode='custom'> <relaxed state='on'/> <vapic state='on'/> <spinlocks state='on' retries='8191'/> <vendor_id state='on' value='none'/> </hyperv> </features> <cpu mode='host-passthrough' check='none' migratable='on'> <topology sockets='1' dies='1' cores='4' threads='2'/> <cache mode='passthrough'/> </cpu> <clock offset='localtime'> <timer name='hypervclock' present='yes'/> <timer name='hpet' present='no'/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/local/sbin/qemu</emulator> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/user/domains/Windows 11_new/vdisk1.img' index='1'/> <backingStore/> <target dev='hdc' bus='virtio'/> <serial>vdisk1</serial> <boot order='1'/> <alias name='virtio-disk2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x0e' function='0x0'/> </disk> <controller type='usb' index='0' model='ich9-ehci1'> <alias name='usb'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/> </controller> <controller type='usb' index='0' model='ich9-uhci1'> <alias name='usb'/> <master startport='0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/> </controller> <controller type='usb' index='0' model='ich9-uhci2'> <alias name='usb'/> <master startport='2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/> </controller> <controller type='usb' index='0' model='ich9-uhci3'> <alias name='usb'/> <master startport='4'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/> </controller> <controller type='pci' index='0' model='pci-root'> <alias name='pci.0'/> </controller> <controller type='virtio-serial' index='0'> <alias name='virtio-serial0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x0d' function='0x0'/> </controller> <filesystem type='mount' accessmode='passthrough'> <driver type='virtiofs' queue='1024'/> <binary path='/usr/libexec/virtiofsd' xattr='on'> <cache mode='always'/> <sandbox mode='chroot'/> <lock posix='on' flock='on'/> </binary> <source dir='/mnt/user/Archives'/> <target dir='Archives'/> <alias name='fs0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </filesystem> <filesystem type='mount' accessmode='passthrough'> <driver type='virtiofs' queue='1024'/> <binary path='/usr/libexec/virtiofsd' xattr='on'> <cache mode='always'/> <sandbox mode='chroot'/> <lock posix='on' flock='on'/> </binary> <source dir='/mnt/user/Backup'/> <target dir='Backup'/> <alias name='fs1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </filesystem> <filesystem type='mount' accessmode='passthrough'> <driver type='virtiofs' queue='1024'/> <binary path='/usr/libexec/virtiofsd' xattr='on'> <cache mode='always'/> <sandbox mode='chroot'/> <lock posix='on' flock='on'/> </binary> <source dir='/mnt/user/CommunityApplicationsAppdataBackup'/> <target dir='CommunityApplicationsAppdataBackup'/> <alias name='fs2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </filesystem> <filesystem type='mount' accessmode='passthrough'> <driver type='virtiofs' queue='1024'/> <binary path='/usr/libexec/virtiofsd' xattr='on'> <cache mode='always'/> <sandbox mode='chroot'/> <lock posix='on' flock='on'/> </binary> <source dir='/mnt/user/Downloads'/> <target dir='Downloads'/> <alias name='fs3'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> </filesystem> <filesystem type='mount' accessmode='passthrough'> <driver type='virtiofs' queue='1024'/> <binary path='/usr/libexec/virtiofsd' xattr='on'> <cache mode='always'/> <sandbox mode='chroot'/> <lock posix='on' flock='on'/> </binary> <source dir='/mnt/user/Movies'/> <target dir='Movies'/> <alias name='fs4'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/> </filesystem> <filesystem type='mount' accessmode='passthrough'> <driver type='virtiofs' queue='1024'/> <binary path='/usr/libexec/virtiofsd' xattr='on'> <cache mode='always'/> <sandbox mode='chroot'/> <lock posix='on' flock='on'/> </binary> <source dir='/mnt/user/Music'/> <target dir='Music'/> <alias name='fs5'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/> </filesystem> <filesystem type='mount' accessmode='passthrough'> <driver type='virtiofs' queue='1024'/> <binary path='/usr/libexec/virtiofsd' xattr='on'> <cache mode='always'/> <sandbox mode='chroot'/> <lock posix='on' flock='on'/> </binary> <source dir='/mnt/user/Software'/> <target dir='Software'/> <alias name='fs6'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/> </filesystem> <filesystem type='mount' accessmode='passthrough'> <driver type='virtiofs' queue='1024'/> <binary path='/usr/libexec/virtiofsd' xattr='on'> <cache mode='always'/> <sandbox mode='chroot'/> <lock posix='on' flock='on'/> </binary> <source dir='/mnt/user/TV'/> <target dir='TV'/> <alias name='fs7'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x0b' function='0x0'/> </filesystem> <interface type='bridge'> <mac address='52:54:00:d1:06:c0'/> <source bridge='br0'/> <target dev='vnet3'/> <model type='virtio-net'/> <alias name='net0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x0c' function='0x0'/> </interface> <serial type='pty'> <source path='/dev/pts/1'/> <target type='isa-serial' port='0'> <model name='isa-serial'/> </target> <alias name='serial0'/> </serial> <console type='pty' tty='/dev/pts/1'> <source path='/dev/pts/1'/> <target type='serial' port='0'/> <alias name='serial0'/> </console> <channel type='unix'> <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-4-Windows 11_new/org.qemu.guest_agent.0'/> <target type='virtio' name='org.qemu.guest_agent.0' state='connected'/> <alias name='channel0'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel> <input type='tablet' bus='usb'> <alias name='input0'/> <address type='usb' bus='0' port='1'/> </input> <input type='mouse' bus='ps2'> <alias name='input1'/> </input> <input type='keyboard' bus='ps2'> <alias name='input2'/> </input> <tpm model='tpm-tis'> <backend type='emulator' version='2.0' persistent_state='yes'/> <alias name='tpm0'/> </tpm> <graphics type='vnc' port='5900' autoport='yes' websocket='5700' listen='0.0.0.0' keymap='en-us'> <listen type='address' address='0.0.0.0'/> </graphics> <audio id='1' type='none'/> <video> <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/> <alias name='video0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </video> <memballoon model='virtio'> <alias name='balloon0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x0f' function='0x0'/> </memballoon> </devices> <seclabel type='dynamic' model='dac' relabel='yes'> <label>+0:+100</label> <imagelabel>+0:+100</imagelabel> </seclabel> </domain> I do have the baloon driver installed and service enabled in this VM. I disabled it in the old VM. Should I uninstall the driver/service in this VM to test? Was checking on my issue I have logged on Gitlab https://gitlab.com/qemu-project/qemu/-/issues/1270 I will see what they are looking for to be tested. They seem to indicate it may be a change in the kernel from 5.15 to 5.16 Quote Link to comment
mackid1993 Posted March 25, 2023 Author Share Posted March 25, 2023 1 hour ago, SimonF said: Was checking on my issue I have logged on Gitlab https://gitlab.com/qemu-project/qemu/-/issues/1270 I will see what they are looking for to be tested. They seem to indicate it may be a change in the kernel from 5.15 to 5.16 Thanks, hopefully this will be fixed in a future patch then! Quote Link to comment
mackid1993 Posted March 26, 2023 Author Share Posted March 26, 2023 @SimonF I'm just going to keep memorybacking off until Qemu issues a patch. Thanks for your help! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.