Skip to content

Storedisk size and ghaf-vms (to list status)#1614

Merged
brianmcgillion merged 3 commits intotiiuae:mainfrom
brianmcgillion:storedisk-size
Dec 4, 2025
Merged

Storedisk size and ghaf-vms (to list status)#1614
brianmcgillion merged 3 commits intotiiuae:mainfrom
brianmcgillion:storedisk-size

Conversation

@brianmcgillion
Copy link
Copy Markdown
Collaborator

Description of Changes

Type of Change

  • New Feature
  • Bug Fix
  • Improvement / Refactor

Related Issues / Tickets

Checklist

  • Clear summary in PR description
  • Detailed and meaningful commit message(s)
  • Commits are logically organized and squashed if appropriate
  • Contribution guidelines followed
  • Ghaf documentation updated with the commit - https://tiiuae.github.io/ghaf/
  • Author has run make-checks and it passes
  • All automatic GitHub Action checks pass - see actions
  • Author has added reviewers and removed PR draft status

Testing Instructions

Applicable Targets

  • Orin AGX aarch64
  • Orin NX aarch64
  • Lenovo X1 x86_64
  • Dell Latitude x86_64
  • System 76 x86_64

Installation Method

  • Requires full re-installation
  • Can be updated with nixos-rebuild ... switch
  • Other:

Test Steps To Verify:

  1. ...

increase the disk image as it is just over the previous limit.

Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR makes several unrelated changes that don't align well with the title "Storedisk size":

  1. Primary change: Increases debug partition disk sizes (image from 60G to 70G, root partition from 40G to 50G)
  2. New tool: Adds a ghaf-vms command-line tool to list MicroVM statuses
  3. Removal: Removes the Losslesscut Video Editor from the business VM

The PR description is incomplete and doesn't explain the rationale for these changes.

Key Changes

  • Increased storage allocations for debug builds to accommodate larger system requirements
  • Added a new debugging tool for viewing MicroVM status with color-coded output
  • Removed video editing capability from the business VM configuration

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
packages/pkgs-by-name/ghaf-vms/package.nix New shell script package for listing MicroVM status with color-coded output (running/stopped/failed)
packages/own-pkgs-overlay.nix Registers the new ghaf-vms package in the overlay
modules/reference/appvms/business.nix Removes Losslesscut video editor application entry
modules/partitioning/disko-debug-partition.nix Increases total image size from 60G to 70G and root partition from 40G to 50G
modules/development/dt-host.nix Adds ghaf-vms tool to host debugging tools for x86_64 systems

Copy link
Copy Markdown
Collaborator

@kajusnau kajusnau left a comment

Choose a reason for hiding this comment

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

Some details so the script matches what is said in the doc 🫡

@kajusnau
Copy link
Copy Markdown
Collaborator

kajusnau commented Dec 4, 2025

Also maybe we could adjust the PR name so both disk changes and ghaf-vms script are mentioned? 🫡

@brianmcgillion brianmcgillion changed the title Storedisk size Storedisk size and ghaf-vms (to list status) Dec 4, 2025
Adds functionality to host to query the status of the vms that are on
the system.

When using the storeOnDisk option, there is no link created to the
current system so the `microvm -l` will not work and just stops. Ensure
that it is possible to see at a glance which vm is actually running/stopped.

Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
@brianmcgillion brianmcgillion merged commit ac9b387 into tiiuae:main Dec 4, 2025
30 checks passed
@brianmcgillion brianmcgillion deleted the storedisk-size branch December 4, 2025 08:44
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.

4 participants