Displaying 20 results from an estimated 70 matches for "is_running_on_xen".
2007 Jun 04
2
help to understand is_running _on_xen ?
help to understand is_running _on_xen ?
I don''t understand why we check this condition is_running_on_xen ?In all drivers(front & back) code we are checking this condition ?what is this function stands for ? what it does ?
DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any at...
2008 Aug 26
0
[PATCH] xen: compilation fix fo xen CPU hotplugging.
This patch fixes compilation error on ia64.
include asm/xen/hypervisor.h instead of asm-x86/xen/hypervisor.h
use xen_pv_domain() instead of is_running_on_xen()
> CC drivers/xen/cpu_hotplug.o
> In file included from /linux-2.6/drivers/xen/cpu_hotplug.c:5:
> /linux-2.6/include/asm-x86/xen/hypervisor.h:44:22: error: asm/desc.h: No such file or directory
> /linux-2.6/include/asm-x86/xen/hypervisor.h:66:1: warning: "MULTI_UVMFLAGS_IN...
2008 Aug 26
0
[PATCH] xen: compilation fix fo xen CPU hotplugging.
This patch fixes compilation error on ia64.
include asm/xen/hypervisor.h instead of asm-x86/xen/hypervisor.h
use xen_pv_domain() instead of is_running_on_xen()
> CC drivers/xen/cpu_hotplug.o
> In file included from /linux-2.6/drivers/xen/cpu_hotplug.c:5:
> /linux-2.6/include/asm-x86/xen/hypervisor.h:44:22: error: asm/desc.h: No such file or directory
> /linux-2.6/include/asm-x86/xen/hypervisor.h:66:1: warning: "MULTI_UVMFLAGS_IN...
2008 Aug 26
0
[PATCH] xen: compilation fix fo xen CPU hotplugging.
This patch fixes compilation error on ia64.
include asm/xen/hypervisor.h instead of asm-x86/xen/hypervisor.h
use xen_pv_domain() instead of is_running_on_xen()
> CC drivers/xen/cpu_hotplug.o
> In file included from /linux-2.6/drivers/xen/cpu_hotplug.c:5:
> /linux-2.6/include/asm-x86/xen/hypervisor.h:44:22: error: asm/desc.h: No such file or directory
> /linux-2.6/include/asm-x86/xen/hypervisor.h:66:1: warning: "MULTI_UVMFLAGS_IN...
2008 Feb 28
7
[PATCH 0/5] RFC: ia64/pv_ops: ia64 intrinsics paravirtualization
Hi. Thank you for comments on asm code paravirtualization.
Its direction is getting clear. Although it hasn't been finished yet,
I'd like to start discussion on ia64 intrinsics paravirtualization.
This patch set is just for discussion so that it is a subset of
xen Linux/ia64 domU paravirtualization, not self complete.
You can get the full patched tree by typing
git clone
2008 Feb 28
7
[PATCH 0/5] RFC: ia64/pv_ops: ia64 intrinsics paravirtualization
Hi. Thank you for comments on asm code paravirtualization.
Its direction is getting clear. Although it hasn't been finished yet,
I'd like to start discussion on ia64 intrinsics paravirtualization.
This patch set is just for discussion so that it is a subset of
xen Linux/ia64 domU paravirtualization, not self complete.
You can get the full patched tree by typing
git clone
2008 Feb 21
28
[PATCH 00/28] ia64/xen domU paravirtualization
Hi linux/ia64 developers.
Few days before Eddie posted the mail for Linux/IA64 paravirtualization.
But only a few responded partially because there was no reviewable patches.
Here is the patches for xen/ia64 Linux paravirtualization.
The goal is to merge IA64 xen Linux paravirtualization for both domU and dom0
eventually. However the first step is to merge domU portion.
As you can see from the
2007 Apr 18
1
[rfc/patch] use hvc for xen console
Hi,
Here is a patch (on top of the paravirt patch queue) which makes xen
guests use the hvc_console.c infrastructure for the console, thereby
greatly reducing the amount console code. xvc0 is gone too, hvc0 is
used instead.
cheers,
Gerd
--
Gerd Hoffmann <kraxel@suse.de>
2007 Apr 18
1
[rfc/patch] use hvc for xen console
Hi,
Here is a patch (on top of the paravirt patch queue) which makes xen
guests use the hvc_console.c infrastructure for the console, thereby
greatly reducing the amount console code. xvc0 is gone too, hvc0 is
used instead.
cheers,
Gerd
--
Gerd Hoffmann <kraxel@suse.de>
2007 Apr 18
1
[rfc/patch] use hvc for xen console
Hi,
Here is a patch (on top of the paravirt patch queue) which makes xen
guests use the hvc_console.c infrastructure for the console, thereby
greatly reducing the amount console code. xvc0 is gone too, hvc0 is
used instead.
cheers,
Gerd
--
Gerd Hoffmann <kraxel@suse.de>
2008 Mar 05
51
[PATCH 00/50] ia64/xen take 3: ia64/xen domU paravirtualization
...xen ia64 support.
- introduce the pv_ops instance for xen/ia64.
TODO:
- discuss and define intrinsic paravirtualization abi.
- discuss pv_ops.
- more pv_ops for domU
- mca/sal call
- timer
- gate page
- fsys
- support save/restore/live migration
- more clean ups
- remove unnecessary if (is_running_on_xen()).
- Free xen_ivt areas somehow. No waste kernel space
From Keith Owens idea.
Probably after defining ABI because this is just optimization.
- dom0
consider after finishing domU/ia64 merge.
Changes from take 2:
- many clean ups following to comments.
- clean up:assembly instruction macro....
2008 Mar 05
51
[PATCH 00/50] ia64/xen take 3: ia64/xen domU paravirtualization
...xen ia64 support.
- introduce the pv_ops instance for xen/ia64.
TODO:
- discuss and define intrinsic paravirtualization abi.
- discuss pv_ops.
- more pv_ops for domU
- mca/sal call
- timer
- gate page
- fsys
- support save/restore/live migration
- more clean ups
- remove unnecessary if (is_running_on_xen()).
- Free xen_ivt areas somehow. No waste kernel space
From Keith Owens idea.
Probably after defining ABI because this is just optimization.
- dom0
consider after finishing domU/ia64 merge.
Changes from take 2:
- many clean ups following to comments.
- clean up:assembly instruction macro....
2006 May 23
0
RE: [Xen-ia64-devel] Re: PATCH: split smpboot.c and createcpuhotplug.c
...en.
>
>* xen/core/smpboot.c is not a drop in replacement for
>arch/ia64/kernel/smpboot.c Surgery will be required.
>
>* If we used xen/core/smpboot.c, we''d lose transparent virtualization.
>To
>re-enable it we had to do surgery again.
>
>Tristan.
Can''t is_running_on_xen help you with transparent virtualization? Checks
on several major entry paths should be enough...
The 2nd point seems more reasonable to me if logic does differ a lot.
Thanks,
Kevin
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://list...
2007 Jun 11
5
[PATCH][Linux] gnttab: make dma address conversion logic of gnttab dma arch specific.
...l other pages are simply returned as is.
*/
-maddr_t gnttab_dma_map_page(struct page *page)
-{
- maddr_t maddr = page_to_bus(page);
+void __gnttab_dma_map_page(struct page *page,
+ int (*local_pfn)(struct page *page))
+{
unsigned int seq;
- if (!PageForeign(page))
- return maddr;
+ if (!is_running_on_xen() || !PageForeign(page))
+ return;
do {
seq = read_seqbegin(&gnttab_dma_lock);
- maddr = page_to_bus(page);
-
- /* Has it become a local MFN? */
- if (pfn_valid(mfn_to_local_pfn(maddr >> PAGE_SHIFT)))
+
+ if (local_pfn && (*local_pfn)(page))
break;
atomic_set(...
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 27
1
xen: Make hvc0 the preferred console in domU
This makes the Xen console just work. Before, you had to ask for it
on the kernel command line with console=hvc0
Signed-off-by: Markus Armbruster <armbru at redhat.com>
---
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c
index 49e5358..df63185 100644
--- a/arch/x86/xen/enlighten.c
+++ b/arch/x86/xen/enlighten.c
@@ -25,6 +25,7 @@
#include <linux/mm.h>
#include
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