qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] VMRUN should store the RIP after the instructio


From: Alexander Graf
Subject: Re: [Qemu-devel] [PATCH] VMRUN should store the RIP after the instruction
Date: Wed, 4 Jun 2008 18:19:43 +0200


On Jun 4, 2008, at 6:13 PM, Anthony Liguori wrote:

Alexander Graf wrote:
VMRUN stores the IP which is used to return to the instruction after the VMRUN in case of a VMEXIT. Due to recent changes, this does not happen anymore and a VMEXIT simply returns to the VMRUN instruction.

Alex

The open-coded + 3 bothers me. Are there any circumstances that a prefix could be used with vmrun that would change the instruction length? vmrun doesn't appear to be affected by prefixes but I don't see anything in the AMD manual specifically forbidding it.

This is true and it bothers me as well. I am open to suggestions how to receive the IP after the instruction that is about to be executed. Probably this could be done in translate.c?

Alex




reply via email to

[Prev in Thread] Current Thread [Next in Thread]