From: Razvan Cojocaru <rcojocaru@bitdefender.com>
To: Andrew Cooper <andrew.cooper3@citrix.com>,
xen-devel@lists.xen.org,
Tamas Lengyel <tamas.k.lengyel@gmail.com>
Subject: Re: Failed vm entry with heavy use of emulator
Date: Tue, 5 Jan 2016 16:01:57 +0200 [thread overview]
Message-ID: <568BCCD5.1060203@bitdefender.com> (raw)
In-Reply-To: <568BC9D8.8030709@citrix.com>
On 01/05/2016 03:49 PM, Andrew Cooper wrote:
> On 05/01/16 13:39, Razvan Cojocaru wrote:
>> Here's a quick log of the emulated instructions on my setup:
>> http://pastebin.com/raw/XXQ0Lnzh
>
> Hmm - according to that, the final instruction emulated was
>
> d1v0 32bit @ 0008:828925db -> fa
>
> which is the 'cli' instruction.
>
> I would start there - I doubt it is an instruction which is emulated often.
My code (arch/x86/x86_emulate/x86_emulate.c) does have a case label for it:
3677 case 0xfa: /* cli */
3678 generate_exception_if(!mode_iopl(), EXC_GP, 0);
3679 _regs.eflags &= ~EFLG_IF;
3680 break;
Maybe the IOPL test fails there? Tamas, does your guest die after a CLI
as well?
Thanks,
Razvan
next prev parent reply other threads:[~2016-01-05 14:01 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-05 11:49 Failed vm entry with heavy use of emulator Tamas K Lengyel
2016-01-05 11:56 ` Andrew Cooper
2016-01-05 12:05 ` Tamas K Lengyel
2016-01-05 13:45 ` Andrew Cooper
2016-01-06 14:21 ` Jan Beulich
2016-01-05 13:39 ` Razvan Cojocaru
2016-01-05 13:49 ` Andrew Cooper
2016-01-05 14:01 ` Razvan Cojocaru [this message]
2016-01-05 14:12 ` Andrew Cooper
2016-01-05 14:16 ` Tamas K Lengyel
2016-01-05 14:37 ` Razvan Cojocaru
2016-09-06 23:31 ` Tamas K Lengyel
2016-09-07 5:59 ` Razvan Cojocaru
2016-09-07 9:36 ` Jan Beulich
2016-01-05 12:35 ` Razvan Cojocaru
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=568BCCD5.1060203@bitdefender.com \
--to=rcojocaru@bitdefender.com \
--cc=andrew.cooper3@citrix.com \
--cc=tamas.k.lengyel@gmail.com \
--cc=xen-devel@lists.xen.org \
/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.