All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: "Rastogi, Shaurya" <shaurya.rastogi@gatech.edu>
Cc: kvm@vger.kernel.org
Subject: Re: VMExits on Software Interrupts
Date: Mon, 06 Apr 2009 14:40:43 +0300	[thread overview]
Message-ID: <49D9EA3B.5080800@redhat.com> (raw)
In-Reply-To: <238919847.1486541238747687028.JavaMail.root@mail2.gatech.edu>

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


      reply	other threads:[~2009-04-06 11:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 message]

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=49D9EA3B.5080800@redhat.com \
    --to=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=shaurya.rastogi@gatech.edu \
    /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.