X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=linux_module%2Fpalacios.h;h=b1618320f782c10ac887acdae90b2516603dcdac;hb=af8e64fe97d7e075fdc1db893e9bcb550e38db91;hp=c0e3ba200f4d8a3f71057f1ceb1bdf78b8e517a9;hpb=4f99aec507c593a9c7d7fdfe86f3a45175e4a3c0;p=palacios.git diff --git a/linux_module/palacios.h b/linux_module/palacios.h index c0e3ba2..b161832 100644 --- a/linux_module/palacios.h +++ b/linux_module/palacios.h @@ -10,6 +10,15 @@ #include "palacios-console.h" #endif +#ifdef V3_CONFIG_GRAPHICS_CONSOLE +#include "palacios-graphics-console.h" +#endif + +#ifdef V3_CONFIG_HOST_DEVICE +#include "palacios-host-dev.h" +#endif + + /* Global Control IOCTLs */ #define V3_START_GUEST 10 #define V3_ADD_MEMORY 50 @@ -20,6 +29,12 @@ #define V3_VM_STREAM_CONNECT 21 #define V3_VM_STOP 22 +#define V3_VM_FB_INPUT 256+1 +#define V3_VM_FB_QUERY 256+2 + +#define V3_VM_HOST_DEV_CONNECT 512+1 + + struct v3_guest_img { unsigned long long size; void * guest_data; @@ -57,6 +72,15 @@ struct v3_guest { struct palacios_console console; #endif +#ifdef V3_CONFIG_CONSOLE + struct palacios_graphics_console graphics_console; +#endif + +#ifdef V3_CONFIG_HOST_DEVICE + struct palacios_host_dev hostdev; +#endif + + struct completion start_done; struct completion thread_done;