From: "alex" <void@aleksoft.net>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: Re: Compile error on Windows
Date: Thu, 17 Aug 2006 07:51:39 -0700 [thread overview]
Message-ID: <ec1vq4$9pb$1@sea.gmane.org> (raw)
In-Reply-To: 9b0d5f320608170644t48fb5041r85cb3818cd03635b@mail.gmail.com
Thanks all,
I updated my CVS tree this morning and it compiled fine.
Obviously, the problem has been fixed already fixed.
Alex.
"WaxDragon" <waxdragon@gmail.com> 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
prev parent reply other threads:[~2006-08-17 14:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-17 1:24 [Qemu-devel] Compile error on Windows Armistead, Jason
2006-08-17 3:46 ` [Qemu-devel] " Alex
2006-08-17 4:58 ` Kazu
2006-08-17 13:44 ` WaxDragon
2006-08-17 14:51 ` alex [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='ec1vq4$9pb$1@sea.gmane.org' \
--to=void@aleksoft.net \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).