public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* VMExits on Software Interrupts
       [not found] <983906673.1486431238747617277.JavaMail.root@mail2.gatech.edu>
@ 2009-04-03  8:34 ` Rastogi, Shaurya
  2009-04-06 11:40   ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: Rastogi, Shaurya @ 2009-04-03  8:34 UTC (permalink / raw)
  To: kvm

Hi,

Is there any way to generate a VMExit for software interrupts?

I am interested in causing a VMExit when Int 80 instruction is executed in guest VM. Is it possible to do so? If so how? 

Thank You
Shaurya Rastogi 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: VMExits on Software Interrupts
  2009-04-03  8:34 ` VMExits on Software Interrupts Rastogi, Shaurya
@ 2009-04-06 11:40   ` Avi Kivity
  0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2009-04-06 11:40 UTC (permalink / raw)
  To: Rastogi, Shaurya; +Cc: kvm

Rastogi, Shaurya wrote:
> Hi,
>
> Is there any way to generate a VMExit for software interrupts?
>
> I am interested in causing a VMExit when Int 80 instruction is executed in guest VM. Is it possible to do so? If so how? 
>   

Neither vmx nor svm support trapping on software interrupts.  You might 
be able to track changes to the IDT and install a hardware breakpoint on 
the int 80 handler, but that's quite difficult and hacky.

-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-04-06 11:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <983906673.1486431238747617277.JavaMail.root@mail2.gatech.edu>
2009-04-03  8:34 ` VMExits on Software Interrupts Rastogi, Shaurya
2009-04-06 11:40   ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox