Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
xen.5854
magic_ioport_compat.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File magic_ioport_compat.patch of Package xen.5854
Make our PV drivers work with older hosts that do not recognize the new PV driver protocol. Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com> Index: xen-4.4.4-testing/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c =================================================================== --- xen-4.4.4-testing.orig/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c +++ xen-4.4.4-testing/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c @@ -338,7 +338,10 @@ static int check_platform_magic(struct d if (magic != XEN_IOPORT_MAGIC_VAL) { err = "unrecognised magic value"; - goto no_dev; + /* + * Older backend; just return 0 to be compatible. + */ + return 0; } protocol = inb(XEN_IOPORT_PROTOVER);
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