From 19b0ea842b129de7f00eb31d358e44f94a58dbb7 Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Thu, 27 Jun 2024 22:05:30 +0000 Subject: [PATCH] hypervisor: x86: emulator: add the second instruction to test comment Signed-off-by: Wei Liu --- hypervisor/src/arch/x86/emulator/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/hypervisor/src/arch/x86/emulator/mod.rs b/hypervisor/src/arch/x86/emulator/mod.rs index 2c41b6cd7..cd37f9d5a 100644 --- a/hypervisor/src/arch/x86/emulator/mod.rs +++ b/hypervisor/src/arch/x86/emulator/mod.rs @@ -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;