[Top][All Lists]

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

Re: [Qemu-devel] [PATCH][RFC] SVM support

From: Avi Kivity
Subject: Re: [Qemu-devel] [PATCH][RFC] SVM support
Date: Thu, 23 Aug 2007 12:14:38 +0300
User-agent: Thunderbird (X11/20070419)

Alexander Graf wrote:
Blue Swirl wrote:
On 8/22/07, Alexander Graf <address@hidden> wrote:
- All interceptions (well, maybe I did oversee one or two)
Nice work! For better performance, you should do the op.c checks
statically at translation time (if possible).

Thanks. I thought about that first as well, but can't. The information
if an intercept should occur is defined in the VMCB, which is passed as
argument on VMRUN (so whenever one enters the VM). This means that the
very same TB can be executed with completely different intercepts, which
means I have to fall back to runtime detection in op.c.

You can have the intercept vector be a part of the TB lookup key. So, if the same code is executed natively, or with different intercept vectors, it gets a different TB. Qemu already does this for a number of things like cpu operating mode, cs base, etc.

error compiling committee.c: too many arguments to function

reply via email to

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