Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible Extensions: discussion-only, do not merge #61

Open
wants to merge 21 commits into
base: master
Choose a base branch
from

Conversation

artpol84
Copy link

@rleon @jgunthorpe I'm still in process of playing with mkt.
Opening this PR to keep track of my modifications so we can discuss them.

Its not intended to go production as is, but highlights the issues, limitations and proposed functionality.

@rleon
Copy link
Collaborator

rleon commented Sep 17, 2020

nested virtualization, very cool

@artpol84
Copy link
Author

artpol84 commented Sep 17, 2020

Yeah
With this I was able to pass through simx device to the L2 OS.
Still need to fix mounts forwarding, doesn’t work now so I can’t load Mellanox module in L2

artpol84 and others added 18 commits November 3, 2020 11:55
Conflicts:
	plugins/do-kvm.py
Conflicts:
	docker/fc31/support-llvm.sh
Particular scenario:
* L1 VM has 4 VFs
* To prepare VF0 for L2 VM
  [root@L1-VM ~]# /plugins/scripts/prepare_vfio.sh
* (for out-of-lab setup) need to set the root password
  to SSH from another terminal
  For that "passwd" tool is included in the container
* Execute the L2 VM from L1:
  [root@L1-VM ~]# python3 /plugins/do-nest-kvm.py
* From another terminal - SSH to the L1 VM:
  [root@Lo-Host ~]# ssh -p 4444 root@localhost
  NOTE: If working in-Lab - can just SSH as regular user: All SSH keys are there
* Test that port forwarding works:
  * L2: [root@helios001 ~]# nc -p 24 -l
  * L1: [root@helios001 ~]# nc localhost 1807
* Run ib_send_lat
  * L1: [root@L2-VM ~]# ib_send_lat -p 24
  * L2: [root@L1-VM ~]# ib_send_lat -p 1807 -d ibp1s0f0v2 localhost
Conflicts:
	docker/fc33/kvm.Dockerfile
* Fix few URLs by replacing git:// with http://
* Add compilers to the main image for debugging
* Copy SimX sources to the main image for gdb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants