Hi all,
Today's linux-next merge of the kvm-x86 tree got a conflict in:
tools/testing/selftests/kvm/steal_time.c
between commit:
15a9a2ba0c546 ("Merge tag 'kvm-x86-selftests2-7.3' of https://github.com/kvm-x86/linux into HEAD")
from the kvm tree and commit:
12c2a7f18f579 ("Merge branch 'selftests2'")
from the kvm-x86 tree.
I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.
diff --combined tools/testing/selftests/kvm/steal_time.c
index bc3c62b72c58c,6e9cc0e34ec07..0000000000000
--- a/tools/testing/selftests/kvm/steal_time.c
+++ b/tools/testing/selftests/kvm/steal_time.c
@@@ -549,7 -549,7 +549,7 @@@ int main(int ac, char **av
/* Steal time from the VCPU. The steal time thread has the same CPU affinity as the VCPUs. */
run_delay = get_run_delay();
kvm_pthread_create(&thread, NULL, do_steal_time, NULL);
- kvm_pthread_getaffinity_np(thread, sizeof(cpuset), &cpuset);
+ kvm_pthread_getaffinity(thread, &cpuset);
TEST_ASSERT(CPU_COUNT(&cpuset) == 1 && CPU_ISSET(cpu, &cpuset),
"Worker failed to inherit parent's CPU affinity");
On Tue, Aug 25, 2026 at 3:33 PM Mark Brown <broonie@kernel.org> wrote:
>
> Hi all,
>
> Today's linux-next merge of the kvm-x86 tree got a conflict in:
>
> tools/testing/selftests/kvm/steal_time.c
>
> between commit:
>
> 15a9a2ba0c546 ("Merge tag 'kvm-x86-selftests2-7.3' of https://github.com/kvm-x86/linux into HEAD")
>
> from the kvm tree and commit:
>
> 12c2a7f18f579 ("Merge branch 'selftests2'")
>
> from the kvm-x86 tree.
>
> I fixed it up (see below) and can carry the fix as necessary. This
> is now fixed as far as linux-next is concerned, but any non trivial
> conflicts should be mentioned to your upstream maintainer when your tree
> is submitted for merging. You may also want to consider cooperating
> with the maintainer of the conflicting tree to minimise any particularly
> complex conflicts.
Thanks, this is just a small difference in how I fixed the conflict
between multiple kvm-x86 pull requests. Either version is fine, and
Sean will force-push to Linus's tree at some point anyway.
Paolo
>
> diff --combined tools/testing/selftests/kvm/steal_time.c
> index bc3c62b72c58c,6e9cc0e34ec07..0000000000000
> --- a/tools/testing/selftests/kvm/steal_time.c
> +++ b/tools/testing/selftests/kvm/steal_time.c
> @@@ -549,7 -549,7 +549,7 @@@ int main(int ac, char **av
> /* Steal time from the VCPU. The steal time thread has the same CPU affinity as the VCPUs. */
> run_delay = get_run_delay();
> kvm_pthread_create(&thread, NULL, do_steal_time, NULL);
> - kvm_pthread_getaffinity_np(thread, sizeof(cpuset), &cpuset);
> + kvm_pthread_getaffinity(thread, &cpuset);
> TEST_ASSERT(CPU_COUNT(&cpuset) == 1 && CPU_ISSET(cpu, &cpuset),
> "Worker failed to inherit parent's CPU affinity");
>
On Tue, Aug 25, 2026, Paolo Bonzini wrote:
> On Tue, Aug 25, 2026 at 3:33 PM Mark Brown <broonie@kernel.org> wrote:
> >
> > Hi all,
> >
> > Today's linux-next merge of the kvm-x86 tree got a conflict in:
> >
> > tools/testing/selftests/kvm/steal_time.c
> >
> > between commit:
> >
> > 15a9a2ba0c546 ("Merge tag 'kvm-x86-selftests2-7.3' of https://github.com/kvm-x86/linux into HEAD")
> >
> > from the kvm tree and commit:
> >
> > 12c2a7f18f579 ("Merge branch 'selftests2'")
> >
> > from the kvm-x86 tree.
> >
> > I fixed it up (see below) and can carry the fix as necessary. This
> > is now fixed as far as linux-next is concerned, but any non trivial
> > conflicts should be mentioned to your upstream maintainer when your tree
> > is submitted for merging. You may also want to consider cooperating
> > with the maintainer of the conflicting tree to minimise any particularly
> > complex conflicts.
>
> Thanks, this is just a small difference in how I fixed the conflict
> between multiple kvm-x86 pull requests. Either version is fine, and
> Sean will force-push to Linus's tree at some point anyway.
I force-pushed using kvm/next, so this should go away. Thanks!
© 2016 - 2026 Red Hat, Inc.