Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC] virtio-blk storage via mmio using virtio-drivers (Qemu) #343

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on Oct 1, 2024

  1. ghcb: Use volatile writes for GHCB buffer

    Use volatile access to ensue writes are not elided or reordered
    and data actually reaches the buffer.
    
    Signed-off-by: Oliver Steffen <[email protected]>
    osteffenrh committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    3f9ceb5 View commit details
    Browse the repository at this point in the history
  2. kernel/sev/ghcb: add MMIO read/write functionality

    Add GHCB::mmio_read() and GHCB::mmio_write() to perform MMIO
    accesses via vmgexit.
    
    Signed-off-by: Oliver Steffen <[email protected]>
    osteffenrh committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    4741463 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2024

  1. Add virtio-drivers POC

    Demonstrate the use of the virtio-drivers crate, accessing a
    virtio-blk device via the virtio-mmio transport.
    
    Signed-off-by: Oliver Steffen <[email protected]>
    osteffenrh committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    31e1adc View commit details
    Browse the repository at this point in the history