All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keir Fraser <keir.fraser@eu.citrix.com>
To: Tom Rotenberg <tom.rotenberg@gmail.com>
Cc: Tim Deegan <Tim.Deegan@eu.citrix.com>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: Doamin crash when trying to install disk encryption (PointSec) on Windows HVM
Date: Thu, 23 Apr 2009 15:28:08 +0100	[thread overview]
Message-ID: <C6163988.959C%keir.fraser@eu.citrix.com> (raw)
In-Reply-To: <8686c3cd0904230708w7e0f41c3he3ed303573d52e38@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1968 bytes --]

All task switches are emulated, so you can add tracing to hvm_task_switch()
to check if a switch has occurred. An alternative is that the guest did
another LTR while not being emulated?

If you want to remember the last VMEXIT, you¹ll have to add code to store
state away somewhere to pick up on the next VMENTRY.

 -- Keir

On 23/04/2009 15:08, "Tom Rotenberg" <tom.rotenberg@gmail.com> wrote:

> About the TR, i have re-checked it, and it seems like the TR value is still
> 0x58, althoug the LTR operation put 0x50 into it. Since, i looked at the LTR
> code you sent me, and it seems ok, i tend to suspect, that there was some kind
> of (hardware) task switch, which changed the TR value without me knowing, is
> it possible? because otherwise, i can't really explain why the TR value is
> different than what was loaded from the LTR operation...
> 
> BTW - how can i track what was the previous VMEXIT before this last VMENTRY
> which caused the exception? i think, that probably the last VMEXIT caused the
> "change" to vm86 mode, and this is waht causes the problem...
> 
> Tom
> 
> 2009/4/23 Keir Fraser <keir.fraser@eu.citrix.com>
>> On 23/04/2009 12:44, "Tom Rotenberg" <tom.rotenberg@gmail.com> wrote:
>> 
>>> > However, from the VMCS dump, i saw data, which doesn't seem compatible
>>> with
>>> > this, as the LDTR sellector is indeed 0, but has attributes and limit
>>> > different from zero (although it should have been totaly disabled, by the
>>> > LLDT, no?).
>> 
>> The 'unused' flag in the attributes word is set (bit 16) so LDTR is okay.
>> 
>>> > And more important, the TR selector is 0x58, although from the LTR, it was
>>> > supposed to be 0x50, no?
>> 
>> If 0x50 was loaded then the selector should certainly be 0x50.
>> 
>>  -- Keir
>> 
>>> > (of-course it's possible that there were other instructions who changed it
>>> > back, however, i am wondering if there is a problem here).
>> 
>> 
> 


[-- Attachment #1.2: Type: text/html, Size: 2805 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

  reply	other threads:[~2009-04-23 14:28 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-22  8:50 Doamin crash when trying to install disk encryption (PointSec) on Windows HVM Tom Rotenberg
2009-04-22 10:53 ` Keir Fraser
2009-04-22 11:18   ` Tom Rotenberg
2009-04-22 11:50     ` Keir Fraser
2009-04-22 12:39       ` Tom Rotenberg
2009-04-22 12:59         ` Keir Fraser
2009-04-22 13:02           ` Keir Fraser
2009-04-22 13:12         ` Tim Deegan
2009-04-22 13:23           ` Tom Rotenberg
2009-04-22 13:31             ` Tim Deegan
2009-04-22 13:34             ` Keir Fraser
2009-04-22 13:41               ` Tim Deegan
2009-04-22 13:52                 ` Tom Rotenberg
2009-04-22 13:59                   ` Keir Fraser
2009-04-22 14:04                     ` Tom Rotenberg
2009-04-22 14:14                       ` Keir Fraser
2009-04-22 14:20                         ` Tom Rotenberg
2009-04-22 14:25                           ` Keir Fraser
2009-04-22 14:40                             ` Tom Rotenberg
2009-04-22 14:48                               ` Keir Fraser
2009-04-22 14:53                                 ` Tom Rotenberg
2009-04-23  9:56                                 ` Tom Rotenberg
2009-04-23 10:42                                   ` Keir Fraser
2009-04-23 11:44                                     ` Tom Rotenberg
2009-04-23 12:15                                       ` Keir Fraser
2009-04-23 14:08                                         ` Tom Rotenberg
2009-04-23 14:28                                           ` Keir Fraser [this message]
2009-04-23 15:57                                             ` Tom Rotenberg
2009-04-23 16:01                                               ` Tim Deegan
2009-04-23 16:10                                                 ` Tom Rotenberg
2009-04-23 17:16                                                   ` Keir Fraser
2009-04-23 17:27                                                     ` Keir Fraser
2009-04-23 17:38                                                       ` Tom Rotenberg
2009-04-23 17:49                                                         ` Keir Fraser
2009-04-23 18:00                                                           ` Tom Rotenberg
2009-04-23 18:27                                                             ` Keir Fraser
2009-04-23 20:16                                                               ` Tom Rotenberg
2009-04-26 10:59                                                               ` Tom Rotenberg
2009-04-26 11:14                                                                 ` Tom Rotenberg
2009-04-26 11:23                                                                   ` Tom Rotenberg
2009-04-26 12:27                                                                     ` Keir Fraser
2009-04-26 15:08                                                                       ` Tom Rotenberg
2009-04-26 15:45                                                                         ` Keir Fraser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C6163988.959C%keir.fraser@eu.citrix.com \
    --to=keir.fraser@eu.citrix.com \
    --cc=Tim.Deegan@eu.citrix.com \
    --cc=tom.rotenberg@gmail.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.