kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Questions about to dos in emulate.c
       [not found] <54B0A714.5070903@gmail.com>
@ 2015-01-12 15:41 ` Paolo Bonzini
  0 siblings, 0 replies; only message in thread
From: Paolo Bonzini @ 2015-01-12 15:41 UTC (permalink / raw)
  To: nick, gleb; +Cc: x86, kvm, linux-kernel



On 10/01/2015 05:14, nick wrote:
> Greetings Again Everyone,
> I have a few questions about fix mes in emulate.c. They are listed
> in numerical order below.
> 1. For  __emulate_int_real somebody stated we need limit checks. What
> checks are needed for my information.

These are written in the manual as

  IF stack not large enough for a 6-byte return information
     THEN #SS; FI;

> 2. Secondly,about the function, emulate_iret_real are what do you mean 
> by stack limit checks and if possible what parts of the stacks for either
> guest(s) or hosts we need to check.

Same here:

  IF top 6 bytes of stack are not within stack limits
     THEN #SS; FI;

Paolo

> In addition if you need help with other work, please don't feel free to
> contact me.
> Thanks and Regards,
> Nick 
> 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-01-12 15:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <54B0A714.5070903@gmail.com>
2015-01-12 15:41 ` Questions about to dos in emulate.c Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).