Re: [PATCH] tests: Fix migration-test build failure for sparc

2021-07-29 Thread Peter Xu
On Thu, Jul 29, 2021 at 01:48:57AM +0200, Philippe Mathieu-Daudé wrote: > On 7/28/21 11:41 PM, Peter Xu wrote: > > Even if 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

Re: [PATCH] tests: Fix migration-test build failure for sparc

2021-07-29 Thread Dr. David Alan Gilbert
* Thomas Huth (th...@redhat.com) wrote: > On 28/07/2021 23.41, Peter Xu wrote: > > Even if 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 no

Re: [PATCH] tests: Fix migration-test build failure for sparc

2021-07-28 Thread Thomas Huth
On 28/07/2021 23.41, Peter Xu wrote: Even if 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 lin

Re: [PATCH] tests: Fix migration-test build failure for sparc

2021-07-28 Thread Philippe Mathieu-Daudé
On 7/28/21 11:41 PM, Peter Xu wrote: > Even if 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

Re: [PATCH] tests: Fix migration-test build failure for sparc

2021-07-28 Thread Richard Henderson
On 7/28/21 11:41 AM, Peter Xu wrote: Even if 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 lin

Re: [PATCH] tests: Fix migration-test build failure for sparc

2021-07-28 Thread Peter Xu
On Wed, Jul 28, 2021 at 05:41:28PM -0400, Peter Xu wrote: > No need to have "Fixes" as the issue is just introduced very recently. And.. This is only true if this patch can be merged in 6.1... I should have added "for 6.1" in the subject but I forgot. Sorry. -- Peter Xu

[PATCH] tests: Fix migration-test build failure for sparc

2021-07-28 Thread Peter Xu
Even if 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 t