Displaying 20 results from an estimated 68 matches for "is_initial_xendomain".
2008 Feb 27
1
xen: Make hvc0 the preferred console in domU
...+#include <linux/console.h>
#include <xen/interface/xen.h>
#include <xen/interface/physdev.h>
@@ -1209,6 +1210,9 @@ asmlinkage void __init xen_start_kernel(void)
? __pa(xen_start_info->mod_start) : 0;
boot_params.hdr.ramdisk_size = xen_start_info->mod_len;
+ if (!is_initial_xendomain())
+ add_preferred_console("hvc", 0, NULL);
+
/* Start the world */
start_kernel();
}
2013 Dec 13
0
[PATCH] linux-2.6.18/xencons: generalize use of add_preferred_console()
...e call for all cases.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
--- a/drivers/xen/console/console.c
+++ b/drivers/xen/console/console.c
@@ -214,8 +214,6 @@ static int __init xen_console_init(void)
strcpy(kcons_info.name, "hvc");
if (xc_num == -1)
xc_num = 0;
- if (!is_initial_xendomain())
- add_preferred_console(kcons_info.name, xc_num, NULL);
break;
case XC_SERIAL:
@@ -236,6 +234,8 @@ static int __init xen_console_init(void)
wbuf = alloc_bootmem(wbuf_size);
+ if (!is_initial_xendomain())
+ add_preferred_console(kcons_info.name, xc_num, NULL);
register_console(&...
2007 Feb 14
2
[PATCH 8/8] 2.6.17: scan DMI early
...rnel/setup-xen.c 2007-02-08 17:07:13.000000000 +0100
+++ head-2007-02-08/arch/x86_64/kernel/setup-xen.c 2007-02-08 17:09:47.000000000 +0100
@@ -681,7 +681,8 @@ void __init setup_arch(char **cmdline_p)
init_memory_mapping(0, (end_pfn_map << PAGE_SHIFT));
- /* dmi_scan_machine(); */
+ if (is_initial_xendomain())
+ dmi_scan_machine();
#ifdef CONFIG_ACPI_NUMA
/*
@@ -1630,13 +1629,6 @@ struct seq_operations cpuinfo_op = {
.show = show_cpuinfo,
};
-static int __init run_dmi_scan(void)
-{
- dmi_scan_machine();
- return 0;
-}
-core_initcall(run_dmi_scan);
-
#if defined(CONFIG_INPUT_PCSPKR) || defi...
2007 Aug 09
0
[PATCH] linux/x86: retrieve VESA capabilities in dom0
...==================
--- head-2007-08-07.orig/arch/i386/kernel/setup-xen.c 2007-08-07 10:40:43.000000000 +0200
+++ head-2007-08-07/arch/i386/kernel/setup-xen.c 2007-08-09 12:21:12.000000000 +0200
@@ -1669,23 +1669,12 @@ void __init setup_arch(char **cmdline_p)
bootloader_type = LOADER_TYPE;
if (is_initial_xendomain()) {
- /* This is drawn from a dump from vgacon:startup in
- * standard Linux. */
- screen_info.orig_video_mode = 3;
- screen_info.orig_video_isVGA = 1;
- screen_info.orig_video_lines = 25;
- screen_info.orig_video_cols = 80;
- screen_info.orig_video_ega_bx = 3;
- screen_info.orig_video_p...
2011 Feb 04
5
[PATCH] kdump: introduce "reset_devices" command line option
upstream commit 7e96287ddc4f42081e18248b6167041c0908004c
Author: Vivek Goyal <vgoyal@in.ibm.com>
[PATCH] kdump: introduce "reset_devices" command line option
Resetting the devices during driver initialization can be a costly
operation in terms of time (especially scsi devices). This option can be
used by drivers to know that user forcibly wants the devices to
2008 Apr 04
1
[PATCH] xen: Enable Xen console by default in domU
...+#include <linux/console.h>
#include <xen/interface/xen.h>
#include <xen/interface/physdev.h>
@@ -1215,6 +1216,11 @@ asmlinkage void __init xen_start_kernel(void)
? __pa(xen_start_info->mod_start) : 0;
boot_params.hdr.ramdisk_size = xen_start_info->mod_len;
+ if (!is_initial_xendomain()) {
+ add_preferred_console("tty", 0, NULL);
+ add_preferred_console("hvc", 0, NULL);
+ }
+
/* Start the world */
start_kernel();
}
diff --git a/drivers/video/xen-fbfront.c b/drivers/video/xen-fbfront.c
index 619a6f8..9b428b5 100644
--- a/drivers/video/xen-fbfront.c
+++...
2008 Apr 04
1
[PATCH] xen: Enable Xen console by default in domU
...+#include <linux/console.h>
#include <xen/interface/xen.h>
#include <xen/interface/physdev.h>
@@ -1215,6 +1216,11 @@ asmlinkage void __init xen_start_kernel(void)
? __pa(xen_start_info->mod_start) : 0;
boot_params.hdr.ramdisk_size = xen_start_info->mod_len;
+ if (!is_initial_xendomain()) {
+ add_preferred_console("tty", 0, NULL);
+ add_preferred_console("hvc", 0, NULL);
+ }
+
/* Start the world */
start_kernel();
}
diff --git a/drivers/video/xen-fbfront.c b/drivers/video/xen-fbfront.c
index 619a6f8..9b428b5 100644
--- a/drivers/video/xen-fbfront.c
+++...
2008 Apr 04
1
[PATCH] xen: Enable Xen console by default in domU
...+#include <linux/console.h>
#include <xen/interface/xen.h>
#include <xen/interface/physdev.h>
@@ -1215,6 +1216,11 @@ asmlinkage void __init xen_start_kernel(void)
? __pa(xen_start_info->mod_start) : 0;
boot_params.hdr.ramdisk_size = xen_start_info->mod_len;
+ if (!is_initial_xendomain()) {
+ add_preferred_console("tty", 0, NULL);
+ add_preferred_console("hvc", 0, NULL);
+ }
+
/* Start the world */
start_kernel();
}
diff --git a/drivers/video/xen-fbfront.c b/drivers/video/xen-fbfront.c
index 619a6f8..9b428b5 100644
--- a/drivers/video/xen-fbfront.c
+++...
2011 Dec 07
0
[PATCH] linux-2.6.18/x86: refuse to initialize the microcode driver in DomU
Signed-off-by: Jan Beulich <jbeulich@suse.com>
--- a/arch/i386/kernel/microcode-xen.c
+++ b/arch/i386/kernel/microcode-xen.c
@@ -121,6 +121,9 @@ static int __init microcode_init (void)
{
int error;
+ if (!is_initial_xendomain())
+ return -ENODEV;
+
error = misc_register(µcode_dev);
if (error) {
printk(KERN_ERR
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
2008 Feb 21
4
[PATCH 0/2] xen pvfb: Para-virtual framebuffer, keyboard and pointer
This 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.
The backends run in dom0 user space.
I started with the Xen version at
http://xenbits.xensource.com/linux-2.6.18-xen.hg?rev/ca05cf1a9bdc
Differences to that Xen version, for those who care:
* Rewritten on top of fb deferred
2008 Feb 21
4
[PATCH 0/2] xen pvfb: Para-virtual framebuffer, keyboard and pointer
This 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.
The backends run in dom0 user space.
I started with the Xen version at
http://xenbits.xensource.com/linux-2.6.18-xen.hg?rev/ca05cf1a9bdc
Differences to that Xen version, for those who care:
* Rewritten on top of fb deferred
2008 Feb 21
4
[PATCH 0/2] xen pvfb: Para-virtual framebuffer, keyboard and pointer
This 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.
The backends run in dom0 user space.
I started with the Xen version at
http://xenbits.xensource.com/linux-2.6.18-xen.hg?rev/ca05cf1a9bdc
Differences to that Xen version, for those who care:
* Rewritten on top of fb deferred
2008 Feb 25
3
[PATCH 0/3] xen pvfb: Para-virtual framebuffer, keyboard and pointer
This 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.
The backends run in dom0 user space.
Differences since last post:
* Required patch fixing 32-on-64 xen-blkfront included.
* Cleanup when xenkbd_probe() fails fixed.
* Don't store event channel in device info.
I started
2008 Feb 25
3
[PATCH 0/3] xen pvfb: Para-virtual framebuffer, keyboard and pointer
This 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.
The backends run in dom0 user space.
Differences since last post:
* Required patch fixing 32-on-64 xen-blkfront included.
* Cleanup when xenkbd_probe() fails fixed.
* Don't store event channel in device info.
I started
2008 Feb 25
3
[PATCH 0/3] xen pvfb: Para-virtual framebuffer, keyboard and pointer
This 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.
The backends run in dom0 user space.
Differences since last post:
* Required patch fixing 32-on-64 xen-blkfront included.
* Cleanup when xenkbd_probe() fails fixed.
* Don't store event channel in device info.
I started
2007 Apr 18
25
[patch 00/21] Xen-paravirt: Xen guest implementation for paravirt_ops interface
Hi Andi,
This patch series implements the Linux Xen guest in terms of the
paravirt-ops interface. The features in implemented this patch series
are:
* domU only
* UP only (most code is SMP-safe, but there's no way to create a new vcpu)
* writable pagetables, with late pinning/early unpinning
(no shadow pagetable support)
* supports both PAE and non-PAE modes
* xen console
* virtual
2007 Apr 18
25
[patch 00/21] Xen-paravirt: Xen guest implementation for paravirt_ops interface
Hi Andi,
This patch series implements the Linux Xen guest in terms of the
paravirt-ops interface. The features in implemented this patch series
are:
* domU only
* UP only (most code is SMP-safe, but there's no way to create a new vcpu)
* writable pagetables, with late pinning/early unpinning
(no shadow pagetable support)
* supports both PAE and non-PAE modes
* xen console
* virtual