From fc78b8fc6e43ea4255cfd0b0149cab3b4fcb4c61 Mon Sep 17 00:00:00 2001 From: fuwei Date: Thu, 3 Aug 2023 17:33:45 +0800 Subject: [PATCH] [sugon_sdn]Remove tf vnic checksum off --- kvmagent/kvmagent/plugins/vm_plugin.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/kvmagent/kvmagent/plugins/vm_plugin.py b/kvmagent/kvmagent/plugins/vm_plugin.py index 507be9962..8543a5546 100644 --- a/kvmagent/kvmagent/plugins/vm_plugin.py +++ b/kvmagent/kvmagent/plugins/vm_plugin.py @@ -5332,8 +5332,6 @@ class Vm(object): e(interface, 'driver', None, attrib={'queues': '8'}) elif nic.type == 'TFVNIC': e(interface, 'target', None, attrib={'dev': nic.nicInternalName}) - driver = e(interface, 'driver', None, attrib={'name': 'vhost'}) - e(driver, 'host', None, attrib={'csum': 'off'}) else: e(interface, 'source', None, attrib={'bridge': nic.bridgeName}) e(interface, 'target', None, attrib={'dev': nic.nicInternalName}) -- Gitee