Re: [PATCH v7 15/15] KVM: arm64: selftests: arch_timer: Support vCPU migration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2021/9/15 6:31, Raghavendra Rao Ananta wrote:
 static void test_run(struct kvm_vm *vm)
 {
 	int i, ret;
+	pthread_t pt_vcpu_migration;
+
+	pthread_mutex_init(&vcpu_done_map_lock, NULL);
+	vcpu_done_map = bitmap_alloc(test_args.nr_vcpus);

This one fails to build.

aarch64/arch_timer.c: In function 'test_run':
aarch64/arch_timer.c:321:18: warning: implicit declaration of function 'bitmap_alloc'; did you mean 'bitmap_zalloc'? [-Wimplicit-function-declaration]
  vcpu_done_map = bitmap_alloc(test_args.nr_vcpus);
                  ^~~~~~~~~~~~
                  bitmap_zalloc
aarch64/arch_timer.c:321:16: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  vcpu_done_map = bitmap_alloc(test_args.nr_vcpus);
                ^



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux