From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: [PATCH 3/7] Timer save/restore fix Date: Fri, 03 Nov 2006 00:27:19 -0600 Message-ID: <454AE147.2000808@cs.utexas.edu> References: <454AE007.5070905@cs.utexas.edu> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------000706020802000206040608" Return-path: To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org In-Reply-To: <454AE007.5070905-NZpS4cJIG2HvQtjrzfazuQ@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org This is a multi-part message in MIME format. --------------000706020802000206040608 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit This is also in QEMU CVS. Regards, Anthony Liguori --------------000706020802000206040608 Content-Type: text/x-patch; name="timer-save-restore.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="timer-save-restore.diff" diff -r dd0c57d03fb3 vl.c --- a/vl.c Thu Nov 02 19:13:06 2006 -0600 +++ b/vl.c Thu Nov 02 19:13:41 2006 -0600 @@ -822,6 +822,7 @@ static void timer_save(QEMUFile *f, void } qemu_put_be64s(f, &cpu_ticks_offset); qemu_put_be64s(f, &ticks_per_sec); + qemu_put_be64s(f, &cpu_clock_offset); } static int timer_load(QEMUFile *f, void *opaque, int version_id) @@ -833,6 +834,7 @@ static int timer_load(QEMUFile *f, void } qemu_get_be64s(f, &cpu_ticks_offset); qemu_get_be64s(f, &ticks_per_sec); + qemu_get_be64s(f, &cpu_clock_offset); return 0; } --------------000706020802000206040608 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 --------------000706020802000206040608 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel --------------000706020802000206040608--