Skip to contentSkip to conversation

linux-next: manual merge of the kvm-x86 tree with the kvm tree

PATCH Mark Brown 3 participants 3 messages Aug 25

Subsystems (3)
lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

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.

tools/testing/selftests/kvm/steal_time.c +0 -0
diff --combined tools/testing/selftests/kvm/steal_time.c
index bc3c62b72c58c,6e9cc0e34ec07..0000000000000
@@@ -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");
  
maintainer
#1 lore raw
Quoted 15 lines · Mark Brown

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'")

Quoted 8 lines

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

Quoted 14 lines
tools/testing/selftests/kvm/steal_time.c +0 -0
diff --combined tools/testing/selftests/kvm/steal_time.c
index bc3c62b72c58c,6e9cc0e34ec07..0000000000000
@@@ -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");
#2 lore raw
Quoted 25 lines · Paolo Bonzini
Quoted 15 lines · Mark Brown

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'")

Quoted 8 lines

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.

Quoted 3 lines

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!