Skip to content

Simply stdout/stderr write logic #1166

@n0toose

Description

@n0toose

Writes can take place both over serial and over hypercalls. We could treat both of these cases as "writing to serial" from the perspective of Uhyve, thus simplify the logic from the perspective of the host (instead of implementing write for this case)? The downside of that would be that we'd be technically "lying" about serial being, well, serial (UhyveSerial).


Given that a write hypercall to fd 1 or 2 can also take place, perhaps we should have write use this logic, otherwise it feels like we are implementing write twice. (?)

Originally posted by @n0toose in #1145 (comment)

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