#include <linux/elf.h>
#include <linux/uaccess.h>
-#include <linux/vmalloc.h>
#include <linux/module.h>
(void*)(acc->get_r13(core)),
(void*)(acc->get_r14(core)),
(void*)(acc->get_r15(core)));
- DEBUG(" cr0=%p\n cr2=%p\n cr3=%p\n cr4=%p\n cr8=%p\n efer=%p\n",
+ DEBUG(" cr0=%p\n cr2=%p\n cr3=%p\n cr4=%p\n apic_tpr=%p\n efer=%p\n",
(void*)(acc->get_cr0(core)),
(void*)(acc->get_cr2(core)),
(void*)(acc->get_cr3(core)),
(void*)(acc->get_cr4(core)),
- (void*)(acc->get_cr8(core)),
+ (void*)(acc->get_apic_tpr(core)),
(void*)(acc->get_efer(core)));
return 0;
}
static int guest_deinit_host_hypercall (struct v3_guest * guest, void * vm_data) {
+ remove_guest_ctrl(guest, V3_VM_HYPERCALL_ADD);
+ remove_guest_ctrl(guest, V3_VM_HYPERCALL_REMOVE);
return 0;
}