Skip to content

virtio-console code marked as Safe + Sync but code is not thread-safe #3531

@andrisaar

Description

@andrisaar

MmioConsoleChannel implements unsafe traits Send and Sync directly. For now, this is safe as we don't have threads in the kernel, but in the future that may not be the case.

This bug is to remind us of the potential foot-gun lurking in the code and breadcrumbs to fix it when we need it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions