Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
xen
24190-hap-log-dirty-disable-rc.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 24190-hap-log-dirty-disable-rc.patch of Package xen
# HG changeset patch # User Andres Lagar-Cavilla <andres@lagarcavilla.org> # Date 1322148057 0 # Node ID 6b3d8250ee2c63d90680c142549123a4b1559f55 # Parent 7da681c490e0a8a2b3f1fb311d254dc7ce618a43 x86/mm: change return code for log-dirty disabling Disabling log dirty mode in HAP always returns -EINVAL. Make it return the correct rc on success. Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.org> Signed-off-by: Tim Deegan <tim@xen.org> Committed-by: Tim Deegan <tim@xen.org> --- a/xen/arch/x86/mm/hap/hap.c +++ b/xen/arch/x86/mm/hap/hap.c @@ -710,6 +710,8 @@ int hap_domctl(struct domain *d, xen_dom return rc; case XEN_DOMCTL_SHADOW_OP_GET_ALLOCATION: sc->mb = hap_get_allocation(d); + /* Fall through... */ + case XEN_DOMCTL_SHADOW_OP_OFF: return 0; default: HAP_ERROR("Bad hap domctl op %u\n", sc->op);
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