All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: Status of auto_translated_mode
@ 2006-03-28 12:33 Ian Pratt
  2006-03-28 14:01 ` Jesper Kristensen
  0 siblings, 1 reply; 7+ messages in thread
From: Ian Pratt @ 2006-03-28 12:33 UTC (permalink / raw)
  To: Tian, Kevin, Keir Fraser; +Cc: Isaku Yamahata, xen-devel

> Hi, Keir,
> 	Per agreement on last xen summit, now xen/ia64 
> community is working on moving dom0 from current p==m model 
> to p!=m model. First an easy way is chosen by Isaku that 
> physmap is invisible to dom0 which is instead managed by Xen. 
> After some investigation, we found that existing 
> auto_translated_mode matches our model and then would like to 
> know the status of this mode on xen/x86.
> 
> 1. First a background question, what's the major usage model 
> for auto_translated_mode? 
 
Currently, the main usage model is to support guests that haven't got
fully paravirtualied mm systems. It's also useful for a number of
research projects, such as vm fork, determinsitic replay etc.

> 2. Is auto_translated_mode only used for domU? Seems this 
> model can't apply to modified DMA interface since mfn is 
> required to manipulate physical devices.

It's currently only used for domU's, and needs to be extended to support
lookup of mfn's for DMA addresses, and to enable the backend drives to
work.

> 3. Does anyone exercise this mode recently? Is this logic 
> working or broken?

Definitely working.

> 	We'd like to know which areas need to be enhanced if 
> this translated mode can be applied to dom0. That would save 
> people much time since virtual drivers together with grant 
> table have been tuned to accommodate this mode. Then this 
> translated mode may be made more generic. :-)

The first thing I would do is get physcial device access working from
for a auto_translate guest.

Ian

^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: Status of auto_translated_mode
@ 2006-03-28 14:06 Tian, Kevin
  0 siblings, 0 replies; 7+ messages in thread
From: Tian, Kevin @ 2006-03-28 14:06 UTC (permalink / raw)
  To: Jesper Kristensen, xen-devel

>From: Jesper Kristensen
>Sent: 2006年3月28日 22:02
>Ian Pratt wrote:
>
>>>After some investigation, we found that existing
>>>auto_translated_mode matches our model and then would like to
>>>know the status of this mode on xen/x86.
>>>
>>>1. First a background question, what's the major usage model
>>>for auto_translated_mode?
>>>
>>>
>>
>>Currently, the main usage model is to support guests that haven't got
>>fully paravirtualied mm systems. It's also useful for a number of
>>research projects, such as vm fork, determinsitic replay etc.
>>
>>
>>
>A quick question: Can this be enabled on a per domU basis and how is
>this done correctly? The furthest I can track it is in
>tools/libxc/xc_linux_build.c
>
>    shadow_mode_enabled =
>test_feature_bit(XENFEAT_auto_translated_physmap,
>required_features);
>
>one could of course for now hardcode shadow_mode_enabled to 1, but it
>sounds like there would be a config file option for this kind of thing.
>I can not seem to backtrack this any further. So my question is this:
>how do I enable translated shadow mode as cleanly as possible?
>
>Best Regards,
>Jesper Kristensen

You can add a "features=" in your config file, which will be parsed and 
then passed to xc_linux_build.

Thanks,
Kevin

^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: Status of auto_translated_mode
@ 2006-03-28 13:11 Tian, Kevin
  0 siblings, 0 replies; 7+ messages in thread
From: Tian, Kevin @ 2006-03-28 13:11 UTC (permalink / raw)
  To: Ian Pratt, Keir Fraser; +Cc: Isaku Yamahata, xen-devel

>From: Ian Pratt [mailto:m+Ian.Pratt@cl.cam.ac.uk]
>Sent: 2006年3月28日 20:33
>> 1. First a background question, what's the major usage model
>> for auto_translated_mode?
>
>Currently, the main usage model is to support guests that haven't got
>fully paravirtualied mm systems. It's also useful for a number of
>research projects, such as vm fork, determinsitic replay etc.

Thanks for clarification. Seems XENFEAT_supervisor_mode_kernel also 
serves for similar research purpose, right? :-)

>
>> 2. Is auto_translated_mode only used for domU? Seems this
>> model can't apply to modified DMA interface since mfn is
>> required to manipulate physical devices.
>
>It's currently only used for domU's, and needs to be extended to support
>lookup of mfn's for DMA addresses, and to enable the backend drives to
>work.

OK, then that's the areas xen/ia64 needs to solve since we want dom0 to 
run on top of this model.

>
>> 3. Does anyone exercise this mode recently? Is this logic
>> working or broken?
>
>Definitely working.

Great.

>
>> 	We'd like to know which areas need to be enhanced if
>> this translated mode can be applied to dom0. That would save
>> people much time since virtual drivers together with grant
>> table have been tuned to accommodate this mode. Then this
>> translated mode may be made more generic. :-)
>
>The first thing I would do is get physcial device access working from
>for a auto_translate guest.
>
>Ian

Yep.

Thanks,
Kevin

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Status of auto_translated_mode
@ 2006-03-28 11:28 Tian, Kevin
  0 siblings, 0 replies; 7+ messages in thread
From: Tian, Kevin @ 2006-03-28 11:28 UTC (permalink / raw)
  To: Keir Fraser; +Cc: Isaku Yamahata, xen-devel

Hi, Keir,
	Per agreement on last xen summit, now xen/ia64 community is
working on 
moving dom0 from current p==m model to p!=m model. First an easy way is
chosen 
by Isaku that physmap is invisible to dom0 which is instead managed by
Xen. After 
some investigation, we found that existing auto_translated_mode matches
our model 
and then would like to know the status of this mode on xen/x86.

1. First a background question, what's the major usage model for 
auto_translated_mode? 

2. Is auto_translated_mode only used for domU? Seems this model can't
apply to 
modified DMA interface since mfn is required to manipulate physical
devices.

3. Does anyone exercise this mode recently? Is this logic working or
broken?

	We'd like to know which areas need to be enhanced if this
translated mode can 
be applied to dom0. That would save people much time since virtual
drivers together 
with grant table have been tuned to accommodate this mode. Then this
translated 
mode may be made more generic. :-)

Thanks,
Kevin

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

end of thread, other threads:[~2006-03-28 14:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-28 12:33 Status of auto_translated_mode Ian Pratt
2006-03-28 14:01 ` Jesper Kristensen
2006-03-28 14:13   ` Ian Campbell
2006-03-28 14:25   ` Christian Limpach
  -- strict thread matches above, loose matches on Subject: below --
2006-03-28 14:06 Tian, Kevin
2006-03-28 13:11 Tian, Kevin
2006-03-28 11:28 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.