[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/2] [RFC] Make vmport report the processor spee
From: |
Jamie Lokier |
Subject: |
Re: [Qemu-devel] [PATCH 1/2] [RFC] Make vmport report the processor speed |
Date: |
Tue, 6 Jan 2009 22:33:04 +0000 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Alexander Graf wrote:
> If VMware ESX finds itself virtualized (read: inside VMware), it
> reads the TSC speed from its backdoor, because measuring the TSC
> inside a VM is not exact.
>
> This patch implements a hacky way to detect the TSC speed and passes
> that through to the VM. I am open to suggestions on how to improve
> the behavior. It also adds a magic return value of 2 on the version
> return, which is required by VMware ESX. WARNING: This
> implementation breaks on non-x86 hosts!
If you run _this_ code as a guest inside itself, shouldn't it _call_
VMPORT_CMD_GETPROCSPEED to get the value? :-)
-- Jamie
- [Qemu-devel] [PATCH 0/2] VMware ESX guest bringup (partial), Alexander Graf, 2009/01/05
- [Qemu-devel] [PATCH 1/2] [RFC] Make vmport report the processor speed, Alexander Graf, 2009/01/05
- Re: [Qemu-devel] [PATCH 1/2] [RFC] Make vmport report the processor speed, Anthony Liguori, 2009/01/05
- Re: [Qemu-devel] [PATCH 1/2] [RFC] Make vmport report the processor speed, François Revol, 2009/01/05
- Re: [Qemu-devel] [PATCH 1/2] [RFC] Make vmport report the processor speed,
Jamie Lokier <=
- Re: [Qemu-devel] [PATCH 1/2] [RFC] Make vmport report the processor speed, Alexander Graf, 2009/01/07
- Re: [Qemu-devel] [PATCH 1/2] [RFC] Make vmport report the processor speed, François Revol, 2009/01/07
- Re: [Qemu-devel] [PATCH 1/2] [RFC] Make vmport report the processor speed, Alexander Graf, 2009/01/07
- Re: [Qemu-devel] [PATCH 1/2] [RFC] Make vmport report the processor speed, François Revol, 2009/01/07
- Re: [Qemu-devel] [PATCH 1/2] [RFC] Make vmport report the processor speed, Alexander Graf, 2009/01/07
- Re: [Qemu-devel] [PATCH 1/2] [RFC] Make vmport report the processor speed, François Revol, 2009/01/07
- Re: [Qemu-devel] [PATCH 1/2] [RFC] Make vmport report the processor speed, Alexander Graf, 2009/01/07
Re: [Qemu-devel] [PATCH 1/2] [RFC] Make vmport report the processor speed, Anthony Liguori, 2009/01/07