On 7/29/21 10:22 AM, Thomas Huth wrote: > From: Peter Xu <[email protected]> > > 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 <[email protected]> > Signed-off-by: Peter Xu <[email protected]> > Message-Id: <[email protected]> > Reviewed-by: Richard Henderson <[email protected]> > Reviewed-by: Philippe Mathieu-Daudé <[email protected]> > Signed-off-by: Thomas Huth <[email protected]> > --- > tests/qtest/migration-test.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-)
