public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix a typo.
@ 2008-08-29  3:14 Zhang, Xiantao
  2008-08-29 11:57 ` Avi Kivity
  0 siblings, 1 reply; 4+ messages in thread
From: Zhang, Xiantao @ 2008-08-29  3:14 UTC (permalink / raw)
  To: kvm-ia64, kvm; +Cc: Avi Kivity

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

>From 297fb289f827e7921ae105d3a8ff79ca4c43a03a Mon Sep 17 00:00:00 2001
From: Xiantao Zhang <xiantao.zhang@intel.com>
Date: Fri, 29 Aug 2008 10:55:26 +0800
Subject: [PATCH] kvm: Qemu: Fix a typo.

VGA_RAM_SIZE -> GFW_SIZE.
Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
---
 qemu/hw/ipf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/qemu/hw/ipf.c b/qemu/hw/ipf.c
index 60ff634..c1a7bee 100644
--- a/qemu/hw/ipf.c
+++ b/qemu/hw/ipf.c
@@ -681,5 +681,5 @@ QEMUMachine ipf_machine = {
     "itanium",
     "Itanium Platform",
     ipf_init_pci,
-    VGA_RAM_SIZE + VGA_RAM_SIZE,
+    VGA_RAM_SIZE + GFW_SIZE,
 };
-- 
1.5.1

[-- Attachment #2: 0001-kvm-Qemu-Fix-a-typo.patch --]
[-- Type: application/octet-stream, Size: 657 bytes --]

From 297fb289f827e7921ae105d3a8ff79ca4c43a03a Mon Sep 17 00:00:00 2001
From: Xiantao Zhang <xiantao.zhang@intel.com>
Date: Fri, 29 Aug 2008 10:55:26 +0800
Subject: [PATCH] kvm: Qemu: Fix a typo.

VGA_RAM_SIZE -> GFW_SIZE.
Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
---
 qemu/hw/ipf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/qemu/hw/ipf.c b/qemu/hw/ipf.c
index 60ff634..c1a7bee 100644
--- a/qemu/hw/ipf.c
+++ b/qemu/hw/ipf.c
@@ -681,5 +681,5 @@ QEMUMachine ipf_machine = {
     "itanium",
     "Itanium Platform",
     ipf_init_pci,
-    VGA_RAM_SIZE + VGA_RAM_SIZE,
+    VGA_RAM_SIZE + GFW_SIZE,
 };
-- 
1.5.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread
* [PATCH] fix a typo
@ 2007-05-20 13:24 Dong, Eddie
       [not found] ` <10EA09EFD8728347A513008B6B0DA77A014E8ABD-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Dong, Eddie @ 2007-05-20 13:24 UTC (permalink / raw)
  To: kvm-devel

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

Seems a typo leaking our eyes :-(

	
	Fixing a typo which mixes X86_64 and CONFIG_X86_64 and block 64
bits guest now.

        Signed-off-by: Yaozu (Eddie) Dong <eddie.dong-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>


diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c
index 5f4bdc0..9bf8c04 100644
--- a/drivers/kvm/vmx.c
+++ b/drivers/kvm/vmx.c
@@ -479,7 +479,7 @@ static void setup_msrs(struct kvm_vcpu *vcpu)
 	int index, save_nmsrs;
 
 	save_nmsrs = 0;
-#ifdef X86_64
+#ifdef CONFIG_X86_64
 	if (is_long_mode(vcpu)) {
 		index = __find_msr_index(vcpu, MSR_SYSCALL_MASK);
 		if (index >= 0)

[-- Attachment #2: fix1.patch --]
[-- Type: application/octet-stream, Size: 377 bytes --]

diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c
index 5f4bdc0..9bf8c04 100644
--- a/drivers/kvm/vmx.c
+++ b/drivers/kvm/vmx.c
@@ -479,7 +479,7 @@ static void setup_msrs(struct kvm_vcpu *vcpu)
 	int index, save_nmsrs;
 
 	save_nmsrs = 0;
-#ifdef X86_64
+#ifdef CONFIG_X86_64
 	if (is_long_mode(vcpu)) {
 		index = __find_msr_index(vcpu, MSR_SYSCALL_MASK);
 		if (index >= 0)

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

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

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

_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/kvm-devel

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-08-29 11:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-29  3:14 [PATCH] Fix a typo Zhang, Xiantao
2008-08-29 11:57 ` Avi Kivity
  -- strict thread matches above, loose matches on Subject: below --
2007-05-20 13:24 [PATCH] fix " Dong, Eddie
     [not found] ` <10EA09EFD8728347A513008B6B0DA77A014E8ABD-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-05-20 13:30   ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox