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.


various changes...
[palacios.git] / palacios / include / devices / net_cd.h
index 34c90c2..d1f8a31 100644 (file)
  * redistribute, and modify it as specified in the file "V3VEE_LICENSE".
  */
 
-#ifndef __DEVICES_RAM_CD_H__
-#define __DEVICES_RAM_CD_H__
+#ifndef __DEVICES_NET_CD_H__
+#define __DEVICES_NET_CD_H__
 
 #ifdef __V3VEE__
 
-#include <palacios/vm_dev.h>
 
-
-struct vm_device * v3_create_ram_cd(struct vm_device * ide, 
-                                   uint_t bus, uint_t drive, 
-                                   addr_t ramdisk, uint32_t size);
+struct net_cd_cfg {
+    char ide[32];
+    uint_t bus;
+    uint_t drive;
+    const char * ip_str;
+    uint16_t port;
+    const char * disk_tag;
+};