diff options
Diffstat (limited to 'tools/libxc/xc_ptrace_core.c')
-rw-r--r-- | tools/libxc/xc_ptrace_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxc/xc_ptrace_core.c b/tools/libxc/xc_ptrace_core.c index ec7a6980c3..71d2b3595a 100644 --- a/tools/libxc/xc_ptrace_core.c +++ b/tools/libxc/xc_ptrace_core.c @@ -193,7 +193,7 @@ xc_waitdomain_core(int domfd, int *status, int options) return -1; for (i = 0; i < nr_vcpus; i++) { - cr3[i] = ctxt[i].pt_base; + cr3[i] = ctxt[i].ctrlreg[3]; } if ((p2m_array = malloc(nr_pages * sizeof(unsigned long))) == NULL) { printf("Could not allocate p2m_array\n"); |