summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bhyvectl
diff options
context:
space:
mode:
authorneel <neel@FreeBSD.org>2014-01-11 17:37:53 +0000
committerneel <neel@FreeBSD.org>2014-01-11 17:37:53 +0000
commitd5bd89923fed271626937df68b596701ce31e79a (patch)
treeb63c402ced2517c062164fd4923c81c70ab040ca /usr.sbin/bhyvectl
parent7aa4414d3188cb065e9e463e5d30601835085ed2 (diff)
downloadFreeBSD-src-d5bd89923fed271626937df68b596701ce31e79a.zip
FreeBSD-src-d5bd89923fed271626937df68b596701ce31e79a.tar.gz
Fix amd64 build breakage caused by r260532.
Submitted by: Marcus Karlsson (mk@acc.umu.se) Pointy hat to: me
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 efb111f..50a71bb 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);
OpenPOWER on IntegriCloud