[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Revert 14316 -- no need to fix maxvcpu domctl.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1173464782 0
# Node ID 1a01d8d9dbeca77c934156d42e955ada492b9c7b
# Parent  6ff2a1286484f3e068a6ba106cf68b0f611a63cf
Revert 14316 -- no need to fix maxvcpu domctl.
---
 xen/common/domctl.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 6ff2a1286484 -r 1a01d8d9dbec xen/common/domctl.c
--- a/xen/common/domctl.c       Fri Mar 09 16:04:19 2007 +0000
+++ b/xen/common/domctl.c       Fri Mar 09 18:26:22 2007 +0000
@@ -360,7 +360,7 @@ long do_domctl(XEN_GUEST_HANDLE(xen_domc
         unsigned int i, max = op->u.max_vcpus.max, cpu;
 
         ret = -EINVAL;
-        if ( max > MAX_VIRT_CPUS || max == 0 )
+        if ( max > MAX_VIRT_CPUS )
             break;
 
         ret = -ESRCH;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.