X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=linux_module%2Fiface-stream.c;h=36c6185a366bb38a608d70d084bf51cecec58610;hb=e8ee9e1536b3fa2e69f5537a90f5e034e9529248;hp=27bfe42ebbb3c678518cc592943cb7f1a7937163;hpb=928297a7cf5ffbf3a210fcaf7556e681bbb436d5;p=palacios.git diff --git a/linux_module/iface-stream.c b/linux_module/iface-stream.c index 27bfe42..36c6185 100644 --- a/linux_module/iface-stream.c +++ b/linux_module/iface-stream.c @@ -400,6 +400,9 @@ static int guest_stream_deinit(struct v3_guest * guest, void * vm_data) { struct stream_state * stream = NULL; struct stream_state * tmp = NULL; + + remove_guest_ctrl(guest, V3_VM_STREAM_CONNECT); + list_for_each_entry_safe(stream, tmp, &(global_streams), stream_node) { free_ringbuf(stream->out_ring); list_del(&(stream->stream_node)); @@ -407,6 +410,7 @@ static int guest_stream_deinit(struct v3_guest * guest, void * vm_data) { } palacios_free(state); + return 0; }