Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


add dependency of virtio nic with vnet
[palacios.git] / linux_module / palacios-vnet.c
index 19a6bca..4f3cbd5 100644 (file)
@@ -279,9 +279,22 @@ static struct vnet_host_hooks vnet_host_hooks = {
 
 int palacios_vnet_init( void ) {
     init_vnet(&vnet_host_hooks);
+       
+    vnet_bridge_init();
+    vnet_ctrl_init();
 
-    palacios_init_vnet_bridge();
     printk("V3 VNET Inited\n");
         
     return 0;
 }
+
+
+void palacios_vnet_deinit( void ) {
+    deinit_vnet();
+
+    vnet_bridge_deinit();
+    vnet_ctrl_deinit();
+
+    printk("V3 VNET Deinited\n");
+}
+