From patchwork Sat Jun 12 00:46:25 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zachary Amsden X-Patchwork-Id: 105667 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o5C0kZG4002583 for ; Sat, 12 Jun 2010 00:46:36 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754189Ab0FLAq3 (ORCPT ); Fri, 11 Jun 2010 20:46:29 -0400 Received: from mx1.redhat.com ([209.132.183.28]:10125 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752317Ab0FLAq2 (ORCPT ); Fri, 11 Jun 2010 20:46:28 -0400 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o5C0kSR5011571 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 11 Jun 2010 20:46:28 -0400 Received: from [10.11.11.189] (vpn-11-189.rdu.redhat.com [10.11.11.189]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o5C0kP16029249; Fri, 11 Jun 2010 20:46:26 -0400 Message-ID: <4C12D8E1.2020101@redhat.com> Date: Fri, 11 Jun 2010 14:46:25 -1000 From: Zachary Amsden User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Thunderbird/3.0.4 MIME-Version: 1.0 To: Jan Kiszka , kvm Subject: [PATCH] fix kvm-kmod FPU save API X-Scanned-By: MIMEDefang 2.67 on 10.5.11.18 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Sat, 12 Jun 2010 00:46:36 +0000 (UTC) diff --git a/x86/external-module-compat.h b/x86/external-module-compat.h index 708517b..d7b0538 100644 --- a/x86/external-module-compat.h +++ b/x86/external-module-compat.h @@ -835,7 +835,7 @@ struct kvm_i387_fxsave_struct { #else u32 xmm_space[32]; /* 8*16 bytes for each XMM-reg = 128 bytes */ #endif -}; +} __aligned(16); union kvm_thread_xstate { struct kvm_i387_fxsave_struct fxsave;