[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-3.0.5-testing] xen: Fix build with recent GCC (4.1+).



# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1177748880 -3600
# Node ID fc145308f102d6c0bdabfdca0035d302c633879a
# Parent  c12380cddec5dba76f2fd0a31422a848c79814c1
xen: Fix build with recent GCC (4.1+).
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 xen/arch/x86/hvm/save.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r c12380cddec5 -r fc145308f102 xen/arch/x86/hvm/save.c
--- a/xen/arch/x86/hvm/save.c   Fri Apr 27 18:53:23 2007 -0700
+++ b/xen/arch/x86/hvm/save.c   Sat Apr 28 09:28:00 2007 +0100
@@ -99,6 +99,8 @@ int hvm_save(struct domain *d, hvm_domai
         hdr.changeset = simple_strtoll(c, NULL, 16);
     else 
         hdr.changeset = -1ULL; /* Unknown */
+
+    hdr.pad0 = 0;
 
     if ( hvm_save_entry(HEADER, 0, h, &hdr) != 0 )
     {

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.