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.


Merging for release RC2
Jack Lange [Fri, 10 Oct 2008 19:55:11 +0000 (14:55 -0500)]
Merge branch 'devel'

Conflicts:
palacios/include/devices/generic.h
palacios/include/devices/ide.h
palacios/include/geekos/debug.h
palacios/include/geekos/net.h
palacios/include/geekos/pci.h
palacios/include/geekos/queue.h
palacios/include/geekos/reboot.h
palacios/include/geekos/ring_buffer.h
palacios/include/geekos/serial.h
palacios/include/geekos/socket.h
palacios/include/geekos/timer.h
palacios/include/geekos/vm.h
palacios/include/palacios/vmcs.h
palacios/include/palacios/vmcs_gen.h
palacios/src/devices/cdrom.c
palacios/src/devices/generic.c
palacios/src/devices/ramdisk.c
palacios/src/geekos/debug.c
palacios/src/geekos/net.c
palacios/src/geekos/queue.c
palacios/src/geekos/testvm.s
palacios/src/palacios/vmm_config.c

1  2 
palacios/include/devices/generic.h
palacios/include/devices/ide.h
palacios/include/palacios/vmcs.h
palacios/include/palacios/vmcs_gen.h
palacios/src/devices/cdrom.c
palacios/src/palacios/vmm_config.c

   * redistribute, and modify it as specified in the file "V3VEE_LICENSE".
   */
  
 -
+ #ifndef __GENERIC_H__
+ #define __GENERIC_H__
  
- #ifndef __GENERIC_H
- #define __GENERIC_H
  
  #include <palacios/vm_dev.h>
  
@@@ -204,6 -204,9 +204,10 @@@ struct  drive_t 
    struct sense_info_t sense;
    struct atapi_t atapi;
    
++
+   /* JRL */
+   void * private_data;
    Bit8u model_no[41];
  };
  
@@@ -239,3 -242,29 +243,30 @@@ struct  ramdisk_t 
  
  #endif
  
++
+ #if 0
+ // FLAT MODE
+ // Open a image. Returns non-negative if successful.
+ //int open (const char* pathname);
+ // Open an image with specific flags. Returns non-negative if successful.
+ int rd_open (const char* pathname, int flags);
+ // Close the image.
+ void rd_close ();
+ // Position ourselves. Return the resulting offset from the
+ // beginning of the file.
+ off_t rd_lseek (off_t offset, int whence);
+ // Read count bytes to the buffer buf. Return the number of
+ // bytes read (count).
+ ssize_t rd_read (void* buf, size_t count);
+ // Write count bytes from buf. Return the number of bytes
+ // written (count).
+ ssize_t rd_write (const void* buf, size_t count);
+ #endif
   * redistribute, and modify it as specified in the file "V3VEE_LICENSE".
   */
  
- #ifndef __VMCS_H
- #define __VMCS_H
++
+ #ifndef __VMCS_H__
+ #define __VMCS_H__
+ #ifdef __V3VEE__
 +
  #include <palacios/vmm_types.h>
  
  
@@@ -801,6 -799,11 +799,10 @@@ uint_t  Get_HOST_RIP()
  void    PrintTrace_HOST_RIP();
  
  void PrintTrace_VMCS_ALL();
- #endif
+ #endif // !__V3VEE
  
  #endif
 -
   * redistribute, and modify it as specified in the file "V3VEE_LICENSE".
   */
  
++
  #include <devices/cdrom.h>
+ #include <devices/ide.h>
  #include <palacios/vmm.h>
  
- #ifdef DEBUG_RAMDISK
- #define Ramdisk_Print_CD(_f, _a...) PrintTrace("cdrom.c(%d) "_f, __LINE__, ## _a)
- #else
- #define Ramdisk_Print_CD(_f, _a...)
+ #ifndef DEBUG_RAMDISK
+ #undef PrintDebug
+ #define PrintDebug(fmt, args...)
  #endif
  
  
Simple merge