X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fbash%2Ffunction%2Fdevice.sh;h=7363dc0df6b385fd9b88641a297ade287e267ab5;hp=e4ed319c7f30feeb0ea126bd091b95de3fe8f3b6;hb=5f809dd2414d50fd6f229fc2ba2ff42d66df5dde;hpb=852b10b6724f0ae221e45f1ccb3f8020077b1f33 diff --git a/resources/libraries/bash/function/device.sh b/resources/libraries/bash/function/device.sh index e4ed319c7f..7363dc0df6 100644 --- a/resources/libraries/bash/function/device.sh +++ b/resources/libraries/bash/function/device.sh @@ -1,4 +1,4 @@ -# Copyright (c) 2018 Cisco and/or its affiliates. +# Copyright (c) 2019 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -517,6 +517,8 @@ function start_topology_containers () { # Mount vfio to be able to bind to see binded interfaces. We cannot use # --device=/dev/vfio as this does not see newly binded interfaces. dcr_stc_params+="--volume /dev/vfio:/dev/vfio " + # Mount nested_vm image to be able to run VM tests. + dcr_stc_params+="--volume /var/lib/vm/vhost-nested.img:/var/lib/vm/vhost-nested.img " # Docker Container UUIDs. declare -gA DCR_UUIDS