On Wed, May 28, 2014 at 06:33:05PM +0200, Paolo Bonzini wrote:
Passing CS to handle_smi is not strictly necessary;
you could instead just
reserve writing some value (e.g. 0x00) to port 0xb2 for relocation. That's
really my only comment.
That's the way I originally had it, but tracking if the smbase was
already moved was annoying (to handle the obscure case where an OS
writes 0x00 to 0xb2).