kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Zachary Amsden <zamsden@redhat.com>
To: kvm <kvm@vger.kernel.org>, Jan Kiszka <jan.kiszka@web.de>,
	Avi Kivity <avi@redhat.com>, Gleb Natapov <gleb@redhat.com>
Subject: [PATCH 3/4] AMD module build failure
Date: Tue, 25 May 2010 17:35:31 -1000	[thread overview]
Message-ID: <4BFC9703.9060106@redhat.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1 bytes --]



[-- Attachment #2: 0003-Fix-AMD-module-build-failure-because-of-undefined-MS.patch --]
[-- Type: text/plain, Size: 764 bytes --]

>From abbb464f0c2dd9681c4380598a1ac098d024b576 Mon Sep 17 00:00:00 2001
From: Zachary Amsden <zamsden@redhat.com>
Date: Tue, 25 May 2010 16:33:47 -1000
Subject: [PATCH 3/5] Fix AMD module build failure because of undefined MSR

Signed-off-by: Zachary Amsden <zamsden@redhat.com>
---
 x86/external-module-compat.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/x86/external-module-compat.h b/x86/external-module-compat.h
index 316f7ff..e7ed07b 100644
--- a/x86/external-module-compat.h
+++ b/x86/external-module-compat.h
@@ -872,3 +872,7 @@ static inline void fpu_save_init(struct fpu *fpu)
 	kvm_fx_restore(&fpu->state->host_fx_image);
 }
 #endif
+
+#ifndef MSR_AMD64_DC_CFG
+#define MSR_AMD64_DC_CFG		0xc0011022 
+#endif
-- 
1.7.0.1


             reply	other threads:[~2010-05-26  3:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-26  3:35 Zachary Amsden [this message]
2010-05-26  7:34 ` [PATCH 3/4] AMD module build failure Jan Kiszka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BFC9703.9060106@redhat.com \
    --to=zamsden@redhat.com \
    --cc=avi@redhat.com \
    --cc=gleb@redhat.com \
    --cc=jan.kiszka@web.de \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).