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.


Minimize the copies for vnet and Virtio bridge
[palacios.git] / palacios / include / palacios / vmm_vnet.h
index 52fc932..7298918 100644 (file)
@@ -66,7 +66,8 @@ struct v3_vnet_pkt {
        struct {
            uint8_t src_type;
            uint32_t src_id;
-           uint8_t data[ETHERNET_PACKET_LEN];
+           uint8_t header[ETHERNET_HEADER_LEN];
+           uint8_t *data;
        } __attribute__((packed));
     } __attribute__((packed));
 } __attribute__((packed));