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

Feat: add initramfs implementation for vmm #34

Merged
merged 12 commits into from
May 1, 2024

Conversation

MurielParaire
Copy link
Contributor

What does this PR do

This PR impelments the initramfs generation

  • 1 fs for each language based on alpine
  • each fs will have the agent on them

This PR doesn't implement the code transmission between the client and the vm. This will happen at a later date

How to test this ?

You need to open 3 command lines simultaneously and launch these three commands:

Api:

cargo run --bin api

Vmm

cargo build
sudo -E capsh --keep=1 --user=$USER --inh=cap_net_admin --addamb=cap_net_admin -- -c  'RUST_BACKTRACE=1 '$CARGO_PATH' run --bin vmm -- grpc'

Client:

cargo run --bin cli run --config-path <path_to_cloudlet>/src/cli/config/config.yaml

You should see a vm booted on the vmm terminal that launches the agent - as of today it will produce an error since the agent needs an argument to work

@MurielParaire MurielParaire marked this pull request as ready for review April 29, 2024 21:42
Copy link
Contributor

@charley04310 charley04310 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 👍

@MurielParaire MurielParaire changed the title Feat/add fs Feat: add initramfs implementation for vmm Apr 30, 2024
@MurielParaire MurielParaire force-pushed the feat/add-fs branch 2 times, most recently from ba0db2d to 5a405bf Compare April 30, 2024 14:03
MurielParaire and others added 10 commits May 1, 2024 16:51
Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
@MurielParaire MurielParaire merged commit e5b085d into virt-do:main May 1, 2024
2 checks passed
@MurielParaire MurielParaire deleted the feat/add-fs branch May 2, 2024 07:09
Hunh0w pushed a commit that referenced this pull request May 2, 2024
* feat(vmm): implemented automatic generation of rootfs with initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat: image generation based off language

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): implemented automatic generation of rootfs with initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): fix logging & language order

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): one image per language

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): implemented initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix: rust export for cargo agent and increase MMIO_GAP_END

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* chore: lint

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* fix: add back tracing

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

---------

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Co-authored-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Hunh0w pushed a commit that referenced this pull request May 2, 2024
* feat(vmm): implemented automatic generation of rootfs with initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat: image generation based off language

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): implemented automatic generation of rootfs with initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): fix logging & language order

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): one image per language

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): implemented initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix: rust export for cargo agent and increase MMIO_GAP_END

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* chore: lint

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* fix: add back tracing

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

---------

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Co-authored-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Signed-off-by: Font Vincent <vincent.font@etu.umontpellier.fr>
Hunh0w pushed a commit that referenced this pull request May 2, 2024
* feat(vmm): implemented automatic generation of rootfs with initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat: image generation based off language

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): implemented automatic generation of rootfs with initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): fix logging & language order

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): one image per language

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): implemented initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix: rust export for cargo agent and increase MMIO_GAP_END

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* chore: lint

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* fix: add back tracing

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

---------

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Co-authored-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Signed-off-by: Font Vincent <vincent.font@etu.umontpellier.fr>
Hunh0w pushed a commit that referenced this pull request May 2, 2024
* feat(vmm): implemented automatic generation of rootfs with initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat: image generation based off language

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): implemented automatic generation of rootfs with initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): fix logging & language order

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): one image per language

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): implemented initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix: rust export for cargo agent and increase MMIO_GAP_END

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* chore: lint

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* fix: add back tracing

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

---------

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Co-authored-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Signed-off-by: Font Vincent <vincent.font@etu.umontpellier.fr>
Hunh0w pushed a commit that referenced this pull request May 2, 2024
* feat(vmm): implemented automatic generation of rootfs with initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat: image generation based off language

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): implemented automatic generation of rootfs with initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): fix logging & language order

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): one image per language

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): implemented initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix: rust export for cargo agent and increase MMIO_GAP_END

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* chore: lint

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* fix: add back tracing

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

---------

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Co-authored-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Signed-off-by: Font Vincent <vincent.font@etu.umontpellier.fr>
Hunh0w pushed a commit that referenced this pull request May 2, 2024
* feat(vmm): implemented automatic generation of rootfs with initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat: image generation based off language

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): implemented automatic generation of rootfs with initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): fix logging & language order

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): one image per language

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): implemented initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix: rust export for cargo agent and increase MMIO_GAP_END

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* chore: lint

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* fix: add back tracing

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

---------

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Co-authored-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Signed-off-by: Font Vincent <vincent.font@etu.umontpellier.fr>
sylvain-pierrot pushed a commit to sylvain-pierrot/cloudlet that referenced this pull request May 2, 2024
* feat(vmm): implemented automatic generation of rootfs with initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat: image generation based off language

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): implemented automatic generation of rootfs with initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): fix logging & language order

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): one image per language

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): implemented initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix: rust export for cargo agent and increase MMIO_GAP_END

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* chore: lint

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* fix: add back tracing

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

---------

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Co-authored-by: Mauran <thomas.mauran@etu.umontpellier.fr>
sylvain-pierrot added a commit that referenced this pull request May 2, 2024
* feat: create bridge interface

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

* feat: create bridge only if not exist

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

* fix: cargo clippy

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

* feat: send code though gRPC to the agent (#37)

* feat(agent/proto): add agent configuration in execute request

Signed-off-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>

* feat: send code through cli and api to vm

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

---------

Signed-off-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Co-authored-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>

* Feat: add initramfs implementation for vmm (#34)

* feat(vmm): implemented automatic generation of rootfs with initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat: image generation based off language

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): implemented automatic generation of rootfs with initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): fix logging & language order

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): one image per language

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): implemented initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix: rust export for cargo agent and increase MMIO_GAP_END

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* chore: lint

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* fix: add back tracing

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

---------

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Co-authored-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* feat: internet works

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

* fix: cargo clippy

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

---------

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>
Signed-off-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Co-authored-by: Thomas Mauran <78204354+thomas-mauran@users.noreply.github.com>
Co-authored-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>
Co-authored-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Co-authored-by: Mauran <thomas.mauran@etu.umontpellier.fr>
remi-espie pushed a commit to remi-espie/cloudlet that referenced this pull request May 3, 2024
* feat: create bridge interface

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

* feat: create bridge only if not exist

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

* fix: cargo clippy

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

* feat: send code though gRPC to the agent (virt-do#37)

* feat(agent/proto): add agent configuration in execute request

Signed-off-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>

* feat: send code through cli and api to vm

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

---------

Signed-off-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Co-authored-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>

* Feat: add initramfs implementation for vmm (virt-do#34)

* feat(vmm): implemented automatic generation of rootfs with initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat: image generation based off language

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): implemented automatic generation of rootfs with initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): fix logging & language order

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): one image per language

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): implemented initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix: rust export for cargo agent and increase MMIO_GAP_END

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* chore: lint

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* fix: add back tracing

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

---------

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Co-authored-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* feat: internet works

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

* fix: cargo clippy

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

---------

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>
Signed-off-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Co-authored-by: Thomas Mauran <78204354+thomas-mauran@users.noreply.github.com>
Co-authored-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>
Co-authored-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Co-authored-by: Mauran <thomas.mauran@etu.umontpellier.fr>
MurielParaire added a commit to MurielParaire/cloudlet that referenced this pull request May 3, 2024
* feat: create bridge interface

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

* feat: create bridge only if not exist

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

* fix: cargo clippy

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

* feat: send code though gRPC to the agent (virt-do#37)

* feat(agent/proto): add agent configuration in execute request

Signed-off-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>

* feat: send code through cli and api to vm

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

---------

Signed-off-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Co-authored-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>

* Feat: add initramfs implementation for vmm (virt-do#34)

* feat(vmm): implemented automatic generation of rootfs with initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat: image generation based off language

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): implemented automatic generation of rootfs with initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): fix logging & language order

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): one image per language

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): implemented initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix: rust export for cargo agent and increase MMIO_GAP_END

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* chore: lint

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* fix: add back tracing

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

---------

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Co-authored-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* feat: internet works

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

* fix: cargo clippy

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

---------

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>
Signed-off-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Co-authored-by: Thomas Mauran <78204354+thomas-mauran@users.noreply.github.com>
Co-authored-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>
Co-authored-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Co-authored-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
MurielParaire added a commit to MurielParaire/cloudlet that referenced this pull request May 3, 2024
* feat: create bridge interface

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

* feat: create bridge only if not exist

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

* fix: cargo clippy

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

* feat: send code though gRPC to the agent (virt-do#37)

* feat(agent/proto): add agent configuration in execute request

Signed-off-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>

* feat: send code through cli and api to vm

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

---------

Signed-off-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Co-authored-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>

* Feat: add initramfs implementation for vmm (virt-do#34)

* feat(vmm): implemented automatic generation of rootfs with initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat: image generation based off language

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): implemented automatic generation of rootfs with initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): fix logging & language order

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): one image per language

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): implemented initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix: rust export for cargo agent and increase MMIO_GAP_END

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* chore: lint

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* fix: add back tracing

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

---------

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Co-authored-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* feat: internet works

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

* fix: cargo clippy

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

---------

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>
Signed-off-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Co-authored-by: Thomas Mauran <78204354+thomas-mauran@users.noreply.github.com>
Co-authored-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>
Co-authored-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Co-authored-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
MurielParaire added a commit that referenced this pull request May 3, 2024
* Feat: add initramfs implementation for vmm (#34)

* feat(vmm): implemented automatic generation of rootfs with initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat: image generation based off language

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): implemented automatic generation of rootfs with initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): fix logging & language order

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): one image per language

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): implemented initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix: rust export for cargo agent and increase MMIO_GAP_END

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* chore: lint

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* fix: add back tracing

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

---------

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Co-authored-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Signed-off-by: Font Vincent <vincent.font@etu.umontpellier.fr>

* feat: shutdown vm

Signed-off-by: Font Vincent <vincent.font@etu.umontpellier.fr>

* docs: add readme (#38)

* docs: add readme

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

---------

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Signed-off-by: Matéo Fernandez <mateo.fernandez@etu.umontpellier.fr>
Co-authored-by: Matéo Fernandez <mateo.fernandez@etu.umontpellier.fr>
Co-authored-by: Alexandre Sollier <github@kuruyia.net>
Signed-off-by: Font Vincent <vincent.font@etu.umontpellier.fr>

* remove(vmm): useless crate

Signed-off-by: Font Vincent <vincent.font@etu.umontpellier.fr>

* fix: lint

Signed-off-by: Font Vincent <vincent.font@etu.umontpellier.fr>

* fix: fmt

Signed-off-by: Font Vincent <vincent.font@etu.umontpellier.fr>

* fix: lint

Signed-off-by: Font Vincent <vincent.font@etu.umontpellier.fr>

---------

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Signed-off-by: Font Vincent <vincent.font@etu.umontpellier.fr>
Signed-off-by: Matéo Fernandez <mateo.fernandez@etu.umontpellier.fr>
Co-authored-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Co-authored-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Co-authored-by: Thomas Mauran <78204354+thomas-mauran@users.noreply.github.com>
Co-authored-by: Matéo Fernandez <mateo.fernandez@etu.umontpellier.fr>
Co-authored-by: Alexandre Sollier <github@kuruyia.net>
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.

3 participants