~ubuntu-branches/ubuntu/hardy/kvm/hardy-backports

« back to all changes in this revision

Viewing changes to qemu/hw/vga.c

  • Committer: Bazaar Package Importer
  • Author(s): Soren Hansen
  • Date: 2007-11-15 02:21:55 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20071115022155-pxoxb8kfcrkn72mi
Tags: 1:52+dfsg-0ubuntu1
* New upstream release.
* 08_default_tdf.patch
  - Make -tdf the default and add a -no-tdf option.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1413
1413
 
1414
1414
#ifdef USE_KVM
1415
1415
 
1416
 
#include "kvmctl.h"
 
1416
#include "libkvm.h"
1417
1417
extern kvm_context_t kvm_context;
1418
1418
 
1419
1419
static int bitmap_get_dirty(unsigned long *bitmap, unsigned nr)
1452
1452
    int r;
1453
1453
 
1454
1454
    if (kvm_allowed) {
1455
 
            r = kvm_get_dirty_pages(kvm_context, 1, &bitmap);
 
1455
            r = kvm_get_dirty_pages(kvm_context, s->map_addr, &bitmap);
1456
1456
            if (r < 0)
1457
1457
                    fprintf(stderr, "kvm: get_dirty_pages returned %d\n", r);
1458
1458
    }