aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhang Xiantao <xiantao.zhang@intel.com>2008-01-03 17:22:36 +0800
committerAvi Kivity <avi@qumranet.com>2008-01-03 17:42:08 +0200
commit363b1e4787403f3411e2b86417f00f9d684d10f4 (patch)
treebb7d0f82137e08ec06ba17384aedc888641326bc /target-ia64/firmware.h
parentSet max virtual processor to 4 for ia64 (diff)
downloadqemu-kvm-363b1e4787403f3411e2b86417f00f9d684d10f4.tar.gz
qemu-kvm-363b1e4787403f3411e2b86417f00f9d684d10f4.tar.bz2
qemu-kvm-363b1e4787403f3411e2b86417f00f9d684d10f4.zip
Ia64: Add check for guest firmware.
Add the existence check before reading the image. Signed-off-by: Zhang Xiantao <xiantao.zhang@intel.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'target-ia64/firmware.h')
-rw-r--r--target-ia64/firmware.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-ia64/firmware.h b/target-ia64/firmware.h
index 1c4e534c2..dde8b2dd9 100644
--- a/target-ia64/firmware.h
+++ b/target-ia64/firmware.h
@@ -36,7 +36,7 @@
#define HOB_OFFSET (GFW_HOB_START-GFW_START)
#define Hob_Output(s) \
- fprintf(stderr, strcat("HOB:",s))
+ fprintf(stderr, s)
extern int kvm_ia64_build_hob(unsigned long memsize,
unsigned long vcpus, uint8_t* fw_start);