X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=linux_module%2Fiface-host-hypercall.c;h=4ed2f63d32140f16828e6edcb5766381d7bf75ea;hb=2cb41f7db5b9f89113432d6b3daff4807ba8e5f2;hp=b998b907a4d15df6b2bc1851eacc7a7a9b385692;hpb=ef99d19f9ee3ff28d07f83c240a557938b3ab0d5;p=palacios.git diff --git a/linux_module/iface-host-hypercall.c b/linux_module/iface-host-hypercall.c index b998b90..4ed2f63 100644 --- a/linux_module/iface-host-hypercall.c +++ b/linux_module/iface-host-hypercall.c @@ -7,7 +7,6 @@ #include #include -#include #include @@ -135,6 +134,8 @@ static int guest_init_host_hypercall (struct v3_guest * guest, void ** vm_data) 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; }