* XENFEAT_supervisor_mode_kernel ???
@ 2008-11-20 22:42 Mukesh Rathor
2008-11-20 22:55 ` Keir Fraser
0 siblings, 1 reply; 6+ messages in thread
From: Mukesh Rathor @ 2008-11-20 22:42 UTC (permalink / raw)
To: xen-devel
Hi all,
I'm trying ot figure out what that's all about? I see in 64 PV domU, it's
being checked prior to returning from syscall. On the xen side, I see it tied
to supervisor_mode_kernel, but the only info I find is changelog comment which
suggests it's purpose is to allow dom0 run in ring 0... So why the check in a
domU kernel?
Thanks,
Mukesh
| |
| | <= Invisible ribbon campain against overuse of macros :).
| |
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: XENFEAT_supervisor_mode_kernel ???
2008-11-20 22:42 XENFEAT_supervisor_mode_kernel ??? Mukesh Rathor
@ 2008-11-20 22:55 ` Keir Fraser
2008-11-20 23:03 ` Mukesh Rathor
0 siblings, 1 reply; 6+ messages in thread
From: Keir Fraser @ 2008-11-20 22:55 UTC (permalink / raw)
To: mukesh.rathor, xen-devel
On 20/11/08 22:42, "Mukesh Rathor" <mukesh.rathor@oracle.com> wrote:
> I'm trying ot figure out what that's all about? I see in 64 PV domU, it's
> being checked prior to returning from syscall. On the xen side, I see it tied
> to supervisor_mode_kernel, but the only info I find is changelog comment which
> suggests it's purpose is to allow dom0 run in ring 0... So why the check in a
> domU kernel?
It's useful if the hypervisor runs the guest kernel in ring 0. Current Xen
doesn't do that, but in future we may run 64-bit PV guests in HVM context as
that may actually be faster.
-- Keir
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: XENFEAT_supervisor_mode_kernel ???
2008-11-20 22:55 ` Keir Fraser
@ 2008-11-20 23:03 ` Mukesh Rathor
2008-11-20 23:07 ` Keir Fraser
2008-11-24 1:11 ` Jeremy Fitzhardinge
0 siblings, 2 replies; 6+ messages in thread
From: Mukesh Rathor @ 2008-11-20 23:03 UTC (permalink / raw)
To: Keir Fraser; +Cc: xen-devel
Oh, cool. I was looking at syscalls on PV x86_64 guests, and one of my
thoughts was running in HVM mode but do all MMU stuff using hypercalls like
PV. Other than having to change the hyp domain create portions, setting things
up, is there a technical reason it can't be done today... thanks, Mukesh
Keir Fraser wrote:
> On 20/11/08 22:42, "Mukesh Rathor" <mukesh.rathor@oracle.com> wrote:
>
>> I'm trying ot figure out what that's all about? I see in 64 PV domU, it's
>> being checked prior to returning from syscall. On the xen side, I see it tied
>> to supervisor_mode_kernel, but the only info I find is changelog comment which
>> suggests it's purpose is to allow dom0 run in ring 0... So why the check in a
>> domU kernel?
>
> It's useful if the hypervisor runs the guest kernel in ring 0. Current Xen
> doesn't do that, but in future we may run 64-bit PV guests in HVM context as
> that may actually be faster.
>
> -- Keir
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: XENFEAT_supervisor_mode_kernel ???
2008-11-20 23:03 ` Mukesh Rathor
@ 2008-11-20 23:07 ` Keir Fraser
2008-11-24 1:11 ` Jeremy Fitzhardinge
1 sibling, 0 replies; 6+ messages in thread
From: Keir Fraser @ 2008-11-20 23:07 UTC (permalink / raw)
To: mukesh.rathor; +Cc: xen-devel
No, not really. The hypervisor changes could likely not be that large.
-- Keir
On 20/11/08 23:03, "Mukesh Rathor" <mukesh.rathor@oracle.com> wrote:
> Oh, cool. I was looking at syscalls on PV x86_64 guests, and one of my
> thoughts was running in HVM mode but do all MMU stuff using hypercalls like
> PV. Other than having to change the hyp domain create portions, setting things
> up, is there a technical reason it can't be done today... thanks, Mukesh
>
> Keir Fraser wrote:
>> On 20/11/08 22:42, "Mukesh Rathor" <mukesh.rathor@oracle.com> wrote:
>>
>>> I'm trying ot figure out what that's all about? I see in 64 PV domU, it's
>>> being checked prior to returning from syscall. On the xen side, I see it
>>> tied
>>> to supervisor_mode_kernel, but the only info I find is changelog comment
>>> which
>>> suggests it's purpose is to allow dom0 run in ring 0... So why the check in
>>> a
>>> domU kernel?
>>
>> It's useful if the hypervisor runs the guest kernel in ring 0. Current Xen
>> doesn't do that, but in future we may run 64-bit PV guests in HVM context as
>> that may actually be faster.
>>
>> -- Keir
>>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: XENFEAT_supervisor_mode_kernel ???
2008-11-20 23:03 ` Mukesh Rathor
2008-11-20 23:07 ` Keir Fraser
@ 2008-11-24 1:11 ` Jeremy Fitzhardinge
2008-11-24 22:37 ` Mukesh Rathor
1 sibling, 1 reply; 6+ messages in thread
From: Jeremy Fitzhardinge @ 2008-11-24 1:11 UTC (permalink / raw)
To: mukesh.rathor; +Cc: xen-devel, Keir Fraser
Mukesh Rathor wrote:
> Oh, cool. I was looking at syscalls on PV x86_64 guests, and one of my
> thoughts was running in HVM mode but do all MMU stuff using hypercalls
> like PV. Other than having to change the hyp domain create portions,
> setting things up, is there a technical reason it can't be done
> today... thanks, Mukesh
It's sort of on my list of things to look at. But I'm still rather tied
up in the dom0 work, so if you want to have a stab at it, go ahead!
J
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: XENFEAT_supervisor_mode_kernel ???
2008-11-24 1:11 ` Jeremy Fitzhardinge
@ 2008-11-24 22:37 ` Mukesh Rathor
0 siblings, 0 replies; 6+ messages in thread
From: Mukesh Rathor @ 2008-11-24 22:37 UTC (permalink / raw)
To: Jeremy Fitzhardinge; +Cc: xen-devel, Keir Fraser
Yup, I started looking into it, but significant progress after
holidays/vacation late January. Thanks, mukesh
Jeremy Fitzhardinge wrote:
> Mukesh Rathor wrote:
>> Oh, cool. I was looking at syscalls on PV x86_64 guests, and one of my
>> thoughts was running in HVM mode but do all MMU stuff using hypercalls
>> like PV. Other than having to change the hyp domain create portions,
>> setting things up, is there a technical reason it can't be done
>> today... thanks, Mukesh
>
> It's sort of on my list of things to look at. But I'm still rather tied
> up in the dom0 work, so if you want to have a stab at it, go ahead!
>
> J
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-11-24 22:37 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-20 22:42 XENFEAT_supervisor_mode_kernel ??? Mukesh Rathor
2008-11-20 22:55 ` Keir Fraser
2008-11-20 23:03 ` Mukesh Rathor
2008-11-20 23:07 ` Keir Fraser
2008-11-24 1:11 ` Jeremy Fitzhardinge
2008-11-24 22:37 ` Mukesh Rathor
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.