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: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH] VMRUN should store the RIP after the instruction
Date: Wed, 04 Jun 2008 12:56:50 -0500
User-agent: Thunderbird 2.0.0.14 (X11/20080501)

Alexander Graf wrote:

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?

Looks like Fabrice's commit handles it nicely.

Regards,

Anthony Liguori

Alex





reply via email to

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