X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=linux_module%2Fiface-host-dev.c;h=680d7537515f90192a36fff067af73d8c95a10c0;hb=e8ee9e1536b3fa2e69f5537a90f5e034e9529248;hp=23a3a09dc9c795b1f71017622a3bc7a9e4caaf54;hpb=928297a7cf5ffbf3a210fcaf7556e681bbb436d5;p=palacios.git diff --git a/linux_module/iface-host-dev.c b/linux_module/iface-host-dev.c index 23a3a09..680d753 100644 --- a/linux_module/iface-host-dev.c +++ b/linux_module/iface-host-dev.c @@ -1352,6 +1352,7 @@ static int host_dev_guest_init(struct v3_guest * guest, void ** vm_data ) { static int host_dev_guest_deinit(struct v3_guest * guest, void * vm_data) { struct palacios_host_dev * host_dev = (struct palacios_host_dev *) vm_data; + remove_guest_ctrl(guest, V3_VM_HOST_DEV_CONNECT); palacios_spinlock_deinit(&(host_dev->lock)); palacios_free(host_dev); return 0;