From 388538e15a3e3ad7e106d2bbb393193c4893be8a Mon Sep 17 00:00:00 2001 From: karmab Date: Thu, 24 Oct 2024 23:45:55 +0200 Subject: [PATCH] kvm: issue warning when using macvtap --- kvirt/providers/kvm/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kvirt/providers/kvm/__init__.py b/kvirt/providers/kvm/__init__.py index 99bc5dc70..f443fdef3 100644 --- a/kvirt/providers/kvm/__init__.py +++ b/kvirt/providers/kvm/__init__.py @@ -740,6 +740,7 @@ def create(self, name, virttype=None, profile='kvirt', flavor=None, plan='kvirt' iftype = 'direct' sourcexml = f"" need_guestagent = True + warning("Using macvtap. The vm will most likely be unaccessible from your hypervisor") else: return {'result': 'failure', 'reason': f"Invalid network {netname}"} if netname in ipv6networks: