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.


added global module registry
[palacios.git] / palacios / src / devices / lnx_virtio_symmod.c
index 53a7171..d3bae18 100644 (file)
@@ -147,9 +147,9 @@ static int handle_xfer_kick(struct guest_info * core, struct virtio_sym_state *
                return -1;
            }
 
-           memcpy(buf, module->data + offset, buf_desc->length);
+           memcpy(buf, module->start_addr + offset, buf_desc->length);
            PrintDebug("Copying module to virtio buffers: SRC=%p, DST=%p, len=%d\n",
-                      (void *)(module->data + offset), (void *)buf, buf_desc->length);
+                      (void *)(module->start_addr + offset), (void *)buf, buf_desc->length);
 
            if (tmp_status != 0) {
                PrintError("Error loading module segment\n");