[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Rename: inslen -> insn_len


  • To: xen-changelog@xxxxxxxxxxxxxxxxxxx
  • From: Xen patchbot-unstable <patchbot@xxxxxxx>
  • Date: Wed, 30 May 2012 19:33:09 +0000
  • Delivery-date: Wed, 30 May 2012 19:33:20 +0000
  • List-id: "Change log for Mercurial \(receive only\)" <xen-changelog.lists.xen.org>

# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1338380751 -3600
# Node ID a120d24f90fb5e94244331e530aacf5b0ea86f25
# Parent  dad389d0fe69231ec91f5adb59cb5724505800f5
Rename: inslen -> insn_len

Signed-off-by: Keir Fraser <keir@xxxxxxx>
---


diff -r dad389d0fe69 -r a120d24f90fb tools/libxc/xc_misc.c
--- a/tools/libxc/xc_misc.c     Wed May 30 13:23:31 2012 +0100
+++ b/tools/libxc/xc_misc.c     Wed May 30 13:25:51 2012 +0100
@@ -603,7 +603,7 @@ int xc_hvm_get_mem_access(
 
 int xc_hvm_inject_trap(
     xc_interface *xch, domid_t dom, int vcpu, uint32_t vector,
-    uint32_t type, uint32_t error_code, uint32_t inslen,
+    uint32_t type, uint32_t error_code, uint32_t insn_len,
     uint64_t cr2)
 {
     DECLARE_HYPERCALL;
@@ -622,7 +622,7 @@ int xc_hvm_inject_trap(
     arg->vector      = vector;
     arg->type        = type;
     arg->error_code  = error_code;
-    arg->inslen      = inslen;
+    arg->insn_len    = insn_len;
     arg->cr2         = cr2;
 
     hypercall.op     = __HYPERVISOR_hvm_op;
diff -r dad389d0fe69 -r a120d24f90fb tools/libxc/xenctrl.h
--- a/tools/libxc/xenctrl.h     Wed May 30 13:23:31 2012 +0100
+++ b/tools/libxc/xenctrl.h     Wed May 30 13:25:51 2012 +0100
@@ -1579,7 +1579,7 @@ int xc_hvm_get_mem_access(
  */
 int xc_hvm_inject_trap(
     xc_interface *xch, domid_t dom, int vcpu, uint32_t vector,
-    uint32_t type, uint32_t error_code, uint32_t inslen,
+    uint32_t type, uint32_t error_code, uint32_t insn_len,
     uint64_t cr2);
 
 /*
diff -r dad389d0fe69 -r a120d24f90fb xen/arch/x86/hvm/hvm.c
--- a/xen/arch/x86/hvm/hvm.c    Wed May 30 13:23:31 2012 +0100
+++ b/xen/arch/x86/hvm/hvm.c    Wed May 30 13:25:51 2012 +0100
@@ -4292,7 +4292,7 @@ long do_hvm_op(unsigned long op, XEN_GUE
             v->arch.hvm_vcpu.inject_trap.vector = tr.vector;
             v->arch.hvm_vcpu.inject_trap.type = tr.type;
             v->arch.hvm_vcpu.inject_trap.error_code = tr.error_code;
-            v->arch.hvm_vcpu.inject_trap.inslen = tr.inslen;
+            v->arch.hvm_vcpu.inject_trap.insn_len = tr.insn_len;
             v->arch.hvm_vcpu.inject_trap.cr2 = tr.cr2;
         }
 
diff -r dad389d0fe69 -r a120d24f90fb xen/arch/x86/hvm/vmx/vmx.c
--- a/xen/arch/x86/hvm/vmx/vmx.c        Wed May 30 13:23:31 2012 +0100
+++ b/xen/arch/x86/hvm/vmx/vmx.c        Wed May 30 13:25:51 2012 +0100
@@ -1434,7 +1434,7 @@ static void vmx_inject_trap(struct hvm_t
     }
 
     if ( _trap.type >= X86_EVENTTYPE_SW_INTERRUPT )
-        __vmwrite(VM_ENTRY_INSTRUCTION_LEN, _trap.inslen);
+        __vmwrite(VM_ENTRY_INSTRUCTION_LEN, _trap.insn_len);
 
     if ( nestedhvm_vcpu_in_guestmode(curr) &&
          nvmx_intercepts_exception(curr, _trap.vector, _trap.error_code) )
@@ -2436,7 +2436,7 @@ void vmx_vmexit_handler(struct cpu_user_
                         .vector = TRAP_int3,
                         .type = X86_EVENTTYPE_SW_EXCEPTION,
                         .error_code = HVM_DELIVER_NO_ERROR_CODE,
-                        .inslen = __vmread(VM_EXIT_INSTRUCTION_LEN)
+                        .insn_len = __vmread(VM_EXIT_INSTRUCTION_LEN)
                     };
                     hvm_inject_trap(&trap);
                     break;
diff -r dad389d0fe69 -r a120d24f90fb xen/include/asm-x86/hvm/hvm.h
--- a/xen/include/asm-x86/hvm/hvm.h     Wed May 30 13:23:31 2012 +0100
+++ b/xen/include/asm-x86/hvm/hvm.h     Wed May 30 13:25:51 2012 +0100
@@ -75,7 +75,7 @@ struct hvm_trap {
     int           vector;
     unsigned int  type;         /* X86_EVENTTYPE_* */
     int           error_code;   /* HVM_DELIVER_NO_ERROR_CODE if n/a */
-    int           inslen;       /* Instruction length */ 
+    int           insn_len;     /* Instruction length */ 
     unsigned long cr2;          /* Only for TRAP_page_fault h/w exception */
 };
 
diff -r dad389d0fe69 -r a120d24f90fb xen/include/public/hvm/hvm_op.h
--- a/xen/include/public/hvm/hvm_op.h   Wed May 30 13:23:31 2012 +0100
+++ b/xen/include/public/hvm/hvm_op.h   Wed May 30 13:25:51 2012 +0100
@@ -231,7 +231,7 @@ struct xen_hvm_inject_trap {
     /* Error code, or ~0u to skip */
     uint32_t error_code;
     /* Intruction length */
-    uint32_t inslen;
+    uint32_t insn_len;
     /* CR2 for page faults */
     uint64_aligned_t cr2;
 };

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.