Kevin Lawton wrote:

> So back to virtual flags.  Since we can now virtualize
> any instructions, we can trap on pushf/popf etc,
> and don't necessarily need virtual flags. 

I'm not sure how this follows:  sure, we can now trap on
pushf/popf.  But this means that we *do* need the virtual
guest flags; after all, the code *emulating* pushf/popf
will use/modify exactly those virtual flags ...

(If it were to modify the *real* flags, why trap in the
first place? ;-)

In fact, virtual flags currently don't work correctly, 
*because* we can't yet trap pushf/popf.

Or did I misunderstand your question?

Bye,
Ulrich

-- 
  Ulrich Weigand,
  IMMD 1, Universitaet Erlangen-Nuernberg,
  Martensstr. 3, D-91058 Erlangen, Phone: +49 9131 85-27688

Reply via email to