[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] x86/mm: change return code for log-dirty disabling
# HG changeset patch # User Andres Lagar-Cavilla <andres@xxxxxxxxxxxxxxxx> # 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@xxxxxxxxxxxxxxxx> Signed-off-by: Tim Deegan <tim@xxxxxxx> Committed-by: Tim Deegan <tim@xxxxxxx> --- diff -r 7da681c490e0 -r 6b3d8250ee2c xen/arch/x86/mm/hap/hap.c --- a/xen/arch/x86/mm/hap/hap.c Thu Nov 24 15:20:57 2011 +0000 +++ b/xen/arch/x86/mm/hap/hap.c Thu Nov 24 15:20:57 2011 +0000 @@ -709,6 +709,8 @@ 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); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |