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 ? Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 ryanh@us.ibm.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
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@lists.xensource.com http://lists.xensource.com/xen-devel