qemu/hw/display
Stefano Stabellini 0193c62c94 xenfb: map framebuffer read-only and handle unmap errors
The framebuffer is needlessly mapped (PROT_READ | PROT_WRITE), map it
PROT_READ instead.

The framebuffer is unmapped by replacing the framebuffer pages with
anonymous shared memory, calling mmap. Check for return errors and print
a warning.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
2014-01-17 15:28:18 +00:00
..
ads7846.c
blizzard_template.h
blizzard.c
cirrus_vga_rop2.h
cirrus_vga_rop.h
cirrus_vga_template.h
cirrus_vga.c cirrus: Mark vga io region as coalesced MMIO flushing 2013-10-17 17:24:15 +02:00
exynos4210_fimd.c
framebuffer.c
framebuffer.h
g364fb.c
jazz_led.c
Makefile.objs qxl: compile only once 2013-09-18 11:13:29 +02:00
milkymist-tmu2.c
milkymist-vgafb_template.h
milkymist-vgafb.c
omap_dss.c
omap_lcd_template.h
omap_lcdc.c
pl110_template.h
pl110.c sysbus: Set cannot_instantiate_with_device_add_yet 2013-12-23 00:27:22 +01:00
pxa2xx_lcd.c
pxa2xx_template.h
qxl-logger.c
qxl-render.c qxl: Add missing trace.h (fix broken build) 2013-12-07 22:26:07 +04:00
qxl.c spice: stop server for qxl hard reset 2013-12-16 10:12:20 +01:00
qxl.h qxl: replace pipe signaling with bottom half 2013-11-04 12:31:42 +01:00
sm501_template.h
sm501.c
ssd0303.c
ssd0323.c
tc6393xb_template.h
tc6393xb.c
tcx.c sun4m: Add FCode ROM for TCX framebuffer 2013-11-21 17:38:52 +01:00
vga_int.h
vga_template.h bswap.h: Remove cpu_to_32wu() 2013-11-05 19:57:47 -08:00
vga-isa-mm.c
vga-isa.c
vga-pci.c
vga.c vga: fix invalid read after free 2013-11-05 20:01:11 -08:00
vga.h
vmware_vga.c trace: Remove trace.h from console.h (less dependencies) 2013-12-02 21:02:00 +04:00
xenfb.c xenfb: map framebuffer read-only and handle unmap errors 2014-01-17 15:28:18 +00:00