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

Passthrough virtio blk device #8

Closed
KuangjuX opened this issue Feb 11, 2023 · 4 comments
Closed

Passthrough virtio blk device #8

KuangjuX opened this issue Feb 11, 2023 · 4 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@KuangjuX
Copy link
Owner

Passthrough virtio blk device and make hypocaust to support guest os file system.

@KuangjuX KuangjuX added enhancement New feature or request help wanted Extra attention is needed labels Feb 11, 2023
@KuangjuX
Copy link
Owner Author

The Hal trait in virtio_drivers provides the function of DMA to directly access the memory, thus bypassing the MMU to directly access the memory, which makes the shadow page table of the VMM useless, so the DMA can only be performed in the guest os to guest va to address translation for host pa.

Although the current VMM can run a guest operating system with a file system, it is still not a correct implementation because it modifies the test kernel, which shows that the VMM is not transparent to the guest operating system.

@KuangjuX
Copy link
Owner Author

PR #10 success to run guest os with file system

@KuangjuX
Copy link
Owner Author

Add IOMMU seems to fix #8 (comment)

@KuangjuX
Copy link
Owner Author

See PR #13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant