I was trying to create snap in LXD. I installed
snapcraft and also check that my machine is support virtualization and it is enabled.
But after running command,
sudo snapcraft , i am getting following error,
root@station1:~/test-snap# sudo snapcraft Running with 'sudo' may cause permission errors and is discouraged. Use 'sudo' when cleaning. Launching a VM. Build environment is in unknown state, cleaning first. info failed: The following errors occurred: instance "snapcraft-my-snap-name" does not exist launch failed: Cannot check BIOS for determining KVM extensions support. Unable to load KVM support. Please ensure KVM is installed on your machine. An error occurred with the instance when trying to launch with 'multipass': returned exit code 2. Ensure that 'multipass' is setup correctly and try again.
Here, output of
kvm-ok command in LXD bash,
root@station1:~/test-snap# kvm-ok INFO: /dev/kvm does not exist HINT: sudo modprobe kvm_intel modprobe: FATAL: Module msr not found in directory /lib/modules/5.8.0-59-generic
And output of
kvm-ok command in Host system,
➜ kvm-ok INFO: /dev/kvm exists KVM acceleration can be use
I do not know what is the issue here. can anyone help me?