hyperlight-dev / hyperlight-dev/hyperlight

max_guest_log_level is not plumbed through snapshot load

Offen
#1,698 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
lifecycle/confirmed
Vorherrschende Sprache
Rust
Sterne
4.7k
Forks
208
Ø Merge
1 T. 7 Std.
Gemergte PRs (30 T.)
47

Beschreibung

### What happened?

After https://github.com/hyperlight-dev/hyperlight/pull/1465 is merged,

max_guest_log_level is not plumbed through snapshot load.

### Steps to Reproduce

1. Run '...'
2. And then do '...'
3. Check logs for '...'

### Expected Results

log level to be set when working with snapshot loads.

### Actual Results

TODO: What actually happened?

### Versions and Environment

Hyperlight version or commit: TODO

#### OS Version

Run the following to find your OS version:

Linux:
```console
cat /etc/os-release && uname -a
```

Windows (PowerShell):
```powershell
cmd /c ver
```

#### Hypervisor

Run the following to check hypervisor access:

Linux:
```console
ls -la /dev/kvm /dev/mshv 2>&1; getfacl /dev/kvm /dev/mshv 2>&1; id
[ -r /dev/kvm ] && [ -w /dev/kvm ] && echo "KVM: OK" || echo "KVM: FAIL"
[ -r /dev/mshv ] && [ -w /dev/mshv ] && echo "MSHV: OK" || echo "MSHV: FAIL"
```

Windows (Admin PowerShell):
```powershell
Get-WindowsOptionalFeature -Online | Where-Object {$_.FeatureName -match 'Hyper-V|HypervisorPlatform|VirtualMachinePlatform'} | Format-Table
```

### Extra Info

Anything else you'd like to add?

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start by tracing the snapshot load path and the handling of max_guest_log_level, using the linked pull request for context. Reproduce the snapshot-loading case described in the issue, then verify that the guest log level is set during snapshot loads and add or update coverage if the relevant test location is found.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
rust
Bereich
operating-systems
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Ruhig
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
38/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.