qemu upgrade, edwin, Jan 20, 2011
cover qemu upgrade, edwin, Jan 20, 2011
Saul,
This is upgrade of qemu from 0.12.4 to 0.13.0. Test across all platforms including x86/x86-64/arm/mips/ppc were done, and found no regression. Pls. help to review and pull.
Thanks,
edwin
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: gzhai/upgrade01
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=gzhai/upgrade01
Thanks,
Zhai Edwin <[email protected]>
---
Zhai Edwin (1):
qemu: Upgrade from 0.12.4 to 0.13.0
.../qemu/qemu-0.12.4/arm-cp15-fix.patch | 131 -----
.../qemu-0.12.4/arm_timer-fix-oneshot-mode.patch | 32 --
.../arm_timer-reload-timer-when-enabled.patch | 40 --
.../qemu/qemu-0.12.4/cursor-shadow-fix.patch | 35 --
.../qemu/qemu-0.12.4/qemu-ppc-hack.patch | 136 -----
.../enable-i386-linux-user.patch | 16 +-
.../fix-configure-checks.patch | 12 +-
.../{qemu-0.12.4 => qemu-0.13.0}/fix-dirent.patch | 0
.../{qemu-0.12.4 => qemu-0.13.0}/fix-nogl.patch | 24 +-
.../{qemu-0.12.4 => qemu-0.13.0}/glflags.patch | 0
.../{qemu-0.12.4 => qemu-0.13.0}/init-info.patch | 8 +-
.../linker-flags.patch | 16 +-
.../{qemu-0.12.4 => qemu-0.13.0}/no-strip.patch | 18 +-
.../qemu/qemu-0.13.0/parallel_make.patch | 34 ++
.../qemu/qemu-0.13.0/port92_fix.patch | 196 ++++++++
.../{qemu-0.12.4 => qemu-0.13.0}/powerpc_rom.bin | Bin 4096 -> 4096 bytes
.../qemu-git-qemugl-host.patch | 518 ++++++++++----------
.../qemu/qemu-0.13.0/qemu-ppc-hack.patch | 108 ++++
.../qemu-vmware-vga-depth.patch | 52 +-
.../qemugl-allow-glxcontext-release.patch | 0
.../vmware-vga-fifo-rewind.patch | 24 +-
.../qemu/qemu-0.13.0/wacom-tablet-fix.patch | 65 +++
.../workaround_bad_futex_headers.patch | 8 +-
.../qemu/{qemu_0.12.4.bb => qemu_0.13.0.bb} | 15 +-
24 files changed, 752 insertions(+), 736 deletions(-)
delete mode 100644 meta/recipes-devtools/qemu/qemu-0.12.4/arm-cp15-fix.patch
delete mode 100644 meta/recipes-devtools/qemu/qemu-0.12.4/arm_timer-fix-oneshot-mode.patch
delete mode 100644 meta/recipes-devtools/qemu/qemu-0.12.4/arm_timer-reload-timer-when-enabled.patch
delete mode 100644 meta/recipes-devtools/qemu/qemu-0.12.4/cursor-shadow-fix.patch
delete mode 100644 meta/recipes-devtools/qemu/qemu-0.12.4/qemu-ppc-hack.patch
rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/enable-i386-linux-user.patch (73%)
rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/fix-configure-checks.patch (65%)
rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/fix-dirent.patch (100%)
rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/fix-nogl.patch (73%)
rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/glflags.patch (100%)
rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/init-info.patch (74%)
rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/linker-flags.patch (59%)
rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/no-strip.patch (57%)
create mode 100644 meta/recipes-devtools/qemu/qemu-0.13.0/parallel_make.patch
create mode 100644 meta/recipes-devtools/qemu/qemu-0.13.0/port92_fix.patch
rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/powerpc_rom.bin (100%)
rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/qemu-git-qemugl-host.patch (99%)
create mode 100644 meta/recipes-devtools/qemu/qemu-0.13.0/qemu-ppc-hack.patch
rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/qemu-vmware-vga-depth.patch (68%)
rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/qemugl-allow-glxcontext-release.patch (100%)
rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/vmware-vga-fifo-rewind.patch (94%)
create mode 100644 meta/recipes-devtools/qemu/qemu-0.13.0/wacom-tablet-fix.patch
rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/workaround_bad_futex_headers.patch (71%)
rename meta/recipes-devtools/qemu/{qemu_0.12.4.bb => qemu_0.13.0.bb} (73%)PATCH 1/1 qemu: Upgrade from 0.12.4 to 0.13.0
Patch status:
-- Removed --
arm-cp15-fix.patch
arm_timer-fix-oneshot-mode.patch arm_timer-reload-timer-when-enabled.patch cursor-shadow-fix.patch
-- They are already in upstream or some new changes make them useless.
-- Added --
parallel_make.patch: Fix "make -j(>=6)" failure wacom-tablet-fix.patch: Fix seg fault of usb tablet. port92_fix.patch: Fix boot failure on ppc due to port 0x92 conflict.
---
.../qemu/qemu-0.12.4/arm-cp15-fix.patch | 131 -----
.../qemu-0.12.4/arm_timer-fix-oneshot-mode.patch | 32 --
.../arm_timer-reload-timer-when-enabled.patch | 40 --
.../qemu/qemu-0.12.4/cursor-shadow-fix.patch | 35 --
.../qemu/qemu-0.12.4/qemu-ppc-hack.patch | 136 -----
.../enable-i386-linux-user.patch | 16 +-
.../fix-configure-checks.patch | 12 +-
.../{qemu-0.12.4 => qemu-0.13.0}/fix-dirent.patch | 0
.../{qemu-0.12.4 => qemu-0.13.0}/fix-nogl.patch | 24 +-
.../{qemu-0.12.4 => qemu-0.13.0}/glflags.patch | 0
.../{qemu-0.12.4 => qemu-0.13.0}/init-info.patch | 8 +-
.../linker-flags.patch | 16 +-
.../{qemu-0.12.4 => qemu-0.13.0}/no-strip.patch | 18 +-
.../qemu/qemu-0.13.0/parallel_make.patch | 34 ++
.../qemu/qemu-0.13.0/port92_fix.patch | 196 ++++++++
.../{qemu-0.12.4 => qemu-0.13.0}/powerpc_rom.bin | Bin 4096 -> 4096 bytes
.../qemu-git-qemugl-host.patch | 518 ++++++++++----------
.../qemu/qemu-0.13.0/qemu-ppc-hack.patch | 108 ++++
.../qemu-vmware-vga-depth.patch | 52 +-
.../qemugl-allow-glxcontext-release.patch | 0
.../vmware-vga-fifo-rewind.patch | 24 +-
.../qemu/qemu-0.13.0/wacom-tablet-fix.patch | 65 +++
.../workaround_bad_futex_headers.patch | 8 +-
.../qemu/{qemu_0.12.4.bb => qemu_0.13.0.bb} | 15 +-
24 files changed, 752 insertions(+), 736 deletions(-)
delete mode 100644 meta/recipes-devtools/qemu/qemu-0.12.4/arm-cp15-fix.patch
delete mode 100644 meta/recipes-devtools/qemu/qemu-0.12.4/arm_timer-fix-oneshot-mode.patch
delete mode 100644 meta/recipes-devtools/qemu/qemu-0.12.4/arm_timer-reload-timer-when-enabled.patch
delete mode 100644 meta/recipes-devtools/qemu/qemu-0.12.4/cursor-shadow-fix.patch
delete mode 100644 meta/recipes-devtools/qemu/qemu-0.12.4/qemu-ppc-hack.patch
rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/enable-i386-linux-user.patch (73%)
rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/fix-configure-checks.patch (65%)
rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/fix-dirent.patch (100%)
rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/fix-nogl.patch (73%)
rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/glflags.patch (100%)
rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/init-info.patch (74%)
rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/linker-flags.patch (59%)
rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/no-strip.patch (57%)
create mode 100644 meta/recipes-devtools/qemu/qemu-0.13.0/parallel_make.patch
create mode 100644 meta/recipes-devtools/qemu/qemu-0.13.0/port92_fix.patch
rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/powerpc_rom.bin (100%)
rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/qemu-git-qemugl-host.patch (99%)
create mode 100644 meta/recipes-devtools/qemu/qemu-0.13.0/qemu-ppc-hack.patch
rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/qemu-vmware-vga-depth.patch (68%)
rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/qemugl-allow-glxcontext-release.patch (100%)
rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/vmware-vga-fifo-rewind.patch (94%)
create mode 100644 meta/recipes-devtools/qemu/qemu-0.13.0/wacom-tablet-fix.patch
rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/workaround_bad_futex_headers.patch (71%)
rename meta/recipes-devtools/qemu/{qemu_0.12.4.bb => qemu_0.13.0.bb} (73%)meta/recipes-devtools/qemu/qemu-0.12.4/arm-cp15-fix.patch deleted +0 -131
@@ -1,131 +0,0 @@ -From: Riku Voipio <[email protected]> - -Access the cp15.c13 TLS registers directly with TCG ops instead of with -a slow helper. If the the cp15 read/write was not TLS register access, -fall back to the cp15 helper. - -This makes accessing __thread variables in linux-user when apps are compiled -with -mtp=cp15 possible. legal cp15 register to acces from linux-user are -already checked in cp15_user_ok. - -While at it, make the cp15.c13 Thread ID registers available only on -ARMv6K and newer. - -Signed-off-by: Riku Voipio <[email protected]> -Acked-by: Laurent Desnogues <[email protected]> - -diff --git a/target-arm/helper.c b/target-arm/helper.c -index b3aec99..27001e8 100644 ---- a/target-arm/helper.c -+++ b/target-arm/helper.c -@@ -511,7 +511,6 @@ void HELPER(set_cp15)(CPUState *env, uint32_t insn, uint32_t val) - uint32_t HELPER(get_cp15)(CPUState *env, uint32_t insn) - { - cpu_abort(env, "cp15 insn %08x\n", insn); -- return 0; - } - - /* These should probably raise undefined insn exceptions. */ -@@ -1491,15 +1490,6 @@ void HELPER(set_cp15)(CPUState *env, uint32_t insn, uint32_t val) - tlb_flush(env, 0); - env->cp15.c13_context = val; - break; -- case 2: -- env->cp15.c13_tls1 = val; -- break; -- case 3: -- env->cp15.c13_tls2 = val; -- break; -- case 4: -- env->cp15.c13_tls3 = val; -- break; - default: - goto bad_reg; - } -@@ -1779,12 +1769,6 @@ uint32_t HELPER(get_cp15)(CPUState *env, uint32_t insn) - return env->cp15.c13_fcse; - case 1: - return env->cp15.c13_context; -- case 2: -- return env->cp15.c13_tls1; -- case 3: -- return env->cp15.c13_tls2; -- case 4: -- return env->cp15.c13_tls3; - default: - goto bad_reg; - } -diff --git a/target-arm/translate.c b/target-arm/translate.c -index 5cf3e06..786c329 100644 ---- a/target-arm/translate.c -+++ b/target-arm/translate.c -@@ -2455,6 +2455,57 @@ static int cp15_user_ok(uint32_t insn) - return 0; - } - -+static int cp15_tls_load_store(CPUState *env, DisasContext *s, uint32_t insn, uint32_t rd) -+{ -+ TCGv tmp; -+ int cpn = (insn >> 16) & 0xf; -+ int cpm = insn & 0xf; -+ int op = ((insn >> 5) & 7) | ((insn >> 18) & 0x38); -+ -+ if (!arm_feature(env, ARM_FEATURE_V6K)) -+ return 0; -+ -+ if (!(cpn == 13 && cpm == 0)) -+ return 0; -+ -+ if (insn & ARM_CP_RW_BIT) { -+ tmp = new_tmp(); -+ switch (op) { -+ case 2: -+ tcg_gen_ld_i32(tmp, cpu_env, offsetof(CPUARMState, cp15.c13_tls1)); -+ break; -+ case 3: -+ tcg_gen_ld_i32(tmp, cpu_env, offsetof(CPUARMState, cp15.c13_tls2)); -+ break; -+ case 4: -+ tcg_gen_ld_i32(tmp, cpu_env, offsetof(CPUARMState, cp15.c13_tls3)); -+ break; -+ default: -+ dead_tmp(tmp); -+ return 0; -+ } -+ store_reg(s, rd, tmp); -+ -+ } else { -+ tmp = load_reg(s, rd); -+ switch (op) { -+ case 2: -+ tcg_gen_st_i32(tmp, cpu_env, offsetof(CPUARMState, cp15.c13_tls1)); -+ break; -+ case 3: -+ tcg_gen_st_i32(tmp, cpu_env, offsetof(CPUARMState, cp15.c13_tls2)); -+ break; -+ case 4: -+ tcg_gen_st_i32(tmp, cpu_env, offsetof(CPUARMState, cp15.c13_tls3)); -+ break; -+ default: -+ return 0; -+ } -+ dead_tmp(tmp); -+ } -+ return 1; -+} -+ - /* Disassemble system coprocessor (cp15) instruction. Return nonzero if - instruction is not defined. */ - static int disas_cp15_insn(CPUState *env, DisasContext *s, uint32_t insn) -@@ -2489,6 +2540,10 @@ static int disas_cp15_insn(CPUState *env, DisasContext *s, uint32_t insn) - return 0; - } - rd = (insn >> 12) & 0xf; -+ -+ if (cp15_tls_load_store(env, s, insn, rd)) -+ return 0; -+ - tmp2 = tcg_const_i32(insn); - if (insn & ARM_CP_RW_BIT) { - tmp = new_tmp(); -
meta/recipes-devtools/qemu/qemu-0.12.4/arm_timer-fix-oneshot-mode.patch deleted +0 -32
@@ -1,32 +0,0 @@ -From a9cf98d939c4f6539fad7e7d812ea16d96ba3dc9 Mon Sep 17 00:00:00 2001 -From: Rabin Vincent <[email protected]> -Date: Sun, 2 May 2010 15:20:52 +0530 -Subject: [PATCH] arm_timer: fix oneshot mode - -commit id: a9cf98d939c4f6539fad7e7d812ea16d96ba3dc9 in git://git.sv.gnu.org/qemu.git - -In oneshot mode, the delta needs to come from the TimerLoad register, -not the maximum limit. - -Signed-off-by: Rabin Vincent <[email protected]> -Signed-off-by: Aurelien Jarno <[email protected]> ---- - hw/arm_timer.c | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -diff --git a/hw/arm_timer.c b/hw/arm_timer.c -index 5b6947a..9073ffc 100644 ---- a/hw/arm_timer.c -+++ b/hw/arm_timer.c -@@ -71,7 +71,7 @@ static void arm_timer_recalibrate(arm_timer_state *s, int reload) - { - uint32_t limit; - -- if ((s->control & TIMER_CTRL_PERIODIC) == 0) { -+ if ((s->control & (TIMER_CTRL_PERIODIC | TIMER_CTRL_ONESHOT)) == 0) { - /* Free running. */ - if (s->control & TIMER_CTRL_32BIT) - limit = 0xffffffff; --- -1.6.5.2 -
meta/recipes-devtools/qemu/qemu-0.12.4/arm_timer-reload-timer-when-enabled.patch deleted +0 -40
@@ -1,40 +0,0 @@ -From d6759902cb467c002086853d2eb38fb969c29f7f Mon Sep 17 00:00:00 2001 -From: Rabin Vincent <[email protected]> -Date: Sun, 2 May 2010 15:20:51 +0530 -Subject: [PATCH] arm_timer: reload timer when enabled - -commit id: d6759902cb467c002086853d2eb38fb969c29f7f in git://git.sv.gnu.org/qemu.git - -Reload the timer when TimerControl is written, if the timer is to be -enabled. Otherwise, if an earlier write to TimerLoad was done while -periodic mode was not set, s->delta may incorrectly still have the value -of the maximum limit instead of the value written to TimerLoad. - -This problem is evident on versatileap on current linux-next, which -enables TIMER_CTRL_32BIT before writing to TimerLoad and then enabling -periodic mode and starting the timer. This causes the first periodic -tick to be scheduled to occur after 0xffffffff periods, leading to a -perceived hang while the kernel waits for the first timer tick. - -Signed-off-by: Rabin Vincent <[email protected]> -Signed-off-by: Aurelien Jarno <[email protected]> ---- - hw/arm_timer.c | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -diff --git a/hw/arm_timer.c b/hw/arm_timer.c -index 9fef191..5b6947a 100644 ---- a/hw/arm_timer.c -+++ b/hw/arm_timer.c -@@ -113,7 +113,7 @@ static void arm_timer_write(void *opaque, target_phys_addr_t offset, - case 1: freq >>= 4; break; - case 2: freq >>= 8; break; - } -- arm_timer_recalibrate(s, 0); -+ arm_timer_recalibrate(s, s->control & TIMER_CTRL_ENABLE); - ptimer_set_freq(s->timer, freq); - if (s->control & TIMER_CTRL_ENABLE) { - /* Restart the timer if still enabled. */ --- -1.6.5.2 -
meta/recipes-devtools/qemu/qemu-0.12.4/cursor-shadow-fix.patch deleted +0 -35
@@ -1,35 +0,0 @@ -Fix the mouse shadow in qemu - -the root cause is that the qemu cursor array is hardcoded to 256 bytes, while the sato use cursor of the size 64*64=4096, thus lead buffer overflow and abnormal mouse. - -This issue has been fixed in upstream starting from v0.13.0-rc0. v0.12.5 still has this issue. So when qemu is upgraded to 0.13.0 or above, this patch can be safely removed. - -Signed-off-by: Yu Ke <[email protected]> - -diff --git a/sdl.c b/sdl.c -index 7912c91..2f33cd2 100644 ---- a/sdl.c -+++ b/sdl.c -@@ -775,12 +775,12 @@ static void sdl_mouse_define(int width, int height, int bpp, - int hot_x, int hot_y, - uint8_t *image, uint8_t *mask) - { -- uint8_t sprite[256], *line; -+ uint8_t *sprite, *line; - int x, y, dst, bypl, src = 0; - if (guest_sprite) - SDL_FreeCursor(guest_sprite); - -- memset(sprite, 0, 256); -+ sprite = (uint8_t*)qemu_mallocz(width * height); - bypl = ((width * bpp + 31) >> 5) << 2; - for (y = 0, dst = 0; y < height; y ++, image += bypl) { - line = image; -@@ -818,6 +818,7 @@ static void sdl_mouse_define(int width, int height, int bpp, - if (guest_cursor && - (gui_grab || kbd_mouse_is_absolute() || absolute_enabled)) - SDL_SetCursor(guest_sprite); -+ qemu_free(sprite); - } - - static void sdl_cleanup(void)
meta/recipes-devtools/qemu/qemu-0.12.4/qemu-ppc-hack.patch deleted +0 -136
136 lines not on this page · raw message
meta/recipes-devtools/qemu/qemu-0.13.0/enable-i386-linux-user.patch renamed from meta/recipes-devtools/qemu/qemu-0.12.4/enable-i386-linux-user.patch +8 -8
@@ -2,13 +2,13 @@ Enable i386-linux-user Signed-off-by: Zhai Edwin <[email protected]> -Index: qemu-0.12.4/Makefile.target +Index: qemu-0.13.0/Makefile.target =================================================================== ---- qemu-0.12.4.orig/Makefile.target 2010-08-31 13:57:01.000000000 +0800 -+++ qemu-0.12.4/Makefile.target 2010-08-31 14:03:06.000000000 +0800 -@@ -46,8 +46,13 @@ - libobj-$(CONFIG_NOSOFTFLOAT) += fpu/softfloat-native.o - libobj-y += op_helper.o helper.o +--- qemu-0.13.0.orig/Makefile.target 2011-01-17 16:50:39.000000000 +0800 ++++ qemu-0.13.0/Makefile.target 2011-01-17 16:50:41.000000000 +0800 +@@ -54,8 +54,13 @@ + libobj-y += cpuid.o + endif libobj-$(CONFIG_NEED_MMU) += mmu.o +ifndef CONFIG_LINUX_USER libobj-$(TARGET_I386) += helper_opengl.o opengl_exec.o
@@ -20,10 +20,10 @@ Index: qemu-0.12.4/Makefile.target libobj-$(TARGET_ARM) += dummygl.o libobj-$(TARGET_MIPS) += dummygl.o libobj-$(TARGET_PPC) += dummygl.o -Index: qemu-0.12.4/target-i386/dummygl.c +Index: qemu-0.13.0/target-i386/dummygl.c =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ qemu-0.12.4/target-i386/dummygl.c 2010-08-31 15:25:25.000000000 +0800 ++++ qemu-0.13.0/target-i386/dummygl.c 2011-01-17 16:50:41.000000000 +0800 @@ -0,0 +1,26 @@ +#include <string.h> +#include <stdlib.h>
meta/recipes-devtools/qemu/qemu-0.13.0/fix-configure-checks.patch renamed from meta/recipes-devtools/qemu/qemu-0.12.4/fix-configure-checks.patch +6 -6
@@ -6,15 +6,15 @@ added and files in the sysroot can be found. Patch from Paul Eggleton, Comments by RP 28/11/10 -Index: qemu-0.12.4/configure +Index: qemu-0.13.0/configure =================================================================== ---- qemu-0.12.4.orig/configure -+++ qemu-0.12.4/configure -@@ -99,6 +99,7 @@ QEMU_CFLAGS="-Wstrict-prototypes -Wredun +--- qemu-0.13.0.orig/configure 2010-10-16 04:56:09.000000000 +0800 ++++ qemu-0.13.0/configure 2011-01-15 18:19:41.000000000 +0800 +@@ -134,6 +134,7 @@ QEMU_CFLAGS="-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE $QEMU_CFLAGS" - QEMU_CFLAGS="-U_FORTIFY_SOURCE $QEMU_CFLAGS" + QEMU_CFLAGS="-D_FORTIFY_SOURCE=2 $QEMU_CFLAGS" QEMU_CFLAGS="-I. -I\$(SRC_PATH) $QEMU_CFLAGS" +QEMU_CFLAGS="$QEMU_CFLAGS $CFLAGS" LDFLAGS="-g $LDFLAGS" - gcc_flags="-Wold-style-declaration -Wold-style-definition" + gcc_flags="-Wold-style-declaration -Wold-style-definition -fstack-protector-all"
meta/recipes-devtools/qemu/qemu-0.13.0/fix-dirent.patch renamed from meta/recipes-devtools/qemu/qemu-0.12.4/fix-dirent.patch +0 -0
meta/recipes-devtools/qemu/qemu-0.13.0/fix-nogl.patch renamed from meta/recipes-devtools/qemu/qemu-0.12.4/fix-nogl.patch +12 -12
@@ -1,9 +1,9 @@ -Index: qemu-0.12.4/Makefile.target +Index: qemu-0.13.0/Makefile.target =================================================================== ---- qemu-0.12.4.orig/Makefile.target 2010-06-24 07:59:15.669394205 +0100 -+++ qemu-0.12.4/Makefile.target 2010-06-24 08:07:38.739399512 +0100 -@@ -47,6 +47,10 @@ - libobj-y += op_helper.o helper.o +--- qemu-0.13.0.orig/Makefile.target 2011-01-17 16:53:08.000000000 +0800 ++++ qemu-0.13.0/Makefile.target 2011-01-17 16:53:11.000000000 +0800 +@@ -55,6 +55,10 @@ + endif libobj-$(CONFIG_NEED_MMU) += mmu.o libobj-$(TARGET_I386) += helper_opengl.o opengl_exec.o +libobj-$(TARGET_X86_64) += helper_opengl.o opengl_exec.o
@@ -11,12 +11,12 @@ Index: qemu-0.12.4/Makefile.target +libobj-$(TARGET_MIPS) += dummygl.o +libobj-$(TARGET_PPC) += dummygl.o libobj-$(TARGET_ARM) += neon_helper.o iwmmxt_helper.o - libobj-$(TARGET_ALPHA) += alpha_palcode.o -Index: qemu-0.12.4/target-arm/dummygl.c + libobj-y += disas.o +Index: qemu-0.13.0/target-arm/dummygl.c =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ qemu-0.12.4/target-arm/dummygl.c 2010-06-24 07:59:15.899401748 +0100 ++++ qemu-0.13.0/target-arm/dummygl.c 2011-01-17 16:53:11.000000000 +0800 @@ -0,0 +1,22 @@ +#include <string.h> +#include <stdlib.h>
@@ -40,10 +40,10 @@ Index: qemu-0.12.4/target-arm/dummygl.c +{ + +} -Index: qemu-0.12.4/target-mips/dummygl.c +Index: qemu-0.13.0/target-mips/dummygl.c =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ qemu-0.12.4/target-mips/dummygl.c 2010-06-24 07:59:15.899401748 +0100 ++++ qemu-0.13.0/target-mips/dummygl.c 2011-01-17 16:53:11.000000000 +0800 @@ -0,0 +1,22 @@ +#include <string.h> +#include <stdlib.h>
@@ -67,10 +67,10 @@ Index: qemu-0.12.4/target-mips/dummygl.c +{ + +} -Index: qemu-0.12.4/target-ppc/dummygl.c +Index: qemu-0.13.0/target-ppc/dummygl.c =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ qemu-0.12.4/target-ppc/dummygl.c 2010-06-24 08:07:59.070712946 +0100 ++++ qemu-0.13.0/target-ppc/dummygl.c 2011-01-17 16:53:11.000000000 +0800 @@ -0,0 +1,22 @@ +#include <string.h> +#include <stdlib.h>
meta/recipes-devtools/qemu/qemu-0.13.0/glflags.patch renamed from meta/recipes-devtools/qemu/qemu-0.12.4/glflags.patch +0 -0
meta/recipes-devtools/qemu/qemu-0.13.0/init-info.patch renamed from meta/recipes-devtools/qemu/qemu-0.12.4/init-info.patch +4 -4
@@ -2,11 +2,11 @@ # makes info.info.x11.display zero and avoids the calls to # opengl_exec_set_parent_window, one of which is crashing. -Index: qemu-0.12.4/sdl.c +Index: qemu-0.13.0/ui/sdl.c =================================================================== ---- qemu-0.12.4.orig/sdl.c -+++ qemu-0.12.4/sdl.c -@@ -871,6 +871,7 @@ void sdl_display_init(DisplayState *ds, +--- qemu-0.13.0.orig/ui/sdl.c 2011-01-15 17:40:59.000000000 +0800 ++++ qemu-0.13.0/ui/sdl.c 2011-01-15 17:41:04.000000000 +0800 +@@ -857,6 +857,7 @@ vi = SDL_GetVideoInfo(); host_format = *(vi->vfmt);
meta/recipes-devtools/qemu/qemu-0.13.0/linker-flags.patch renamed from meta/recipes-devtools/qemu/qemu-0.12.4/linker-flags.patch +8 -8
@@ -7,16 +7,16 @@ More information is available on the Fedora Wiki: https://fedoraproject.org/wiki/UnderstandingDSOLinkChange JL - 15/06/10 -Index: qemu-0.12.4/Makefile.target +Index: qemu-0.13.0/Makefile.target =================================================================== ---- qemu-0.12.4.orig/Makefile.target 2010-06-15 11:21:52.000000000 +0100 -+++ qemu-0.12.4/Makefile.target 2010-06-15 11:25:27.212852910 +0100 -@@ -178,7 +178,7 @@ - obj-y += virtio-blk.o virtio-balloon.o virtio-net.o virtio-console.o virtio-pci.o +--- qemu-0.13.0.orig/Makefile.target 2011-01-15 17:30:45.000000000 +0800 ++++ qemu-0.13.0/Makefile.target 2011-01-15 17:33:22.000000000 +0800 +@@ -193,7 +193,7 @@ + obj-y += rwhandler.o obj-$(CONFIG_KVM) += kvm.o kvm-all.o - obj-$(CONFIG_ISA_MMIO) += isa_mmio.o + obj-$(CONFIG_NO_KVM) += kvm-stub.o -LIBS+=-lz +LIBS+=-lz -lX11 -ldl - sound-obj-y = - sound-obj-$(CONFIG_SB16) += sb16.o + QEMU_CFLAGS += $(VNC_TLS_CFLAGS) + QEMU_CFLAGS += $(VNC_SASL_CFLAGS)
meta/recipes-devtools/qemu/qemu-0.13.0/no-strip.patch renamed from meta/recipes-devtools/qemu/qemu-0.12.4/no-strip.patch +9 -9
@@ -1,9 +1,9 @@ -Index: qemu/Makefile +Index: qemu-0.13.0/Makefile =================================================================== ---- qemu.orig/Makefile 2010-05-11 17:17:06.416912704 -0400 -+++ qemu/Makefile 2010-05-11 17:17:17.051812402 -0400 -@@ -300,7 +300,7 @@ endif - install: all $(if $(BUILD_DOCS),install-doc) +--- qemu-0.13.0.orig/Makefile 2011-01-17 16:41:59.000000000 +0800 ++++ qemu-0.13.0/Makefile 2011-01-17 16:44:57.000000000 +0800 +@@ -185,7 +185,7 @@ + install: all $(if $(BUILD_DOCS),install-doc) install-sysconfig $(INSTALL_DIR) "$(DESTDIR)$(bindir)" ifneq ($(TOOLS),) - $(INSTALL_PROG) $(STRIP_OPT) $(TOOLS) "$(DESTDIR)$(bindir)"
@@ -11,11 +11,11 @@ Index: qemu/Makefile endif ifneq ($(BLOBS),) $(INSTALL_DIR) "$(DESTDIR)$(datadir)" -Index: qemu/Makefile.target +Index: qemu-0.13.0/Makefile.target =================================================================== ---- qemu.orig/Makefile.target 2010-05-11 17:17:12.188784092 -0400 -+++ qemu/Makefile.target 2010-05-11 17:17:17.052808122 -0400 -@@ -351,7 +351,7 @@ clean: +--- qemu-0.13.0.orig/Makefile.target 2011-01-17 16:42:36.000000000 +0800 ++++ qemu-0.13.0/Makefile.target 2011-01-17 16:44:57.000000000 +0800 +@@ -351,7 +351,7 @@ install: all ifneq ($(PROGS),)
meta/recipes-devtools/qemu/qemu-0.13.0/parallel_make.patch new file +34 -0
@@ -0,0 +1,34 @@ +Make -j(>=6) always fail as some job depends on config-host.h. Added following +patch in upstream to resolve it. + +Could remove it in next upgrade if necessary. + +Signed-off-by: Zhai Edwin <[email protected]> + +commit f0acb38015409024683911380daa94cc974e4e0e +Author: Paul Brook <[email protected]> +Date: Fri Nov 26 18:46:03 2010 +0000 + + Add missing dependency. + + Teach Makefile that cmd.o depends on a generated header (specifically + config-host.h). + + Signed-off-by: Paul Brook <[email protected]> + (cherry picked from commit 6e14404aab26f74a448747d1e793ac16bde8a92b) + + Signed-off-by: Aurelien Jarno <[email protected]> + +Index: qemu-0.13.0/Makefile +=================================================================== +--- qemu-0.13.0.orig/Makefile 2011-01-18 09:45:45.000000000 +0800 ++++ qemu-0.13.0/Makefile 2011-01-18 09:45:45.000000000 +0800 +@@ -107,7 +107,7 @@ + ###################################################################### + + qemu-img.o: qemu-img-cmds.h +-qemu-img.o qemu-tool.o qemu-nbd.o qemu-io.o: $(GENERATED_HEADERS) ++qemu-img.o qemu-tool.o qemu-nbd.o qemu-io.o cmd.o: $(GENERATED_HEADERS) + + qemu-img$(EXESUF): qemu-img.o qemu-tool.o qemu-error.o $(block-obj-y) $(qobject-obj-y) +
meta/recipes-devtools/qemu/qemu-0.13.0/port92_fix.patch new file +196 -0
196 lines not on this page · raw message
meta/recipes-devtools/qemu/qemu-0.13.0/qemu-git-qemugl-host.patch renamed from meta/recipes-devtools/qemu/qemu-0.12.4/qemu-git-qemugl-host.patch +253 -265
865 lines not on this page · raw message
meta/recipes-devtools/qemu/qemu-0.13.0/qemu-ppc-hack.patch new file +108 -0
108 lines not on this page · raw message
meta/recipes-devtools/qemu/qemu-0.13.0/qemu-vmware-vga-depth.patch renamed from meta/recipes-devtools/qemu/qemu-0.12.4/qemu-vmware-vga-depth.patch +26 -26
106 lines not on this page · raw message
meta/recipes-devtools/qemu/qemu-0.13.0/qemugl-allow-glxcontext-release.patch renamed from meta/recipes-devtools/qemu/qemu-0.12.4/qemugl-allow-glxcontext-release.patch +0 -0
meta/recipes-devtools/qemu/qemu-0.13.0/vmware-vga-fifo-rewind.patch renamed from meta/recipes-devtools/qemu/qemu-0.12.4/vmware-vga-fifo-rewind.patch +12 -12
@@ -14,11 +14,11 @@ Date: Fri Sep 10 02:23:31 2010 +0200 this should be relatively rare but it is suspected to have been the cause of the occasional FIFO overrun that killed the display. -Index: qemu-0.12.4/hw/vmware_vga.c +Index: qemu-0.13.0/hw/vmware_vga.c =================================================================== ---- qemu-0.12.4.orig/hw/vmware_vga.c 2010-09-30 23:04:34.000000000 +0800 -+++ qemu-0.12.4/hw/vmware_vga.c 2010-10-01 01:17:02.000000000 +0800 -@@ -491,27 +491,37 @@ +--- qemu-0.13.0.orig/hw/vmware_vga.c 2011-01-15 18:06:06.000000000 +0800 ++++ qemu-0.13.0/hw/vmware_vga.c 2011-01-15 18:17:04.000000000 +0800 +@@ -521,27 +521,37 @@ static uint32_t last_cmd;
@@ -64,7 +64,7 @@ Index: qemu-0.12.4/hw/vmware_vga.c } static inline uint32_t vmsvga_fifo_read(struct vmsvga_state_s *s) -@@ -522,13 +532,23 @@ +@@ -552,13 +562,23 @@ static void vmsvga_fifo_run(struct vmsvga_state_s *s) { uint32_t colour;
@@ -90,7 +90,7 @@ Index: qemu-0.12.4/hw/vmware_vga.c x = vmsvga_fifo_read(s); y = vmsvga_fifo_read(s); width = vmsvga_fifo_read(s); -@@ -537,6 +557,10 @@ +@@ -567,6 +587,10 @@ break; case SVGA_CMD_RECT_FILL:
@@ -101,7 +101,7 @@ Index: qemu-0.12.4/hw/vmware_vga.c colour = vmsvga_fifo_read(s); x = vmsvga_fifo_read(s); y = vmsvga_fifo_read(s); -@@ -546,10 +570,15 @@ +@@ -576,10 +600,15 @@ vmsvga_fill_rect(s, colour, x, y, width, height); break; #else
@@ -117,7 +117,7 @@ Index: qemu-0.12.4/hw/vmware_vga.c x = vmsvga_fifo_read(s); y = vmsvga_fifo_read(s); dx = vmsvga_fifo_read(s); -@@ -560,10 +589,15 @@ +@@ -590,10 +619,15 @@ vmsvga_copy_rect(s, x, y, dx, dy, width, height); break; #else
@@ -133,7 +133,7 @@ Index: qemu-0.12.4/hw/vmware_vga.c cursor.id = vmsvga_fifo_read(s); cursor.hot_x = vmsvga_fifo_read(s); cursor.hot_y = vmsvga_fifo_read(s); -@@ -572,11 +606,14 @@ +@@ -602,11 +636,14 @@ vmsvga_fifo_read(s); cursor.bpp = vmsvga_fifo_read(s);
@@ -151,7 +151,7 @@ Index: qemu-0.12.4/hw/vmware_vga.c for (args = 0; args < SVGA_BITMAP_SIZE(x, y); args ++) cursor.mask[args] = vmsvga_fifo_read_raw(s); -@@ -595,6 +632,10 @@ +@@ -625,6 +662,10 @@ * for so we can avoid FIFO desync if driver uses them illegally. */ case SVGA_CMD_DEFINE_ALPHA_CURSOR:
@@ -162,7 +162,7 @@ Index: qemu-0.12.4/hw/vmware_vga.c vmsvga_fifo_read(s); vmsvga_fifo_read(s); vmsvga_fifo_read(s); -@@ -609,6 +650,10 @@ +@@ -639,6 +680,10 @@ args = 7; goto badcmd; case SVGA_CMD_DRAW_GLYPH_CLIPPED:
@@ -173,7 +173,7 @@ Index: qemu-0.12.4/hw/vmware_vga.c vmsvga_fifo_read(s); vmsvga_fifo_read(s); args = 7 + (vmsvga_fifo_read(s) >> 2); -@@ -629,14 +674,22 @@ +@@ -659,14 +704,22 @@ break; /* Nop */ default:
meta/recipes-devtools/qemu/qemu-0.13.0/wacom-tablet-fix.patch new file +65 -0
65 lines not on this page · raw message
meta/recipes-devtools/qemu/qemu-0.13.0/workaround_bad_futex_headers.patch renamed from meta/recipes-devtools/qemu/qemu-0.12.4/workaround_bad_futex_headers.patch +4 -4
@@ -2,11 +2,11 @@ linux-user/syscall.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) -Index: qemu/linux-user/syscall.c +Index: qemu-0.13.0/linux-user/syscall.c =================================================================== ---- qemu.orig/linux-user/syscall.c 2010-05-11 16:52:16.929785275 -0400 -+++ qemu/linux-user/syscall.c 2010-05-11 16:52:25.174783517 -0400 -@@ -94,6 +94,15 @@ +--- qemu-0.13.0.orig/linux-user/syscall.c 2011-01-17 16:52:18.000000000 +0800 ++++ qemu-0.13.0/linux-user/syscall.c 2011-01-17 16:52:20.000000000 +0800 +@@ -99,6 +99,15 @@ #define CLONE_NPTL_FLAGS2 0 #endif
meta/recipes-devtools/qemu/qemu_0.13.0.bb renamed from meta/recipes-devtools/qemu/qemu_0.12.4.bb +7 -8
@@ -3,7 +3,7 @@ require qemu.inc LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \ file://COPYING.LIB;endline=24;md5=c04def7ae38850e7d3ef548588159913" -PR = "r23" +PR = "r0" FILESPATH = "${FILE_DIRNAME}/qemu-${PV}" FILESDIR = "${WORKDIR}"
@@ -21,16 +21,15 @@ SRC_URI = "\ file://qemu-vmware-vga-depth.patch \ file://qemu-ppc-hack.patch \ file://enable-i386-linux-user.patch \ - file://arm-cp15-fix.patch \ - file://cursor-shadow-fix.patch \ file://vmware-vga-fifo-rewind.patch \ file://fix-configure-checks.patch \ - file://powerpc_rom.bin \ - file://arm_timer-fix-oneshot-mode.patch \ - file://arm_timer-reload-timer-when-enabled.patch" + file://parallel_make.patch \ + file://wacom-tablet-fix.patch \ + file://port92_fix.patch \ + file://powerpc_rom.bin" -SRC_URI[md5sum] = "93e6b134dff89b2799f57b7d9e0e0fc5" -SRC_URI[sha256sum] = "1a29a5b5151162d1de035c4926d1a1dbffee4a145ef61ee865d6b82aaea0602e" +SRC_URI[md5sum] = "397a0d665da8ba9d3b9583629f3d6421" +SRC_URI[sha256sum] = "1e6f5851b05cea6e377c835f4668408d4124cfb845f9948d922808743c5fd877" do_install_append () { install -d ${D}${datadir}/qemu
Signature · 1 line
1.7.0.4
Quoted 65 lines · Zhai Edwin
Saul,
This is upgrade of qemu from 0.12.4 to 0.13.0. Test across all platforms including x86/x86-64/arm/mips/ppc were done, and found no regression. Pls. help to review and pull.Thanks,
edwinPull URL:
git://git.pokylinux.org/poky-contrib.git
Branch: gzhai/upgrade01
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=gzhai/upgrade01Thanks,
Zhai Edwin<[email protected]>
---Zhai Edwin (1):
qemu: Upgrade from 0.12.4 to 0.13.0.../qemu/qemu-0.12.4/arm-cp15-fix.patch | 131 ----- .../qemu-0.12.4/arm_timer-fix-oneshot-mode.patch | 32 -- .../arm_timer-reload-timer-when-enabled.patch | 40 -- .../qemu/qemu-0.12.4/cursor-shadow-fix.patch | 35 -- .../qemu/qemu-0.12.4/qemu-ppc-hack.patch | 136 ----- .../enable-i386-linux-user.patch | 16 +- .../fix-configure-checks.patch | 12 +- .../{qemu-0.12.4 => qemu-0.13.0}/fix-dirent.patch | 0 .../{qemu-0.12.4 => qemu-0.13.0}/fix-nogl.patch | 24 +- .../{qemu-0.12.4 => qemu-0.13.0}/glflags.patch | 0 .../{qemu-0.12.4 => qemu-0.13.0}/init-info.patch | 8 +- .../linker-flags.patch | 16 +- .../{qemu-0.12.4 => qemu-0.13.0}/no-strip.patch | 18 +- .../qemu/qemu-0.13.0/parallel_make.patch | 34 ++ .../qemu/qemu-0.13.0/port92_fix.patch | 196 ++++++++ .../{qemu-0.12.4 => qemu-0.13.0}/powerpc_rom.bin | Bin 4096 -> 4096 bytes .../qemu-git-qemugl-host.patch | 518 ++++++++++---------- .../qemu/qemu-0.13.0/qemu-ppc-hack.patch | 108 ++++ .../qemu-vmware-vga-depth.patch | 52 +- .../qemugl-allow-glxcontext-release.patch | 0 .../vmware-vga-fifo-rewind.patch | 24 +- .../qemu/qemu-0.13.0/wacom-tablet-fix.patch | 65 +++ .../workaround_bad_futex_headers.patch | 8 +- .../qemu/{qemu_0.12.4.bb => qemu_0.13.0.bb} | 15 +- 24 files changed, 752 insertions(+), 736 deletions(-) delete mode 100644 meta/recipes-devtools/qemu/qemu-0.12.4/arm-cp15-fix.patch delete mode 100644 meta/recipes-devtools/qemu/qemu-0.12.4/arm_timer-fix-oneshot-mode.patch delete mode 100644 meta/recipes-devtools/qemu/qemu-0.12.4/arm_timer-reload-timer-when-enabled.patch delete mode 100644 meta/recipes-devtools/qemu/qemu-0.12.4/cursor-shadow-fix.patch delete mode 100644 meta/recipes-devtools/qemu/qemu-0.12.4/qemu-ppc-hack.patch rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/enable-i386-linux-user.patch (73%) rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/fix-configure-checks.patch (65%) rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/fix-dirent.patch (100%) rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/fix-nogl.patch (73%) rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/glflags.patch (100%) rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/init-info.patch (74%) rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/linker-flags.patch (59%) rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/no-strip.patch (57%) create mode 100644 meta/recipes-devtools/qemu/qemu-0.13.0/parallel_make.patch create mode 100644 meta/recipes-devtools/qemu/qemu-0.13.0/port92_fix.patch rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/powerpc_rom.bin (100%) rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/qemu-git-qemugl-host.patch (99%) create mode 100644 meta/recipes-devtools/qemu/qemu-0.13.0/qemu-ppc-hack.patch rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/qemu-vmware-vga-depth.patch (68%) rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/qemugl-allow-glxcontext-release.patch (100%) rename meta/recipes-devtools/qemu/{qemu-0.12.4 => qemu-0.13.0}/vmware-vga-fifo-rewind.patch (94%)
Quoted 9 lines
create mode 100644
meta/recipes-devtools/qemu/qemu-0.13.0/wacom-tablet-fix.patch
rename meta/recipes-devtools/qemu/{qemu-0.12.4 =>qemu-0.13.0}/workaround_bad_futex_headers.patch(71%) rename meta/recipes-devtools/qemu/{qemu_0.12.4.bb => qemu_0.13.0.bb} (73%)_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky
Pulled into Master
Thanks
Sau!