From 49f958530791c3adcf2ceca922b890bffe62e848 Mon Sep 17 00:00:00 2001
From: Zhang Xiantao <xiantao.zhang@intel.com>
Date: Thu, 3 Jan 2008 13:42:40 +0800
Subject: [PATCH] kvm: qemu/ia64: Set max virtual processor to 4 for ia64

Set max number of virtual processors to 4 for ia64
Signed-off-by: Zhang Xiantao <xiantao.zhang@intel.com>
---
 qemu/vl.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/qemu/vl.c b/qemu/vl.c
index b84ddd5..99dc03d 100644
--- a/qemu/vl.c
+++ b/qemu/vl.c
@@ -220,6 +220,8 @@ const char *vnc_display;
 #define MAX_CPUS 16
 #elif defined(TARGET_I386)
 #define MAX_CPUS 255
+#elif defined(TARGET_IA64)
+#define MAX_CPUS 4
 #else
 #define MAX_CPUS 1
 #endif
-- 
1.5.2

