|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] write_tsc in a PV domain?
On 26/08/2009 00:09, "Dan Magenheimer" <dan.magenheimer@xxxxxxxxxx> wrote:
>> arch/x86/traps.c:emulate_privileged_op(), case 0x30. It looks like
>> writing to 0x10 would be silently ignored.
>
> Hmmm... maybe I am misreading the code but it looks like the
> default case will end up with "goto fail" which will not
> update IP and so will infinite loop trapping on that instruction.
>
> It appears that write_tsc calls are made in linux-2.6.18 (though
> apparently never get executed) but disappear somewhere before
> 2.6.24 and don't exist in 2.6.30 either. So perhaps write_tsc
> has never been executed in a PV guest and just doesn't work.
Jeremy is correct. The TSC MSR cannot be written. Most that will happen is
that Xen will print a warning message, but the WRMSR instruction will always
be skipped over.
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] write_tsc in a PV domain?, Dan Magenheimer
- Re: [Xen-devel] write_tsc in a PV domain?, Jeremy Fitzhardinge
- RE: [Xen-devel] write_tsc in a PV domain?, Dan Magenheimer
- Re: [Xen-devel] write_tsc in a PV domain?,
Keir Fraser <=
- RE: [Xen-devel] write_tsc in a PV domain?, Dan Magenheimer
- Re: [Xen-devel] write_tsc in a PV domain?, Keir Fraser
- Re: [Xen-devel] write_tsc in a PV domain?, Jeremy Fitzhardinge
- RE: [Xen-devel] write_tsc in a PV domain?, Dan Magenheimer
- Re: [Xen-devel] write_tsc in a PV domain?, Jeremy Fitzhardinge
- RE: [Xen-devel] write_tsc in a PV domain?, Dan Magenheimer
- Re: [Xen-devel] write_tsc in a PV domain?, Chris Lalancette
- RE: [Xen-devel] write_tsc in a PV domain?, Dan Magenheimer
- Re: [Xen-devel] write_tsc in a PV domain?, Chris Lalancette
- Re: [Xen-devel] write_tsc in a PV domain?, Alan Cox
|
|
|
|
|