Re: [Xen-devel] [PATCH 2/7] x86_emulate: lift a bunch of macros to header file

2017-01-30 Thread Wei Liu
On Thu, Jan 26, 2017 at 03:51:35AM -0700, Jan Beulich wrote: > >>> On 25.01.17 at 16:44, wrote: > > Some of them can be shared between hypervisor and userspace fuzzing / > > test code. Instead of lifting the ones as we need, lift them all. > > While I appreciate the

Re: [Xen-devel] [PATCH 2/7] x86_emulate: lift a bunch of macros to header file

2017-01-26 Thread Jan Beulich
>>> On 25.01.17 at 16:44, wrote: > Some of them can be shared between hypervisor and userspace fuzzing / > test code. Instead of lifting the ones as we need, lift them all. While I appreciate the intention, I don't think we should start having the hypervisor build deal with

[Xen-devel] [PATCH 2/7] x86_emulate: lift a bunch of macros to header file

2017-01-25 Thread Wei Liu
Some of them can be shared between hypervisor and userspace fuzzing / test code. Instead of lifting the ones as we need, lift them all. And then remove the ones in test program. Signed-off-by: Wei Liu --- tools/tests/x86_emulator/test_x86_emulator.c | 9 ---