Avi Kivity wrote: > Zhang, Xiantao wrote: >> From: Zhang Xiantao <[EMAIL PROTECTED]> >> Date: Thu, 29 Nov 2007 15:45:57 +0800 >> Subject: [PATCH] Moving kvm_vcpu_cache to x86.c. >> Moving kvm_vcpu_cache to x86.c, since only x86 platform will >> use to align the memory area for fx_save. >> > > > How about having a KVM_VCPU_ALIGN macro, defined to zero except for > x86? Alternatively (possibly better as it saves some memory), move > the fpu state out of kvm_vcpu (accessed via a pointer).
Both should be OK. But now that other archs have no such issues, maybe we can move them to x86 first:) ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel