Skip to content

Check nested virtualization support before run and create - #2542

Open
SVilgelm wants to merge 1 commit into
apple:mainfrom
SVilgelm:fix-2532-virtualization-check
Open

SVilgelm wants to merge 1 commit into
apple:mainfrom
SVilgelm:fix-2532-virtualization-check

Conversation

@SVilgelm

Copy link
Copy Markdown

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Motivation and Context

On hosts without nested virtualization, container run --virtualization fetched the image and booted the VM before failing with an internalError, while machine create --virtualization fails up front. run and create now use the same host check before doing any work.

Refs #2532

Testing

  • Tested locally
  • Added/updated tests
  • Added/updated docs

`run --virtualization` and `create --virtualization` now fail up front on
hosts without nested virtualization, as `machine create` does.

Refs apple#2532

Assisted-by: Claude Code <noreply@anthropic.com>
Signed-off-by: Sergey Vilgelm <sergey@union.ai>

This branch has not been deployed

No deployments
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.

1 participant