Bug#941576: qemu: Cant use virtio-gpu with some hardware
Thans for reply and sorry for the wrong link. the correct patch link is here.And it can diretly used in debian qemu src. https://src.fedoraproject.org/rpms/qemu/blob/35213eae677b3a6a98ef2f048ca72fe38d61e2fc/f/0011-seccomp-don-t-kill-process-for-resource-control-sysc.patch I have disable secomp on libvirt config file, but when I start virt-manager it not work.May gui client lile virt-manager and gnome-boxes force to use secomp. It will be helpful if the patch can be added in next debian point release. Michael Tokarev 于2019年10月2日周三 下午6:20写道: > Control: severity -1 minor > Control: tag -1 + wontfix > > 02.10.2019 13:11, wk wrote: > > Source: qemu > > Severity: important > > > > Dear Maintainer, > > > > I cannot use libvirt and virtio-gpu together, after search it often > appearr > > with amd gpu. > > I have tested that a patch from fedora can solve it. > > > https://koji.fedoraproject.org/koji/fileinfo?rpmID=17131016=0001-qemu- > > seccomp-dont-kill-process-for-resource-contro.patch > > From the name of the patch (unfortunately the patch itself isn't available > on > the named site) I assume the problem is due to seccomp jumping on the way. > If that's the case, just disable seccomp on the guest using virtio-gpu and > it > should work. Seccomp has very little value for qemu since majority of > syscalls > are allowed anyway, but it has quite significant impact on maintenance, as > you > can see in this very issue. > > Thanks, > > /mjt >
Bug#941576: qemu: Cant use virtio-gpu with some hardware
Control: severity -1 minor Control: tag -1 + wontfix 02.10.2019 13:11, wk wrote: > Source: qemu > Severity: important > > Dear Maintainer, > > I cannot use libvirt and virtio-gpu together, after search it often appearr > with amd gpu. > I have tested that a patch from fedora can solve it. > https://koji.fedoraproject.org/koji/fileinfo?rpmID=17131016=0001-qemu- > seccomp-dont-kill-process-for-resource-contro.patch >From the name of the patch (unfortunately the patch itself isn't available on the named site) I assume the problem is due to seccomp jumping on the way. If that's the case, just disable seccomp on the guest using virtio-gpu and it should work. Seccomp has very little value for qemu since majority of syscalls are allowed anyway, but it has quite significant impact on maintenance, as you can see in this very issue. Thanks, /mjt
Bug#941576: qemu: Cant use virtio-gpu with some hardware
Source: qemu Severity: important Dear Maintainer, I cannot use libvirt and virtio-gpu together, after search it often appearr with amd gpu. I have tested that a patch from fedora can solve it. https://koji.fedoraproject.org/koji/fileinfo?rpmID=17131016=0001-qemu- seccomp-dont-kill-process-for-resource-contro.patch -- System Information: Debian Release: 10.1 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-5-amd64 (SMP w/12 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled