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.


bug fixes for extension framework, and porting of console to new interface
[palacios.git] / linux_module / linux-exts.h
index 72e4800..041d8dc 100644 (file)
@@ -12,7 +12,7 @@ struct linux_ext {
     int (*deinit)( void );
     int (*guest_init)(struct v3_guest * guest, void ** priv_data);
     int (*guest_deinit)(struct v3_guest * guest, void * priv_data);
-} __attribute__((packed));
+};
 
 
 
@@ -24,6 +24,6 @@ int deinit_lnx_extensions( void );
 #define register_extension(ext)                                        \
     static struct linux_ext * _lnx_ext                         \
     __attribute__((used))                                      \
-       __attribute__((unused, __section("_lnx_exts"),  \
+       __attribute__((unused, __section__("_lnx_exts"),                \
                       aligned(sizeof(void *))))                \
        = ext;