[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Don't bypass the spin_unlock at the end of do_domctl().
# HG changeset patch # User kfraser@xxxxxxxxxxxxxxxxxxxxx # Date 1177404612 -3600 # Node ID 1061a81b736057a822eb66eebe789e3616c6904e # Parent 7493bb48d89f6b01c5281d360523a713323850ac Don't bypass the spin_unlock at the end of do_domctl(). Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx> --- xen/common/domctl.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff -r 7493bb48d89f -r 1061a81b7360 xen/common/domctl.c --- a/xen/common/domctl.c Tue Apr 24 09:48:08 2007 +0100 +++ b/xen/common/domctl.c Tue Apr 24 09:50:12 2007 +0100 @@ -300,9 +300,10 @@ long do_domctl(XEN_GUEST_HANDLE(xen_domc static domid_t rover = 0; unsigned int domcr_flags; + ret = -EINVAL; if ( supervisor_mode_kernel || (op->u.createdomain.flags & ~XEN_DOMCTL_CDF_hvm_guest) ) - return -EINVAL; + break; dom = op->domain; if ( (dom > 0) && (dom < DOMID_FIRST_RESERVED) ) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |