From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: [PATCH 2/7] APIC save/restore fix Date: Fri, 03 Nov 2006 00:26:30 -0600 Message-ID: <454AE116.1040409@cs.utexas.edu> References: <454AE007.5070905@cs.utexas.edu> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------080801000301090706010205" 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. --------------080801000301090706010205 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit This apparently is already in QEMU CVS. Regards, Anthony Liguori --------------080801000301090706010205 Content-Type: text/x-patch; name="apic-save-restore.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="apic-save-restore.diff" diff -r 7b36a6ae02f3 hw/apic.c --- a/hw/apic.c Thu Nov 02 19:09:11 2006 -0600 +++ b/hw/apic.c Thu Nov 02 19:10:38 2006 -0600 @@ -745,6 +745,8 @@ static void apic_save(QEMUFile *f, void qemu_put_be32s(f, &s->initial_count); qemu_put_be64s(f, &s->initial_count_load_time); qemu_put_be64s(f, &s->next_time); + + qemu_put_timer(f, s->timer); } static int apic_load(QEMUFile *f, void *opaque, int version_id) @@ -779,6 +781,8 @@ static int apic_load(QEMUFile *f, void * qemu_get_be32s(f, &s->initial_count); qemu_get_be64s(f, &s->initial_count_load_time); qemu_get_be64s(f, &s->next_time); + + qemu_get_timer(f, s->timer); return 0; } --------------080801000301090706010205 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 --------------080801000301090706010205 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 --------------080801000301090706010205--