aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc
diff options
context:
space:
mode:
authorKeir Fraser <keir@xen.org>2012-05-30 13:25:51 +0100
committerKeir Fraser <keir@xen.org>2012-05-30 13:25:51 +0100
commit54d70ad278e98ada4a25c2171cb8a3a24466777e (patch)
treea0de308f9782e6914cc13d82103c706dffedb60e /tools/libxc
parenta46efde6ff85108f1b43d3b99c1cb1c040300c7f (diff)
downloadxen-54d70ad278e98ada4a25c2171cb8a3a24466777e.tar.gz
xen-54d70ad278e98ada4a25c2171cb8a3a24466777e.tar.bz2
xen-54d70ad278e98ada4a25c2171cb8a3a24466777e.zip
Rename: inslen -> insn_len
Signed-off-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'tools/libxc')
-rw-r--r--tools/libxc/xc_misc.c4
-rw-r--r--tools/libxc/xenctrl.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/libxc/xc_misc.c b/tools/libxc/xc_misc.c
index 405e619d90..812b127ff3 100644
--- a/tools/libxc/xc_misc.c
+++ b/tools/libxc/xc_misc.c
@@ -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 --git a/tools/libxc/xenctrl.h b/tools/libxc/xenctrl.h
index fe1431ac1b..15bf8d28cb 100644
--- a/tools/libxc/xenctrl.h
+++ b/tools/libxc/xenctrl.h
@@ -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);
/*