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

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


  • To: Tamas K Lengyel <tamas.k.lengyel@xxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Razvan Cojocaru <rcojocaru@xxxxxxxxxxxxxxx>
  • Date: Tue, 5 Jan 2016 14:35:11 +0200
  • Comment: DomainKeys? See http://domainkeys.sourceforge.net/
  • Delivery-date: Tue, 05 Jan 2016 12:34:05 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=bitdefender.com; b=hhfFZUPz/5ICRCRFACe3aOFpA9TQahHh2ccz5adkIxV7xy4jRBajVlEkgMSPcu/Edv2W1ob9gefRoVcWbFXwfeILvSI3TVePPCRknEgkXlY2QbKO+nOL9IU2ly1ipb8DekU3j/NeFpplUa8RsRF4OdQLNzPpzb1WtH/i+o5fQz3AN5o76HFrOECIHCD3Bu7qh28x4lzHKGV7ofgU823i3iKf/2B2i3dec3vhjE7ovT14CaZIXFelefglWunE4nUPpppd8b7oAlPA0w83sZAds6+Hne5vMPGXTsP6nBnjOyk/NMbnWTIxv6hf83l9WLwSALZCSqmN0pgFxumS3mJWTw==; h=Received:Received:Received:Received:Received:Subject:To:References:From: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 01:49 PM, Tamas K Lengyel wrote:
> Hi all,
> I've been stress-testing the built-in emulator using the vm_event
> response VM_EVENT_FLAG_EMULATE feature. In the test I've turned all
> pages non-readable by default and all trapped instructions to be
> emulated. My test code can be found at
> https://github.com/tklengyel/xen/compare/read_emul?expand=1.
> 
> The following crash is reproducible and has been verified by Razvan as well.

Indeed, but I should point out that it only occurs when all the pages
are not readable. For all other cases (restricting write or execute,
that have been heavily tested here) there seem to be no issues,
regardless of how hard we're driving the emulator.

Tamas found this strange (and I agree) since we've assumed that the
emulator doesn't care about EPT restrictions. But our use cases so far
have never blocked page reads.


Cheers,
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®.