Skip to contentSkip to conversation

hvm/x86: vendor specific code can call vendor specific routines directly

PATCH New Jan Beulich 1 participant 1 message Jun 19, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hvm/x86: vendor specific code can call vendor specific routines directly

xen/arch/x86/hvm/svm/svm.c +1 -1
Index: 2007-06-18/xen/arch/x86/hvm/svm/svm.c
===================================================================
@@ -1477,7 +1477,7 @@ static void svm_io_instruction(struct vc
 
     /* Copy current guest state into io instruction state structure. */
     memcpy(regs, guest_cpu_user_regs(), HVM_CONTEXT_STACK_BYTES);
-    hvm_store_cpu_guest_regs(v, regs, NULL);
+    svm_store_cpu_guest_regs(v, regs, NULL);
 
     info.bytes = vmcb->exitinfo1;
 
xen/arch/x86/hvm/vmx/vmx.c +1 -1
Index: 2007-06-18/xen/arch/x86/hvm/vmx/vmx.c
===================================================================
@@ -1837,7 +1837,7 @@ static void vmx_io_instruction(unsigned 
 
     /* Copy current guest state into io instruction state structure. */
     memcpy(regs, guest_cpu_user_regs(), HVM_CONTEXT_STACK_BYTES);
-    hvm_store_cpu_guest_regs(current, regs, NULL);
+    vmx_store_cpu_guest_regs(current, regs, NULL);
 
     HVM_DBG_LOG(DBG_LEVEL_IO, "vm86 %d, eip=%x:%lx, "
                 "exit_qualification = %lx",