search for: lguest_vprint

Displaying 4 results from an estimated 4 matches for "lguest_vprint".

2007 Apr 18
0
[RFC/PATCH LGUEST X86_64 13/13] Hack to get output
plain text document attachment (lguest64-debug.patch) This is just a hack patch to get output from the guest. It calls lguest_vprint from printk which is a hypercall to the host to do the printk for the guest. Chris Wright recommended that I put this into early_printk, but until I can get that to work, I'm posting this. Signed-off-by: Steven Rostedt <srostedt@redhat.com> Cc: Glauber de Oliveira Costa <glommer@gmai...
2007 Apr 18
0
[RFC/PATCH LGUEST X86_64 13/13] Hack to get output
plain text document attachment (lguest64-debug.patch) This is just a hack patch to get output from the guest. It calls lguest_vprint from printk which is a hypercall to the host to do the printk for the guest. Chris Wright recommended that I put this into early_printk, but until I can get that to work, I'm posting this. Signed-off-by: Steven Rostedt <srostedt@redhat.com> Cc: Glauber de Oliveira Costa <glommer@gmai...
2007 Apr 18
1
[RFC/PATCH LGUEST X86_64 03/13] lguest64 core
...; + +static DEFINE_SPINLOCK(hcall_print_lock); +#define HCALL_BUFF_SIZ 1024 +static char hcall_buff[HCALL_BUFF_SIZ]; + +/* Set to true when the lguest_init is called. */ +static int lguest_paravirt; + +struct lguest_print_ops { + void (*vprint)(const char *fmt, va_list ap); +} *lguest_pops; + +void lguest_vprint(const char *fmt, va_list ap) +{ + if (lguest_pops) + lguest_pops->vprint(fmt, ap); +} + +void lguest_print(const char *fmt, ...) +{ + va_list ap; + + /* irq save? */ + va_start(ap, fmt); + lguest_vprint(fmt, ap); + va_end(ap); +} + +static void __lguest_vprint(const char *fmt, va_list ap) +{ +...
2007 Apr 18
1
[RFC/PATCH LGUEST X86_64 03/13] lguest64 core
...; + +static DEFINE_SPINLOCK(hcall_print_lock); +#define HCALL_BUFF_SIZ 1024 +static char hcall_buff[HCALL_BUFF_SIZ]; + +/* Set to true when the lguest_init is called. */ +static int lguest_paravirt; + +struct lguest_print_ops { + void (*vprint)(const char *fmt, va_list ap); +} *lguest_pops; + +void lguest_vprint(const char *fmt, va_list ap) +{ + if (lguest_pops) + lguest_pops->vprint(fmt, ap); +} + +void lguest_print(const char *fmt, ...) +{ + va_list ap; + + /* irq save? */ + va_start(ap, fmt); + lguest_vprint(fmt, ap); + va_end(ap); +} + +static void __lguest_vprint(const char *fmt, va_list ap) +{ +...