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.


Fix to virtio vnet device
Lei Xia [Wed, 10 Nov 2010 19:07:40 +0000 (13:07 -0600)]
palacios/src/devices/lnx_virtio_vnet.c

index c35250d..74164c9 100644 (file)
@@ -227,7 +227,6 @@ static int vnet_pkt_input_cb(struct v3_vm_info * vm,  struct v3_vnet_pkt *pkt, v
     struct virtio_queue * q = &(vnet_state->queue[RECV_QUEUE]);
     int ret_val = -1;
     unsigned long flags;
-    uint16_t sent;
 
     flags = v3_lock_irqsave(vnet_state->lock);
        
@@ -285,7 +284,7 @@ static int vnet_pkt_input_xcall(void *data){
     int i = 0;
 
     for(i = 0; i < args->pkt_num; i++) {
-       vnet_pkt_input_cb(args->vm, args->vnet_pkts[i], args->private_data);
+       vnet_pkt_input_cb(args->vm, &(args->vnet_pkts[i]), args->private_data);
     }
        
     return 0;