[PATCH] apparmor: allow getattr on usb devices

2022-11-17 Thread christian . ehrhardt
From: Christian Ehrhardt For the handling of usb we already allow plenty of read access, but so far /sys/bus/usb/devices only needed read access to the directory to enumerate the symlinks in there that point to the actual entries via relative links to ../../../devices/. But in more recent

Re: [libvirt PATCH v2 1/1] qemu: fix vcpu clearing when multiple vcpu hotunplugs timeout

2022-11-17 Thread Shaleen Bathla
ping On Fri, Nov 11, 2022 at 02:54:38PM +0530, Shaleen Bathla wrote: > Problem: > libvirt has a 5 second timeout (generally) for hotplug/unplug > operations which can time out due to heavy load in guest. > > vcpu hotunplug occurs one vcpu at a time. > But, if we perform hotplug-unplug repeatedly,

[libvirt PATCH] qemu: fix memlock without vIOMMU

2022-11-17 Thread Jonathon Jongsma
When there is no vIOMMU, vfio devices don't need to lock the entire guest memory per-device, but they still need to lock the entire guest memory to share between all vfio devices. This memory accounting is not shared with vDPA devices, so it should be added to the memlock limit separately. Commit