From 5819c495280a5bf6b6bc43780e76dc6e91f6a7110f6ec37b767c99d34ee3575f Mon Sep 17 00:00:00 2001 From: Bruce Rogers Date: Fri, 13 Dec 2013 14:49:46 +0000 Subject: [PATCH] Accepting request 210801 from home:bfrogers:branches:Virtualization Adjust for recently fixed acpica package, Do a better? work around for roms/Makefile issue. Rework changes file for suitability for openSUSE:Factory checkin. OBS-URL: https://build.opensuse.org/request/show/210801 OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=170 --- 0001-XXX-dont-dump-core-on-sigabort.patc.patch | 4 ++-- 0002-XXX-work-around-SA_RESTART-race-wit.patch | 8 ++++---- 0003-qemu-0.9.0.cvs-binfmt.patch.patch | 4 ++-- 0004-qemu-cvs-alsa_bitfield.patch.patch | 6 +++--- 0005-qemu-cvs-alsa_ioctl.patch.patch | 2 +- 0006-qemu-cvs-alsa_mmap.patch.patch | 4 ++-- 0007-qemu-cvs-gettimeofday.patch.patch | 4 ++-- 0008-qemu-cvs-ioctl_debug.patch.patch | 4 ++-- 0009-qemu-cvs-ioctl_nodirection.patch.patch | 4 ++-- 0010-block-vmdk-Support-creation-of-SCSI.patch | 8 ++++---- 0011-linux-user-add-binfmt-wrapper-for-a.patch | 8 ++++---- 0012-linux-user-Ignore-timer_create-sysc.patch | 4 ++-- 0013-linux-user-be-silent-about-capget-f.patch | 4 ++-- 0014-PPC-KVM-Disable-mmu-notifier-check..patch | 4 ++-- 0015-linux-user-fix-segfault-deadlock.pa.patch | 6 +++--- 0016-linux-user-binfmt-support-host-bina.patch | 4 ++-- 0017-linux-user-arm-no-tb_flush-on-reset.patch | 4 ++-- 0018-linux-user-Ignore-broken-loop-ioctl.patch | 10 +++++----- 0019-linux-user-lock-tcg.patch.patch | 6 +++--- 0020-linux-user-Run-multi-threaded-code-.patch | 4 ++-- 0021-linux-user-lock-tb-flushing-too.pat.patch | 4 ++-- 0022-linux-user-Fake-proc-cpuinfo.patch.patch | 4 ++-- 0023-linux-user-implement-FS_IOC_GETFLAG.patch | 6 +++--- 0024-linux-user-implement-FS_IOC_SETFLAG.patch | 6 +++--- 0025-linux-user-XXX-disable-fiemap.patch.patch | 4 ++-- 0026-slirp-nooutgoing.patch.patch | 10 +++++----- 0027-vnc-password-file-and-incoming-conn.patch | 4 ++-- 0028-linux-user-add-more-blk-ioctls.patc.patch | 8 ++++---- 0029-linux-user-use-target_ulong.patch.patch | 4 ++-- 0030-block-Add-support-for-DictZip-enabl.patch | 6 +++--- 0031-block-Add-tar-container-format.patc.patch | 6 +++--- 0032-Legacy-Patch-kvm-qemu-preXX-dictzip.patch | 4 ++-- 0033-Legacy-Patch-kvm-qemu-preXX-report-.patch | 4 ++-- 0034-console-add-question-mark-escape-op.patch | 4 ++-- 0035-Make-char-muxer-more-robust-wrt-sma.patch | 4 ++-- 0036-linux-user-lseek-explicitly-cast-no.patch | 4 ++-- 0037-virtfs-proxy-helper-Provide-__u64-f.patch | 4 ++-- 0038-roms-Build-vgabios.bin.patch.patch | 4 ++-- 0039-configure-Enable-PIE-for-ppc-and-pp.patch | 4 ++-- iasl_workaround.patch | 15 --------------- qemu.changes | 3 ++- qemu.spec | 13 ++++--------- qemu.spec.in | 13 ++++--------- 43 files changed, 108 insertions(+), 132 deletions(-) delete mode 100644 iasl_workaround.patch diff --git a/0001-XXX-dont-dump-core-on-sigabort.patc.patch b/0001-XXX-dont-dump-core-on-sigabort.patc.patch index 5b8e098b..20b88743 100644 --- a/0001-XXX-dont-dump-core-on-sigabort.patc.patch +++ b/0001-XXX-dont-dump-core-on-sigabort.patc.patch @@ -4,8 +4,8 @@ Date: Mon, 21 Nov 2011 23:50:36 +0100 Subject: [PATCH] XXX dont dump core on sigabort --- - linux-user/signal.c | 6 ++++++ - 1 file changed, 6 insertions(+) + linux-user/signal.c | 6 ++++++ + 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/linux-user/signal.c b/linux-user/signal.c index 7751c47..a9874b1 100644 diff --git a/0002-XXX-work-around-SA_RESTART-race-wit.patch b/0002-XXX-work-around-SA_RESTART-race-wit.patch index ae089d3c..30195c11 100644 --- a/0002-XXX-work-around-SA_RESTART-race-wit.patch +++ b/0002-XXX-work-around-SA_RESTART-race-wit.patch @@ -5,10 +5,10 @@ Subject: [PATCH] XXX work around SA_RESTART race with boehm-gc (ARM only) [AF: CPUState -> CPUArchState, adapt to reindentation] --- - linux-user/main.c | 25 +++++++++------ - linux-user/qemu.h | 3 ++ - linux-user/signal.c | 22 +++++++++++++ - linux-user/syscall.c | 90 +++++++++++++++++++++++++++++++++++++++++++++++++++- + linux-user/main.c | 25 +++++++++----- + linux-user/qemu.h | 3 ++ + linux-user/signal.c | 22 ++++++++++++ + linux-user/syscall.c | 90 +++++++++++++++++++++++++++++++++++++++++++++++++- 4 files changed, 130 insertions(+), 10 deletions(-) diff --git a/linux-user/main.c b/linux-user/main.c diff --git a/0003-qemu-0.9.0.cvs-binfmt.patch.patch b/0003-qemu-0.9.0.cvs-binfmt.patch.patch index 3b55fdd0..25af24c9 100644 --- a/0003-qemu-0.9.0.cvs-binfmt.patch.patch +++ b/0003-qemu-0.9.0.cvs-binfmt.patch.patch @@ -10,8 +10,8 @@ Fixes binfmt_misc setup script: Signed-off-by: Ulrich Hecht --- - scripts/qemu-binfmt-conf.sh | 37 ++++++++++++++++++++----------------- - 1 file changed, 20 insertions(+), 17 deletions(-) + scripts/qemu-binfmt-conf.sh | 37 ++++++++++++++++++++----------------- + 1 files changed, 20 insertions(+), 17 deletions(-) diff --git a/scripts/qemu-binfmt-conf.sh b/scripts/qemu-binfmt-conf.sh index 0da2618..dc652f0 100644 diff --git a/0004-qemu-cvs-alsa_bitfield.patch.patch b/0004-qemu-cvs-alsa_bitfield.patch.patch index 40323dca..cafde84a 100644 --- a/0004-qemu-cvs-alsa_bitfield.patch.patch +++ b/0004-qemu-cvs-alsa_bitfield.patch.patch @@ -8,9 +8,9 @@ Implements TYPE_INTBITFIELD partially. (required for ALSA support) Signed-off-by: Alexander Graf Signed-off-by: Ulrich Hecht --- - include/exec/user/thunk.h | 3 +++ - thunk.c | 21 +++++++++++++++++++++ - 2 files changed, 24 insertions(+) + include/exec/user/thunk.h | 3 +++ + thunk.c | 21 +++++++++++++++++++++ + 2 files changed, 24 insertions(+), 0 deletions(-) diff --git a/include/exec/user/thunk.h b/include/exec/user/thunk.h index 87025c3..6c35e64 100644 diff --git a/0005-qemu-cvs-alsa_ioctl.patch.patch b/0005-qemu-cvs-alsa_ioctl.patch.patch index 9b5cbd70..214d39e9 100644 --- a/0005-qemu-cvs-alsa_ioctl.patch.patch +++ b/0005-qemu-cvs-alsa_ioctl.patch.patch @@ -14,7 +14,7 @@ Signed-off-by: Ulrich Hecht linux-user/syscall_defs.h | 2 + linux-user/syscall_types.h | 5 + linux-user/syscall_types_alsa.h | 1336 +++++++++++++++++++++++++++++ - 6 files changed, 3555 insertions(+) + 6 files changed, 3555 insertions(+), 0 deletions(-) create mode 100644 linux-user/ioctls_alsa.h create mode 100644 linux-user/ioctls_alsa_structs.h create mode 100644 linux-user/syscall_types_alsa.h diff --git a/0006-qemu-cvs-alsa_mmap.patch.patch b/0006-qemu-cvs-alsa_mmap.patch.patch index 8b5b0eff..58bbfc29 100644 --- a/0006-qemu-cvs-alsa_mmap.patch.patch +++ b/0006-qemu-cvs-alsa_mmap.patch.patch @@ -8,8 +8,8 @@ Hack to prevent ALSA from using mmap() interface to simplify emulation. Signed-off-by: Alexander Graf Signed-off-by: Ulrich Hecht --- - linux-user/mmap.c | 14 ++++++++++++++ - 1 file changed, 14 insertions(+) + linux-user/mmap.c | 14 ++++++++++++++ + 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/linux-user/mmap.c b/linux-user/mmap.c index a249f0c..34a5615 100644 diff --git a/0007-qemu-cvs-gettimeofday.patch.patch b/0007-qemu-cvs-gettimeofday.patch.patch index 8e81f7e4..3a1618ea 100644 --- a/0007-qemu-cvs-gettimeofday.patch.patch +++ b/0007-qemu-cvs-gettimeofday.patch.patch @@ -5,8 +5,8 @@ Subject: [PATCH] qemu-cvs-gettimeofday No clue what this is for. --- - linux-user/syscall.c | 2 ++ - 1 file changed, 2 insertions(+) + linux-user/syscall.c | 2 ++ + 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 6097420..aef4fb6 100644 diff --git a/0008-qemu-cvs-ioctl_debug.patch.patch b/0008-qemu-cvs-ioctl_debug.patch.patch index 4f35ddd0..f1bda679 100644 --- a/0008-qemu-cvs-ioctl_debug.patch.patch +++ b/0008-qemu-cvs-ioctl_debug.patch.patch @@ -8,8 +8,8 @@ Extends unsupported ioctl debug output. Signed-off-by: Alexander Graf Signed-off-by: Ulrich Hecht --- - linux-user/syscall.c | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) + linux-user/syscall.c | 7 ++++++- + 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index aef4fb6..c8c9e1a 100644 diff --git a/0009-qemu-cvs-ioctl_nodirection.patch.patch b/0009-qemu-cvs-ioctl_nodirection.patch.patch index 16cb836e..e708e8c4 100644 --- a/0009-qemu-cvs-ioctl_nodirection.patch.patch +++ b/0009-qemu-cvs-ioctl_nodirection.patch.patch @@ -11,8 +11,8 @@ IOC_RW. Signed-off-by: Alexander Graf Signed-off-by: Ulrich Hecht --- - linux-user/syscall.c | 6 ++++++ - 1 file changed, 6 insertions(+) + linux-user/syscall.c | 6 ++++++ + 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index c8c9e1a..2b4e263 100644 diff --git a/0010-block-vmdk-Support-creation-of-SCSI.patch b/0010-block-vmdk-Support-creation-of-SCSI.patch index 6b77f2d5..b7510ff0 100644 --- a/0010-block-vmdk-Support-creation-of-SCSI.patch +++ b/0010-block-vmdk-Support-creation-of-SCSI.patch @@ -12,10 +12,10 @@ Signed-off-by: Ulrich Hecht [AF: Rebased onto skipping of image creation in v1.7] Signed-off-by: Andreas Färber --- - block.c | 6 +++++- - block/vmdk.c | 9 ++++++++- - include/block/block_int.h | 2 ++ - qemu-img.c | 8 +++++++- + block.c | 6 +++++- + block/vmdk.c | 9 ++++++++- + include/block/block_int.h | 2 ++ + qemu-img.c | 8 +++++++- 4 files changed, 22 insertions(+), 3 deletions(-) diff --git a/block.c b/block.c diff --git a/0011-linux-user-add-binfmt-wrapper-for-a.patch b/0011-linux-user-add-binfmt-wrapper-for-a.patch index 0eb6fe7c..3cfe2410 100644 --- a/0011-linux-user-add-binfmt-wrapper-for-a.patch +++ b/0011-linux-user-add-binfmt-wrapper-for-a.patch @@ -27,10 +27,10 @@ Signed-off-by: Alexander Graf [AF: Rebased onto new Makefile infrastructure] Signed-off-by: Andreas Färber --- - Makefile.target | 12 ++++++++++++ - linux-user/Makefile.objs | 2 ++ - linux-user/binfmt.c | 42 ++++++++++++++++++++++++++++++++++++++++++ - scripts/qemu-binfmt-conf.sh | 34 +++++++++++++++++----------------- + Makefile.target | 12 ++++++++++++ + linux-user/Makefile.objs | 2 ++ + linux-user/binfmt.c | 42 ++++++++++++++++++++++++++++++++++++++++++ + scripts/qemu-binfmt-conf.sh | 34 +++++++++++++++++----------------- 4 files changed, 73 insertions(+), 17 deletions(-) create mode 100644 linux-user/binfmt.c diff --git a/0012-linux-user-Ignore-timer_create-sysc.patch b/0012-linux-user-Ignore-timer_create-sysc.patch index 7dfef751..78642956 100644 --- a/0012-linux-user-Ignore-timer_create-sysc.patch +++ b/0012-linux-user-Ignore-timer_create-sysc.patch @@ -8,8 +8,8 @@ about it breaks some %check tests in OBS, so better ignore it silently. Signed-off-by: Alexander Graf --- - linux-user/syscall.c | 5 +++++ - 1 file changed, 5 insertions(+) + linux-user/syscall.c | 5 +++++ + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 2b4e263..e423def 100644 diff --git a/0013-linux-user-be-silent-about-capget-f.patch b/0013-linux-user-be-silent-about-capget-f.patch index 67a328ab..e86b6f26 100644 --- a/0013-linux-user-be-silent-about-capget-f.patch +++ b/0013-linux-user-be-silent-about-capget-f.patch @@ -9,8 +9,8 @@ implementation and go on with life :) Signed-off-by: Alexander Graf --- - linux-user/syscall.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) + linux-user/syscall.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index e423def..d5b3d02 100644 diff --git a/0014-PPC-KVM-Disable-mmu-notifier-check..patch b/0014-PPC-KVM-Disable-mmu-notifier-check..patch index b0076cb2..49a553c2 100644 --- a/0014-PPC-KVM-Disable-mmu-notifier-check..patch +++ b/0014-PPC-KVM-Disable-mmu-notifier-check..patch @@ -9,8 +9,8 @@ check for MMU notifiers that on 970 can not be implemented properly. So disable the check for mmu notifiers on PowerPC guests, making KVM guests work there, even if possibly racy in some odd circumstances. --- - exec.c | 2 ++ - 1 file changed, 2 insertions(+) + exec.c | 2 ++ + 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/exec.c b/exec.c index 95c4356..58b0647 100644 diff --git a/0015-linux-user-fix-segfault-deadlock.pa.patch b/0015-linux-user-fix-segfault-deadlock.pa.patch index b9ff2a82..b81e0310 100644 --- a/0015-linux-user-fix-segfault-deadlock.pa.patch +++ b/0015-linux-user-fix-segfault-deadlock.pa.patch @@ -21,9 +21,9 @@ Reported-by: Fabio Erculiani Signed-off-by: Alexander Graf Signed-off-by: Andreas Färber --- - include/exec/spinlock.h | 10 ++++++++++ - user-exec.c | 4 ++++ - 2 files changed, 14 insertions(+) + include/exec/spinlock.h | 10 ++++++++++ + user-exec.c | 4 ++++ + 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/include/exec/spinlock.h b/include/exec/spinlock.h index a72edda..e460e12 100644 diff --git a/0016-linux-user-binfmt-support-host-bina.patch b/0016-linux-user-binfmt-support-host-bina.patch index 54a026a1..18af89d7 100644 --- a/0016-linux-user-binfmt-support-host-bina.patch +++ b/0016-linux-user-binfmt-support-host-bina.patch @@ -8,8 +8,8 @@ trying to run, let's just use that instead as it will be a lot faster. Signed-off-by: Alexander Graf --- - linux-user/binfmt.c | 25 +++++++++++++++++++++++++ - 1 file changed, 25 insertions(+) + linux-user/binfmt.c | 25 +++++++++++++++++++++++++ + 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/linux-user/binfmt.c b/linux-user/binfmt.c index cd1f513..87dc4c6 100644 diff --git a/0017-linux-user-arm-no-tb_flush-on-reset.patch b/0017-linux-user-arm-no-tb_flush-on-reset.patch index 53c47edd..33875874 100644 --- a/0017-linux-user-arm-no-tb_flush-on-reset.patch +++ b/0017-linux-user-arm-no-tb_flush-on-reset.patch @@ -10,8 +10,8 @@ tb_flush on reset. So something in our thread creation is broken. But for now, let's revert the change to at least get a working build again. --- - target-arm/cpu.c | 4 ++++ - 1 file changed, 4 insertions(+) + target-arm/cpu.c | 4 ++++ + 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/target-arm/cpu.c b/target-arm/cpu.c index d40f2a7..3113456 100644 diff --git a/0018-linux-user-Ignore-broken-loop-ioctl.patch b/0018-linux-user-Ignore-broken-loop-ioctl.patch index 3ea92f92..fb0a7e27 100644 --- a/0018-linux-user-Ignore-broken-loop-ioctl.patch +++ b/0018-linux-user-Ignore-broken-loop-ioctl.patch @@ -11,11 +11,11 @@ So let's silently ignore that bogus ioctl. Signed-off-by: Alexander Graf --- - linux-user/ioctls.h | 1 + - linux-user/linux_loop.h | 1 + - linux-user/syscall.c | 7 +++++++ - linux-user/syscall_defs.h | 1 + - 4 files changed, 10 insertions(+) + linux-user/ioctls.h | 1 + + linux-user/linux_loop.h | 1 + + linux-user/syscall.c | 7 +++++++ + linux-user/syscall_defs.h | 1 + + 4 files changed, 10 insertions(+), 0 deletions(-) diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h index 1c9d67f..b743309 100644 diff --git a/0019-linux-user-lock-tcg.patch.patch b/0019-linux-user-lock-tcg.patch.patch index 85b4ee33..d1b1a173 100644 --- a/0019-linux-user-lock-tcg.patch.patch +++ b/0019-linux-user-lock-tcg.patch.patch @@ -13,9 +13,9 @@ Signed-off-by: Alexander Graf [AF: Rebased onto exec.c/translate-all.c split for 1.4] Signed-off-by: Andreas Färber --- - linux-user/mmap.c | 3 +++ - tcg/tcg.c | 36 ++++++++++++++++++++++++++++++++++-- - tcg/tcg.h | 6 ++++++ + linux-user/mmap.c | 3 +++ + tcg/tcg.c | 36 ++++++++++++++++++++++++++++++++++-- + tcg/tcg.h | 6 ++++++ 3 files changed, 43 insertions(+), 2 deletions(-) diff --git a/linux-user/mmap.c b/linux-user/mmap.c diff --git a/0020-linux-user-Run-multi-threaded-code-.patch b/0020-linux-user-Run-multi-threaded-code-.patch index 3b428233..11e581ec 100644 --- a/0020-linux-user-Run-multi-threaded-code-.patch +++ b/0020-linux-user-Run-multi-threaded-code-.patch @@ -15,8 +15,8 @@ This gets Java 1.7 working for me again on my test box. Signed-off-by: Alexander Graf --- - linux-user/syscall.c | 9 +++++++++ - 1 file changed, 9 insertions(+) + linux-user/syscall.c | 9 +++++++++ + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 5113d22..7be6873 100644 diff --git a/0021-linux-user-lock-tb-flushing-too.pat.patch b/0021-linux-user-lock-tb-flushing-too.pat.patch index 12ee9205..19291a7a 100644 --- a/0021-linux-user-lock-tb-flushing-too.pat.patch +++ b/0021-linux-user-lock-tb-flushing-too.pat.patch @@ -10,8 +10,8 @@ Signed-off-by: Alexander Graf [AF: Rebased onto exec.c/translate-all.c split for 1.4] Signed-off-by: Andreas Färber --- - translate-all.c | 20 ++++++++++++++++++-- - 1 file changed, 18 insertions(+), 2 deletions(-) + translate-all.c | 20 ++++++++++++++++++-- + 1 files changed, 18 insertions(+), 2 deletions(-) diff --git a/translate-all.c b/translate-all.c index aeda54d..6cfba5a 100644 diff --git a/0022-linux-user-Fake-proc-cpuinfo.patch.patch b/0022-linux-user-Fake-proc-cpuinfo.patch.patch index 2a3530b7..f4e9434e 100644 --- a/0022-linux-user-Fake-proc-cpuinfo.patch.patch +++ b/0022-linux-user-Fake-proc-cpuinfo.patch.patch @@ -18,8 +18,8 @@ Signed-off-by: Alexander Graf [AF: Rebased for v1.6 and v1.7] Signed-off-by: Andreas Färber --- - linux-user/syscall.c | 20 ++++++++++++++++++++ - 1 file changed, 20 insertions(+) + linux-user/syscall.c | 20 ++++++++++++++++++++ + 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 7be6873..e678f9b 100644 diff --git a/0023-linux-user-implement-FS_IOC_GETFLAG.patch b/0023-linux-user-implement-FS_IOC_GETFLAG.patch index 3f5cf14b..50e1859e 100644 --- a/0023-linux-user-implement-FS_IOC_GETFLAG.patch +++ b/0023-linux-user-implement-FS_IOC_GETFLAG.patch @@ -11,9 +11,9 @@ v1 -> v2: - use TYPE_LONG instead of TYPE_INT --- - linux-user/ioctls.h | 1 + - linux-user/syscall_defs.h | 2 ++ - 2 files changed, 3 insertions(+) + linux-user/ioctls.h | 1 + + linux-user/syscall_defs.h | 2 ++ + 2 files changed, 3 insertions(+), 0 deletions(-) diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h index b743309..f273ccb 100644 diff --git a/0024-linux-user-implement-FS_IOC_SETFLAG.patch b/0024-linux-user-implement-FS_IOC_SETFLAG.patch index 9f692339..e9322e63 100644 --- a/0024-linux-user-implement-FS_IOC_SETFLAG.patch +++ b/0024-linux-user-implement-FS_IOC_SETFLAG.patch @@ -11,9 +11,9 @@ v1 -> v2 - use TYPE_LONG instead of TYPE_INT --- - linux-user/ioctls.h | 1 + - linux-user/syscall_defs.h | 1 + - 2 files changed, 2 insertions(+) + linux-user/ioctls.h | 1 + + linux-user/syscall_defs.h | 1 + + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h index f273ccb..a5f3514 100644 diff --git a/0025-linux-user-XXX-disable-fiemap.patch.patch b/0025-linux-user-XXX-disable-fiemap.patch.patch index afa7c41e..f7dd2623 100644 --- a/0025-linux-user-XXX-disable-fiemap.patch.patch +++ b/0025-linux-user-XXX-disable-fiemap.patch.patch @@ -5,8 +5,8 @@ Subject: [PATCH] linux-user: XXX disable fiemap agraf: fiemap breaks in libarchive. Disable it for now. --- - linux-user/syscall.c | 5 +++++ - 1 file changed, 5 insertions(+) + linux-user/syscall.c | 5 +++++ + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index e678f9b..7fc61fe 100644 diff --git a/0026-slirp-nooutgoing.patch.patch b/0026-slirp-nooutgoing.patch.patch index ddf7e877..30184d7f 100644 --- a/0026-slirp-nooutgoing.patch.patch +++ b/0026-slirp-nooutgoing.patch.patch @@ -5,11 +5,11 @@ Subject: [PATCH] slirp: -nooutgoing TBD (from SUSE Studio team) --- - qemu-options.hx | 10 ++++++++++ - slirp/socket.c | 8 ++++++++ - slirp/tcp_subr.c | 13 +++++++++++++ - vl.c | 9 +++++++++ - 4 files changed, 40 insertions(+) + qemu-options.hx | 10 ++++++++++ + slirp/socket.c | 8 ++++++++ + slirp/tcp_subr.c | 13 +++++++++++++ + vl.c | 9 +++++++++ + 4 files changed, 40 insertions(+), 0 deletions(-) diff --git a/qemu-options.hx b/qemu-options.hx index 8b94264..179cf72 100644 diff --git a/0027-vnc-password-file-and-incoming-conn.patch b/0027-vnc-password-file-and-incoming-conn.patch index b54305d6..347c4aab 100644 --- a/0027-vnc-password-file-and-incoming-conn.patch +++ b/0027-vnc-password-file-and-incoming-conn.patch @@ -5,8 +5,8 @@ Subject: [PATCH] vnc: password-file= and incoming-connections= TBD (from SUSE Studio team) --- - ui/vnc.c | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 71 insertions(+) + ui/vnc.c | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 files changed, 71 insertions(+), 0 deletions(-) diff --git a/ui/vnc.c b/ui/vnc.c index 5601cc3..d5796e6 100644 diff --git a/0028-linux-user-add-more-blk-ioctls.patc.patch b/0028-linux-user-add-more-blk-ioctls.patc.patch index 78b67256..90f54920 100644 --- a/0028-linux-user-add-more-blk-ioctls.patc.patch +++ b/0028-linux-user-add-more-blk-ioctls.patc.patch @@ -7,10 +7,10 @@ Implement a few more ioctls that operate on block devices. Signed-off-by: Alexander Graf --- - linux-user/ioctls.h | 18 ++++++++++++++++++ - linux-user/syscall_defs.h | 6 ++++++ - linux-user/syscall_types.h | 3 +++ - 3 files changed, 27 insertions(+) + linux-user/ioctls.h | 18 ++++++++++++++++++ + linux-user/syscall_defs.h | 6 ++++++ + linux-user/syscall_types.h | 3 +++ + 3 files changed, 27 insertions(+), 0 deletions(-) diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h index a5f3514..a96a419 100644 diff --git a/0029-linux-user-use-target_ulong.patch.patch b/0029-linux-user-use-target_ulong.patch.patch index 0ce34b7c..70533bea 100644 --- a/0029-linux-user-use-target_ulong.patch.patch +++ b/0029-linux-user-use-target_ulong.patch.patch @@ -12,8 +12,8 @@ Pass syscall arguments as ulong always. Signed-off-by: Alexander Graf --- - linux-user/qemu.h | 8 ++++---- - linux-user/syscall.c | 8 ++++---- + linux-user/qemu.h | 8 ++++---- + linux-user/syscall.c | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/linux-user/qemu.h b/linux-user/qemu.h diff --git a/0030-block-Add-support-for-DictZip-enabl.patch b/0030-block-Add-support-for-DictZip-enabl.patch index b05b5ea2..3c925bb1 100644 --- a/0030-block-Add-support-for-DictZip-enabl.patch +++ b/0030-block-Add-support-for-DictZip-enabl.patch @@ -28,9 +28,9 @@ Signed-off-by: Tim Hardeck [AF: Error **errp added for bdrv_file_open, bdrv_delete -> bdrv_unref] Signed-off-by: Andreas Färber --- - block/Makefile.objs | 1 + - block/dictzip.c | 596 ++++++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 597 insertions(+) + block/Makefile.objs | 1 + + block/dictzip.c | 596 +++++++++++++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 597 insertions(+), 0 deletions(-) create mode 100644 block/dictzip.c diff --git a/block/Makefile.objs b/block/Makefile.objs diff --git a/0031-block-Add-tar-container-format.patc.patch b/0031-block-Add-tar-container-format.patc.patch index 88c746a7..d3f526fd 100644 --- a/0031-block-Add-tar-container-format.patc.patch +++ b/0031-block-Add-tar-container-format.patc.patch @@ -29,9 +29,9 @@ Signed-off-by: Tim Hardeck [AF: bdrv_file_open got an Error **errp argument, bdrv_delete -> brd_unref] Signed-off-by: Andreas Färber --- - block/Makefile.objs | 1 + - block/tar.c | 386 ++++++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 387 insertions(+) + block/Makefile.objs | 1 + + block/tar.c | 386 +++++++++++++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 387 insertions(+), 0 deletions(-) create mode 100644 block/tar.c diff --git a/block/Makefile.objs b/block/Makefile.objs diff --git a/0032-Legacy-Patch-kvm-qemu-preXX-dictzip.patch b/0032-Legacy-Patch-kvm-qemu-preXX-dictzip.patch index 832400b5..2e5f9c89 100644 --- a/0032-Legacy-Patch-kvm-qemu-preXX-dictzip.patch +++ b/0032-Legacy-Patch-kvm-qemu-preXX-dictzip.patch @@ -4,8 +4,8 @@ Date: Wed, 12 Dec 2012 19:11:30 +0100 Subject: [PATCH] Legacy Patch kvm-qemu-preXX-dictzip3.patch --- - block/tar.c | 13 +++++++++++-- - 1 file changed, 11 insertions(+), 2 deletions(-) + block/tar.c | 13 +++++++++++-- + 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/block/tar.c b/block/tar.c index 24ed37b..c324240 100644 diff --git a/0033-Legacy-Patch-kvm-qemu-preXX-report-.patch b/0033-Legacy-Patch-kvm-qemu-preXX-report-.patch index f28c3c4b..c6426a74 100644 --- a/0033-Legacy-Patch-kvm-qemu-preXX-report-.patch +++ b/0033-Legacy-Patch-kvm-qemu-preXX-report-.patch @@ -4,8 +4,8 @@ Date: Wed, 12 Dec 2012 19:11:31 +0100 Subject: [PATCH] Legacy Patch kvm-qemu-preXX-report-default-mac-used.patch --- - net/net.c | 22 ++++++++++++++++++++++ - 1 file changed, 22 insertions(+) + net/net.c | 22 ++++++++++++++++++++++ + 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/net/net.c b/net/net.c index 0a88e68..0716a72 100644 diff --git a/0034-console-add-question-mark-escape-op.patch b/0034-console-add-question-mark-escape-op.patch index bb118572..335124c3 100644 --- a/0034-console-add-question-mark-escape-op.patch +++ b/0034-console-add-question-mark-escape-op.patch @@ -12,8 +12,8 @@ outputting guest serial consoles to the graphical console emulator. Signed-off-by: Alexander Graf --- - ui/console.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) + ui/console.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ui/console.c b/ui/console.c index 199ba69..f7894f8 100644 diff --git a/0035-Make-char-muxer-more-robust-wrt-sma.patch b/0035-Make-char-muxer-more-robust-wrt-sma.patch index 54d42797..7200bb87 100644 --- a/0035-Make-char-muxer-more-robust-wrt-sma.patch +++ b/0035-Make-char-muxer-more-robust-wrt-sma.patch @@ -18,8 +18,8 @@ it polls again after a while to check if the guest is now receiving input. This patch fixes input when using -nographic on s390 for me. --- - qemu-char.c | 16 ++++++++++++++++ - 1 file changed, 16 insertions(+) + qemu-char.c | 16 ++++++++++++++++ + 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/qemu-char.c b/qemu-char.c index e00f84c..60faa71 100644 diff --git a/0036-linux-user-lseek-explicitly-cast-no.patch b/0036-linux-user-lseek-explicitly-cast-no.patch index 0a329360..9dad4ca2 100644 --- a/0036-linux-user-lseek-explicitly-cast-no.patch +++ b/0036-linux-user-lseek-explicitly-cast-no.patch @@ -12,8 +12,8 @@ absolute positioned which we need to maintain as unsigned. Signed-off-by: Alexander Graf --- - linux-user/syscall.c | 9 +++++++-- - 1 file changed, 7 insertions(+), 2 deletions(-) + linux-user/syscall.c | 9 +++++++-- + 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index b794666..4f7327a 100644 diff --git a/0037-virtfs-proxy-helper-Provide-__u64-f.patch b/0037-virtfs-proxy-helper-Provide-__u64-f.patch index 3e02eb53..bb17a024 100644 --- a/0037-virtfs-proxy-helper-Provide-__u64-f.patch +++ b/0037-virtfs-proxy-helper-Provide-__u64-f.patch @@ -8,8 +8,8 @@ Fixes the build on SLE 11 SP2. [AF: Extend to ppc64] --- - fsdev/virtfs-proxy-helper.c | 7 +++++++ - 1 file changed, 7 insertions(+) + fsdev/virtfs-proxy-helper.c | 7 +++++++ + 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/fsdev/virtfs-proxy-helper.c b/fsdev/virtfs-proxy-helper.c index 713a7b2..b8da77d 100644 diff --git a/0038-roms-Build-vgabios.bin.patch.patch b/0038-roms-Build-vgabios.bin.patch.patch index ab273b2c..41ae0f94 100644 --- a/0038-roms-Build-vgabios.bin.patch.patch +++ b/0038-roms-Build-vgabios.bin.patch.patch @@ -4,8 +4,8 @@ Date: Wed, 2 Oct 2013 17:51:46 +0200 Subject: [PATCH] roms: Build vgabios.bin --- - roms/Makefile | 2 ++ - 1 file changed, 2 insertions(+) + roms/Makefile | 2 ++ + 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/roms/Makefile b/roms/Makefile index 10d5a65..3bb1f48 100644 diff --git a/0039-configure-Enable-PIE-for-ppc-and-pp.patch b/0039-configure-Enable-PIE-for-ppc-and-pp.patch index 07b33958..b229c699 100644 --- a/0039-configure-Enable-PIE-for-ppc-and-pp.patch +++ b/0039-configure-Enable-PIE-for-ppc-and-pp.patch @@ -10,8 +10,8 @@ Signed-off-by: Dinar Valeev [AF: Rebased for v1.7] Signed-off-by: Andreas Färber --- - configure | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) + configure | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure b/configure index 0666228..d508d50 100755 diff --git a/iasl_workaround.patch b/iasl_workaround.patch deleted file mode 100644 index 9e84bafd..00000000 --- a/iasl_workaround.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- qemu-1.7.0/roms/seabios/Makefile -+++ qemu-1.7.0/roms/seabios/Makefile -@@ -219,7 +219,11 @@ $(OUT)%.hex: src/%.dsl ./tools/acpi_extr - @echo " Compiling IASL $@" - $(Q)$(CPP) $(CPPFLAGS) $< -o $(OUT)$*.dsl.i.orig - $(Q)$(PYTHON) ./tools/acpi_extract_preprocess.py $(OUT)$*.dsl.i.orig > $(OUT)$*.dsl.i -- $(Q)$(IASL) $(call iasl-option,$(IASL),-Pn,) -vs -l -tc -p $(OUT)$* $(OUT)$*.dsl.i -+ $(Q)rm -rf /tmp/iasl_workaround -+ $(Q)mkdir /tmp/iasl_workaround -+ $(Q)$(IASL) $(call iasl-option,$(IASL),-Pn,) -vs -l -tc -p /tmp/iasl_workaround/$* $(OUT)$*.dsl.i -+ $(Q)mv /tmp/iasl_workaround/* $(OUT) -+ $(Q)rmdir /tmp/iasl_workaround - $(Q)$(PYTHON) ./tools/acpi_extract.py $(OUT)$*.lst > $(OUT)$*.off - $(Q)cat $(OUT)$*.off > $@ - diff --git a/qemu.changes b/qemu.changes index ed4911b7..c7044ab5 100644 --- a/qemu.changes +++ b/qemu.changes @@ -4,7 +4,8 @@ Fri Dec 6 22:21:50 UTC 2013 - afaerber@suse.de - Update to v1.7.0: See http://wiki.qemu-project.org/ChangeLog/1.7 * Adapted update_git.sh accordingly * Dropped --enable-mixemu (no longer available) -* Added a work around patch for an iasl bug +* Added a work around for roms/Makefile issue +* patch 0038-gdbstub-Fix-gdb_register_coprocesso.patch dropped ------------------------------------------------------------------- Wed Oct 9 16:23:56 UTC 2013 - dmueller@suse.com diff --git a/qemu.spec b/qemu.spec index 5f41db21..abec85ea 100644 --- a/qemu.spec +++ b/qemu.spec @@ -77,7 +77,6 @@ Patch0039: 0039-configure-Enable-PIE-for-ppc-and-pp.patch Patch1000: ipxe-build-Work-around-bug-in-gcc-4.8.patch Patch1001: ipxe-zbin-Fix-size-used-for-memset-in-al.patch Patch1002: ipxe-build-Avoid-strict-aliasing-warning.patch -Patch1003: iasl_workaround.patch # end roms/ipxe patches # this is to make lint happy @@ -304,7 +303,6 @@ This sub-package contains the guest agent. %patch1000 -p1 %patch1001 -p1 %patch1002 -p1 -%patch1003 -p1 %if %{build_x86_fw_from_source} # as a safeguard, delete the firmware files that we intend to build @@ -362,13 +360,10 @@ make %{?_smp_mflags} V=1 # Firmware %if %{build_x86_fw_from_source} -cd roms -make bios -make lgplvgabios -make pxerom -cd .. -make -C roms/sgabios -cp roms/sgabios/sgabios.bin pc-bios/sgabios.bin +make --no-print-directory -C roms bios +make --no-print-directory -C roms lgplvgabios +make --no-print-directory -C roms pxerom +make --no-print-directory -C roms sgabios %endif %install diff --git a/qemu.spec.in b/qemu.spec.in index ebb2c669..95426896 100644 --- a/qemu.spec.in +++ b/qemu.spec.in @@ -39,7 +39,6 @@ PATCH_FILES Patch1000: ipxe-build-Work-around-bug-in-gcc-4.8.patch Patch1001: ipxe-zbin-Fix-size-used-for-memset-in-al.patch Patch1002: ipxe-build-Avoid-strict-aliasing-warning.patch -Patch1003: iasl_workaround.patch # end roms/ipxe patches # this is to make lint happy @@ -228,7 +227,6 @@ PATCH_EXEC %patch1000 -p1 %patch1001 -p1 %patch1002 -p1 -%patch1003 -p1 %if %{build_x86_fw_from_source} # as a safeguard, delete the firmware files that we intend to build @@ -286,13 +284,10 @@ make %{?_smp_mflags} V=1 # Firmware %if %{build_x86_fw_from_source} -cd roms -make bios -make lgplvgabios -make pxerom -cd .. -make -C roms/sgabios -cp roms/sgabios/sgabios.bin pc-bios/sgabios.bin +make --no-print-directory -C roms bios +make --no-print-directory -C roms lgplvgabios +make --no-print-directory -C roms pxerom +make --no-print-directory -C roms sgabios %endif %install