[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Failed vm entry with heavy use of emulator


  • To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxx, Tamas Lengyel <tamas.k.lengyel@xxxxxxxxx>
  • From: Razvan Cojocaru <rcojocaru@xxxxxxxxxxxxxxx>
  • Date: Tue, 5 Jan 2016 16:01:57 +0200
  • Comment: DomainKeys? See http://domainkeys.sourceforge.net/
  • Delivery-date: Tue, 05 Jan 2016 14:01:05 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=bitdefender.com; b=Itp6cdpPAPcbXskfyiNihcHx+IdLfCKfM5sXAVyYr3tk00Sl3RlKbx2whyKrCCsEO1c8Jl4VpnTN8kNzLn/YLqdmcvCzTRZrHG3yPHUMskKlbuaBV/TohDfT219ffPOrT6hwCtskmsq/XSryuvSWAf1DVHrOYWw3ZXkAHLWsHVWYqGd19QMbpKm0miXUVtJF3rbKMCA89WpdKYkoiwEDtBLLyg2+GjEJ739nMeOhuSEoiVJTHNrHbWWFdvFMkz8jhrBmLkyAh/ljt830K6ENHSNQl6BRhKrXVutJaRkCvieCJN6Do0bQ5DPVn5+dO2XT1tQNbGMSXmn+5X+YThag4Q==; h=Received:Received:Received:Received:Received:Subject:To:References:From:X-Enigmail-Draft-Status:Message-ID:Date:User-Agent:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding:X-BitDefender-Scanner:X-BitDefender-Spam:X-BitDefender-SpamStamp:X-BitDefender-CF-Stamp;
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.