Skip to content

Commit 2d7b060

Browse files
author
ddk
committedNov 18, 2009
KVM testing guest was fixed
1 parent 74c57c1 commit 2d7b060

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
 

‎kvm/kernel/kvm_main.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1204,7 +1204,7 @@ static void report_emulation_failure(struct x86_emulate_ctxt *ctxt)
12041204
emulator_read_std(rip_linear, (void *)opcodes, 4, ctxt);
12051205

12061206
printk(KERN_ERR "emulation failed but !mmio_needed?"
1207-
" rip %lx %02x %02x %02x %02x\n",
1207+
" rip %lx %02x %02x %02x %02x\n",
12081208
rip, opcodes[0], opcodes[1], opcodes[2], opcodes[3]);
12091209
reported = 1;
12101210
}
@@ -1275,7 +1275,7 @@ int emulate_instruction(struct kvm_vcpu *vcpu,
12751275
return EMULATE_DONE;
12761276
}
12771277
if (!vcpu->mmio_needed) { /* ground zero */
1278-
report_emulation_failure(&emulate_ctxt);
1278+
report_emulation_failure(&emulate_ctxt);
12791279
FUNCTION_EXIT();
12801280
return EMULATE_FAIL;
12811281
}

‎kvm/user/test/bootstrap.S

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pmode:
2222
mov %ax, %gs
2323
mov %ax, %ss
2424
mov $0xa0000, %esp
25-
## ljmp $8, $0x100000
25+
ljmp $8, $0x100000
2626
jmp main_loop
2727

2828
main_loop:

‎vcproj/kernel/winkvm.suo

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)
Please sign in to comment.