aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/bhyvectl
diff options
context:
space:
mode:
authorNeel Natu <neel@FreeBSD.org>2014-01-11 17:37:53 +0000
committerNeel Natu <neel@FreeBSD.org>2014-01-11 17:37:53 +0000
commit27ff748ea154f11c44dea84d6911679d96e68801 (patch)
treeb63c402ced2517c062164fd4923c81c70ab040ca /usr.sbin/bhyvectl
parentd718926b6d61e60690ca681b443d792b5c61ec47 (diff)
Notes
Diffstat (limited to 'usr.sbin/bhyvectl')
-rw-r--r--usr.sbin/bhyvectl/bhyvectl.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/bhyvectl/bhyvectl.c b/usr.sbin/bhyvectl/bhyvectl.c
index efb111f2bc6a..50a71bb17894 100644
--- a/usr.sbin/bhyvectl/bhyvectl.c
+++ b/usr.sbin/bhyvectl/bhyvectl.c
@@ -1453,8 +1453,7 @@ main(int argc, char *argv[])
}
if (!error && (get_vmcs_exit_interruption_info || get_all)) {
- error = vm_get_vmcs_field(ctx, vcpu,
- VMCS_EXIT_INTERRUPTION_INFO, &u64);
+ error = vm_get_vmcs_field(ctx, vcpu, VMCS_EXIT_INTR_INFO, &u64);
if (error == 0) {
printf("vmcs_exit_interruption_info[%d]\t0x%08lx\n",
vcpu, u64);
@@ -1462,8 +1461,8 @@ main(int argc, char *argv[])
}
if (!error && (get_vmcs_exit_interruption_error || get_all)) {
- error = vm_get_vmcs_field(ctx, vcpu,
- VMCS_EXIT_INTERRUPTION_ERROR, &u64);
+ error = vm_get_vmcs_field(ctx, vcpu, VMCS_EXIT_INTR_ERRCODE,
+ &u64);
if (error == 0) {
printf("vmcs_exit_interruption_error[%d]\t0x%08lx\n",
vcpu, u64);