On Fri, Apr 01, 2022 at 10:28:24AM +0800, Jason Wang wrote: > error_setg_errno() expects a normal errno value, not a negated > one, so we should use ENOTSUP instead of -ENOSUP. > > Fixes: Coverity CID 1487174 > Fixes: ("intel_iommu: support snoop control") > Signed-off-by: Jason Wang <jasow...@redhat.com>
Reviewed-by: Peter Xu <pet...@redhat.com> -- Peter Xu