search for: sercon_puts

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

2012 Sep 29
5
[PATCH] xen/console: introduce a 'w' debug-key that dumps the console ring
...te via serial console. Signed-off-by: Matt Wilson <msw@amazon.com> diff -r bd953fda6106 -r 20f6976e28a1 xen/drivers/char/console.c --- a/xen/drivers/char/console.c Fri Sep 28 10:59:41 2012 +0200 +++ b/xen/drivers/char/console.c Sat Sep 29 05:00:05 2012 +0000 @@ -264,6 +264,49 @@ static void sercon_puts(const char *s) serial_puts(sercon_handle, s); } +static void dump_console_ring_key(unsigned char key) +{ + uint32_t idx, len, sofar, c; + unsigned int order; + char *buf; + + printk("''%c'' pressed -> dumping console ring buffer (dmesg)\n", key);...
2013 Aug 16
7
[PATCH v2] xen/console: buffer and show origin of guest PV writes
...return -EFAULT; kbuf[kcount] = ''\0''; - spin_lock_irq(&console_lock); + if ( is_hardware_domain(cd) ) + { + /* Use direct console output as it could be interactive */ + spin_lock_irq(&console_lock); + + sercon_puts(kbuf); + video_puts(kbuf); - sercon_puts(kbuf); - video_puts(kbuf); + if ( opt_console_to_ring ) + { + conring_puts(kbuf); + tasklet_schedule(&notify_dom0_con_ring_tasklet); + } - if ( opt_console...
2013 Sep 09
0
[PATCH v3] xen/console: buffer and show origin of guest PV writes
...return -EFAULT; kbuf[kcount] = ''\0''; - spin_lock_irq(&console_lock); + if ( is_hardware_domain(cd) ) + { + /* Use direct console output as it could be interactive */ + spin_lock_irq(&console_lock); + + sercon_puts(kbuf); + video_puts(kbuf); - sercon_puts(kbuf); - video_puts(kbuf); + if ( opt_console_to_ring ) + { + conring_puts(kbuf); + tasklet_schedule(&notify_dom0_con_ring_tasklet); + } - if ( opt_console...
2008 May 29
6
is it possible to build two privileged domain at boot time?
Hi All, I am not very familiar with xen details. Now I am thinking of building two privilged domain(domain 0 not driver domain) at boot time. The other question is that wether it is possible to create another domain 0 by domain-builder running in domain0? Does it make sense when domain 0 is shut down unexpectedly another domain 0 can run at once. Maybe it is absurd. I am looking forwards