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.


format fix
Lei Xia [Fri, 17 Jun 2011 14:53:15 +0000 (09:53 -0500)]
palacios/src/devices/lnx_virtio_nic.c

index 7a4eb4a..952cc52 100644 (file)
@@ -595,7 +595,7 @@ static int virtio_rx(uint8_t * buf, uint32_t size, void * private_data) {
        uint16_t buf_idx;
        struct vring_desc * buf_desc;
        uint32_t hdr_len, len;
-       uint32_t offset = 0;
+       uint32_t offset = 0;
 
        hdr_len = (virtio->mergeable_rx_bufs)?
            sizeof(struct virtio_net_hdr_mrg_rxbuf):
@@ -935,8 +935,6 @@ static int connect_fn(struct v3_vm_info * info,
     net_state->timer = v3_add_timer(&(info->cores[0]),
                                    &timer_ops,net_state);
 
-    PrintError("net_state 0x%p\n", (void *)net_state);
-
     ops->recv = virtio_rx;
     ops->frontend_data = net_state;
     memcpy(ops->fnt_mac, virtio->mac, ETH_ALEN);