qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Alexander Graf <agraf@suse.de>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 1/2] [RFC] Make vmport report the processor speed
Date: Wed, 07 Jan 2009 16:44:02 +0100	[thread overview]
Message-ID: <4964CDC2.1080707@suse.de> (raw)
In-Reply-To: <12976861769-BeMail@laptop>

François Revol wrote:
>>> Do we implement them yet ? grep got me some MSR_IA32_TSC in kvm.c,  
>>> so I
>>> suppose yes.
>>>       
>> That is the TSC value MSR I guess. So no, we don't implement them 
>> yet.  
>> But that sounds like a way better interface to me than the VMware  
>> backdoor ;).
>>     
>
> Maybe implementing it properly would fix running ESX without the need 
> for vmport ?
>   

I haven't seen VMware accessing the relevant MSR, so I guess no :-(.

>>> Oh, I didn't notice rdtscp, might be interesting to use instead for
>>> Haiku.
>>>       
>> Maybe using a PV clocksource is even better ...
>>     
>
> ?
>   

Xenner for example uses the KVM_CLOCK to do timings, because the guest
never really knows what time it is. There was a comment on that earlier
in this thread by Avi IIRC too. If you're running virtualized, it's
usually best to use a paravirtualized clocksource.

Alex

  reply	other threads:[~2009-01-07 15:44 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-05 16:11 [Qemu-devel] [PATCH 0/2] VMware ESX guest bringup (partial) Alexander Graf
2009-01-05 16:11 ` [Qemu-devel] [PATCH 1/2] [RFC] Make vmport report the processor speed Alexander Graf
2009-01-05 16:11   ` [Qemu-devel] [PATCH 2/2] Add phenom CPU descriptor Alexander Graf
2009-01-09 23:16     ` Alexander Graf
2009-01-09 23:36       ` Anthony Liguori
2009-01-05 16:37   ` [Qemu-devel] [PATCH 1/2] [RFC] Make vmport report the processor speed Anthony Liguori
2009-01-07  6:58     ` Alexander Graf
2009-01-06  4:24   ` François Revol
2009-01-06  4:56     ` Anthony Liguori
2009-01-06 22:33   ` Jamie Lokier
2009-01-07  6:29     ` Alexander Graf
2009-01-07 10:23       ` François Revol
2009-01-07 11:15         ` Alexander Graf
2009-01-07 11:32           ` François Revol
2009-01-07 14:34             ` Alexander Graf
2009-01-07 14:48               ` François Revol
2009-01-07 15:44                 ` Alexander Graf [this message]
2009-01-07 16:46   ` Anthony Liguori

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=4964CDC2.1080707@suse.de \
    --to=agraf@suse.de \
    --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).