Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #79006

Bug#1035779: linux-image-5.10.0-22: kvm/qemu kernel null pointer dereference, VM doesn't start

From Jared Epp <jaredepp@pm.me>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1035779: linux-image-5.10.0-22: kvm/qemu kernel null pointer dereference, VM doesn't start
Date 2023-05-10 05:20 +0200
Message-ID <GtIwW-7P7m-1@gated-at.bofh.it> (permalink)
References <Gtoyd-7CEJ-1@gated-at.bofh.it> <GtBlL-7KxC-7@gated-at.bofh.it> <GtBlL-7KxC-5@gated-at.bofh.it> <Gtoyd-7CEJ-1@gated-at.bofh.it> <GtBlL-7KxC-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Hi Salvatore,

Thanks for the quick reply!

> > 
> > This sounds similar to the
> > https://forum.proxmox.com/threads/with-latest-5-15-104-1-pve-windows-server-vm-freeze-stuck.125294/
> > issue. Would you be able to verify two things:
> > 
> > Check how the Windows VM is configured and if you pass the
> > '+hv-tlbflush' flag.
> > 

You're right, I am passing this flag. In libvirt I use:

<domain>
  <features>
    <hyperv>
      <tlbflush state='on'/>
    </hyperv>
  </features>
</domain>

I tried this fix first and it works. If I reboot into 5.10.0-22-amd64, and instead set <tlbflush state='off'/> above, the VM boots.

> > Additionally, would the attached patch make the issue go away?

Thanks for the patch; it does fix the issue.  I set this back: <tlbflush state='on'/>, applied your patch to 5.10.0-22-amd64 and booted my newly patched kernel, and the VM boots.

> 
> 
> Now with patch attached.
> 
> Regards,
> Salvatore

Thanks for your help.  This is my first time using the BTS so I hope I've done everything correctly. If there's anything else I should do, or if you want me to test something, let me know.

Jared

Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1035779: linux-image-5.10.0-22: kvm/qemu kernel null pointer dereference, VM doesn't start Salvatore Bonaccorso <carnil@debian.org> - 2023-05-09 21:40 +0200
  Bug#1035779: linux-image-5.10.0-22: kvm/qemu kernel null pointer dereference, VM doesn't start Jared Epp <jaredepp@pm.me> - 2023-05-10 05:20 +0200
    Bug#1035779: linux-image-5.10.0-22: kvm/qemu kernel null pointer dereference, VM doesn't start Salvatore Bonaccorso <carnil@debian.org> - 2023-05-10 08:00 +0200

csiph-web