Skip to contentSkip to conversation

VMExits on Software Interrupts

DISCUSSION Rastogi, Shaurya 2 participants 2 messages Apr 3, 2009 – Apr 6, 2009 1 message not in the archive KVM

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

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

#2 lore raw
Quoted 6 lines · Shaurya

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.

Signature · 1 line
error compiling committee.c: too many arguments to function