Re: [Xen-devel] [PATCH v2 for-4.8] x86/emul: Move CPUID Faulting fault generation into the emulator

2016-10-26 Thread Jan Beulich
>>> On 26.10.16 at 14:58, wrote: > In hindsight, this is a better position for it, as it avoids opencoding > hvmemul_inject_hw_exception() in hvmemul_cpuid(), and reduces the > requirements > on other ops->cpuid() hooks wanting to implement cpuid faulting in the future. > > Signed-off-by: Andrew

Re: [Xen-devel] [PATCH v2 for-4.8] x86/emul: Move CPUID Faulting fault generation into the emulator

2016-10-26 Thread Wei Liu
On Wed, Oct 26, 2016 at 01:58:02PM +0100, Andrew Cooper wrote: > In hindsight, this is a better position for it, as it avoids opencoding > hvmemul_inject_hw_exception() in hvmemul_cpuid(), and reduces the requirements > on other ops->cpuid() hooks wanting to implement cpuid faulting in the future.

[Xen-devel] [PATCH v2 for-4.8] x86/emul: Move CPUID Faulting fault generation into the emulator

2016-10-26 Thread Andrew Cooper
In hindsight, this is a better position for it, as it avoids opencoding hvmemul_inject_hw_exception() in hvmemul_cpuid(), and reduces the requirements on other ops->cpuid() hooks wanting to implement cpuid faulting in the future. Signed-off-by: Andrew Cooper --- CC: Jan Beulich CC: Wei Liu v2: