Displaying 20 results from an estimated 114 matches for "xen_featur".
Did you mean:
xen_feature
2008 Nov 05
0
[PATCH] blktap: ensure vma->vm_mm''s mmap_sem is being held whenever it is being modified
..., mmap_idx;
unsigned long kvaddr, uvaddr;
tap_blkif_t *info;
+ struct mm_struct *mm;
info = tapfds[tapidx];
@@ -1008,13 +1013,15 @@ static void fast_flush_area(pending_req_
return;
}
+ mm = info->vma ? info->vma->vm_mm : NULL;
+
if (info->vma != NULL &&
xen_feature(XENFEAT_auto_translated_physmap)) {
- down_write(&info->vma->vm_mm->mmap_sem);
+ down_write(&mm->mmap_sem);
zap_page_range(info->vma,
MMAP_VADDR(info->user_vstart, u_idx, 0),
req->nr_pages << PAGE_SHIFT, NULL);
- up_write(&info-&...
2012 Jan 30
4
[PATCH] xen pvhvm: do not remap pirqs onto evtchns if !xen_have_vector_callback
...-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
diff --git a/arch/x86/pci/xen.c b/arch/x86/pci/xen.c
index 492ade8..d99346e 100644
--- a/arch/x86/pci/xen.c
+++ b/arch/x86/pci/xen.c
@@ -374,7 +374,7 @@ int __init pci_xen_init(void)
int __init pci_xen_hvm_init(void)
{
- if (!xen_feature(XENFEAT_hvm_pirqs))
+ if (!xen_have_vector_callback || !xen_feature(XENFEAT_hvm_pirqs))
return 0;
#ifdef CONFIG_ACPI
2012 Oct 17
1
[PATCH 1/6] xen: balloon: allow PVMMU interfaces to be compiled out
...celog tools
+config XEN_HAVE_PVMMU
+ bool
+
endmenu
diff --git a/drivers/xen/balloon.c b/drivers/xen/balloon.c
index db3aa34..92449a0 100644
--- a/drivers/xen/balloon.c
+++ b/drivers/xen/balloon.c
@@ -360,6 +360,7 @@ static enum bp_state increase_reservation(unsigned long nr_pages)
if (!xen_feature(XENFEAT_auto_translated_physmap))
set_phys_to_machine(pfn, frame_list[i]);
+#ifdef CONFIG_XEN_HAVE_PVMMU
/* Link back into the page tables if not highmem. */
if (xen_pv_domain() && !PageHighMem(page) &&
!xen_feature(XENFEAT_auto_translated_physmap)) {
@@ -371,6 +...
2014 Sep 19
4
Standardizing an MSR or other hypercall to get an RNG seed?
...ke kASLR.
>
Still to early to do:
h = cpuid(HYPERVIOR_SIGNATURE)
if (h == KVMKVMKVM) {
if (cpuid(kvm_features) & kvm_rnd)
rdmsr(kvm_rnd)
else (h == HyperV) {
if (cpuid(hv_features) & hv_rnd)
rdmsr(hv_rnd)
else (h == XenXenXen) {
if (cpuid(xen_features) & xen_rnd)
rdmsr(xen_rnd)
}
?
--
Gleb.
2014 Sep 19
4
Standardizing an MSR or other hypercall to get an RNG seed?
...ke kASLR.
>
Still to early to do:
h = cpuid(HYPERVIOR_SIGNATURE)
if (h == KVMKVMKVM) {
if (cpuid(kvm_features) & kvm_rnd)
rdmsr(kvm_rnd)
else (h == HyperV) {
if (cpuid(hv_features) & hv_rnd)
rdmsr(hv_rnd)
else (h == XenXenXen) {
if (cpuid(xen_features) & xen_rnd)
rdmsr(xen_rnd)
}
?
--
Gleb.
2014 Feb 27
3
[PATCH] xen/grant-table: Refactor gnttab_[un]map_refs to avoid m2p_override
...blkback and future netback patches it just cause a lock contention, as
those pages never go to userspace. Therefore this series does the following:
- the bulk of the original function (everything after the mapping hypercall)
is moved to arch-dependent set/clear_foreign_p2m_mapping
- the "if (xen_feature(XENFEAT_auto_translated_physmap))" brach goes to ARM
- therefore the ARM function could be much smaller, the m2p_override stubs
could be also removed
- on x86 the set_phys_to_machine calls were moved up to this new funcion
from m2p_override functions
- and m2p_override functions are only...
2014 Feb 27
3
[PATCH] xen/grant-table: Refactor gnttab_[un]map_refs to avoid m2p_override
...blkback and future netback patches it just cause a lock contention, as
those pages never go to userspace. Therefore this series does the following:
- the bulk of the original function (everything after the mapping hypercall)
is moved to arch-dependent set/clear_foreign_p2m_mapping
- the "if (xen_feature(XENFEAT_auto_translated_physmap))" brach goes to ARM
- therefore the ARM function could be much smaller, the m2p_override stubs
could be also removed
- on x86 the set_phys_to_machine calls were moved up to this new funcion
from m2p_override functions
- and m2p_override functions are only...
2013 May 16
5
xc_map_foreign_bulk() memory leak in ARM version?
Hi Xen folks!
I''ve faced with one strange thing in ARM version of Xen: when I use
xc_map_foreign_bulk() to map some memory from domU to dom0, after unmap()
for previous returned address - memory is not freed at all.
Let''s look at call stack:
xc_map_foreign() ->
linux_privcmd_map_foreign_bulk() ->
{
addr = mmap(fd);
ioctl(fd, IOCTL_PRIVCMD_MMAPBATCH_V2 );
2012 Oct 04
49
[RFC 00/14] arm: implement ballooning and privcmd foreign mappings based on x86 PVH
This series implements ballooning for Xen on ARM and builds and Mukesh''s
PVH privcmd stuff to implement foreign page mapping on ARM, replacing
the old "HACK: initial (very hacky) XENMAPSPACE_gmfn_foreign" patch.
The baseline is a bit complex, it is basically Stefano''s xenarm-forlinus
branch (commit bbd6eb29214e) merged with Konrad''s linux-next-pvh branch
2006 Dec 05
7
vmplayer on xen guest
Hi!
I need to install vmplayer on Xen guest with centos4.4.
When I run vmplayer-config.pl I have problems with inserting vmmon module in kernel. The dmesg shows this message
vmmon: Unknown symbol xen_features
I read on the forums that vmware is not running on Xen. What I am wondering is if this affirmation refers also to vmplayer and if not how can I skip this problem?
Thanks in advance!
---------------------------------
Everyone is raving about the all-new Yahoo! Mail beta.
_________________...
2014 Sep 19
3
Standardizing an MSR or other hypercall to get an RNG seed?
...t; if (h == KVMKVMKVM) {
> > if (cpuid(kvm_features) & kvm_rnd)
> > rdmsr(kvm_rnd)
> > else (h == HyperV) {
> > if (cpuid(hv_features) & hv_rnd)
> > rdmsr(hv_rnd)
> > else (h == XenXenXen) {
> > if (cpuid(xen_features) & xen_rnd)
> > rdmsr(xen_rnd)
> > }
> >
>
> If we need to do chase loops, especially not so...
>
What loops exactly? As a non native English speaker I fail to understand
if your answer is "yes" or "no" ;)
--
Gleb.
2014 Sep 19
3
Standardizing an MSR or other hypercall to get an RNG seed?
...t; if (h == KVMKVMKVM) {
> > if (cpuid(kvm_features) & kvm_rnd)
> > rdmsr(kvm_rnd)
> > else (h == HyperV) {
> > if (cpuid(hv_features) & hv_rnd)
> > rdmsr(hv_rnd)
> > else (h == XenXenXen) {
> > if (cpuid(xen_features) & xen_rnd)
> > rdmsr(xen_rnd)
> > }
> >
>
> If we need to do chase loops, especially not so...
>
What loops exactly? As a non native English speaker I fail to understand
if your answer is "yes" or "no" ;)
--
Gleb.
2012 Apr 10
7
[PATCH v3 1/2] xen: enter/exit lazy_mmu_mode around m2p_override calls
...;
}
+ arch_leave_lazy_mmu_mode();
return ret;
}
diff --git a/drivers/xen/grant-table.c b/drivers/xen/grant-table.c
index b4d4eac..c7dc2d6 100644
--- a/drivers/xen/grant-table.c
+++ b/drivers/xen/grant-table.c
@@ -751,6 +751,8 @@ int gnttab_map_refs(struct gnttab_map_grant_ref *map_ops,
if (xen_feature(XENFEAT_auto_translated_physmap))
return ret;
+ arch_enter_lazy_mmu_mode();
+
for (i = 0; i < count; i++) {
/* Do not add to override if the map failed. */
if (map_ops[i].status)
@@ -769,6 +771,8 @@ int gnttab_map_refs(struct gnttab_map_grant_ref *map_ops,
return ret;
}
+ a...
2007 Jan 24
3
netfront pv driver building
...slated_physmap, which hence can''t ever be true if this
code is being built as pv driver. Wouldn''t it hence make sense to #ifdef these
code blocks, or to enhance xen/features.h so that checks for those features
that are always on in hvm and return a constant 1 rather than using the
xen_features array.
Thanks, Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2013 Aug 16
1
[PATCH] xen: initialize xen panic handler for PVHVM
...ns(+)
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c
index 4aec5ed..53e5726 100644
--- a/arch/x86/xen/enlighten.c
+++ b/arch/x86/xen/enlighten.c
@@ -1713,6 +1713,8 @@ static void __init xen_hvm_guest_init(void)
xen_hvm_init_shared_info();
+ xen_panic_handler_init();
+
if (xen_feature(XENFEAT_hvm_callback_vector))
xen_have_vector_callback = 1;
xen_hvm_smp_init();
--
1.7.11.7
2013 Aug 16
1
[PATCH] xen: initialize xen panic handler for PVHVM
...ns(+)
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c
index 4aec5ed..53e5726 100644
--- a/arch/x86/xen/enlighten.c
+++ b/arch/x86/xen/enlighten.c
@@ -1713,6 +1713,8 @@ static void __init xen_hvm_guest_init(void)
xen_hvm_init_shared_info();
+ xen_panic_handler_init();
+
if (xen_feature(XENFEAT_hvm_callback_vector))
xen_have_vector_callback = 1;
xen_hvm_smp_init();
--
1.7.11.7
2013 Aug 16
1
[PATCH] xen: initialize xen panic handler for PVHVM
...ns(+)
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c
index 4aec5ed..53e5726 100644
--- a/arch/x86/xen/enlighten.c
+++ b/arch/x86/xen/enlighten.c
@@ -1713,6 +1713,8 @@ static void __init xen_hvm_guest_init(void)
xen_hvm_init_shared_info();
+ xen_panic_handler_init();
+
if (xen_feature(XENFEAT_hvm_callback_vector))
xen_have_vector_callback = 1;
xen_hvm_smp_init();
--
1.7.11.7
2013 Aug 27
1
[PATCH] xen/balloon: don't set P2M entry for auto translated guest
...te decrease_reservation(unsigned long nr_pages, gfp_t gfp)
/* No more mappings: invalidate P2M and add to balloon. */
for (i = 0; i < nr_pages; i++) {
pfn = mfn_to_pfn(frame_list[i]);
- __set_phys_to_machine(pfn,
- pfn_to_mfn(page_to_pfn(__get_cpu_var(balloon_scratch_page))));
+ if (!xen_feature(XENFEAT_auto_translated_physmap)) {
+ unsigned long p;
+ struct page *pg;
+ pg = __get_cpu_var(balloon_scratch_page);
+ p = page_to_pfn(pg);
+ __set_phys_to_machine(pfn, pfn_to_mfn(p));
+ }
balloon_append(pfn_to_page(pfn));
}
--
1.7.10.4
2014 Sep 19
2
Standardizing an MSR or other hypercall to get an RNG seed?
...cpuid(kvm_features) & kvm_rnd)
> >>> rdmsr(kvm_rnd)
> >>> else (h == HyperV) {
> >>> if (cpuid(hv_features) & hv_rnd)
> >>> rdmsr(hv_rnd)
> >>> else (h == XenXenXen) {
> >>> if (cpuid(xen_features) & xen_rnd)
> >>> rdmsr(xen_rnd)
> >>> }
> >>>
> >>
> >> If we need to do chase loops, especially not so...
> >>
> > What loops exactly? As a non native English speaker I fail to understand
> > if your answer...
2014 Sep 19
2
Standardizing an MSR or other hypercall to get an RNG seed?
...cpuid(kvm_features) & kvm_rnd)
> >>> rdmsr(kvm_rnd)
> >>> else (h == HyperV) {
> >>> if (cpuid(hv_features) & hv_rnd)
> >>> rdmsr(hv_rnd)
> >>> else (h == XenXenXen) {
> >>> if (cpuid(xen_features) & xen_rnd)
> >>> rdmsr(xen_rnd)
> >>> }
> >>>
> >>
> >> If we need to do chase loops, especially not so...
> >>
> > What loops exactly? As a non native English speaker I fail to understand
> > if your answer...