Re: [PATCH RESEND 09/20] dac, selinux: skip setting/restoring label for absent PCI devices

2021-02-21 Thread Laine Stump
On 1/18/21 2:53 PM, Daniel Henrique Barboza wrote: If the underlying PCI device of a hostdev does not exist in the host (e.g. a SR-IOV VF that was removed while the domain was running), skip security label handling for it. This will avoid errors that happens during qemuProcessStop() time, where

[PATCH RESEND 09/20] dac, selinux: skip setting/restoring label for absent PCI devices

2021-01-18 Thread Daniel Henrique Barboza
If the underlying PCI device of a hostdev does not exist in the host (e.g. a SR-IOV VF that was removed while the domain was running), skip security label handling for it. This will avoid errors that happens during qemuProcessStop() time, where a VF that was being used by the domain is not present