Skip to content

Unexpected VM Exit #418

@Magicloud

Description

@Magicloud

What happened?

Following README, built on Linux, and cargo run --example hello-world. I got Error: Error("Unexpected VM Exit \"Unexpected KVM Exit Shutdown\""). kvmexit showed that:

PID      TID      KVM_EXIT_REASON                     COUNT
1687589  1688748  TRIPLE_FAULT                        1
1687589  1688748  EPT_VIOLATION                       6

What did you expect to happen?

Example running with some output.

Steps to reproduce the behavior

  1. Clone this repo
  2. vim Justfile to comment all lines contains "msvc".
  3. just build
  4. just rg
  5. cargo run --example hello-world

Hyperlight Version

Git commit: c89f72d

OS version

On Linux:
$ cat /etc/os-release
ANSI_COLOR="0;38;2;126;186;228"
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
BUILD_ID="25.05pre782401.2631b0b7abce"
CPE_NAME="cpe:/o:nixos:nixos:25.05"
DEFAULT_HOSTNAME=nixos
DOCUMENTATION_URL="https://nixos.org/learn.html"
HOME_URL="https://nixos.org/"
ID=nixos
ID_LIKE=""
IMAGE_ID=""
IMAGE_VERSION=""
LOGO="nix-snowflake"
NAME=NixOS
PRETTY_NAME="NixOS 25.05 (Warbler)"
SUPPORT_URL="https://nixos.org/community.html"
VARIANT=""
VARIANT_ID=""
VENDOR_NAME=NixOS
VENDOR_URL="https://nixos.org/"
VERSION="25.05 (Warbler)"
VERSION_CODENAME=warbler
VERSION_ID="25.05"


$ uname -a
Linux nixos 6.12.20 #1-NixOS SMP PREEMPT_DYNAMIC Sat Mar 22 19:54:28 UTC 2025 x86_64 GNU/Linux

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions