Displaying 20 results from an estimated 2000 matches similar to: "xc_translate_foreign_address() returns mfn??"
2006 Jun 15
1
Bug with xc_translate_foreign_address?
Hi all,
I am receiving an error on a VT HVM, which appears to be located in the
function xc_translate_foreign_address.
Running the xenctx tool on a VT HVM (xen-testing 3.0.2) it returns:
# ./xenctx -f 1
eip: c027b646
esp: c0441ed4
eax: 000000c4 ebx: c0495300 ecx: 000001f7 edx: 000001f7
esi: c0495394 edi: 00000000 ebp: c027fec0
cs: 00000060 ds: 0000007b fs: 00000000 gs:
2011 Nov 01
2
xenpaing: one way to avoid paging out the page, when the corresponding mfn is in use.
Hello,
Recently many advanced memory mechanisms are introduced into Xen. One problem we found is the conflict between p2m query and setting.
For example, backend drivers always map domU’s page to its own space, during the mapping procedure, situations as follow may happen,
when mfn is obtained by gfn_to_mfn(), this mfn is likely to be paged out.
first case:
grant mapping
2012 Jun 08
18
[PATCH 0 of 4 RFC] Populate-on-demand: Check pages being returned by the balloon driver
Populate-on-demand: Check pages being returned by the balloon driver
This patch series is the second result of my work last summer on
decreasing fragmentation of superpages in a guests'' p2m when using
populate-on-demand.
This patch series is against 4.1; I''m posting it to get feedback on
the viability of getting a ported version of this patch into 4.2.
As with the previous
2011 Sep 23
2
Some problems about xenpaging
Hi, Olaf
we have tested the xenpaging feature and found some problems.
(1) the test case like this : when we start a VM with POD enable, the xenpaging is started at the same time.
this case will cause many problems ,finally, we fixed the BUG, the patch is attached below.
(2) there is a very serious problem. we have observed many VM crash examples, the error code is not always the same.
2008 Jul 10
2
question about mapping memory from Dom0 to domU
Hi:
I wanna write code about sharing memory between dom0 and domU, and I decide to use void *xc_map_foreign_range(int xc_handle, unint32_t dom, int size, int port, unsigned long mfn) (this is a function in xenctl.h).
My question is :
If I wanna map a range of memory in dom0 to domU, how can I get the value of mfn? and I do not know the port here.
Can anybody help me ?
Thanks .
2013 Jul 17
4
[xen-unstable] FATAL PAGE FAULT when shutting down guest with pci passthrough using MSI interrupts
Hi Jan,
It seems the last changes to xen-unstable to implement multi-msi-irq''s cause some trouble.
The guest starts and works fine. But it causes a xen crash when shutting the guest down.
(xen_changeset: Thu Jul 4 16:01:06 2013 +0100 git:d4435fe)
If you need more info than given below in the serial log snippet, just say so ..
--
Sander
(XEN) [2013-07-17 19:10:09] AMD-Vi: Share p2m
2011 Nov 29
10
[PATCH 0 of 2] Fix correctness race in xc_mem_paging_prep
ging_prep ensures that an mfn is backing the paged-out gfn, and
transitions to the next state in the paging state machine for this page.
Foreign mappings of the gfn will now succeed. This is the key idea, as it
allows the pager to now map the gfn and fill in its contents.
Unfortunately, it also allows any other foreign mapper to map the gfn and read
its contents. This is particularly dangerous
2007 Dec 05
13
[PATCH] unshadow the page table page which are used as data page
The patch deals with the situation which guest OS uses unused page table
pages as data pages and write data to them. The pages will still be
grabbed by Xen as page table pages, and lots of unnecessary page faults
occur.
The patch will check if the data guest writes to the page table contains
valid mfn or not, if not, we believe it is a data page now and then
unshadow the page.
The patch
2012 Sep 05
21
[PATCH] amd iommu: Dump flags of IO page faults
Hi Jan,
Attached patch dumps io page fault flags. The flags show the reason of
the fault and tell us if this is an unmapped interrupt fault or a DMA fault.
Thanks,
Wei
signed-off-by: Wei Wang <wei.wang2@amd.com>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
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
2011 Mar 25
2
[RFC PATCH 2/3] AMD IOMMU: Implement p2m sharing
--
Advanced Micro Devices GmbH
Sitz: Dornach, Gemeinde Aschheim,
Landkreis München Registergericht München,
HRB Nr. 43632
WEEE-Reg-Nr: DE 12919551
Geschäftsführer:
Alberto Bozzo, Andrew Bowd
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2013 Dec 06
36
[V6 PATCH 0/7]: PVH dom0....
Hi,
V6: The only change from V5 is in patch #6:
- changed comment to reflect autoxlate
- removed a redundant ASSERT
- reworked logic a bit so that get_page_from_gfn() is called with NULL
for p2m type as before. arm has ASSERT wanting it to be NULL.
Tim: patch 4 needs your approval.
Daniel: patch 5 needs your approval.
These patches implement PVH dom0.
Patches 1 and 2
2007 Apr 12
1
xc_map_foreign_range with mfn?
I am using Xen 3.0.4 vmx (on Intel VT).
I need to map in a foreign page, given its mfn (not gpfn), into dom0. I
used to do this quite well with Xen 3.0.2. However, when I ported my code
to Xen 3.0.4, things seem to have changed.
Does xc_map_foreign_range accept an mfn or a gpfn as its argument? It
seems to be accepting gpfn in 3.0.4. Is that true? If so, can anyone
please suggest a way for
2007 Jul 02
3
Walking an HVM''s shadow page tables and other memory management questions.
Hello,
I''m new to Xen and especially to the hypervisor code. I''m working off a
3.0.4.1 base and have the following questions regarding the memory
management code for an x86, 32-bit platform (capable of supporting PAE).
I''m doing some research into providing grant table hypercall support
from a Windows 2003 HVM. I have made all the necessary changes to allow
the
2011 Sep 08
5
[PATCH 0 of 2] v2: memshare/xenpaging/xen-access fixes for xen-unstable
The following two patches allow the parallel use of memsharing, xenpaging and
xen-access by using an independent ring buffer for each feature.
Please review.
v2:
- update mem_event_check_ring arguments, check domain rather than domain_id
- check ring_full first because its value was just evaluated
- check if ring buffer is initialized before calling
mem_access_domctl/mem_paging_domctl
2011 May 06
14
[PATCH 0 of 4] Use superpages on restore/migrate
This patch series restores the use of superpages when restoring or
migrating a VM, while retaining efficient batching of 4k pages when
superpages are not appropriate or available.
Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2013 Oct 23
3
[PATCH] xen/arm: add_to_physmap_one: Avoid to map mfn 0 if an error occurs
By default, the function add_to_physmap_one set mfn to 0. Some code paths that
result to an error, continue and the map the mfn 0 (valid on ARM) to the
slot given by the guest.
To fix the problem, return directly an error if sanity check has failed.
Signed-off-by: Julien Grall <julien.grall@linaro.org>
---
xen/arch/arm/mm.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git
2012 Mar 01
14
[PATCH 0 of 3] RFC Paging support for AMD NPT V2
There has been some progress, but still no joy. Definitely not intended for
inclusion at this point.
Tim, Wei, I added a Xen command line toggle to disable IOMMU and P2M table
sharing.
Tim, I verified that changes to p2m-pt.c don''t break shadow mode (64bit
hypervisor and Win 7 guest).
Hongkaixing, I incorporated your suggestion in patch 2, so I should add your
Signed-off-by eventually.
2013 Jan 16
1
rombios unable to loaded MPT BIOS
Hi All,
When tried to pass through 2 mpt2sas HBA to hvm guest, hvmloader
paused with below:
MPT BIOS Fault 09h encountered at adapter PCI(00h,04h,00h)
Press any key to continue...
Checked related codes and mostly like it caused by rombios did not
loaded MPT BIOS properly, and lead MPT BIOS failed to bootup.
config-file of the guest as below:
----------------------------------
# cat vm.cfg
2007 Feb 12
0
[PATCH] lift physical address restriction in svae/restore code
Bump this to 44 bits for x86-32 and 52 bits for x86-64.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Index: 2007-02-07/tools/libxc/xc_linux_restore.c
===================================================================
--- 2007-02-07.orig/tools/libxc/xc_linux_restore.c 2007-01-17 11:16:20.000000000 +0100
+++ 2007-02-07/tools/libxc/xc_linux_restore.c 2007-02-12 09:06:05.000000000 +0100