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.


Update svm and vmx checkpoint functionality to new interface
[palacios.releases.git] / palacios / src / interfaces / vmm_packet.c
index b46325e..07c86ee 100644 (file)
@@ -43,6 +43,11 @@ struct v3_packet * v3_packet_connect(struct v3_vm_info * vm,
 
     packet = V3_Malloc(sizeof(struct v3_packet));
 
+    if (!packet) {
+       PrintError("Cannot allocate in connecting packet\n");
+       return NULL;
+    }
+
     memcpy(packet->dev_mac, vm_mac, ETH_ALEN);
     packet->input = input;
     packet->guest_packet_data = guest_packet_data;