Skip to content

scripts/firecracker.py doesn't pass input to OSv #1028

@nyh

Description

@nyh

When running OSv under firecracker with scripts/firecracker.py, it seems the user's input isn't passed to OSv. For example,

If I try for example:

$ scripts/build fs=ramfs image=rogue
$ scripts/firecracker.py

The game rogue starts well (and almost instantaneously!), but when I try to move with "l", "h", etc., these characters just get printed on the screen and I don't see any evidence that it is being passed to OSv.

We need the user's input to be passed to OSv. Moreover, the terminal should be set to "raw mode" so that every character typed is passed immediately to OSv. Doesn't the firecracker executable take care of that?

CC @wkozaczuk

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions