Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Cloud:OTC:Tools
xenstore-uvp
xenstore-devpath.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xenstore-devpath.diff of Package xenstore-uvp
Index: xen-4.1.6.1/tools/xenstore/xs_lib.c =================================================================== --- xen-4.1.6.1.orig/tools/xenstore/xs_lib.c +++ xen-4.1.6.1/tools/xenstore/xs_lib.c @@ -80,9 +80,12 @@ const char *xs_domain_dev(void) if (s) return s; #if defined(__linux__) - return "/proc/xen/xenbus"; + if (access("/dev/xen/xenbus", R_OK) && !access("/proc/xen/xenbus", R_OK)) + return "/proc/xen/xenbus"; + else + return "/dev/xen/xenbus"; #elif defined(__NetBSD__) return "/kern/xen/xenbus"; #else return "/dev/xen/xenbus";
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor