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: Sun, 26 Apr 2009 16:45:16 +0100 [thread overview]
Message-ID: <C61A401C.982D%keir.fraser@eu.citrix.com> (raw)
In-Reply-To: <8686c3cd0904260808t2d48a3abu4533b76343efd26@mail.gmail.com>
On 26/04/2009 16:08, "Tom Rotenberg" <tom.rotenberg@gmail.com> wrote:
> And i wonder if this has something to do with the problem i 'm experiencing.
> First, i don't understand this code, since the comment is talking about vm86
> mode, while the actual code checks for realmode. Is this ok?
Yes, Xen tries to emulate real mode by running the guest in vm86 mode. This
is faster than full emulation. You have a guest that really is in vm86 mode
(not merely to emulate real mode).
> Second, i wonder if there is a problem in updating the current state of the
> CPU, if it was changed during a task-switch (to vm86 mode), and it wasn't
> updated in the arch.hvm_vmx.vmx_realmode flag, then this might cause the
> problem, no?
No, the guest isn't in real mode, it really is in vm86 mode.
> And last: i found that the last trap/event which is re-happening all the time,
> and by that trashes all the memory untill the domain crashes, is trap 0x20,
> which i'm not sure, but i think it's a system call. Do u have any reason to
> think why trap 0x20, could lead to this problem?
Trap 0x20 is either a hardware interrupt or a software interrupt. Since the
meaning of vectors >=0x20 is configured by software, we can't know what
vector 0x20 is being used for here. However, often the 8259 PIC is based at
vector 0x20, and that might mean that this recurring interrupt is the PIT
(programmable interval timer).
> maybe there is a bug in the task-switch code which might cause it?
You wish. ;-)
-- Keir
prev parent reply other threads:[~2009-04-26 15:45 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
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 [this message]
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=C61A401C.982D%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.