Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Enable nested-virtualization #864

Open
muraee opened this issue Aug 14, 2021 · 6 comments
Open

Enable nested-virtualization #864

muraee opened this issue Aug 14, 2021 · 6 comments

Comments

@muraee
Copy link

muraee commented Aug 14, 2021

Is Nested Virtualization supported, where we can start VMs inside ignites' microVMs? If yes how can it be enabled?

@stealthybox
Copy link
Contributor

stealthybox commented Aug 16, 2021

@Mulham-Raee yes, nested KVM does work.
We had a use in Slack talking about this very recently.
https://weave-community.slack.com/archives/CL1A4S5UJ/p1627835730000600

It looks like all that is required is to enable the KVM kernel config options in ignite's kernel build.
See the docs here.

We don't currently publish KVM capable kernels with the project, but it's definitely something anybody can push to a public registry :)

Slack thread:


Talha Zubair Aug 1st at 10:35 AM
Hi does anyone have an ignite compatible kernel with kvm enabled? Im trying to enable nested virtualization inside the ignite vm.

Talha Zubair 15 days ago
Compiled it from source and got it to work

chris 14 days ago
Very cool! I wasn’t sure if
/dev/kvm was made available from firecracker.thanks for confirming

stealthybox 14 days ago
@talha Zubair if you have a guide for this, it would be awesome -- are you doing ignite in ignite or something like katacontainers?

Talha Zubair 14 days ago
Yes chris /dev/kvm is available inside the ignite vm if kvm is enabled in the kernel.
stealthybox sure ill share a guide soon once im done experimenting. I successfully ran a kvm linux machine inside an ignite container.

sudo qemu-system-x86_64 -enable-kvm -hda debian_squeeze_amd64_standard.qcow2 -m 512 -curses

Running lxd however was giving some unrelated errors. Im going to debug those and share the findings. (Probably some kernel config issue)

@muraee
Copy link
Author

muraee commented Aug 16, 2021

@stealthybox thanks for the info. Could you please invite me to the slack community (mulham.raee@gmail.com). the link https://slack.weave.works/ is broken and doesn't allow me to request an invitation.

@stealthybox
Copy link
Contributor

Ah!
does this app get you an invite?
I just got it a few links down on Google:
https://weaveworks.github.io/community-slack/

@muraee
Copy link
Author

muraee commented Aug 17, 2021

Also not working, I get Error! 'error' when I click Join :)

@darkowlzz
Copy link
Contributor

@Mulham-Raee Can you try this https://join.slack.com/t/weave-community/shared_invite/zt-u6mn5bdh-kapvABTU7Lfzw0FZM7WWAA - this invite may be valid for 24 days only.

@muraee
Copy link
Author

muraee commented Aug 17, 2021

Thank you, I managed to get in :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants