search for: xenfb_make_preferred_consol

Displaying 16 results from an estimated 16 matches for "xenfb_make_preferred_consol".

2008 Apr 04
1
[PATCH] xen: Enable Xen console by default in domU
...sole. Change the preferred to tty when PVFB probes successfully. Signed-off-by: Markus Armbruster <armbru at redhat.com> --- This patch supersedes the "xen: Make hvc0 the preferred console in domU" patch. It does not depend on the PVFB patch; it works with and without it. Aside: xenfb_make_preferred_console() may not be the best way to solve the problem. I simply followed the precedence in arch/parisc/kernel/pdc_cons.c's pdc_console_restart(). Maybe a function console_force_prefer() in printk.c to move make a console the preferred console would make more sense. arch/x86/xen/enlighten.c |...
2008 Apr 04
1
[PATCH] xen: Enable Xen console by default in domU
...sole. Change the preferred to tty when PVFB probes successfully. Signed-off-by: Markus Armbruster <armbru at redhat.com> --- This patch supersedes the "xen: Make hvc0 the preferred console in domU" patch. It does not depend on the PVFB patch; it works with and without it. Aside: xenfb_make_preferred_console() may not be the best way to solve the problem. I simply followed the precedence in arch/parisc/kernel/pdc_cons.c's pdc_console_restart(). Maybe a function console_force_prefer() in printk.c to move make a console the preferred console would make more sense. arch/x86/xen/enlighten.c |...
2008 Apr 04
1
[PATCH] xen: Enable Xen console by default in domU
...sole. Change the preferred to tty when PVFB probes successfully. Signed-off-by: Markus Armbruster <armbru at redhat.com> --- This patch supersedes the "xen: Make hvc0 the preferred console in domU" patch. It does not depend on the PVFB patch; it works with and without it. Aside: xenfb_make_preferred_console() may not be the best way to solve the problem. I simply followed the precedence in arch/parisc/kernel/pdc_cons.c's pdc_console_restart(). Maybe a function console_force_prefer() in printk.c to move make a console the preferred console would make more sense. arch/x86/xen/enlighten.c |...
2010 Nov 03
1
[PATCH 3/3] VIDEO: xen-fb, switch to for_each_console
...vger.kernel.org --- drivers/video/xen-fbfront.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/video/xen-fbfront.c b/drivers/video/xen-fbfront.c index 428d273..4abb0b9 100644 --- a/drivers/video/xen-fbfront.c +++ b/drivers/video/xen-fbfront.c @@ -492,7 +492,7 @@ xenfb_make_preferred_console(void) return; acquire_console_sem(); - for (c = console_drivers; c; c = c->next) { + for_each_console(c) { if (!strcmp(c->name, "tty") && c->index == 0) break; } -- 1.7.3.1
2010 Nov 03
1
[PATCH 3/3] VIDEO: xen-fb, switch to for_each_console
...vger.kernel.org --- drivers/video/xen-fbfront.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/video/xen-fbfront.c b/drivers/video/xen-fbfront.c index 428d273..4abb0b9 100644 --- a/drivers/video/xen-fbfront.c +++ b/drivers/video/xen-fbfront.c @@ -492,7 +492,7 @@ xenfb_make_preferred_console(void) return; acquire_console_sem(); - for (c = console_drivers; c; c = c->next) { + for_each_console(c) { if (!strcmp(c->name, "tty") && c->index == 0) break; } -- 1.7.3.1
2010 Nov 03
1
[PATCH 3/3] VIDEO: xen-fb, switch to for_each_console
...vger.kernel.org --- drivers/video/xen-fbfront.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/video/xen-fbfront.c b/drivers/video/xen-fbfront.c index 428d273..4abb0b9 100644 --- a/drivers/video/xen-fbfront.c +++ b/drivers/video/xen-fbfront.c @@ -492,7 +492,7 @@ xenfb_make_preferred_console(void) return; acquire_console_sem(); - for (c = console_drivers; c; c = c->next) { + for_each_console(c) { if (!strcmp(c->name, "tty") && c->index == 0) break; } -- 1.7.3.1
2008 May 21
6
[PATCH 0/5] xen pvfb: Para-virtual framebuffer, keyboard and pointer driver updates
This is an update to the Linux part of the Xen PVFB. Linux Xen PVFB is a pair of Xen para-virtual frontend device drivers: drivers/video/xen-fbfront.c provides a framebuffer, and drivers/input/xen-kbdfront provides keyboard and mouse. Their backends run in dom0 user space. Parts in this patch series: 1. Enable Xen console by default in domU 2. Pointer z-axis (mouse wheel) support 3. Module
2008 May 21
6
[PATCH 0/5] xen pvfb: Para-virtual framebuffer, keyboard and pointer driver updates
This is an update to the Linux part of the Xen PVFB. Linux Xen PVFB is a pair of Xen para-virtual frontend device drivers: drivers/video/xen-fbfront.c provides a framebuffer, and drivers/input/xen-kbdfront provides keyboard and mouse. Their backends run in dom0 user space. Parts in this patch series: 1. Enable Xen console by default in domU 2. Pointer z-axis (mouse wheel) support 3. Module
2008 May 21
6
[PATCH 0/5] xen pvfb: Para-virtual framebuffer, keyboard and pointer driver updates
This is an update to the Linux part of the Xen PVFB. Linux Xen PVFB is a pair of Xen para-virtual frontend device drivers: drivers/video/xen-fbfront.c provides a framebuffer, and drivers/input/xen-kbdfront provides keyboard and mouse. Their backends run in dom0 user space. Parts in this patch series: 1. Enable Xen console by default in domU 2. Pointer z-axis (mouse wheel) support 3. Module
2011 Jan 20
1
[PATCH] change acquire/release_console_sem() to console_lock/unlock()
...ail: mutex_unlock(&(par->open_lock)); - release_console_sem(); + console_unlock(); return 0; } diff --git a/drivers/video/xen-fbfront.c b/drivers/video/xen-fbfront.c index 3e6934d..a20218c 100644 --- a/drivers/video/xen-fbfront.c +++ b/drivers/video/xen-fbfront.c @@ -491,12 +491,12 @@ xenfb_make_preferred_console(void) if (console_set_on_cmdline) return; - acquire_console_sem(); + console_lock(); for_each_console(c) { if (!strcmp(c->name, "tty") && c->index == 0) break; } - release_console_sem(); + console_unlock(); if (c) { unregister_console(c); c->fla...
2011 Jan 20
1
[PATCH] change acquire/release_console_sem() to console_lock/unlock()
...ail: mutex_unlock(&(par->open_lock)); - release_console_sem(); + console_unlock(); return 0; } diff --git a/drivers/video/xen-fbfront.c b/drivers/video/xen-fbfront.c index 3e6934d..a20218c 100644 --- a/drivers/video/xen-fbfront.c +++ b/drivers/video/xen-fbfront.c @@ -491,12 +491,12 @@ xenfb_make_preferred_console(void) if (console_set_on_cmdline) return; - acquire_console_sem(); + console_lock(); for_each_console(c) { if (!strcmp(c->name, "tty") && c->index == 0) break; } - release_console_sem(); + console_unlock(); if (c) { unregister_console(c); c->fla...
2011 Jan 20
1
[PATCH] change acquire/release_console_sem() to console_lock/unlock()
...ail: mutex_unlock(&(par->open_lock)); - release_console_sem(); + console_unlock(); return 0; } diff --git a/drivers/video/xen-fbfront.c b/drivers/video/xen-fbfront.c index 3e6934d..a20218c 100644 --- a/drivers/video/xen-fbfront.c +++ b/drivers/video/xen-fbfront.c @@ -491,12 +491,12 @@ xenfb_make_preferred_console(void) if (console_set_on_cmdline) return; - acquire_console_sem(); + console_lock(); for_each_console(c) { if (!strcmp(c->name, "tty") && c->index == 0) break; } - release_console_sem(); + console_unlock(); if (c) { unregister_console(c); c->fla...
2011 Jul 21
51
Linux Stubdom Problem
2011/7/19 Stefano Stabellini <stefano.stabellini@eu.citrix.com>: > CC''ing Tim and xen-devel > > On Mon, 18 Jul 2011, Jiageng Yu wrote: >> 2011/7/16 Stefano Stabellini <stefano.stabellini@eu.citrix.com>: >> > On Fri, 15 Jul 2011, Jiageng Yu wrote: >> >> 2011/7/15 Jiageng Yu <yujiageng734@gmail.com>: >> >> > 2011/7/15
2012 Nov 19
2
[PATCH 158/493] video: remove use of __devinit
...ev_id) return IRQ_HANDLED; } -static int __devinit xenfb_probe(struct xenbus_device *dev, +static int xenfb_probe(struct xenbus_device *dev, const struct xenbus_device_id *id) { struct xenfb_info *info; @@ -487,7 +487,7 @@ error: return ret; } -static __devinit void +static void xenfb_make_preferred_console(void) { struct console *c; diff --git a/drivers/video/xilinxfb.c b/drivers/video/xilinxfb.c index 20a7c0e..b5d317c 100644 --- a/drivers/video/xilinxfb.c +++ b/drivers/video/xilinxfb.c @@ -403,7 +403,7 @@ static int xilinxfb_release(struct device *dev) * OF bus binding */ -static int __dev...
2012 Nov 19
2
[PATCH 158/493] video: remove use of __devinit
...ev_id) return IRQ_HANDLED; } -static int __devinit xenfb_probe(struct xenbus_device *dev, +static int xenfb_probe(struct xenbus_device *dev, const struct xenbus_device_id *id) { struct xenfb_info *info; @@ -487,7 +487,7 @@ error: return ret; } -static __devinit void +static void xenfb_make_preferred_console(void) { struct console *c; diff --git a/drivers/video/xilinxfb.c b/drivers/video/xilinxfb.c index 20a7c0e..b5d317c 100644 --- a/drivers/video/xilinxfb.c +++ b/drivers/video/xilinxfb.c @@ -403,7 +403,7 @@ static int xilinxfb_release(struct device *dev) * OF bus binding */ -static int __dev...
2012 Nov 19
2
[PATCH 158/493] video: remove use of __devinit
...ev_id) return IRQ_HANDLED; } -static int __devinit xenfb_probe(struct xenbus_device *dev, +static int xenfb_probe(struct xenbus_device *dev, const struct xenbus_device_id *id) { struct xenfb_info *info; @@ -487,7 +487,7 @@ error: return ret; } -static __devinit void +static void xenfb_make_preferred_console(void) { struct console *c; diff --git a/drivers/video/xilinxfb.c b/drivers/video/xilinxfb.c index 20a7c0e..b5d317c 100644 --- a/drivers/video/xilinxfb.c +++ b/drivers/video/xilinxfb.c @@ -403,7 +403,7 @@ static int xilinxfb_release(struct device *dev) * OF bus binding */ -static int __dev...