FIX: VM startup after socket move 12/21312/2
authorPeter Mikus <pmikus@cisco.com>
Wed, 14 Aug 2019 14:49:54 +0000 (14:49 +0000)
committerPeter Mikus <pmikus@cisco.com>
Thu, 15 Aug 2019 06:00:27 +0000 (06:00 +0000)
+ Still workaround for VPP bug not creating dir at startup

Signed-off-by: Peter Mikus <pmikus@cisco.com>
Change-Id: I8b87ac70e5f85d538a25058dcb5453f89e21498f

resources/libraries/python/QemuUtils.py
resources/templates/vm/init.sh

index 41b5f54..a4d8533 100644 (file)
@@ -235,7 +235,6 @@ class QemuUtils(object):
             vpp_config.add_dpdk_no_tx_checksum_offload()
         vpp_config.add_plugin('disable', 'default')
         vpp_config.add_plugin('enable', 'dpdk_plugin.so')
-        vpp_config.add_plugin('enable', 'memif_plugin.so')
         vpp_config.write_config(startup)
 
         # Create VPP running configuration.
index 446b499..0600693 100644 (file)
@@ -9,5 +9,6 @@ echo 0000:00:06.0 > /sys/bus/pci/devices/0000:00:06.0/driver/unbind
 echo 0000:00:07.0 > /sys/bus/pci/devices/0000:00:07.0/driver/unbind
 echo vfio-pci > /sys/bus/pci/devices/0000:00:06.0/driver_override
 echo vfio-pci > /sys/bus/pci/devices/0000:00:07.0/driver_override
+mkdir -p /var/run/vpp
 $vnf_bin
 poweroff -f

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.