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] adding fields to vcpu_info_t

To: Ryan Harper <ryanh@xxxxxxxxxx>
Subject: Re: [Xen-devel] adding fields to vcpu_info_t
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Tue, 5 Apr 2005 18:56:55 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 05 Apr 2005 17:53:37 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20050405170621.GA3347@xxxxxxxxxxxxxxxxxxxx>
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: <20050405170621.GA3347@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 5 Apr 2005, at 18:06, Ryan Harper wrote:

I've been trying to add a field into vcpu_info_t for some per-vcpu
flags.  Attached is a small patch that does nothing more than add the
field.  However, it causes problems when booting dom0 smp, so I
obviously need to update some code elsewhere to account for the change.
Can anyone give me a pointer to where I should making additional changes
when adding a new field to vcpu_info_t ?

If you can fit in the two existing bytes of padding then nothing will need changing. Otherwise there is asm code in Linux (entry.S) that probably needs adjusting.

 -- Keir


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

<Prev in Thread] Current Thread [Next in Thread>