]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virnetdevtap: Add better error message for a possible common user error
authorMartin Kletzander <mkletzan@redhat.com>
Wed, 4 Sep 2024 08:18:41 +0000 (10:18 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Wed, 4 Sep 2024 10:21:20 +0000 (12:21 +0200)
commitf6fb097e11a15e390d989411b2660ead0d1a7c10
tree158b69532af55bb2906763a026765d4f30a88a35
parent4ce9196dc4676ab8778ebffc6b523887241e8906
virnetdevtap: Add better error message for a possible common user error

When users pre-create a tap device to use with multiqueue interface that
has `managed="no"`, change the error so that it does not indicate we are
trying to create the device, and on top of that hint at the most
probable error cause.

Resolves: https://issues.redhat.com/browse/RHEL-55749
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/util/virnetdevtap.c