Revision 50af3246 hw/vga-pci.c

b/hw/vga-pci.c
28 28
#include "vga_int.h"
29 29
#include "pixel_ops.h"
30 30
#include "qemu-timer.h"
31
#include "kvm.h"
32 31

  
33 32
typedef struct PCIVGAState {
34 33
    PCIDevice dev;
......
59 58
    return vga_common_load(f, &s->vga, version_id);
60 59
}
61 60

  
62
void vga_dirty_log_start(VGACommonState *s)
63
{
64
    if (kvm_enabled() && s->map_addr)
65
        kvm_log_start(s->map_addr, s->map_end - s->map_addr);
66

  
67
    if (kvm_enabled() && s->lfb_vram_mapped) {
68
        kvm_log_start(isa_mem_base + 0xa0000, 0x8000);
69
        kvm_log_start(isa_mem_base + 0xa8000, 0x8000);
70
    }
71
}
72

  
73 61
static void vga_map(PCIDevice *pci_dev, int region_num,
74 62
                    uint32_t addr, uint32_t size, int type)
75 63
{

Also available in: Unified diff