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.


move vnet code outside of palacios core directory
[palacios.git] / linux_module / palacios-console.h
1 /*
2  * Palacios VM Stream Console interface
3  * (c) Jack Lange, 2010
4  */
5
6 #ifndef __PALACIOS_CONSOLE_H__
7 #define __PALACIOS_CONSOLE_H__
8
9
10 #include <linux/spinlock.h>
11 #include <linux/interrupt.h>
12
13
14 struct palacios_console {
15     struct gen_queue * queue;
16     spinlock_t lock;
17
18     int open;
19     int connected;
20
21     wait_queue_head_t intr_queue;
22
23     unsigned int width;
24     unsigned int height;
25
26     struct v3_guest * guest;
27 };
28
29
30
31 struct v3_guest;
32
33
34 int connect_console(struct v3_guest * guest);
35
36 int palacios_init_console( void );
37
38
39 #endif