Skip to content

cotyq/uml-rtuntap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UML Remote ethernet driver

User Mode Linux remote ethernet driver

Content

  • um folder: correspond to /usr/src/linux/arch/um

  • uml_switch folder: correspond to /usr/src/dvs/dvs-apps/uml_switch

  • dvs_uml_switch folder: correspond to /usr/src/dvs/dvs-apps/dvs_uml_switch

Virtual Machine configuration

Start working with this code

Clone this code:

git clone https://github.com/cotyq/uml-rtuntap.git
cd uml-rtuntap

Comparing VM and repo code.

Create a new branch in uml-rtuntap:

git switch -c update-vm

Mount the VM code in um and uml_switch folders:

sshfs -o nonempty root@192.168.1.2:/usr/src/linux/arch/um um
sshfs -o nonempty root@192.168.1.2:/usr/src/dvs/dvs-apps/uml_switch uml_switch
sshfs -o nonempty root@192.168.1.2:/usr/src/dvs/dvs-apps/dvs_uml_switch dvs_uml_switch

update-vm branch will contain the VM code and master will contain the git repository code.

To see the difference between VM and repo:

git diff --name-status master

Updating VM code.

Following with the previos section instructions.

In case the VM code is out-of-date:

  1. Commit your changes to update-vm branch.
git status
git add ...
git commit
  1. Checkout to master branch. Due to um and uml_switch were mounted from VM, checkout changes will be automatically applied in the VM.
git checkout master

About

Remote ethernet driver for User Mode Linux

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published