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.


Avoid strict-aliasing related issues when compiling with optimization
[palacios.git] / linux_usr / v3_core_move.c
index d7439d8..eb35896 100644 (file)
 
 #include "v3_ctrl.h"
 
-struct v3_core_move_cmd {
-    unsigned short vcore_id;
-    unsigned short pcore_id;
-};
-
 
 int main(int argc, char* argv[]) {
     int vm_fd;
@@ -27,7 +22,7 @@ int main(int argc, char* argv[]) {
     struct v3_core_move_cmd cmd; 
 
     if (argc < 4) {
-       printf("Usage: v3_core_migrate <vm_device> <vcore id> <target physical CPU id>\n");
+       printf("usage: v3_core_move <vm_device> <vcore id> <target physical CPU id>\n");
        return -1;
     }
 
@@ -35,7 +30,7 @@ int main(int argc, char* argv[]) {
     cmd.vcore_id = atoi(argv[2]);
     cmd.pcore_id = atoi(argv[3]);
 
-    printf("Migrate vcore %d to physical CPU %d\n", cmd.vcore_id, cmd.pcore_id);
+    printf("Migrateing vcore %d to physical CPU %d\n", cmd.vcore_id, cmd.pcore_id);
 
     vm_fd = open(vm_dev, O_RDONLY);