Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > media > main-src > by-pkgid > aadbe78a25743146bb784eee19f007c5 > files > 419

kvm-83-164.el5_5.9.src.rpm

From 2ae51e656f9b2407b8c6740df49909b83c18ed81 Mon Sep 17 00:00:00 2001
From: Eduardo Habkost <ehabkost@redhat.com>
Date: Mon, 5 Oct 2009 14:32:46 -0300
Subject: [PATCH 3/6] RHEL5.4 defined this constants in asm/msr.h

RH-Author: Juan Quintela <quintela@redhat.com>
Message-id: <6ba8d6fe9e6bfb818df832cdb80c539b0e4809f9.1253624246.git.quintela@trasno.org>
Patchwork-id: 3496
O-Subject: [PATCH 1/2] RHEL5.4 defined this constants in asm/msr.h
Bugzilla: 515749
RH-Acked-by: Dor Laor <dlaor@redhat.com>
RH-Acked-by: Avi Kivity <avi@redhat.com>
RH-Acked-by: Markus Armbruster <armbru@redhat.com>

From: Juan Quintela <quintela@trasno.org>

This gives lots of warning compilations

Signed-off-by: Juan Quintela <quintela@trasno.org>
---
 arch/x86/include/asm/svm.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
 arch/x86/include/asm/svm.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/arch/x86/include/asm/svm.h b/arch/x86/include/asm/svm.h
index 1b8afa7..d8dc6fe 100644
--- a/arch/x86/include/asm/svm.h
+++ b/arch/x86/include/asm/svm.h
@@ -175,8 +175,6 @@ struct __attribute__ ((__packed__)) vmcb {
 #define SVM_CPUID_FUNC 0x8000000a
 
 #define MSR_EFER_SVME_MASK (1ULL << 12)
-#define MSR_VM_CR       0xc0010114
-#define MSR_VM_HSAVE_PA 0xc0010117ULL
 
 #define SVM_VM_CR_SVM_DISABLE 4
 
-- 
1.6.3.rc4.29.g8146