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_hd.h
index 77adf3e..2a57832 100644 (file)
  * redistribute, and modify it as specified in the file "V3VEE_LICENSE".
  */
 
-#ifndef __DEVICES_RAM_HD_H__
-#define __DEVICES_RAM_HD_H__
+#ifndef __DEVICES_NET_HD_H__
+#define __DEVICES_NET_HD_H__
 
 #ifdef __V3VEE__
 
-#include <palacios/vm_dev.h>
 
 
-struct vm_device * v3_create_ram_hd(struct vm_device * ide, 
-                                   uint_t bus, uint_t drive, 
-                                   addr_t ramdisk, uint32_t size);
+struct net_hd_cfg {
+    char ide[32];
+    uint_t bus;
+    uint_t drive;
+    const char * ip_str; 
+    uint16_t port;
+    const char * disk_tag;
+};