From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GDjEF-0006tU-LO for qemu-devel@nongnu.org; Thu, 17 Aug 2006 10:52:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GDjEE-0006rc-88 for qemu-devel@nongnu.org; Thu, 17 Aug 2006 10:52:14 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GDjED-0006rS-QT for qemu-devel@nongnu.org; Thu, 17 Aug 2006 10:52:13 -0400 Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GDjKi-0003ES-VH for qemu-devel@nongnu.org; Thu, 17 Aug 2006 10:58:57 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GDjDx-0002zj-Ps for qemu-devel@nongnu.org; Thu, 17 Aug 2006 16:51:57 +0200 Received: from host.ci.hillsboro.or.us ([4.18.224.6]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Aug 2006 16:51:57 +0200 Received: from void by host.ci.hillsboro.or.us with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Aug 2006 16:51:57 +0200 From: "alex" Date: Thu, 17 Aug 2006 07:51:39 -0700 Message-ID: References: <000401c6c1b9$c86d13a0$0464a8c0@athlon> <9b0d5f320608170644t48fb5041r85cb3818cd03635b@mail.gmail.com> Sender: news Subject: [Qemu-devel] Re: Re: Compile error on Windows Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Thanks all, I updated my CVS tree this morning and it compiled fine. Obviously, the problem has been fixed already fixed. Alex. "WaxDragon" wrote in message news:9b0d5f320608170644t48fb5041r85cb3818cd03635b@mail.gmail.com... > > Use this patch. > > http://lists.gnu.org/archive/html/qemu-devel/2006-08/msg00107.html > > > > Regards, > > Kazu > > I thought there was a patch floating around, but this is how I fixed > it, since the code was already there. No idea if it's correct, but it > let me build and boot on my win32 install. > > Index: vl.c > =================================================================== > RCS file: /sources/qemu/qemu/vl.c,v > retrieving revision 1.207 > diff -u -r1.207 vl.c > --- vl.c 7 Aug 2006 21:34:46 -0000 1.207 > +++ vl.c 17 Aug 2006 13:42:27 -0000 > @@ -4539,7 +4539,6 @@ > BlockDriverInfo bdi1, *bdi = &bdi1; > QEMUFile *f; > int saved_vm_running; > - struct timeval tv; > > bs = get_bs_snapshots(); > if (!bs) { > @@ -4567,9 +4566,8 @@ > } > > /* fill auxiliary fields */ > - gettimeofday(&tv, NULL); > - sn->date_sec = tv.tv_sec; > - sn->date_nsec = tv.tv_usec * 1000; > + sn->date_sec = get_clock(); > + sn->date_nsec = get_clock() * 1000; > sn->vm_clock_nsec = qemu_get_clock(vm_clock); > > if (bdrv_get_info(bs, bdi) < 0 || bdi->vm_state_offset <= 0) { > > > > WD > -- > < undrdawg> it was buggy and hung a lot