All of lore.kernel.org
 help / color / mirror / Atom feed
* One question about the hypercall to translate gfn to mfn.
@ 2014-12-09 10:10 Yu, Zhang
  2014-12-09 10:19 ` Paul Durrant
                   ` (2 more replies)
  0 siblings, 3 replies; 59+ messages in thread
From: Yu, Zhang @ 2014-12-09 10:10 UTC (permalink / raw)
  To: Paul.Durrant, keir, tim, JBeulich, kevin.tian, Xen-devel

Hi all,

   As you can see, we are pushing our XenGT patches to the upstream. One 
feature we need in xen is to translate guests' gfn to mfn in XenGT dom0 
device model.

   Here we may have 2 similar solutions:
   1> Paul told me(and thank you, Paul :)) that there used to be a 
hypercall, XENMEM_translate_gpfn_list, which was removed by Keir in 
commit 2d2f7977a052e655db6748be5dabf5a58f5c5e32, because there was no 
usage at that time. So solution 1 is to revert this commit. However, 
since this hypercall was removed ages ago, the reverting met many 
conflicts, i.e. the gmfn_to_mfn is no longer used in x86, etc.

   2> In our project, we defined a new hypercall 
XENMEM_get_mfn_from_pfn, which has a similar implementation like the 
previous XENMEM_translate_gpfn_list. One of the major differences is 
that this newly defined one is only for x86(called in arch_memory_op), 
so we do not have to worry about the arm side.

   Does anyone has any suggestions about this?
   Thanks in advance. :)

B.R.
Yu

^ permalink raw reply	[flat|nested] 59+ messages in thread

end of thread, other threads:[~2015-01-12 11:14 UTC | newest]

Thread overview: 59+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-09 10:10 One question about the hypercall to translate gfn to mfn Yu, Zhang
2014-12-09 10:19 ` Paul Durrant
2014-12-09 10:37   ` Yu, Zhang
2014-12-09 10:50     ` Jan Beulich
2014-12-10  1:07       ` Tian, Kevin
2014-12-10  8:39         ` Jan Beulich
2014-12-10  8:47           ` Tian, Kevin
2014-12-10  9:16             ` Jan Beulich
2014-12-10  9:51               ` Tian, Kevin
2014-12-10 10:07                 ` Jan Beulich
2014-12-10 11:04                 ` Malcolm Crossley
2014-12-10  8:50           ` Tian, Kevin
2014-12-09 10:51     ` Malcolm Crossley
2014-12-10  1:22       ` Tian, Kevin
2014-12-09 10:38 ` Jan Beulich
2014-12-09 10:46 ` Tim Deegan
2014-12-09 11:05   ` Paul Durrant
2014-12-09 11:11     ` Ian Campbell
2014-12-09 11:17       ` Paul Durrant
2014-12-09 11:23         ` Jan Beulich
2014-12-09 11:28           ` Malcolm Crossley
2014-12-09 11:29         ` Ian Campbell
2014-12-09 11:43           ` Paul Durrant
2014-12-10  1:48             ` Tian, Kevin
2014-12-10 10:11               ` Ian Campbell
2014-12-11  1:50                 ` Tian, Kevin
2014-12-10  1:14   ` Tian, Kevin
2014-12-10 10:36     ` Jan Beulich
2014-12-11  1:45       ` Tian, Kevin
2014-12-10 10:55     ` Tim Deegan
2014-12-11  1:41       ` Tian, Kevin
2014-12-11 16:46         ` Tim Deegan
2014-12-12  7:24           ` Tian, Kevin
2014-12-12 10:54             ` Jan Beulich
2014-12-15  6:25               ` Tian, Kevin
2014-12-15  8:44                 ` Jan Beulich
2014-12-15  9:05                   ` Tian, Kevin
2014-12-15  9:22                     ` Jan Beulich
2014-12-15 11:16                       ` Tian, Kevin
2014-12-15 11:27                         ` Jan Beulich
2014-12-15 15:22                       ` Stefano Stabellini
2014-12-15 16:01                         ` Jan Beulich
2014-12-15 16:15                           ` Stefano Stabellini
2014-12-15 16:28                             ` David Vrabel
2014-12-15 16:28                             ` Jan Beulich
2014-12-18 15:46             ` Tim Deegan
2015-01-06  8:56               ` Tian, Kevin
2015-01-08 12:43                 ` Tim Deegan
2015-01-09  8:02                   ` Tian, Kevin
2015-01-09 20:08                     ` Konrad Rzeszutek Wilk
2015-01-12 11:14                     ` David Vrabel
2014-12-11 21:29         ` Tim Deegan
2014-12-12  6:29           ` Tian, Kevin
2014-12-18 16:08             ` Tim Deegan
2014-12-18 17:01               ` Andrew Cooper
2015-01-05 15:49             ` George Dunlap
2015-01-06  8:42               ` Tian, Kevin
2015-01-06 10:35                 ` Ian Campbell
2014-12-12  7:30           ` Tian, Kevin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.