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


Groups > linux.debian.kernel > #67457

Bug#961676: 5.6 kernel crashes host when using VFIO on KVM guests

From Simon John <debian@the-jedi.co.uk>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#961676: 5.6 kernel crashes host when using VFIO on KVM guests
Date 2020-07-03 23:50 +0200
Message-ID <AoBJf-Jy-3@gated-at.bofh.it> (permalink)
References (11 earlier) <AmBaF-5FV-3@gated-at.bofh.it> <AmCq6-6Aj-11@gated-at.bofh.it> <AmCq6-6Aj-11@gated-at.bofh.it> <Aba4a-2Il-7@gated-at.bofh.it> <AmCq6-6Aj-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Done some more digging.

I can boot my macos vm using QXL instead of a passthrough GPU, even if i 
passthrough the USB device (not pci controller). So its definitely only 
passing through PCI devices like graphics cards that breaks things.

So this works in qemu terms:

     -usb -device usb-host,hostbus=1,hostaddr=3 \

This breaks things:

     -device vfio-pci,host=02:00.0,multifunction=on \
     -device vfio-pci,host=02:00.1

Oddly enough an Ubuntu 20.04 vm works fine with the gpu and usb passed 
through.

Added the qemu shell scripts to the gist:

https://gist.github.com/sej7278/766043a69c76308f84cfa14b3f3a924f

Regards.

-- 
Simon John

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


Thread

5.6 kernel crashes host when using VFIO on KVM guests Simon John <debian@the-jedi.co.uk> - 2020-05-25 22:40 +0200
  Bug#961676: 5.6 kernel crashes host when using VFIO on KVM guests Salvatore Bonaccorso <carnil@debian.org> - 2020-05-27 21:40 +0200
    Processed: Re: 5.6 kernel crashes host when using VFIO on KVM guests "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-05-27 21:40 +0200
    Bug#961676: 5.6 kernel crashes host when using VFIO on KVM guests Simon John <debian@the-jedi.co.uk> - 2020-05-27 22:50 +0200
      Bug#961676: 5.6 kernel crashes host when using VFIO on KVM guests Simon John <debian@the-jedi.co.uk> - 2020-06-12 00:30 +0200
        Bug#961676: 5.6 kernel crashes host when using VFIO on KVM guests Simon John <debian@the-jedi.co.uk> - 2020-06-14 00:50 +0200
          Bug#961676: 5.6 kernel crashes host when using VFIO on KVM guests Simon John <debian@the-jedi.co.uk> - 2020-06-28 02:00 +0200
            Bug#961676: 5.6 kernel crashes host when using VFIO on KVM guests Simon John <debian@the-jedi.co.uk> - 2020-06-28 02:10 +0200
              Bug#961676: 5.6 kernel crashes host when using VFIO on KVM guests Salvatore Bonaccorso <carnil@debian.org> - 2020-06-28 10:50 +0200
                Bug#961676: 5.6 kernel crashes host when using VFIO on KVM guests Simon John <simon@the-jedi.co.uk> - 2020-06-28 12:10 +0200
                Bug#961676: 5.6 kernel crashes host when using VFIO on KVM guests Simon John <debian@the-jedi.co.uk> - 2020-07-03 23:50 +0200
                Bug#961676: 5.6 kernel crashes host when using VFIO on KVM guests Simon John <debian@the-jedi.co.uk> - 2020-07-19 00:20 +0200
                Bug#961676: 5.6 kernel crashes host when using VFIO on KVM guests Simon John <debian@the-jedi.co.uk> - 2020-07-19 01:40 +0200
                Bug#961676: 5.6 kernel crashes host when using VFIO on KVM guests Simon John <debian@the-jedi.co.uk> - 2020-07-19 01:50 +0200
                Bug#961676: 5.6 kernel crashes host when using VFIO on KVM guests Simon John <debian@the-jedi.co.uk> - 2020-07-19 18:00 +0200
    Bug#961676: marked as done (5.6 kernel crashes host when using  VFIO on KVM guests) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-07-19 18:20 +0200

csiph-web