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] [RESUBMIT] [PATCH] xen, tools: pincpu use vcpu and cpuma

To: Mike Wray <mike.wray@xxxxxx>
Subject: Re: [Xen-devel] [RESUBMIT] [PATCH] xen, tools: pincpu use vcpu and cpumap_t
From: Christian Limpach <christian.limpach@xxxxxxxxx>
Date: Wed, 11 May 2005 21:30:54 +0100
Cc: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>, Ryan Harper <ryanh@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Kip Macy <kip.macy@xxxxxxxxx>
Delivery-date: Wed, 11 May 2005 20:30:41 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DQQgAxQ/tXcbwhQq98B8+mvb5EeCxwsIL9Jt1WV4ztJj1ELQLSYEtRGiiZc2f72fpSFNvbd0SamporSdJKzDKVt+zS3bCeUALaOEGghG/QNWoVElu26ZeTUwvI8md4oqFz4fsdWOapAcFj+4SJ5fShXwRfAkiTalQT0bE6Pv3DE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <428221C7.3020708@xxxxxx>
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: <20050426223109.GC14932@xxxxxxxxxx> <4277AC20.7060804@xxxxxx> <20050503235807.GB11696@xxxxxxxxxx> <4280BE49.1050102@xxxxxx> <20050510145952.GB7305@xxxxxxxxxx> <20050510155500.GD7305@xxxxxxxxxx> <428221C7.3020708@xxxxxx>
Reply-to: Christian.Limpach@xxxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 5/11/05, Mike Wray <mike.wray@xxxxxx> wrote:
> Ryan Harper wrote:
> > * Ryan Harper <ryanh@xxxxxxxxxx> [2005-05-10 10:01]:
> >
> >>* Mike Wray <mike.wray@xxxxxx> [2005-05-10 09:08]:
> >>
> >>>So it looks like we need to try again.
> >>>Apologies if this is because of changes after
> >>>you submitted the patch.
> >>>
> >>>I also had two failed hunks, which I fixed manually:
> >>>
> >>>1 out of 1 hunk FAILED -- saving rejects to file xen/arch/x86/domain.c.rej
> >>>1 out of 5 hunks FAILED -- saving rejects to file xen/common/dom0_ops.c.rej
> >>
> >>
> >>I'll update it against current unstable and resubmit.  Thanks.
> >
> >
> > Updated against 2005-05-10 nightly unstable snapshot.
> >
> 
> Thanks, I'll apply it.

I've applied this already -- but it needs some more changes like
moving the vcpu_to_cpu and cpumap arrays out of getdomaininfo into the
new getvcpucontext, allowing this to scale beyond MAX_VIRT_CPUS. 
Also, I think sparse vcpu allocations aren't handled right for these
two arrays, which moving them to getvcpucontext will also fix. 
Patches for this would be highly appreciated!

    christian

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