All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sasha Levin <levinsasha928@gmail.com>
To: kvm <kvm@vger.kernel.org>
Cc: Avi Kivity <avi@redhat.com>, Pekka Enberg <penberg@kernel.org>,
	Ingo Molnar <mingo@elte.hu>
Subject: Coalesced MMIO
Date: Fri, 03 Jun 2011 20:49:44 +0300	[thread overview]
Message-ID: <1307123385.13088.18.camel@lappy> (raw)

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.


             reply	other threads:[~2011-06-03 17:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-03 17:49 Sasha Levin [this message]
2011-06-03 19:28 ` Coalesced MMIO Sasha Levin

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=1307123385.13088.18.camel@lappy \
    --to=levinsasha928@gmail.com \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=penberg@kernel.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.