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

2016-09-14 Thread Jan Beulich
>>> On 13.09.16 at 21:09, wrote: > On 08/09/16 14:09, 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

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

2016-09-13 Thread Andrew Cooper
On 08/09/16 14:09, 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

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

2016-09-08 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