From: Keir Fraser Subject: Re: adding fields to vcpu_info_t Date: Tue, 5 Apr 2005 18:56:55 +0100 Message-ID: References: <20050405170621.GA3347@luffy.austin.ibm.com> Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20050405170621.GA3347@luffy.austin.ibm.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ryan Harper Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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