diff options
| author | Stefano Stabellini | 2014-01-17 16:28:18 +0100 |
|---|---|---|
| committer | Stefano Stabellini | 2014-01-17 16:28:18 +0100 |
| commit | 0193c62c94643a837832f2b5ccc133434ee740cb (patch) | |
| tree | c859a3aa0b8ff27169c8fa34c9fceadea5cd4f37 /include | |
| parent | SPARC: Fix LEON3 power down instruction (diff) | |
| download | qemu-0193c62c94643a837832f2b5ccc133434ee740cb.tar.gz qemu-0193c62c94643a837832f2b5ccc133434ee740cb.tar.xz qemu-0193c62c94643a837832f2b5ccc133434ee740cb.zip | |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
