# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID 01734f40860f247214c19882f6976ffaf8297cf0
# Parent 7e7552112954b3eac14b807ad9b7bc3b79917d2f
[HVM][SVM] Fix PIO breakage (fixed for VMX in previous changeset).
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
xen/arch/x86/hvm/svm/svm.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -r 7e7552112954 -r 01734f40860f xen/arch/x86/hvm/svm/svm.c
--- a/xen/arch/x86/hvm/svm/svm.c Wed Aug 02 15:42:44 2006 +0100
+++ b/xen/arch/x86/hvm/svm/svm.c Wed Aug 02 15:47:04 2006 +0100
@@ -1484,7 +1484,7 @@ static void svm_io_instruction(struct vc
count = (addr & ~PAGE_MASK) / size;
}
else
- vmcb->rip = vmcb->exitinfo2;
+ regs->eip = vmcb->exitinfo2;
send_pio_req(regs, port, count, size, addr, dir, 1);
}
@@ -1495,7 +1495,7 @@ static void svm_io_instruction(struct vc
* On SVM, the RIP of the intruction following the IN/OUT is saved in
* ExitInfo2
*/
- vmcb->rip = vmcb->exitinfo2;
+ regs->eip = vmcb->exitinfo2;
if (port == 0xe9 && dir == IOREQ_WRITE && size == 1)
hvm_print_line(v, regs->eax); /* guest debug output */
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|