Re: [Xen-devel] [PATCH v2 03/16] x86emul: track only rIP in emulator state

2016-09-28 Thread Andrew Cooper
On 28/09/16 09:08, Jan Beulich wrote: > Now that all decoding happens in x86_decode() there's no need to keep > the local registers copy in struct x86_emulate_state. Only rIP gets > updated in the decode phase, so only that register needs tracking > there. All other (read-only) registers can be rea

[Xen-devel] [PATCH v2 03/16] x86emul: track only rIP in emulator state

2016-09-28 Thread Jan Beulich
Now that all decoding happens in x86_decode() there's no need to keep the local registers copy in struct x86_emulate_state. Only rIP gets updated in the decode phase, so only that register needs tracking there. All other (read-only) registers can be read from the original structure (but sadly, due