oxidecomputer / oxidecomputer/propolis

propolis-standalone crashes on rep ins

Open
#1,168 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
270
Forks
42
Avg merge
4d 5h
Merged PRs (30d)
6

Description

Hi!

I tried to boot OVMF with propolis-standalone,
and got this:

ERRO Unhandled exit @rip:00859f60 InstEmul(InstEmul { inst_data: [243, 108, 235, 10, 227, 8, 236, 136, 7, 72, 255, 199, 226, 248, 76], len: 15 })

thread 'vcpu-0' panicked at bin/propolis-standalone/src/main.rs:729:25:
not yet implemented

After a LOT of debugging, I've traced
the problem to this code:
https://github.com/tianocore/edk2/blob/master/MdePkg/Library/BaseIoLibIntrinsic/X64/IoFifoSev.nasm#L87

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read bin/propolis-standalone/src/main.rs around line 729 and trace the InstEmul path for the REP INS sequence reported in the issue. Use the linked EDK2 IoFifoSev.nasm code as the behavior reference. Done means propolis-standalone boots OVMF without the vCPU panic for this instruction.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.