gtk: factor out keycode mapping

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
gtk: cleanup backend dependencies

Make configure detect gtk x11 backend and link libX11 then.  Make
gtk backend specific code properly #ifdef'ed on the GTK_WINDOWING_*
backends at runtime).  Our gtk ui code should build and run fine on
any platform now.

This also fixes the linker failute due to the new XkbGetKeyboard call
added by commit 3158a3482b0093e41f2b2596fba50774ea31ae08.

Cc: Richard Henderson <rth@twiddle.net>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
gtk: factor out gtk3 grab into the new gd_grab_devices function

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
gtk: update window size after showing/hiding tabs

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Merge remote-tracking branch 'remotes/kraxel/tags/pull-gtk-20140611-1' into staging

gtk: misc fixes & cleanups.

# gpg: Signature made Wed 11 Jun 2014 13:28:12 BST using RSA key ID D3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>"
# gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>"
# gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>"

* remotes/kraxel/tags/pull-gtk-20140611-1:
  gtk: update window size after showing/hiding tabs
  gtk: factor out gtk3 grab into the new gd_grab_devices function
  gtk: cleanup backend dependencies
  gtk: factor out keycode mapping

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
enable sharing of the function between migration and bitmap dump

Signed-off-by: Sanidhya Kashyap <sanidhya.iiith@gmail.com>
RunState: added two new flags for bitmap dump and migration process

Signed-off-by: Sanidhya Kashyap <sanidhya.iiith@gmail.com>
bitmap dump code via QAPI framework with runstates

Signed-off-by: Sanidhya Kashyap <sanidhya.iiith@gmail.com>
hmp interface for dirty bitmap dump

Signed-off-by: Sanidhya Kashyap <sanidhya.iiith@gmail.com>
cancel mechanism for an already running dump bitmap process

Signed-off-by: Sanidhya Kashyap <sanidhya.iiith@gmail.com>
set the frequency of the dump bitmap process

Signed-off-by: Sanidhya Kashyap <sanidhya.iiith@gmail.com>
python script for extracting bitmap from a binary file

Signed-off-by: Sanidhya Kashyap <sanidhya.iiith@gmail.com>