Re: [PATCH v2 1/5] KVM: Add arch specific interfaces for sampling guest callchains

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

 



> All warnings (new ones prefixed by >>):
> 
>    arch/x86/kvm/x86.c: In function 'kvm_arch_vcpu_read_virt':
> >> arch/x86/kvm/x86.c:12917:42: warning: passing argument 2 of 'kvm_read_guest_virt' makes integer from pointer without a cast [-Wint-conversion]
>    12917 |         return kvm_read_guest_virt(vcpu, addr, dest, length, &e) == X86EMUL_CONTINUE;
>          |                                          ^~~~
>          |                                          |
>          |                                          void *
>    arch/x86/kvm/x86.c:7388:38: note: expected 'gva_t' {aka 'long unsigned int'} but argument is of type 'void *'
>     7388 |                                gva_t addr, void *val, unsigned int bytes,
>          |                                ~~~~~~^~~~
> 

Terribly sorry for the build warnings, which is caused by type casting.
Will be fixed in the next version.



[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