All of lore.kernel.org
 help / color / mirror / Atom feed
* usage of libxc compat function fails with staging
@ 2018-10-25 12:08 Olaf Hering
  2018-10-26  9:37 ` Olaf Hering
  0 siblings, 1 reply; 2+ messages in thread
From: Olaf Hering @ 2018-10-25 12:08 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 842 bytes --]

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 #1.2: Digitale Signatur von OpenPGP --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

[-- Attachment #2: Type: text/plain, Size: 157 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: usage of libxc compat function fails with staging
  2018-10-25 12:08 usage of libxc compat function fails with staging Olaf Hering
@ 2018-10-26  9:37 ` Olaf Hering
  0 siblings, 0 replies; 2+ messages in thread
From: Olaf Hering @ 2018-10-26  9:37 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 560 bytes --]

Am Thu, 25 Oct 2018 14:08:08 +0200
schrieb Olaf Hering <olaf@aepfle.de>:

> 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.

This appears to be a bug in Qemu. What is the purpose of commit 5eeb39c24b ("xen: Use stable library interfaces when they are available.")? I do think Qemu can not predict the future of Xen...


Olaf

[-- Attachment #1.2: Digitale Signatur von OpenPGP --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

[-- Attachment #2: Type: text/plain, Size: 157 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-10-26  9:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-25 12:08 usage of libxc compat function fails with staging Olaf Hering
2018-10-26  9:37 ` Olaf Hering

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.