-
Notifications
You must be signed in to change notification settings - Fork 134
CVM: refactor ohcl/ovmm emulator for flexible register retrieval and update #482
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
Merged
Merged
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
01b9953
emulator changes, rebased on emulator cache commit
babayet2 3bc2119
remove register wrappers
babayet2 6c768af
emulator changes, rebased on emulator cache commit
babayet2 2f7168c
use state object for all backends
babayet2 b2151be
update names for clarity, fix compiler warnings
babayet2 c119eb8
fmt fix
babayet2 d6fdf00
comments
babayet2 2e81bc2
compiling again after arm rebase
babayet2 9027697
remove unnecessary iced_x86 imports
babayet2 ad18d18
restrict bitness functions to x86emu crate
babayet2 2a8bb18
fmt fix
babayet2 d919a11
seperate out imports
babayet2 7950fe2
remove emulation cache for snp
babayet2 24baa6b
kill load_registers for tdx/snp
babayet2 8142323
remove gp_sign_extend from EmulatorSupport trait
babayet2 44d5d19
pass cache from backing into emulate call
babayet2 7fc70bd
use cache for mshv
babayet2 7762a17
remove generic "emulate fast path", fmt fix
babayet2 bb8e62b
move register flushes back to original locations
babayet2 a473d32
temporarily stub out mshv impl for non cvm impls
babayet2 7a51736
replace segment/gp usize indexes with enums
babayet2 f7757b3
only cache expensive get/set in mshv emu
babayet2 f923911
misc feedback from Steven
babayet2 adb44d8
fmt fix
babayet2 904e915
non-cvm emulator sup impls compiling
babayet2 39dbfd8
mshv compiler errors, and flush rsp to cpu_context
babayet2 cbcdd87
begin refactor of unit tests
babayet2 ac3c524
restore functionality to common x86emu test code
babayet2 905568f
all unit tests compiling, some failing
babayet2 cd1811b
bring back original cpu state for seg tests
babayet2 8114133
fix incorrect mask for 8-bit registers
babayet2 7984508
fmt fix
babayet2 3edff24
flush in emulator fast path
babayet2 3c7c986
remove double flush
babayet2 8f5ef72
fix fuzzer
babayet2 a917a40
missing 'let'
babayet2 130b781
tdx emulator should only support vtl0
babayet2 b5716e8
feedback on tests
babayet2 6433836
don't drop errors
babayet2 a93d107
virt_support_x86emu tests and error handling
babayet2 48435b7
tdx: vtl specific efer/cr0, fmt fix
babayet2 354b02e
building on arm
babayet2 7da9e79
clippy, clean error handling, doc comments
babayet2 c44d238
restore mutability comments for snp
babayet2 198cebe
Fix last few clippy lints
smalis-msft 0db1832
Cleanups
smalis-msft File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.