Skip to content

Conversation

olethanh
Copy link
Collaborator

@olethanh olethanh commented Apr 8, 2025

Important note: Previously --no-reboot was used so if the BIOS failed to boot the VM because of for example an invalid disk image provided by the user then the QEMU process and the controller would halt. The new behaviour is that the VM will reboot indefinetly. But it should be catched by the wait for init procedure that will test by ping.

This new modification was necessary because the GPU VM need a reboot for their setup. And generaly user would be confused when rebooted VM would not restart.

The --no-reboot flag was kept for ConfidentialVM as confidential VM do not support reboot anyway

Explain what problem this PR is resolving

Related ClickUp, GitHub or Jira tickets : JIRA: ALEPH-472

Self proofreading checklist

  • The new code clear, easy to read and well commented.
  • New code does not duplicate the functions of builtin or popular libraries.
  • An LLM was used to review the new code and look for simplifications.
  • New classes and functions contain docstrings explaining what they provide.
  • All new code is covered by relevant tests.
  • Documentation has been updated regarding these changes.
  • Dependencies update in the project.toml have been mirrored in the Debian package build script packaging/Makefile

JIRA: ALEPH-472

Important note: Previously --no-reboot was used so if the BIOS failed to boot the VM because of for example an invalid disk image provided by the user
then the QEMU process and the controller would halt.
The new behaviour is that the VM will reboot indefinetly. But it should be catched by the wait for init procedure that will test by ping.

This new modification was necessary because the GPU VM need a reboot for their setup.
And generaly user would be confused when rebooted VM would not restart.

The --no-reboot flag was kept for ConfidentialVM as confidential VM do not support reboot anyway
@olethanh olethanh requested a review from nesitor April 8, 2025 10:24
Copy link

codecov bot commented Apr 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 64.54%. Comparing base (ba72293) to head (050f5c7).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #790   +/-   ##
=======================================
  Coverage   64.54%   64.54%           
=======================================
  Files          78       78           
  Lines        7087     7087           
  Branches      597      597           
=======================================
  Hits         4574     4574           
  Misses       2312     2312           
  Partials      201      201           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@nesitor nesitor merged commit e5d6d3b into main Apr 8, 2025
36 of 37 checks passed
@nesitor nesitor deleted the ol-ALEPH-472-allow-reboot branch April 8, 2025 12:01
nesitor pushed a commit that referenced this pull request Apr 8, 2025
JIRA: ALEPH-472

Important note: Previously --no-reboot was used so if the BIOS failed to boot the VM because of for example an invalid disk image provided by the user
then the QEMU process and the controller would halt.
The new behaviour is that the VM will reboot indefinetly. But it should be catched by the wait for init procedure that will test by ping.

This new modification was necessary because the GPU VM need a reboot for their setup.
And generaly user would be confused when rebooted VM would not restart.

The --no-reboot flag was kept for ConfidentialVM as confidential VM do not support reboot anyway
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