public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Coalesced MMIO
@ 2011-06-03 17:49 Sasha Levin
  2011-06-03 19:28 ` Sasha Levin
  0 siblings, 1 reply; 2+ messages in thread
From: Sasha Levin @ 2011-06-03 17:49 UTC (permalink / raw)
  To: kvm; +Cc: Avi Kivity, Pekka Enberg, Ingo Molnar

Hello,

I've tried using KVM_REGISTER_COALESCED_MMIO to register a coalesced
MMIO zone.

ioctl(KVM_CHECK_EXTENSION) for KVM_CAP_COALESCED_MMIO works properly
(and returns 2).

ioctl(KVM_REGISTER_COALESCED_MMIO) with the zone also works fine (and
returns 0).

What I see is that we still get KVM_EXIT_MMIO into that zone, and the
ring never gets used (first==last==0 at all times).

I've went ahead and added some debug output to QEMU, I've noticed that
while qemu registers a coalesced MMIO zone for it's VGA driver,
kvm_flush_coalesced_mmio_buffer() never has any data to flush in the
ring either.

Is it a known issue? Or am I simply not doing something right?

Thanks!

-- 

Sasha.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Coalesced MMIO
  2011-06-03 17:49 Coalesced MMIO Sasha Levin
@ 2011-06-03 19:28 ` Sasha Levin
  0 siblings, 0 replies; 2+ messages in thread
From: Sasha Levin @ 2011-06-03 19:28 UTC (permalink / raw)
  To: kvm; +Cc: Avi Kivity, Pekka Enberg, Ingo Molnar

On Fri, 2011-06-03 at 20:49 +0300, Sasha Levin wrote:
> Hello,
> 
> I've tried using KVM_REGISTER_COALESCED_MMIO to register a coalesced
> MMIO zone.

Looks like this issue was caused because I changed my KVM_MAX_VCPUS from
64 to 1024.

-- 

Sasha.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-06-03 19:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-03 17:49 Coalesced MMIO Sasha Levin
2011-06-03 19:28 ` Sasha Levin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox