* Counting VCPU instructions
@ 2009-01-12 19:22 Abhishek Saksena
2009-01-13 9:30 ` Avi Kivity
0 siblings, 1 reply; 3+ messages in thread
From: Abhishek Saksena @ 2009-01-12 19:22 UTC (permalink / raw)
To: kvm
Hi guys,
Is ther a way to count how many instruction VCPU (KVM) executed? Say
between between two IO/mmio operations.
Is there any KVM API for this?
Other thing which I am not sure how KVM kerenel is synconrinized with
Qemu kernel? Can somebody explain this?
Thanks
Abhishek
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Counting VCPU instructions
2009-01-12 19:22 Counting VCPU instructions Abhishek Saksena
@ 2009-01-13 9:30 ` Avi Kivity
[not found] ` <419eef1d0901130936sf82bceesf3f5c2f27ca6a251@mail.gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Avi Kivity @ 2009-01-13 9:30 UTC (permalink / raw)
To: Abhishek Saksena; +Cc: kvm
Abhishek Saksena wrote:
> Hi guys,
> Is ther a way to count how many instruction VCPU (KVM) executed? Say
> between between two IO/mmio operations.
> Is there any KVM API for this?
>
>
While it's possible in theory using the hardware performance counters,
no one has implemented this.
> Other thing which I am not sure how KVM kerenel is synconrinized with
> Qemu kernel? Can somebody explain this?
>
What's the qemu kernel?
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Counting VCPU instructions
[not found] ` <419eef1d0901130936sf82bceesf3f5c2f27ca6a251@mail.gmail.com>
@ 2009-01-13 20:04 ` Avi Kivity
0 siblings, 0 replies; 3+ messages in thread
From: Avi Kivity @ 2009-01-13 20:04 UTC (permalink / raw)
To: Abhishek Saksena; +Cc: kvm-devel
(restoring cc)
Abhishek Saksena wrote:
>>> Other thing which I am not sure how KVM kerenel is synconrinized with
>>> Qemu kernel? Can somebody explain this?
>>>
>>>
>> What's the qemu kernel?
>>
>
> Just qemu. Qemu has it's own timers how they are synced up with KVM?
> For example if the guest is getting too far ahead, we need to slow it down.
>
Guest getting too far ahead of what? Why would we want to slow down a
guest?
--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-01-13 20:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-12 19:22 Counting VCPU instructions Abhishek Saksena
2009-01-13 9:30 ` Avi Kivity
[not found] ` <419eef1d0901130936sf82bceesf3f5c2f27ca6a251@mail.gmail.com>
2009-01-13 20:04 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox