hypervisor: x86: emulator: add the second instruction to test comment

Signed-off-by: Wei Liu <liuwe@microsoft.com>
This commit is contained in:
Wei Liu 2024-06-27 22:05:30 +00:00 committed by Bo Chen
parent 16bd88b4b5
commit 19b0ea842b

View File

@ -775,6 +775,7 @@ mod tests {
// Emulate truncated instruction stream, which should cause a fetch.
//
// mov rax, 0x1000
// mov rbx, qword ptr [rax+10h]
// Test with a first instruction truncated.
fn test_fetch_first_instruction() {
let ip: u64 = 0x1000;