Bug 435158
Summary: | PVFB fails because of missing xc_map_foreign_pages in libxenctrl.so compat library | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Daniel Berrangé <berrange> | ||||
Component: | xenner | Assignee: | Gerd Hoffmann <kraxel> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | rawhide | CC: | berrange | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2008-02-27 21:37:33 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 435059 | ||||||
Attachments: |
|
Description
Daniel Berrangé
2008-02-27 18:03:10 UTC
This problem is caused by the new API in xen 3.2.0 - xenner's compat library only implemnets the old API - should be easy enough to fixup changeset: 15837:9071521d4864 user: kfraser date: Fri Sep 07 11:39:10 2007 +0100 files: tools/ioemu/hw/cirrus_vga.c tools/ioemu/vl.c tools/libxc/xc_misc.c tools/libxc/xenctrl.h tools/xenfb/xenfb.c description: xc_map_foreign_pages(), a convenient alternative to xc_map_foreign_batch() xc_map_foreign_batch() can succeed partially. It is awkward to use when you're only interested in complete success. Provide new xc_map_foreign_pages() convenience function for that kind of use. Also convert two obvious calls to use it. Signed-off-by: Markus Armbruster <armbru> Created attachment 296126 [details]
Workaround for missing xc_map_foreign_pages
This patch is a quick, minimal hack to deal with xc_map_foreign_pages.
It does not provide the failure case guarentees that the real libxc version of
this symbol does, but it is good enough to make the PVFB work in the normal
case.
I have built this patch into xenner-0.25-4.fc9 |