diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2015-12-16 14:15:19 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2015-12-16 14:15:19 +0000 |
commit | cb11558b75bc84cf6c824c94aad9b343fea1224b (patch) | |
tree | b7fe8a5e75d0b2b53b0fed24f2817e5986b0e7bc /emulators/qemu/files/patch-osdep.c | |
parent | - Update to 20141211c (diff) |
emulators/qemu: Update version 0.11.1=>2.4.1
- MASTER_SITES has been changed from SAVANNAH and local repo of nox@
to new wiki.qemu.org
- Take MAINTAINERSHIP
- Updated to maintain version release with UPSTREAM. qemu-devel will be
updated to maintain with SNAPSHOTS
- Some of the patches has been converted to OPTIONSNG with post-patch
- Most of the patches are now makepatch compatible
- Converted most of the LEGACY OPTIONS to OPTIONSNG
Diffstat (limited to '')
-rw-r--r-- | emulators/qemu/files/patch-osdep.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/emulators/qemu/files/patch-osdep.c b/emulators/qemu/files/patch-osdep.c deleted file mode 100644 index a1b7cadcb08a..000000000000 --- a/emulators/qemu/files/patch-osdep.c +++ /dev/null @@ -1,18 +0,0 @@ -Index: qemu/osdep.c -@@ -179,13 +179,15 @@ static void *kqemu_vmalloc(size_t size) - } - unlink(phys_ram_file); - } -+#endif /* !(__OpenBSD__ || __FreeBSD__ || __DragonFly__) */ - size = (size + 4095) & ~4095; -+#if !defined(__OpenBSD__) && !defined(__FreeBSD__) && !defined(__DragonFly__) - ftruncate(phys_ram_fd, phys_ram_size + size); - #endif /* !(__OpenBSD__ || __FreeBSD__ || __DragonFly__) */ - ptr = mmap(NULL, - size, - PROT_WRITE | PROT_READ, map_anon | MAP_SHARED, -- phys_ram_fd, phys_ram_size); -+ phys_ram_fd, map_anon ? 0 : phys_ram_size); - if (ptr == MAP_FAILED) { - fprintf(stderr, "Could not map physical memory\n"); - exit(1); |