WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: [Xen-changelog] Create new vcpu_op() hypercall. Repl

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: [Xen-changelog] Create new vcpu_op() hypercall. Replaces old boot_vcpu()
From: Ryan Harper <ryanh@xxxxxxxxxx>
Date: Tue, 4 Oct 2005 15:39:20 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 04 Oct 2005 20:37:02 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7a928da7e42690192b2659cb33f5dc60@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <E1EMUrD-0002RM-Cz@xxxxxxxxxxxxxxxxxxxxx> <20051003184236.GF29825@xxxxxxxxxx> <20051004153828.GF17358@xxxxxxxxxx> <20051004160544.GG17358@xxxxxxxxxx> <7a928da7e42690192b2659cb33f5dc60@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6+20040907i
* Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> [2005-10-04 11:31]:
> 
> On 4 Oct 2005, at 17:05, Ryan Harper wrote:
> 
> >>btw, this patch also regressed vcpu-{enable/disable} for dom0 and 
> >>domU.
> >
> >Actually this was just the first changeset where I noticed.  The break
> >is further back.  I'll reply in a bit with the changeset where this was
> >broken.
> 
> I see problems on smp save/restore -- secondary cpus end up looping 
> forever (I think waiting for their state to be CPU_UP_PREPARE in 
> play_dead()). I'm sure there's a similar problem in vcpu-up/down logic. 
> I don't think it can be very hard to fix. :-)

Actually, hotplug works fine via sysfs:
(echo 0 > /sys/devices/system/cpu/cpu1/online), but the store watches for
hotplug don't seem to get triggered.  I can confirm the writes to the
store (with xs_tdb_dump), and with some debugging in the kernel I can
see that the watches never fire.  

Last changeset where vcpu-disable works is:

changeset:   7141:a39510ad5c591ee84592924e718c90d746f90097
user:        emellor@ewan
date:        Fri Sep 30 05:55:49 2005
summary:     Added cache-control headers to pages returned by HTTP server so 
that pages

-- 
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
(512) 838-9253   T/L: 678-9253
ryanh@xxxxxxxxxx

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