Support Asterinas as an x86 hvisor guest#355
Open
dsadsasdaddas wants to merge 1 commit into
Open
Conversation
Signed-off-by: dsadsasdaddas <wangyue20060908@gmail.com> (cherry picked from commit 7cf1c73)
7cf1c73 to
c580771
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add the x86 hvisor side needed to boot Asterinas as a non-root zone guest on QEMU:
Validation
cargo fmt --checkmake ARCH=x86_64 BOARD=qemu MODE=releasewith/home/wzu/.local/binremoved fromPATHso Rust uses/usr/bin/ccinstead of the localcctmux wrapper/home/wzu/Desktop/wangyue/logs/hvisor-asterinas-autostart.logand includes:Entering the Asterinas: 1OSTD initialized: 1Found MMIO device: 3spawn the virtio-block thread: 1Handle Request: 37block device handle IRQ: 37All components initialization in Process stage completed: 1SYS_MOUNT: 6panic: 0ERROR: 0Signed-off-by: dsadsasdaddas wangyue20060908@gmail.com