Open chrispsommers opened 3 years ago
@chrispsommers can you please try on a host directly?
can you create any vm inside this 16.04 vm to see if it is supported or not? this seems not related to sonic.
@zhangyanzhao It's not immediately convenient to do this but I'll try at some point, thanks. @lguohan Good suggestion, I'll try when I get a chance
Description
Attempting to create a VM using
virsh
per https://github.com/Azure/sonic-buildimage/blob/master/platform/vs/README.vsvm.md fails. I am using an Ubuntu 16.04 VM inside VirtualBox to build and run.Steps to reproduce the issue:
make configure PLATFORM=vs
make all
gunzip
ed/target/sonic-vs.img.gz
and copied to/data/sonic/sonic-buildimage/target/sonic-vs.img
platform/vs
sudo virsh
virsh # create sonic.xml
Describe the results you received:
Describe the results you expected:
Successfully spawn VM.
Output of
show version
:n/a
Output of
show techsupport
:n/a
Additional information you deem important (e.g. issue happens only occasionally):
Using an Ubuntu 16.04 VM running inside VirtualBox on an Ubuntu 20.04 host. I have enabled nested virtualization. In addition I've disabled
apparmor
in the attempt to relax security settings.Is it a supported use-case to build and run sonic-vs inside a VM?