Melchior FRANZ wrote:
> 
> * Kevin Lawton -- Wednesday 06 June 2001 22:43:
> > Plex86 restores the host EFLAGS register at CPL0 from the monitor,
> > so IOPL should revert to the host value.
> 
> How could I test that?

In kernel/monitor-host.c, there are two paths in runGuestLoop()
which call:

  vm_restore_flags()

an if and an else clause.  (well there's one more in the ANAL_CHECK
#if bracketing too)

After the restore, you might check the IOPL value and spew something
via hostprint(), then

  return(1);

to flag an error.  hostprint() will send the error to the kernel
log file.

-Kevin

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Kevin Lawton                        [EMAIL PROTECTED]
MandrakeSoft, Inc.                  Plex86 developer
http://www.linux-mandrake.com/      http://www.plex86.org/

Reply via email to