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.


Palacios Network Direct Bridge interface update
Lei Xia [Sat, 29 Jan 2011 23:33:12 +0000 (17:33 -0600)]
palacios/include/palacios/vmm_packet.h
palacios/src/palacios/vmm_packet.c

index f343821..8360adc 100644 (file)
 #ifdef __V3VEE__
 
 int V3_send_raw(const char * pkt, uint32_t len);
+int V3_register_mac(const char mac[6], struct v3_vm_info * vm);
 
 #endif
 
 struct v3_packet_hooks {
 
     int (*send)(const char * pkt, unsigned int size, void * private_data);
-
+    int (*register_mac)(const char * mac, struct v3_vm_info * vm);
 };
 
 extern void V3_Init_Packet(struct v3_packet_hooks * hooks);
index 252bf11..2d0814b 100644 (file)
@@ -32,6 +32,11 @@ int V3_send_raw(const char * pkt, uint32_t len) {
 }
 
 
+int V3_register_mac(const char mac[6], struct v3_vm_info * vm){
+
+    return packet_hooks->register_mac(mac, vm);
+}
+
 void V3_Init_Packet(struct v3_packet_hooks * hooks) {
     packet_hooks = hooks;
     PrintDebug("V3 raw packet interface inited\n");