Skip to content

examples/SMP: Linux hangs if vCPUs' priority < VMM #374

Description

@dreamliner787-9

Something I've noticed when closing #233.

Related: #115

For some reasons, if the VMM is at a higher priority than the VCPUs,
the VCPUs will never make meaningful progress when Linux tries to bring
up secondary CPUs. Causing the guest to hang.

My theory is that our hacky WFI implementation is causing problem, i.e.
the VMM is starving the VCPUs of execution time somehow. Because a WFI
fault will result in an immediate resumption.

This needs to be fixed properly.

Revert be86159 when closing.

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