From: Paul Brook <paul@codesourcery.com>
To: qemu-devel@nongnu.org
Cc: "Màrius Montón" <marius.monton@uab.cat>
Subject: Re: [Qemu-devel] time inside qemu
Date: Fri, 29 Dec 2006 18:10:41 +0000 [thread overview]
Message-ID: <200612291810.41992.paul@codesourcery.com> (raw)
In-Reply-To: <45955621.2030301@uab.cat>
On Friday 29 December 2006 17:53, Màrius Montón wrote:
> Hi,
>
> As I understand, OSes running inside qemu "have" notion of time: (its
> date and time works, time(1) command works, etc.).
> My question is about how qemu manages time. I need to stop and start
> again this "virtual-time".
qemu doesn't maintain virtual time, it just uses the real host time.
> I just tried with cpu_disable_ticks() and cpu_enable_ticks(). It seems
> to work partially: at least now system date and time are out of sync..
I suspect you'll find that for anything other than very coarse user (ie. user
stop/continue) these are effectively useless.
Any benchmark/performance measurements you make inside qemu are meaningless.
qemu performance bears no relation whatsoever to the performance
characteristics of real hardware.
Paul
next prev parent reply other threads:[~2006-12-29 18:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-29 16:22 [Qemu-devel] time inside qemu Màrius Montón
2006-12-29 17:43 ` Paul Brook
2006-12-29 17:53 ` Màrius Montón
2006-12-29 18:10 ` Paul Brook [this message]
2007-04-16 14:41 ` Marius Monton
2007-04-16 15:12 ` Paul Brook
2007-04-17 14:05 ` Marius Monton
2007-04-17 14:22 ` Paul Brook
2007-04-16 21:59 ` Eduardo Felipe
2006-12-31 14:52 ` Markus Schiltknecht
-- strict thread matches above, loose matches on Subject: below --
2006-12-29 11:13 Màrius Montón
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=200612291810.41992.paul@codesourcery.com \
--to=paul@codesourcery.com \
--cc=marius.monton@uab.cat \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.