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

[Xen-devel] usage of libxc compat function fails with staging


  • To: xen-devel@xxxxxxxxxxxxx
  • From: Olaf Hering <olaf@xxxxxxxxx>
  • Date: Thu, 25 Oct 2018 14:08:08 +0200
  • Delivery-date: Thu, 25 Oct 2018 12:08:23 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

I have a matrix of various qemu.git#stable-x.y that build against 
xen.git#staging*. Since some months qemu.git#stable-2.x fails to build against 
xen.git#staging. qemu-2.10+ works with staging. To me it is not clear how to 
fix this failure:

qemu-2.9-20170907T112512.4cd42653f5/include/hw/xen/xen_common.h:61:16: warning: 
implicit declaration of function 'xc_map_foreign_bulk'

qemu is built with the various compat flags like 
:-DXC_WANT_COMPAT_MAP_FOREIGN_API=1. I think this should give access to that 
function. But for some reason the missing function is wrapped further in 
xenctrl_compat.h.

Is qemu-2.x supposed to define XC_BUILDING_COMPAT_MAP_FOREIGN_API? Commit 
3248691679 ("tools: Refactor foreign memory mapping into libxenforeignmemory") 
in xen.git indicates that just XC_WANT_COMPAT_MAP_FOREIGN_API would be needed.

Olaf

Attachment: pgpyNOJ7cWaj5.pgp
Description: Digitale Signatur von OpenPGP

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.