Revision 93102fd6 hw/framebuffer.c

b/hw/framebuffer.c
17 17
#include "hw.h"
18 18
#include "console.h"
19 19
#include "framebuffer.h"
20
#include "kvm.h"
21 20

  
22 21
/* Render an image from a shared memory framebuffer.  */
23 22
   
......
50 49
    *first_row = -1;
51 50
    src_len = src_width * rows;
52 51

  
53
    if (kvm_enabled()) {
54
        kvm_physical_sync_dirty_bitmap(base, src_len);
55
    }
52
    cpu_physical_sync_dirty_bitmap(base, base + src_len);
56 53
    pd = cpu_get_physical_page_desc(base);
57 54
    pd2 = cpu_get_physical_page_desc(base + src_len - 1);
58 55
    /* We should reall check that this is a continuous ram region.

Also available in: Unified diff