On 7/29/21 10:22 AM, Thomas Huth wrote: > From: Peter Xu <pet...@redhat.com> > > Even if <linux/kvm.h> seems to exist for all archs on linux, however including > it with __linux__ defined seems to be not working yet as it'll try to include > asm/kvm.h and that can be missing for archs that do not support kvm. > > To fix this (instead of any attempt to fix linux headers..), we can mark the > header to be x86_64 only, because it's so far only service for adding the kvm > dirty ring test. > > Fixes: 1f546b709d6 ("tests: migration-test: Add dirty ring test")
Thanks :) > Reported-by: Richard Henderson <r...@twiddle.net> > Signed-off-by: Peter Xu <pet...@redhat.com> > Message-Id: <20210728214128.206198-1-pet...@redhat.com> > Reviewed-by: Richard Henderson <richard.hender...@linaro.org> > Reviewed-by: Philippe Mathieu-Daudé <phi...@redhat.com> > Signed-off-by: Thomas Huth <th...@redhat.com> > --- > tests/qtest/migration-test.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-)