qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Richard W.M. Jones" <rjones@redhat.com>
To: Shehbaz Jaffer <shehbazjaffer007@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Monitoring Screen Activity in QEMU/KVM
Date: Wed, 26 Jun 2013 14:06:58 +0100	[thread overview]
Message-ID: <20130626130658.GA23013@redhat.com> (raw)
In-Reply-To: <CAPLK-i_OujjH0ZtkKqLAF9_X-m40=T5+OocaFMCd3oA1uDz2BQ@mail.gmail.com>

On Wed, Jun 26, 2013 at 07:47:47AM +0530, Shehbaz Jaffer wrote:
> I want to determine the amount of screen activity taking place on VGA
> monitor/ Screen for different applications (eg. playing vlc video, normal
> typing.)
> 
> When I do not start the X server, I can easily determine the screen
> activity by counting the number of pages accessed in the region 0xA0000 -
> 0xBffff (This is the VGA Monitor region in boot screen).
> 
> However when I start the X Server, A diffrent set of pages are hit. Could
> anyone please explain how the VGA Monitor works in QEMU?

qemu emulates a PCI device.  Probably an ancient Cirrus Logic CL 5446,
but other devices are possible.

> Or if someone
> could suggest an alternate solution to determine amount of screen activity
> while playing diffrent applications?

I would take an existing VNC client and modify it to log the "screeen
activity" you want to log.  VNC is a well-documented protocol, there
are several high quality open source clients [gtk-vnc is the one I'd
pick], and doing this means the guest can run at full speed.

It depends a lot on how you define "screen activity".

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top

  reply	other threads:[~2013-06-26 13:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-26  2:17 [Qemu-devel] Monitoring Screen Activity in QEMU/KVM Shehbaz Jaffer
2013-06-26 13:06 ` Richard W.M. Jones [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-06-27 14:09 Claudio Fontana
2013-06-27 16:31 ` Anthony Liguori
2013-06-27 20:16 Claudio Fontana

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=20130626130658.GA23013@redhat.com \
    --to=rjones@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=shehbazjaffer007@gmail.com \
    /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).