diff --git a/0001-XXX-dont-dump-core-on-sigabort.patch b/0001-XXX-dont-dump-core-on-sigabort.patch index 6ab97a9c..3cf07c52 100644 --- a/0001-XXX-dont-dump-core-on-sigabort.patch +++ b/0001-XXX-dont-dump-core-on-sigabort.patch @@ -1,4 +1,4 @@ -From 1e556e72ef1334533b0a6ed652c7b00b0382949a Mon Sep 17 00:00:00 2001 +From 8aa30747a59c1beab3e56a314e1963357baeb99f Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Mon, 21 Nov 2011 23:50:36 +0100 Subject: [PATCH] XXX dont dump core on sigabort @@ -8,10 +8,10 @@ Subject: [PATCH] XXX dont dump core on sigabort 1 file changed, 6 insertions(+) diff --git a/linux-user/signal.c b/linux-user/signal.c -index 9d4cef4..42c5681 100644 +index 9d62e02..1a8a332 100644 --- a/linux-user/signal.c +++ b/linux-user/signal.c -@@ -448,6 +448,10 @@ static void QEMU_NORETURN force_sig(int target_sig) +@@ -447,6 +447,10 @@ static void QEMU_NORETURN force_sig(int target_sig) host_sig = target_to_host_signal(target_sig); gdb_signalled(env, target_sig); @@ -22,7 +22,7 @@ index 9d4cef4..42c5681 100644 /* dump core if supported by target binary format */ if (core_dump_signal(target_sig) && (ts->bprm->core_dump != NULL)) { stop_all_tasks(); -@@ -465,6 +469,8 @@ static void QEMU_NORETURN force_sig(int target_sig) +@@ -464,6 +468,8 @@ static void QEMU_NORETURN force_sig(int target_sig) target_sig, strsignal(host_sig), "core dumped" ); } diff --git a/0002-XXX-work-around-SA_RESTART-race-wit.patch b/0002-XXX-work-around-SA_RESTART-race-wit.patch index 71f1cf9f..65984f55 100644 --- a/0002-XXX-work-around-SA_RESTART-race-wit.patch +++ b/0002-XXX-work-around-SA_RESTART-race-wit.patch @@ -1,4 +1,4 @@ -From 5a7aa97bf33ef868052ee97fb8078af791859a5c Mon Sep 17 00:00:00 2001 +From c3a774e193db19f48a4a471814360123150a3526 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Thu, 1 Dec 2011 19:00:01 +0100 Subject: [PATCH] XXX work around SA_RESTART race with boehm-gc (ARM only) @@ -13,10 +13,10 @@ Subject: [PATCH] XXX work around SA_RESTART race with boehm-gc (ARM only) 4 files changed, 130 insertions(+), 10 deletions(-) diff --git a/linux-user/main.c b/linux-user/main.c -index fdee981..c9954fd 100644 +index 8acfe0f..6379e03 100644 --- a/linux-user/main.c +++ b/linux-user/main.c -@@ -811,15 +811,22 @@ void cpu_loop(CPUARMState *env) +@@ -809,15 +809,22 @@ void cpu_loop(CPUARMState *env) break; } } else { @@ -49,10 +49,10 @@ index fdee981..c9954fd 100644 } else { goto error; diff --git a/linux-user/qemu.h b/linux-user/qemu.h -index 8012cc2..e29c7f3 100644 +index bd90cc3..ea9c98d 100644 --- a/linux-user/qemu.h +++ b/linux-user/qemu.h -@@ -135,6 +135,8 @@ typedef struct TaskState { +@@ -133,6 +133,8 @@ typedef struct TaskState { struct sigqueue sigqueue_table[MAX_SIGQUEUE_SIZE]; /* siginfo queue */ struct sigqueue *first_free; /* first free siginfo queue entry */ int signal_pending; /* non zero if a signal may be pending */ @@ -61,7 +61,7 @@ index 8012cc2..e29c7f3 100644 } __attribute__((aligned(16))) TaskState; extern char *exec_path; -@@ -200,6 +202,7 @@ int get_osversion(void); +@@ -191,6 +193,7 @@ int get_osversion(void); void init_qemu_uname_release(void); void fork_start(void); void fork_end(int child); @@ -70,18 +70,18 @@ index 8012cc2..e29c7f3 100644 /* Creates the initial guest address space in the host memory space using * the given host start address hint and size. The guest_start parameter diff --git a/linux-user/signal.c b/linux-user/signal.c -index 42c5681..4153c99 100644 +index 1a8a332..2c9b0da 100644 --- a/linux-user/signal.c +++ b/linux-user/signal.c -@@ -25,6 +25,7 @@ - #include +@@ -24,6 +24,7 @@ + #include #include #include +#include #include "qemu.h" #include "qemu-common.h" -@@ -571,6 +572,11 @@ int queue_signal(CPUArchState *env, int sig, target_siginfo_t *info) +@@ -570,6 +571,11 @@ int queue_signal(CPUArchState *env, int sig, target_siginfo_t *info) k->pending = 1; /* signal that a new signal is pending */ ts->signal_pending = 1; @@ -93,7 +93,7 @@ index 42c5681..4153c99 100644 return 1; /* indicates that the signal was queued */ } } -@@ -717,8 +723,24 @@ int do_sigaction(int sig, const struct target_sigaction *act, +@@ -716,8 +722,24 @@ int do_sigaction(int sig, const struct target_sigaction *act, if (host_sig != SIGSEGV && host_sig != SIGBUS) { sigfillset(&act1.sa_mask); act1.sa_flags = SA_SIGINFO; @@ -119,10 +119,10 @@ index 42c5681..4153c99 100644 ignore state to avoid getting unexpected interrupted syscalls */ diff --git a/linux-user/syscall.c b/linux-user/syscall.c -index f62c698..a53a85f 100644 +index 6c64ba6..ce8eba3 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c -@@ -5570,6 +5570,87 @@ static target_timer_t get_timer_id(abi_long arg) +@@ -5663,6 +5663,87 @@ static target_timer_t get_timer_id(abi_long arg) return timerid; } @@ -210,7 +210,7 @@ index f62c698..a53a85f 100644 /* do_syscall() should always have a single exit point at the end so that actions, such as logging of syscall results, can be performed. All errnos that do_syscall() returns must be -TARGET_. */ -@@ -5583,6 +5664,12 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1, +@@ -5676,6 +5757,12 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1, struct stat st; struct statfs stfs; void *p; @@ -223,7 +223,7 @@ index f62c698..a53a85f 100644 #ifdef DEBUG gemu_log("syscall %d", num); -@@ -8852,7 +8939,7 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1, +@@ -8998,7 +9085,7 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1, cmd = target_to_host_fcntl_cmd(arg2); if (cmd == -TARGET_EINVAL) { ret = cmd; @@ -232,7 +232,7 @@ index f62c698..a53a85f 100644 } switch(arg2) { -@@ -9883,6 +9970,7 @@ fail: +@@ -10029,6 +10116,7 @@ fail: #endif if(do_strace) print_syscall_ret(num, ret); diff --git a/0003-qemu-0.9.0.cvs-binfmt.patch b/0003-qemu-0.9.0.cvs-binfmt.patch index ef2e3859..942ce94f 100644 --- a/0003-qemu-0.9.0.cvs-binfmt.patch +++ b/0003-qemu-0.9.0.cvs-binfmt.patch @@ -1,4 +1,4 @@ -From 46a229c08679d4ba67bdf5f43568b08594c2ba8e Mon Sep 17 00:00:00 2001 +From 80376f4f9c820a5d1e9abe4e53f97bc7e0d349f4 Mon Sep 17 00:00:00 2001 From: Ulrich Hecht Date: Tue, 14 Apr 2009 16:18:44 +0200 Subject: [PATCH] qemu-0.9.0.cvs-binfmt diff --git a/0004-qemu-cvs-alsa_bitfield.patch b/0004-qemu-cvs-alsa_bitfield.patch index d0c3bc8b..6aa6244c 100644 --- a/0004-qemu-cvs-alsa_bitfield.patch +++ b/0004-qemu-cvs-alsa_bitfield.patch @@ -1,4 +1,4 @@ -From 30757b11ba37493290f9df04e4f2fdc095463ada Mon Sep 17 00:00:00 2001 +From d0b55bb89eeaffae5f5d0563cf53801943fcefb7 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Tue, 14 Apr 2009 16:20:50 +0200 Subject: [PATCH] qemu-cvs-alsa_bitfield diff --git a/0005-qemu-cvs-alsa_ioctl.patch b/0005-qemu-cvs-alsa_ioctl.patch index 4f50c8dd..722d1387 100644 --- a/0005-qemu-cvs-alsa_ioctl.patch +++ b/0005-qemu-cvs-alsa_ioctl.patch @@ -1,4 +1,4 @@ -From 706f125ff6cb4940199af13de0040df33827326d Mon Sep 17 00:00:00 2001 +From a03418dfe9a1151a5863f84c71ea576d87136cef Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Tue, 14 Apr 2009 16:23:27 +0200 Subject: [PATCH] qemu-cvs-alsa_ioctl @@ -2255,10 +2255,10 @@ index 0000000..e09a30d + unsigned char *code; +}; diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h -index edd5f3c..e9f81f3 100644 +index f996acf..c2baa9e 100644 --- a/linux-user/syscall_defs.h +++ b/linux-user/syscall_defs.h -@@ -2521,6 +2521,8 @@ struct target_ucred { +@@ -2540,6 +2540,8 @@ struct target_ucred { uint32_t gid; }; diff --git a/0006-qemu-cvs-alsa_mmap.patch b/0006-qemu-cvs-alsa_mmap.patch index 5ccacb7d..8b0cd784 100644 --- a/0006-qemu-cvs-alsa_mmap.patch +++ b/0006-qemu-cvs-alsa_mmap.patch @@ -1,4 +1,4 @@ -From e467d93b8c067719e5f240096d85a2c72f025d8d Mon Sep 17 00:00:00 2001 +From 9578bb8be38338db9e59ca5085970e23e49df081 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Tue, 14 Apr 2009 16:24:15 +0200 Subject: [PATCH] qemu-cvs-alsa_mmap @@ -12,10 +12,10 @@ Signed-off-by: Ulrich Hecht 1 file changed, 14 insertions(+) diff --git a/linux-user/mmap.c b/linux-user/mmap.c -index 78e1b2d..5fd32f1 100644 +index 7b459d5..9f164de 100644 --- a/linux-user/mmap.c +++ b/linux-user/mmap.c -@@ -367,6 +367,9 @@ abi_ulong mmap_find_vma(abi_ulong start, abi_ulong size) +@@ -363,6 +363,9 @@ abi_ulong mmap_find_vma(abi_ulong start, abi_ulong size) } } @@ -25,7 +25,7 @@ index 78e1b2d..5fd32f1 100644 /* NOTE: all the constants are the HOST ones */ abi_long target_mmap(abi_ulong start, abi_ulong len, int prot, int flags, int fd, abi_ulong offset) -@@ -401,6 +404,17 @@ abi_long target_mmap(abi_ulong start, abi_ulong len, int prot, +@@ -397,6 +400,17 @@ abi_long target_mmap(abi_ulong start, abi_ulong len, int prot, } #endif diff --git a/0007-qemu-cvs-gettimeofday.patch b/0007-qemu-cvs-gettimeofday.patch index 8551dc82..b58df15c 100644 --- a/0007-qemu-cvs-gettimeofday.patch +++ b/0007-qemu-cvs-gettimeofday.patch @@ -1,4 +1,4 @@ -From 33a0ebb46acf6693587ad719646bce324973a1b7 Mon Sep 17 00:00:00 2001 +From 41d4cd0e804058e7cb43184144c602ac94118ac5 Mon Sep 17 00:00:00 2001 From: Ulrich Hecht Date: Tue, 14 Apr 2009 16:25:41 +0200 Subject: [PATCH] qemu-cvs-gettimeofday @@ -9,10 +9,10 @@ No clue what this is for. 1 file changed, 2 insertions(+) diff --git a/linux-user/syscall.c b/linux-user/syscall.c -index a53a85f..8e8c92e 100644 +index ce8eba3..7a6bd6c 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c -@@ -6742,6 +6742,8 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1, +@@ -6870,6 +6870,8 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1, case TARGET_NR_gettimeofday: { struct timeval tv; diff --git a/0008-qemu-cvs-ioctl_debug.patch b/0008-qemu-cvs-ioctl_debug.patch index 815b503c..dff0feb2 100644 --- a/0008-qemu-cvs-ioctl_debug.patch +++ b/0008-qemu-cvs-ioctl_debug.patch @@ -1,4 +1,4 @@ -From ea09ea340eecc844351b3f645f4ab1bc83a30209 Mon Sep 17 00:00:00 2001 +From a8de3056b883fc9a2dbade321fa56cd7053aba8e Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Tue, 14 Apr 2009 16:26:33 +0200 Subject: [PATCH] qemu-cvs-ioctl_debug @@ -12,10 +12,10 @@ Signed-off-by: Ulrich Hecht 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c -index 8e8c92e..8270fd0 100644 +index 7a6bd6c..c744746 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c -@@ -3917,7 +3917,12 @@ static abi_long do_ioctl(int fd, int cmd, abi_long arg) +@@ -3922,7 +3922,12 @@ static abi_long do_ioctl(int fd, int cmd, abi_long arg) ie = ioctl_entries; for(;;) { if (ie->target_cmd == 0) { diff --git a/0009-qemu-cvs-ioctl_nodirection.patch b/0009-qemu-cvs-ioctl_nodirection.patch index 8c8cd123..502440bf 100644 --- a/0009-qemu-cvs-ioctl_nodirection.patch +++ b/0009-qemu-cvs-ioctl_nodirection.patch @@ -1,4 +1,4 @@ -From 578468f720038a99ae3a0cb8fec3c032aad77f63 Mon Sep 17 00:00:00 2001 +From 93e7c43e8820bfcfa65fd4b2283fde1070056f55 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Tue, 14 Apr 2009 16:27:36 +0200 Subject: [PATCH] qemu-cvs-ioctl_nodirection @@ -15,10 +15,10 @@ Signed-off-by: Ulrich Hecht 1 file changed, 6 insertions(+) diff --git a/linux-user/syscall.c b/linux-user/syscall.c -index 8270fd0..42fad52 100644 +index c744746..6cdbd86 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c -@@ -3951,6 +3951,11 @@ static abi_long do_ioctl(int fd, int cmd, abi_long arg) +@@ -3955,6 +3955,11 @@ static abi_long do_ioctl(int fd, int cmd, abi_long arg) arg_type++; target_size = thunk_type_size(arg_type, 0); switch(ie->access) { @@ -30,7 +30,7 @@ index 8270fd0..42fad52 100644 case IOC_R: ret = get_errno(ioctl(fd, ie->host_cmd, buf_temp)); if (!is_error(ret)) { -@@ -3969,6 +3974,7 @@ static abi_long do_ioctl(int fd, int cmd, abi_long arg) +@@ -3973,6 +3978,7 @@ static abi_long do_ioctl(int fd, int cmd, abi_long arg) unlock_user(argptr, arg, 0); ret = get_errno(ioctl(fd, ie->host_cmd, buf_temp)); break; diff --git a/0010-block-vmdk-Support-creation-of-SCSI.patch b/0010-block-vmdk-Support-creation-of-SCSI.patch index 363d82e9..e0a84d18 100644 --- a/0010-block-vmdk-Support-creation-of-SCSI.patch +++ b/0010-block-vmdk-Support-creation-of-SCSI.patch @@ -1,4 +1,4 @@ -From dd09a1efb9aaa88ea67b087046dda700fcc6fd78 Mon Sep 17 00:00:00 2001 +From 0c87155ccca56143a74019bf10233837920a6467 Mon Sep 17 00:00:00 2001 From: Ulrich Hecht Date: Tue, 14 Apr 2009 16:37:42 +0200 Subject: [PATCH] block/vmdk: Support creation of SCSI VMDK images in qemu-img @@ -21,12 +21,12 @@ Signed-off-by: Andreas Färber 4 files changed, 21 insertions(+), 1 deletion(-) diff --git a/block.c b/block.c -index d088ee0..fae98a4 100644 +index 3a7324b..ae06afb 100644 --- a/block.c +++ b/block.c -@@ -3871,6 +3871,9 @@ void bdrv_img_create(const char *filename, const char *fmt, +@@ -3682,6 +3682,9 @@ void bdrv_img_create(const char *filename, const char *fmt, if (!quiet) { - printf("Formatting '%s', fmt=%s", filename, fmt); + printf("Formatting '%s', fmt=%s ", filename, fmt); qemu_opts_print(opts, " "); + if (qemu_opt_get_bool(opts, BLOCK_OPT_SCSI, false)) { + printf(", SCSI"); @@ -35,10 +35,10 @@ index d088ee0..fae98a4 100644 } diff --git a/block/vmdk.c b/block/vmdk.c -index fbaab67..6029805 100644 +index 6f819e4..9944b17 100644 --- a/block/vmdk.c +++ b/block/vmdk.c -@@ -1845,9 +1845,12 @@ static int vmdk_create(const char *filename, QemuOpts *opts, Error **errp) +@@ -1852,9 +1852,12 @@ static int vmdk_create(const char *filename, QemuOpts *opts, Error **errp) if (qemu_opt_get_bool_del(opts, BLOCK_OPT_ZEROED_GRAIN, false)) { zeroed_grain = true; } @@ -52,7 +52,7 @@ index fbaab67..6029805 100644 } else if (strcmp(adapter_type, "ide") && strcmp(adapter_type, "buslogic") && strcmp(adapter_type, "lsilogic") && -@@ -2262,6 +2265,11 @@ static QemuOptsList vmdk_create_opts = { +@@ -2270,6 +2273,11 @@ static QemuOptsList vmdk_create_opts = { .help = "Enable efficient zero writes " "using the zeroed-grain GTE feature" }, @@ -65,10 +65,10 @@ index fbaab67..6029805 100644 } }; diff --git a/include/block/block_int.h b/include/block/block_int.h -index 14ad4c3..6843176 100644 +index 4012e36..5dcdca5 100644 --- a/include/block/block_int.h +++ b/include/block/block_int.h -@@ -39,10 +39,12 @@ +@@ -40,10 +40,12 @@ #define BLOCK_FLAG_ENCRYPT 1 #define BLOCK_FLAG_COMPAT6 4 #define BLOCK_FLAG_LAZY_REFCOUNTS 8 @@ -82,10 +82,10 @@ index 14ad4c3..6843176 100644 #define BLOCK_OPT_BACKING_FMT "backing_fmt" #define BLOCK_OPT_CLUSTER_SIZE "cluster_size" diff --git a/qemu-img.c b/qemu-img.c -index 75f4ee4..6610617 100644 +index 033011c..02e2dab 100644 --- a/qemu-img.c +++ b/qemu-img.c -@@ -1806,6 +1806,13 @@ static int img_convert(int argc, char **argv) +@@ -1805,6 +1805,13 @@ static int img_convert(int argc, char **argv) } } diff --git a/0011-linux-user-add-binfmt-wrapper-for-a.patch b/0011-linux-user-add-binfmt-wrapper-for-a.patch index 4cb9ce0b..cd2d5672 100644 --- a/0011-linux-user-add-binfmt-wrapper-for-a.patch +++ b/0011-linux-user-add-binfmt-wrapper-for-a.patch @@ -1,4 +1,4 @@ -From 3e9916744db0c1ed9d1a7f63c5d473b98db861ab Mon Sep 17 00:00:00 2001 +From c5622c7c69f393bc1f04f5855fa5ef79d4a2083d Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Fri, 30 Sep 2011 19:40:36 +0200 Subject: [PATCH] linux-user: add binfmt wrapper for argv[0] handling @@ -37,7 +37,7 @@ Signed-off-by: Andreas Färber create mode 100644 linux-user/binfmt.c diff --git a/Makefile.target b/Makefile.target -index 3e7aafd..8a84d6f 100644 +index 962d004..46f5178 100644 --- a/Makefile.target +++ b/Makefile.target @@ -36,6 +36,10 @@ endif @@ -51,7 +51,7 @@ index 3e7aafd..8a84d6f 100644 config-target.h: config-target.h-timestamp config-target.h-timestamp: config-target.mak -@@ -110,6 +114,8 @@ QEMU_CFLAGS+=-I$(SRC_PATH)/linux-user/$(TARGET_ABI_DIR) -I$(SRC_PATH)/linux-user +@@ -113,6 +117,8 @@ QEMU_CFLAGS+=-I$(SRC_PATH)/linux-user/$(TARGET_ABI_DIR) -I$(SRC_PATH)/linux-user obj-y += linux-user/ obj-y += gdbstub.o thunk.o user-exec.o @@ -60,7 +60,7 @@ index 3e7aafd..8a84d6f 100644 endif #CONFIG_LINUX_USER ######################################################### -@@ -158,7 +164,11 @@ endif # CONFIG_SOFTMMU +@@ -161,7 +167,11 @@ endif # CONFIG_SOFTMMU # Workaround for http://gcc.gnu.org/PR55489, see configure. %/translate.o: QEMU_CFLAGS += $(TRANSLATE_OPT_CFLAGS) @@ -72,7 +72,7 @@ index 3e7aafd..8a84d6f 100644 all-obj-y := $(obj-y) target-obj-y := -@@ -187,6 +197,9 @@ ifdef CONFIG_DARWIN +@@ -196,6 +206,9 @@ ifdef CONFIG_DARWIN $(call quiet-command,SetFile -a C $@," SETFILE $(TARGET_DIR)$@") endif diff --git a/0012-PPC-KVM-Disable-mmu-notifier-check.patch b/0012-PPC-KVM-Disable-mmu-notifier-check.patch index cd47d760..dd2b7b26 100644 --- a/0012-PPC-KVM-Disable-mmu-notifier-check.patch +++ b/0012-PPC-KVM-Disable-mmu-notifier-check.patch @@ -1,4 +1,4 @@ -From 2fc3bebad0110c2578f4db9e0f4dae1613000843 Mon Sep 17 00:00:00 2001 +From 4b4b134b43b0efae453be44dafe1459218ef176e Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Fri, 6 Jan 2012 01:05:55 +0100 Subject: [PATCH] PPC: KVM: Disable mmu notifier check @@ -13,10 +13,10 @@ KVM guests work there, even if possibly racy in some odd circumstances. 1 file changed, 2 insertions(+) diff --git a/exec.c b/exec.c -index 0a4a0c5..03054a8 100644 +index 0bf0a6e..79c3983 100644 --- a/exec.c +++ b/exec.c -@@ -1183,11 +1183,13 @@ static void *file_ram_alloc(RAMBlock *block, +@@ -1229,11 +1229,13 @@ static void *file_ram_alloc(RAMBlock *block, goto error; } @@ -28,5 +28,5 @@ index 0a4a0c5..03054a8 100644 } +#endif - /* Make name safe to use with mkstemp by replacing '/' with '_'. */ - sanitized_name = g_strdup(memory_region_name(block->mr)); + if (!stat(path, &st) && S_ISDIR(st.st_mode)) { + /* Make name safe to use with mkstemp by replacing '/' with '_'. */ diff --git a/0013-linux-user-fix-segfault-deadlock.patch b/0013-linux-user-fix-segfault-deadlock.patch index 4aed7f45..f88bb430 100644 --- a/0013-linux-user-fix-segfault-deadlock.patch +++ b/0013-linux-user-fix-segfault-deadlock.patch @@ -1,4 +1,4 @@ -From b3086c4600cb1e8aef85977566df8fee6a20a6a1 Mon Sep 17 00:00:00 2001 +From cce489197692907986c6fec5c089daf57d46b58b Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Fri, 13 Jan 2012 17:05:41 +0100 Subject: [PATCH] linux-user: fix segfault deadlock @@ -19,49 +19,23 @@ Example code to trigger this is at: http://csgraf.de/tmp/conftest.c Reported-by: Fabio Erculiani Signed-off-by: Alexander Graf +[AF: Drop spinlock_safe_unlock() and switch to tb_lock_reset() (bonzini)] Signed-off-by: Andreas Färber --- - include/exec/spinlock.h | 10 ++++++++++ - user-exec.c | 4 ++++ - 2 files changed, 14 insertions(+) + user-exec.c | 4 ++++ + 1 file changed, 4 insertions(+) -diff --git a/include/exec/spinlock.h b/include/exec/spinlock.h -index a72edda..e460e12 100644 ---- a/include/exec/spinlock.h -+++ b/include/exec/spinlock.h -@@ -24,6 +24,12 @@ - #include - #define spin_lock pthread_mutex_lock - #define spin_unlock pthread_mutex_unlock -+static inline void spin_unlock_safe(pthread_mutex_t *lock) -+{ -+ /* unlocking an unlocked mutex results in undefined behavior */ -+ pthread_mutex_trylock(lock); -+ pthread_mutex_unlock(lock); -+} - #define spinlock_t pthread_mutex_t - #define SPIN_LOCK_UNLOCKED PTHREAD_MUTEX_INITIALIZER - -@@ -46,4 +52,8 @@ static inline void spin_unlock(spinlock_t *lock) - { - } - -+static inline void spin_unlock_safe(spinlock_t *lock) -+{ -+} -+ - #endif diff --git a/user-exec.c b/user-exec.c -index ed9a07f..38f7baf 100644 +index 8ad89a4..02c5c3b 100644 --- a/user-exec.c +++ b/user-exec.c @@ -95,6 +95,10 @@ static inline int handle_cpu_signal(uintptr_t pc, unsigned long address, - qemu_printf("qemu: SIGSEGV pc=0x%08lx address=%08lx w=%d oldset=0x%08lx\n", - pc, address, is_write, *(unsigned long *)old_set); + printf("qemu: SIGSEGV pc=0x%08lx address=%08lx w=%d oldset=0x%08lx\n", + pc, address, is_write, *(unsigned long *)old_set); #endif + + /* Maybe we're still holding the TB fiddling lock? */ -+ spin_unlock_safe(&tcg_ctx.tb_ctx.tb_lock); ++ tb_lock_reset(); + /* XXX: locking issue */ if (is_write && h2g_valid(address) diff --git a/0014-linux-user-binfmt-support-host-bina.patch b/0014-linux-user-binfmt-support-host-bina.patch index 2c72c028..0475de03 100644 --- a/0014-linux-user-binfmt-support-host-bina.patch +++ b/0014-linux-user-binfmt-support-host-bina.patch @@ -1,4 +1,4 @@ -From 9d108fe88813ed9b5c04f27229c335e88d1ee0b5 Mon Sep 17 00:00:00 2001 +From 8cb8d78c1f37f758d87e8afa64dd6884f8f4af65 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Thu, 2 Feb 2012 18:02:33 +0100 Subject: [PATCH] linux-user: binfmt: support host binaries diff --git a/0015-linux-user-Ignore-broken-loop-ioctl.patch b/0015-linux-user-Ignore-broken-loop-ioctl.patch index 74b5b3d0..a80e5141 100644 --- a/0015-linux-user-Ignore-broken-loop-ioctl.patch +++ b/0015-linux-user-Ignore-broken-loop-ioctl.patch @@ -1,4 +1,4 @@ -From c09e4874d845ac6783be16bb560ef4a69f4e24bb Mon Sep 17 00:00:00 2001 +From c133a037638e8831f61352311a5acbd6241f184b Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Tue, 12 Jun 2012 04:41:10 +0200 Subject: [PATCH] linux-user: Ignore broken loop ioctl @@ -46,10 +46,10 @@ index 8974caa..810ae61 100644 #endif diff --git a/linux-user/syscall.c b/linux-user/syscall.c -index 42fad52..8abe4cd 100644 +index 6cdbd86..55dfcf9 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c -@@ -3894,6 +3894,13 @@ static abi_long do_ioctl_kdsigaccept(const IOCTLEntry *ie, uint8_t *buf_temp, +@@ -3899,6 +3899,13 @@ static abi_long do_ioctl_kdsigaccept(const IOCTLEntry *ie, uint8_t *buf_temp, return get_errno(ioctl(fd, ie->host_cmd, sig)); } @@ -64,10 +64,10 @@ index 42fad52..8abe4cd 100644 #define IOCTL(cmd, access, ...) \ { TARGET_ ## cmd, cmd, #cmd, access, 0, { __VA_ARGS__ } }, diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h -index e9f81f3..9fabee7 100644 +index c2baa9e..4f966b4 100644 --- a/linux-user/syscall_defs.h +++ b/linux-user/syscall_defs.h -@@ -1068,6 +1068,7 @@ struct target_pollfd { +@@ -1085,6 +1085,7 @@ struct target_pollfd { #define TARGET_LOOP_SET_STATUS64 0x4C04 #define TARGET_LOOP_GET_STATUS64 0x4C05 #define TARGET_LOOP_CHANGE_FD 0x4C06 diff --git a/0016-linux-user-lock-tcg.patch b/0016-linux-user-lock-tcg.patch index 2bfb919d..ad45be20 100644 --- a/0016-linux-user-lock-tcg.patch +++ b/0016-linux-user-lock-tcg.patch @@ -1,4 +1,4 @@ -From 66d948dc1ca00cf95af18a77f0db061f657956a9 Mon Sep 17 00:00:00 2001 +From 75fce0091f944eeda3edc005be834f26351cd61f Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Thu, 5 Jul 2012 17:31:39 +0200 Subject: [PATCH] linux-user: lock tcg @@ -12,15 +12,16 @@ different threads. Signed-off-by: Alexander Graf [AF: Rebased onto exec.c/translate-all.c split for 1.4] [AF: Rebased for v2.1.0-rc0] +[AF: Rebased onto tcg_gen_code_common() drop for v2.5.0-rc0] Signed-off-by: Andreas Färber --- linux-user/mmap.c | 3 +++ - tcg/tcg.c | 36 ++++++++++++++++++++++++++++++++++-- + tcg/tcg.c | 31 ++++++++++++++++++++++++++++++- tcg/tcg.h | 6 ++++++ - 3 files changed, 43 insertions(+), 2 deletions(-) + 3 files changed, 39 insertions(+), 1 deletion(-) diff --git a/linux-user/mmap.c b/linux-user/mmap.c -index 5fd32f1..38f1cdd 100644 +index 9f164de..691e63a 100644 --- a/linux-user/mmap.c +++ b/linux-user/mmap.c @@ -30,6 +30,7 @@ @@ -48,7 +49,7 @@ index 5fd32f1..38f1cdd 100644 } diff --git a/tcg/tcg.c b/tcg/tcg.c -index 0892a9b..f67c38c 100644 +index a163541..da174b9 100644 --- a/tcg/tcg.c +++ b/tcg/tcg.c @@ -39,6 +39,8 @@ @@ -60,7 +61,7 @@ index 0892a9b..f67c38c 100644 /* Note: the long term plan is to reduce the dependencies on the QEMU CPU definitions. Currently they are used for qemu_ld/st -@@ -123,6 +125,29 @@ const size_t tcg_op_defs_max = ARRAY_SIZE(tcg_op_defs); +@@ -117,6 +119,29 @@ static void tcg_out_tb_finalize(TCGContext *s); static TCGRegSet tcg_target_available_regs[2]; static TCGRegSet tcg_target_call_clobber_regs; @@ -90,7 +91,7 @@ index 0892a9b..f67c38c 100644 #if TCG_TARGET_INSN_UNIT_SIZE == 1 static __attribute__((unused)) inline void tcg_out8(TCGContext *s, uint8_t v) { -@@ -333,7 +358,8 @@ void tcg_context_init(TCGContext *s) +@@ -327,7 +352,8 @@ void tcg_context_init(TCGContext *s) memset(s, 0, sizeof(*s)); s->nb_globals = 0; @@ -100,12 +101,23 @@ index 0892a9b..f67c38c 100644 /* Count total number of arguments and allocate the corresponding space */ total_args = 0; -@@ -2422,10 +2448,12 @@ int tcg_gen_code(TCGContext *s, tcg_insn_unit *gen_code_buf) +@@ -2345,6 +2371,7 @@ int tcg_gen_code(TCGContext *s, tcg_insn_unit *gen_code_buf) + qemu_log("\n"); } #endif - + tcg_lock(); - tcg_gen_code_common(s, gen_code_buf, -1); + + #ifdef CONFIG_PROFILER + s->opt_time -= profile_getclock(); +@@ -2448,6 +2475,7 @@ int tcg_gen_code(TCGContext *s, tcg_insn_unit *gen_code_buf) + the buffer completely. Thus we can test for overflow after + generating code without having to check during generation. */ + if (unlikely((void *)s->code_ptr > s->code_gen_highwater)) { ++ tcg_unlock(); + return -1; + } + } +@@ -2459,6 +2487,7 @@ int tcg_gen_code(TCGContext *s, tcg_insn_unit *gen_code_buf) /* flush instruction cache */ flush_icache_range((uintptr_t)s->code_buf, (uintptr_t)s->code_ptr); @@ -113,21 +125,8 @@ index 0892a9b..f67c38c 100644 return tcg_current_code_size(s); } -@@ -2437,7 +2465,11 @@ int tcg_gen_code(TCGContext *s, tcg_insn_unit *gen_code_buf) - int tcg_gen_code_search_pc(TCGContext *s, tcg_insn_unit *gen_code_buf, - long offset) - { -- return tcg_gen_code_common(s, gen_code_buf, offset); -+ int r; -+ tcg_lock(); -+ r = tcg_gen_code_common(s, gen_code_buf, offset); -+ tcg_unlock(); -+ return r; - } - - #ifdef CONFIG_PROFILER diff --git a/tcg/tcg.h b/tcg/tcg.h -index 231a781..e0806f9 100644 +index a696922..da22788 100644 --- a/tcg/tcg.h +++ b/tcg/tcg.h @@ -27,6 +27,7 @@ @@ -138,16 +137,16 @@ index 231a781..e0806f9 100644 #include "tcg-target.h" #define CPU_TEMP_BUF_NLONGS 128 -@@ -572,6 +573,8 @@ struct TCGContext { - target_ulong gen_opc_pc[OPC_BUF_SIZE]; - uint16_t gen_opc_icount[OPC_BUF_SIZE]; - uint8_t gen_opc_instr_start[OPC_BUF_SIZE]; +@@ -581,6 +582,8 @@ struct TCGContext { + + uint16_t gen_insn_end_off[TCG_MAX_INSNS]; + target_ulong gen_insn_data[TCG_MAX_INSNS][TARGET_INSN_START_WORDS]; + + QemuMutex lock; }; extern TCGContext tcg_ctx; -@@ -760,6 +763,9 @@ void tcg_gen_callN(TCGContext *s, void *func, +@@ -771,6 +774,9 @@ void tcg_gen_callN(TCGContext *s, void *func, void tcg_op_remove(TCGContext *s, TCGOp *op); void tcg_optimize(TCGContext *s); diff --git a/0017-linux-user-Run-multi-threaded-code-.patch b/0017-linux-user-Run-multi-threaded-code-.patch index 90d33ac9..2ec80213 100644 --- a/0017-linux-user-Run-multi-threaded-code-.patch +++ b/0017-linux-user-Run-multi-threaded-code-.patch @@ -1,4 +1,4 @@ -From bb2c2983421cc2b39cd7174f9bfdbb0376d5fcb9 Mon Sep 17 00:00:00 2001 +From e5315d304cfd3d5398576a5c6f3fed541b775bc8 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Tue, 10 Jul 2012 20:40:55 +0200 Subject: [PATCH] linux-user: Run multi-threaded code on a single core @@ -19,10 +19,10 @@ Signed-off-by: Alexander Graf 1 file changed, 9 insertions(+) diff --git a/linux-user/syscall.c b/linux-user/syscall.c -index 8abe4cd..72701d4 100644 +index 55dfcf9..aa21cb6 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c -@@ -4599,6 +4599,15 @@ static int do_fork(CPUArchState *env, unsigned int flags, abi_ulong newsp, +@@ -4604,6 +4604,15 @@ static int do_fork(CPUArchState *env, unsigned int flags, abi_ulong newsp, if (nptl_flags & CLONE_SETTLS) cpu_set_tls (new_env, newtls); diff --git a/0018-linux-user-lock-tb-flushing-too.patch b/0018-linux-user-lock-tb-flushing-too.patch index 52b9f44b..c059e47a 100644 --- a/0018-linux-user-lock-tb-flushing-too.patch +++ b/0018-linux-user-lock-tb-flushing-too.patch @@ -1,4 +1,4 @@ -From 996083e51b49804d7d9b6fa8c0daa6b2a68fbfee Mon Sep 17 00:00:00 2001 +From 0ca59d2290fa0a06cf51a159549461ab0b71bf5e Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Wed, 11 Jul 2012 16:47:42 +0200 Subject: [PATCH] linux-user: lock tb flushing too @@ -8,23 +8,22 @@ Content-Transfer-Encoding: 8bit Signed-off-by: Alexander Graf [AF: Rebased onto exec.c/translate-all.c split for 1.4] +[AF: Rebased onto tb_alloc() changes for v2.5.0-rc0] Signed-off-by: Andreas Färber --- translate-all.c | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/translate-all.c b/translate-all.c -index 60a3d8b..6de63cd 100644 +index 042a857..8d0d1a6 100644 --- a/translate-all.c +++ b/translate-all.c -@@ -705,19 +705,23 @@ static TranslationBlock *tb_alloc(target_ulong pc) +@@ -767,17 +767,21 @@ static TranslationBlock *tb_alloc(target_ulong pc) { TranslationBlock *tb; + tcg_lock(); - if (tcg_ctx.tb_ctx.nb_tbs >= tcg_ctx.code_gen_max_blocks || - (tcg_ctx.code_gen_ptr - tcg_ctx.code_gen_buffer) >= - tcg_ctx.code_gen_buffer_max_size) { + if (tcg_ctx.tb_ctx.nb_tbs >= tcg_ctx.code_gen_max_blocks) { + tcg_unlock(); return NULL; } @@ -41,7 +40,7 @@ index 60a3d8b..6de63cd 100644 /* In practice this is mostly used for single use temporary TB Ignore the hard cases and just back up if this TB happens to be the last one generated. */ -@@ -726,6 +730,7 @@ void tb_free(TranslationBlock *tb) +@@ -786,6 +790,7 @@ void tb_free(TranslationBlock *tb) tcg_ctx.code_gen_ptr = tb->tc_ptr; tcg_ctx.tb_ctx.nb_tbs--; } @@ -49,7 +48,7 @@ index 60a3d8b..6de63cd 100644 } static inline void invalidate_page_bitmap(PageDesc *p) -@@ -781,6 +786,7 @@ void tb_flush(CPUState *cpu) +@@ -839,6 +844,7 @@ void tb_flush(CPUState *cpu) ((unsigned long)(tcg_ctx.code_gen_ptr - tcg_ctx.code_gen_buffer)) / tcg_ctx.tb_ctx.nb_tbs : 0); #endif @@ -57,7 +56,7 @@ index 60a3d8b..6de63cd 100644 if ((unsigned long)(tcg_ctx.code_gen_ptr - tcg_ctx.code_gen_buffer) > tcg_ctx.code_gen_buffer_size) { cpu_abort(cpu, "Internal error: code buffer overflow\n"); -@@ -798,6 +804,7 @@ void tb_flush(CPUState *cpu) +@@ -856,6 +862,7 @@ void tb_flush(CPUState *cpu) /* XXX: flush processor icache at this point if cache flush is expensive */ tcg_ctx.tb_ctx.tb_flush_count++; @@ -65,7 +64,7 @@ index 60a3d8b..6de63cd 100644 } #ifdef DEBUG_TB_CHECK -@@ -1079,8 +1086,10 @@ void tb_invalidate_phys_page_range(tb_page_addr_t start, tb_page_addr_t end, +@@ -1212,8 +1219,10 @@ void tb_invalidate_phys_page_range(tb_page_addr_t start, tb_page_addr_t end, int current_flags = 0; #endif /* TARGET_HAS_PRECISE_SMC */ @@ -76,7 +75,7 @@ index 60a3d8b..6de63cd 100644 return; } #if defined(TARGET_HAS_PRECISE_SMC) -@@ -1165,6 +1174,7 @@ void tb_invalidate_phys_page_range(tb_page_addr_t start, tb_page_addr_t end, +@@ -1298,6 +1307,7 @@ void tb_invalidate_phys_page_range(tb_page_addr_t start, tb_page_addr_t end, cpu_resume_from_signal(cpu, NULL); } #endif @@ -84,7 +83,7 @@ index 60a3d8b..6de63cd 100644 } /* len must be <= 8 and start must be a multiple of len */ -@@ -1379,13 +1389,16 @@ static TranslationBlock *tb_find_pc(uintptr_t tc_ptr) +@@ -1515,13 +1525,16 @@ static TranslationBlock *tb_find_pc(uintptr_t tc_ptr) { int m_min, m_max, m; uintptr_t v; @@ -102,7 +101,7 @@ index 60a3d8b..6de63cd 100644 return NULL; } /* binary search (cf Knuth) */ -@@ -1396,6 +1409,7 @@ static TranslationBlock *tb_find_pc(uintptr_t tc_ptr) +@@ -1532,6 +1545,7 @@ static TranslationBlock *tb_find_pc(uintptr_t tc_ptr) tb = &tcg_ctx.tb_ctx.tbs[m]; v = (uintptr_t)tb->tc_ptr; if (v == tc_ptr) { @@ -110,7 +109,7 @@ index 60a3d8b..6de63cd 100644 return tb; } else if (tc_ptr < v) { m_max = m - 1; -@@ -1403,7 +1417,9 @@ static TranslationBlock *tb_find_pc(uintptr_t tc_ptr) +@@ -1539,7 +1553,9 @@ static TranslationBlock *tb_find_pc(uintptr_t tc_ptr) m_min = m + 1; } } diff --git a/0019-linux-user-Fake-proc-cpuinfo.patch b/0019-linux-user-Fake-proc-cpuinfo.patch index 9b4f9636..6f1bddc9 100644 --- a/0019-linux-user-Fake-proc-cpuinfo.patch +++ b/0019-linux-user-Fake-proc-cpuinfo.patch @@ -1,4 +1,4 @@ -From a592905fec06b408000a34046a6e70095214d955 Mon Sep 17 00:00:00 2001 +From 6c8981399b1933011bb178f91d0bf91907d0ab8a Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Mon, 23 Jul 2012 10:24:14 +0200 Subject: [PATCH] linux-user: Fake /proc/cpuinfo @@ -22,10 +22,10 @@ Signed-off-by: Andreas Färber 1 file changed, 20 insertions(+) diff --git a/linux-user/syscall.c b/linux-user/syscall.c -index 72701d4..39dd818 100644 +index aa21cb6..8995968 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c -@@ -5420,6 +5420,25 @@ static int open_self_stat(void *cpu_env, int fd) +@@ -5513,6 +5513,25 @@ static int open_self_stat(void *cpu_env, int fd) return 0; } @@ -51,7 +51,7 @@ index 72701d4..39dd818 100644 static int open_self_auxv(void *cpu_env, int fd) { CPUState *cpu = ENV_GET_CPU((CPUArchState *)cpu_env); -@@ -5534,6 +5553,7 @@ static int do_openat(void *cpu_env, int dirfd, const char *pathname, int flags, +@@ -5627,6 +5646,7 @@ static int do_openat(void *cpu_env, int dirfd, const char *pathname, int flags, #if defined(HOST_WORDS_BIGENDIAN) != defined(TARGET_WORDS_BIGENDIAN) { "/proc/net/route", open_net_route, is_proc }, #endif diff --git a/0020-linux-user-implement-FS_IOC_GETFLAG.patch b/0020-linux-user-implement-FS_IOC_GETFLAG.patch index 6836656d..fd6afbf3 100644 --- a/0020-linux-user-implement-FS_IOC_GETFLAG.patch +++ b/0020-linux-user-implement-FS_IOC_GETFLAG.patch @@ -1,4 +1,4 @@ -From e5e97946c33a9f96bf2690ef725879412d40b57d Mon Sep 17 00:00:00 2001 +From 58cee188a6c2a532d7a34494393969b364d6d3e8 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Mon, 20 Aug 2012 00:02:52 +0200 Subject: [PATCH] linux-user: implement FS_IOC_GETFLAGS ioctl @@ -28,10 +28,10 @@ index c180faf..8650a70 100644 IOCTL(SIOCATMARK, 0, TYPE_NULL) IOCTL(SIOCGIFNAME, IOC_RW, MK_PTR(TYPE_INT)) diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h -index 9fabee7..c8e47cf 100644 +index 4f966b4..817defd 100644 --- a/linux-user/syscall_defs.h +++ b/linux-user/syscall_defs.h -@@ -2436,6 +2436,8 @@ struct target_f_owner_ex { +@@ -2455,6 +2455,8 @@ struct target_f_owner_ex { #define TARGET_MTIOCGET TARGET_IOR('m', 2, struct mtget) #define TARGET_MTIOCPOS TARGET_IOR('m', 3, struct mtpos) diff --git a/0021-linux-user-implement-FS_IOC_SETFLAG.patch b/0021-linux-user-implement-FS_IOC_SETFLAG.patch index 5d907f3e..f6ab6de2 100644 --- a/0021-linux-user-implement-FS_IOC_SETFLAG.patch +++ b/0021-linux-user-implement-FS_IOC_SETFLAG.patch @@ -1,4 +1,4 @@ -From 11b3d0e15103565ed1f80e31033f4b8e2ebb456f Mon Sep 17 00:00:00 2001 +From c0a3dcdbf263dc193d4337056c3f3a157f8b7d33 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Mon, 20 Aug 2012 00:07:13 +0200 Subject: [PATCH] linux-user: implement FS_IOC_SETFLAGS ioctl @@ -28,10 +28,10 @@ index 8650a70..f9f7c83 100644 IOCTL(SIOCATMARK, 0, TYPE_NULL) IOCTL(SIOCGIFNAME, IOC_RW, MK_PTR(TYPE_INT)) diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h -index c8e47cf..1a8816d 100644 +index 817defd..367eac1 100644 --- a/linux-user/syscall_defs.h +++ b/linux-user/syscall_defs.h -@@ -2437,6 +2437,7 @@ struct target_f_owner_ex { +@@ -2456,6 +2456,7 @@ struct target_f_owner_ex { #define TARGET_MTIOCPOS TARGET_IOR('m', 3, struct mtpos) #define TARGET_FS_IOC_GETFLAGS TARGET_IORU('f', 1) diff --git a/0022-linux-user-XXX-disable-fiemap.patch b/0022-linux-user-XXX-disable-fiemap.patch index 832f8d19..410bc154 100644 --- a/0022-linux-user-XXX-disable-fiemap.patch +++ b/0022-linux-user-XXX-disable-fiemap.patch @@ -1,4 +1,4 @@ -From 12eee45e1110866da047697a46425754c77b2039 Mon Sep 17 00:00:00 2001 +From 588f5e97ffbb3e072053fc5f39eb0411663800c6 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Tue, 21 Aug 2012 14:20:40 +0200 Subject: [PATCH] linux-user: XXX disable fiemap @@ -9,10 +9,10 @@ agraf: fiemap breaks in libarchive. Disable it for now. 1 file changed, 5 insertions(+) diff --git a/linux-user/syscall.c b/linux-user/syscall.c -index 39dd818..5bd6f55 100644 +index 8995968..f7e57a6 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c -@@ -3389,6 +3389,11 @@ static abi_long do_ioctl_fs_ioc_fiemap(const IOCTLEntry *ie, uint8_t *buf_temp, +@@ -3394,6 +3394,11 @@ static abi_long do_ioctl_fs_ioc_fiemap(const IOCTLEntry *ie, uint8_t *buf_temp, uint32_t outbufsz; int free_fm = 0; diff --git a/0023-slirp-nooutgoing.patch b/0023-slirp-nooutgoing.patch index 67fe5910..8c987bc3 100644 --- a/0023-slirp-nooutgoing.patch +++ b/0023-slirp-nooutgoing.patch @@ -1,4 +1,4 @@ -From 872dda04d480ab7c04830ae7297319ae52d03f65 Mon Sep 17 00:00:00 2001 +From 0f901ac5dba327c1c988bf7eb7b30bf002446bd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Wed, 29 Aug 2012 18:42:56 +0200 Subject: [PATCH] slirp: -nooutgoing @@ -12,10 +12,10 @@ TBD (from SUSE Studio team) 4 files changed, 40 insertions(+) diff --git a/qemu-options.hx b/qemu-options.hx -index 77f5853..fed72b0 100644 +index 0eea4ee..32a68e4 100644 --- a/qemu-options.hx +++ b/qemu-options.hx -@@ -2915,6 +2915,16 @@ Store the QEMU process PID in @var{file}. It is useful if you launch QEMU +@@ -2949,6 +2949,16 @@ Store the QEMU process PID in @var{file}. It is useful if you launch QEMU from a script. ETEXI @@ -33,7 +33,7 @@ index 77f5853..fed72b0 100644 "-singlestep always run in singlestep mode\n", QEMU_ARCH_ALL) STEXI diff --git a/slirp/socket.c b/slirp/socket.c -index 37ac5cf..b64baff 100644 +index 1673e3a..a177ab0 100644 --- a/slirp/socket.c +++ b/slirp/socket.c @@ -532,6 +532,8 @@ sorecvfrom(struct socket *so) @@ -59,7 +59,7 @@ index 37ac5cf..b64baff 100644 ret = sendto(so->s, m->m_data, m->m_len, 0, (struct sockaddr *)&addr, sizeof (struct sockaddr)); diff --git a/slirp/tcp_subr.c b/slirp/tcp_subr.c -index 7571c5a..0555e18 100644 +index e161ed2..d0e29e0 100644 --- a/slirp/tcp_subr.c +++ b/slirp/tcp_subr.c @@ -324,6 +324,9 @@ tcp_sockclosed(struct tcpcb *tp) @@ -74,7 +74,7 @@ index 7571c5a..0555e18 100644 Slirp *slirp = so->slirp; @@ -332,6 +335,11 @@ int tcp_fconnect(struct socket *so) DEBUG_CALL("tcp_fconnect"); - DEBUG_ARG("so = %lx", (long )so); + DEBUG_ARG("so = %p", so); + if (slirp_nooutgoing) { + errno = EHOSTUNREACH; @@ -97,10 +97,10 @@ index 7571c5a..0555e18 100644 socket_set_fast_reuse(s); opt = 1; diff --git a/vl.c b/vl.c -index 0adbbd6..f876c0b 100644 +index 4211ff1..d5250b6 100644 --- a/vl.c +++ b/vl.c -@@ -165,6 +165,7 @@ int smp_threads = 1; +@@ -167,6 +167,7 @@ int smp_threads = 1; int acpi_enabled = 1; int no_hpet = 0; int fd_bootchk = 1; @@ -108,7 +108,7 @@ index 0adbbd6..f876c0b 100644 static int no_reboot; int no_shutdown = 0; int cursor_hide = 1; -@@ -3366,6 +3367,14 @@ int main(int argc, char **argv, char **envp) +@@ -3385,6 +3386,14 @@ int main(int argc, char **argv, char **envp) case QEMU_OPTION_singlestep: singlestep = 1; break; diff --git a/0024-vnc-password-file-and-incoming-conn.patch b/0024-vnc-password-file-and-incoming-conn.patch index 7fd7fb3b..579fce17 100644 --- a/0024-vnc-password-file-and-incoming-conn.patch +++ b/0024-vnc-password-file-and-incoming-conn.patch @@ -1,4 +1,4 @@ -From e6f0d75af33e57a766e9d21333a55b981f374d4d Mon Sep 17 00:00:00 2001 +From dcdb06da7c0233d7532ebb281e79d9a57231311b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Wed, 29 Aug 2012 20:06:01 +0200 Subject: [PATCH] vnc: password-file= and incoming-connections= @@ -9,10 +9,10 @@ TBD (from SUSE Studio team) 1 file changed, 55 insertions(+) diff --git a/ui/vnc.c b/ui/vnc.c -index e26973a..1545e9b 100644 +index cbe4d33..36cd143 100644 --- a/ui/vnc.c +++ b/ui/vnc.c -@@ -54,6 +54,8 @@ static const struct timeval VNC_REFRESH_LOSSY = { 2, 0 }; +@@ -57,6 +57,8 @@ static const struct timeval VNC_REFRESH_LOSSY = { 2, 0 }; static QTAILQ_HEAD(, VncDisplay) vnc_displays = QTAILQ_HEAD_INITIALIZER(vnc_displays); @@ -21,7 +21,7 @@ index e26973a..1545e9b 100644 static int vnc_cursor_define(VncState *vs); static void vnc_release_modifiers(VncState *vs); -@@ -1220,6 +1222,7 @@ static void vnc_disconnect_start(VncState *vs) +@@ -1223,6 +1225,7 @@ static void vnc_disconnect_start(VncState *vs) void vnc_disconnect_finish(VncState *vs) { int i; @@ -29,7 +29,7 @@ index e26973a..1545e9b 100644 vnc_jobs_join(vs); /* Wait encoding jobs */ -@@ -1266,6 +1269,13 @@ void vnc_disconnect_finish(VncState *vs) +@@ -1271,6 +1274,13 @@ void vnc_disconnect_finish(VncState *vs) } g_free(vs->lossy_rect); g_free(vs); @@ -42,8 +42,8 @@ index e26973a..1545e9b 100644 + } } - int vnc_client_io_error(VncState *vs, int ret, int last_errno) -@@ -3233,6 +3243,39 @@ char *vnc_display_local_addr(const char *id) + ssize_t vnc_client_io_error(VncState *vs, ssize_t ret, int last_errno) +@@ -3268,6 +3278,39 @@ char *vnc_display_local_addr(const char *id) return vnc_socket_local_addr("%s:%s", vs->lsock); } @@ -83,7 +83,7 @@ index e26973a..1545e9b 100644 static QemuOptsList qemu_vnc_opts = { .name = "vnc", .head = QTAILQ_HEAD_INITIALIZER(qemu_vnc_opts.head), -@@ -3260,6 +3303,9 @@ static QemuOptsList qemu_vnc_opts = { +@@ -3299,6 +3342,9 @@ static QemuOptsList qemu_vnc_opts = { .name = "connections", .type = QEMU_OPT_NUMBER, },{ @@ -93,7 +93,7 @@ index e26973a..1545e9b 100644 .name = "to", .type = QEMU_OPT_NUMBER, },{ -@@ -3272,6 +3318,9 @@ static QemuOptsList qemu_vnc_opts = { +@@ -3311,6 +3357,9 @@ static QemuOptsList qemu_vnc_opts = { .name = "password", .type = QEMU_OPT_BOOL, },{ @@ -103,15 +103,15 @@ index e26973a..1545e9b 100644 .name = "reverse", .type = QEMU_OPT_BOOL, },{ -@@ -3436,6 +3485,7 @@ void vnc_display_open(const char *id, Error **errp) +@@ -3544,6 +3593,7 @@ void vnc_display_open(const char *id, Error **errp) const char *share, *device_id; QemuConsole *con; bool password = false; + const char *password_file; bool reverse = false; const char *vnc; - const char *has_to; -@@ -3524,6 +3574,10 @@ void vnc_display_open(const char *id, Error **errp) + char *h; +@@ -3662,6 +3712,10 @@ void vnc_display_open(const char *id, Error **errp) goto fail; } } @@ -122,11 +122,11 @@ index e26973a..1545e9b 100644 reverse = qemu_opt_get_bool(opts, "reverse", false); lock_key_sync = qemu_opt_get_bool(opts, "lock-key-sync", true); -@@ -3577,6 +3631,7 @@ void vnc_display_open(const char *id, Error **errp) +@@ -3750,6 +3804,7 @@ void vnc_display_open(const char *id, Error **errp) vs->share_policy = VNC_SHARE_POLICY_ALLOW_EXCLUSIVE; } vs->connections_limit = qemu_opt_get_number(opts, "connections", 32); + allowed_connections = qemu_opt_get_number(opts, "allowed-connections", 0); - websocket = qemu_opt_get(opts, "websocket"); - if (websocket) { + #ifdef CONFIG_VNC_JPEG + vs->lossy = qemu_opt_get_bool(opts, "lossy", false); diff --git a/0025-linux-user-add-more-blk-ioctls.patch b/0025-linux-user-add-more-blk-ioctls.patch index a3c62501..da292b56 100644 --- a/0025-linux-user-add-more-blk-ioctls.patch +++ b/0025-linux-user-add-more-blk-ioctls.patch @@ -1,4 +1,4 @@ -From 41e679783a244ca0ea1963e55bd3da5b9a966f24 Mon Sep 17 00:00:00 2001 +From ea1a1506d303f1ae4ad584c2dfb21c92c42970f6 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Wed, 10 Oct 2012 10:21:20 +0200 Subject: [PATCH] linux-user: add more blk ioctls @@ -42,10 +42,10 @@ index f9f7c83..8eb4446 100644 IOCTL(BLKRASET, 0, TYPE_INT) IOCTL(BLKRAGET, IOC_R, MK_PTR(TYPE_LONG)) diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h -index 1a8816d..f3ac211 100644 +index 367eac1..ca14909 100644 --- a/linux-user/syscall_defs.h +++ b/linux-user/syscall_defs.h -@@ -937,6 +937,12 @@ struct target_pollfd { +@@ -954,6 +954,12 @@ struct target_pollfd { #define TARGET_BLKGETSIZE64 TARGET_IOR(0x12,114,abi_ulong) /* return device size in bytes (u64 *arg) */ diff --git a/0026-linux-user-use-target_ulong.patch b/0026-linux-user-use-target_ulong.patch index 5a1419a2..a7ec93db 100644 --- a/0026-linux-user-use-target_ulong.patch +++ b/0026-linux-user-use-target_ulong.patch @@ -1,4 +1,4 @@ -From 72d795a02ff3fac05afef692938ab2ec12176795 Mon Sep 17 00:00:00 2001 +From 436e643f2f17bac815c7ec7315e0758b22f10fb4 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Tue, 9 Oct 2012 09:06:49 +0200 Subject: [PATCH] linux-user: use target_ulong @@ -17,10 +17,10 @@ Signed-off-by: Alexander Graf 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/linux-user/qemu.h b/linux-user/qemu.h -index e29c7f3..75b6558 100644 +index ea9c98d..a9e77d0 100644 --- a/linux-user/qemu.h +++ b/linux-user/qemu.h -@@ -190,10 +190,10 @@ abi_long memcpy_to_target(abi_ulong dest, const void *src, +@@ -181,10 +181,10 @@ abi_long memcpy_to_target(abi_ulong dest, const void *src, void target_set_brk(abi_ulong new_brk); abi_long do_brk(abi_ulong new_brk); void syscall_init(void); @@ -36,10 +36,10 @@ index e29c7f3..75b6558 100644 extern THREAD CPUState *thread_cpu; void cpu_loop(CPUArchState *env); diff --git a/linux-user/syscall.c b/linux-user/syscall.c -index 5bd6f55..8016256 100644 +index f7e57a6..2db566c 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c -@@ -5706,10 +5706,10 @@ int syscall_restartable(int syscall_nr) +@@ -5799,10 +5799,10 @@ int syscall_restartable(int syscall_nr) /* do_syscall() should always have a single exit point at the end so that actions, such as logging of syscall results, can be performed. All errnos that do_syscall() returns must be -TARGET_. */ diff --git a/0027-block-Add-support-for-DictZip-enabl.patch b/0027-block-Add-support-for-DictZip-enabl.patch index b6f56c6b..a8815d63 100644 --- a/0027-block-Add-support-for-DictZip-enabl.patch +++ b/0027-block-Add-support-for-DictZip-enabl.patch @@ -1,4 +1,4 @@ -From 3058cb28a3852a02ef20cb5fa6e17f89880bd2cb Mon Sep 17 00:00:00 2001 +From 6d0d71e8215d2273663a3ddb44cad3e24ed3ad35 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Wed, 5 Aug 2009 09:49:37 +0200 Subject: [PATCH] block: Add support for DictZip enabled gzip files @@ -34,6 +34,7 @@ Signed-off-by: Tim Hardeck qemu_aio_release() -> qemu_aio_unref(), drop dictzip_aio_cancel()] [AF: common-obj-y -> block-obj-y, drop probe hook (bsc#945778)] +[AF: Drop bdrv_open() drv parameter for 2.5] Signed-off-by: Andreas Färber --- block/Makefile.objs | 1 + @@ -55,7 +56,7 @@ index 58ef2ef..c7b9294 100644 diff --git a/block/dictzip.c b/block/dictzip.c new file mode 100644 -index 0000000..1824971 +index 0000000..728d5b4 --- /dev/null +++ b/block/dictzip.c @@ -0,0 +1,578 @@ @@ -242,7 +243,7 @@ index 0000000..1824971 + else if (!strncmp(filename, "dzip:", 5)) + filename += 5; + -+ ret = bdrv_open(&s->hd, filename, NULL, NULL, flags | BDRV_O_PROTOCOL, NULL, &local_err); ++ ret = bdrv_open(&s->hd, filename, NULL, NULL, flags | BDRV_O_PROTOCOL, &local_err); + if (ret < 0) { + error_propagate(errp, local_err); + qemu_opts_del(opts); diff --git a/0028-block-Add-tar-container-format.patch b/0028-block-Add-tar-container-format.patch index 0980ad42..053033cc 100644 --- a/0028-block-Add-tar-container-format.patch +++ b/0028-block-Add-tar-container-format.patch @@ -1,4 +1,4 @@ -From 6492e67a4633bac8d339a8dd171a4560d9b0db6d Mon Sep 17 00:00:00 2001 +From ba2b8bb664ae784303710caa916066c313510755 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Wed, 5 Aug 2009 17:28:38 +0200 Subject: [PATCH] block: Add tar container format @@ -35,6 +35,7 @@ Signed-off-by: Tim Hardeck qemu_aio_release() -> qemu_aio_unref(), drop tar_aio_cancel()] [AF: common-obj-y -> block-obj-y, drop probe hook (bsc#945778)] +[AF: Drop bdrv_open() drv parameter for 2.5] Signed-off-by: Andreas Färber --- block/Makefile.objs | 1 + @@ -56,7 +57,7 @@ index c7b9294..0a4b697 100644 diff --git a/block/tar.c b/block/tar.c new file mode 100644 -index 0000000..e612db3 +index 0000000..34dc57c --- /dev/null +++ b/block/tar.c @@ -0,0 +1,368 @@ @@ -241,7 +242,7 @@ index 0000000..e612db3 + else if (!strncmp(filename, "tar:", 4)) + filename += 4; + -+ ret = bdrv_open(&s->hd, filename, NULL, NULL, flags | BDRV_O_PROTOCOL, NULL, &local_err); ++ ret = bdrv_open(&s->hd, filename, NULL, NULL, flags | BDRV_O_PROTOCOL, &local_err); + if (ret < 0) { + error_propagate(errp, local_err); + qemu_opts_del(opts); diff --git a/0029-Legacy-Patch-kvm-qemu-preXX-dictzip.patch b/0029-Legacy-Patch-kvm-qemu-preXX-dictzip.patch index ee024a38..965a96e0 100644 --- a/0029-Legacy-Patch-kvm-qemu-preXX-dictzip.patch +++ b/0029-Legacy-Patch-kvm-qemu-preXX-dictzip.patch @@ -1,4 +1,4 @@ -From d893ae81b781a53bac6ee988bed2f32453dec3a7 Mon Sep 17 00:00:00 2001 +From fc62b8b5778e4f68993b7a1a58a555838ec57b62 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Wed, 12 Dec 2012 19:11:30 +0100 Subject: [PATCH] Legacy Patch kvm-qemu-preXX-dictzip3.patch @@ -8,7 +8,7 @@ Subject: [PATCH] Legacy Patch kvm-qemu-preXX-dictzip3.patch 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/block/tar.c b/block/tar.c -index e612db3..654fcf7 100644 +index 34dc57c..cade8ab 100644 --- a/block/tar.c +++ b/block/tar.c @@ -71,7 +71,8 @@ static int str_ends(char *str, const char *end) diff --git a/0030-console-add-question-mark-escape-op.patch b/0030-console-add-question-mark-escape-op.patch index 348f7f9b..70989b92 100644 --- a/0030-console-add-question-mark-escape-op.patch +++ b/0030-console-add-question-mark-escape-op.patch @@ -1,4 +1,4 @@ -From 9ff792a6d58e3966c94dc22167d956df1756aa14 Mon Sep 17 00:00:00 2001 +From dff9e68c25df66cf1520415ea70f51c3068dc2c2 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Mon, 6 Jun 2011 06:53:52 +0200 Subject: [PATCH] console: add question-mark escape operator @@ -16,10 +16,10 @@ Signed-off-by: Alexander Graf 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/console.c b/ui/console.c -index 75fc492..827b91e 100644 +index 745c354..d66a9ac 100644 --- a/ui/console.c +++ b/ui/console.c -@@ -854,7 +854,7 @@ static void console_putchar(QemuConsole *s, int ch) +@@ -855,7 +855,7 @@ static void console_putchar(QemuConsole *s, int ch) } else { if (s->nb_esc_params < MAX_ESC_PARAMS) s->nb_esc_params++; diff --git a/0031-Make-char-muxer-more-robust-wrt-sma.patch b/0031-Make-char-muxer-more-robust-wrt-sma.patch index 48faef9b..06ed4686 100644 --- a/0031-Make-char-muxer-more-robust-wrt-sma.patch +++ b/0031-Make-char-muxer-more-robust-wrt-sma.patch @@ -1,4 +1,4 @@ -From 3de38631531f91c85e910e961978a77bd1ef842f Mon Sep 17 00:00:00 2001 +From 199c13d0611ca730dcba1784cd4d6da9172a5413 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Thu, 1 Apr 2010 17:36:23 +0200 Subject: [PATCH] Make char muxer more robust wrt small FIFOs @@ -22,10 +22,10 @@ This patch fixes input when using -nographic on s390 for me. 1 file changed, 16 insertions(+) diff --git a/qemu-char.c b/qemu-char.c -index d956f8d..cd301ba 100644 +index 2969c44..9a32d09 100644 --- a/qemu-char.c +++ b/qemu-char.c -@@ -404,6 +404,9 @@ typedef struct { +@@ -381,6 +381,9 @@ typedef struct { IOEventHandler *chr_event[MAX_MUX]; void *ext_opaque[MAX_MUX]; CharDriverState *drv; @@ -35,7 +35,7 @@ index d956f8d..cd301ba 100644 int focus; int mux_cnt; int term_got_escape; -@@ -563,6 +566,15 @@ static void mux_chr_accept_input(CharDriverState *chr) +@@ -540,6 +543,15 @@ static void mux_chr_accept_input(CharDriverState *chr) d->chr_read[m](d->ext_opaque[m], &d->buffer[m][d->cons[m]++ & MUX_BUFFER_MASK], 1); } @@ -51,7 +51,7 @@ index d956f8d..cd301ba 100644 } static int mux_chr_can_read(void *opaque) -@@ -691,6 +703,10 @@ static CharDriverState *qemu_chr_open_mux(CharDriverState *drv) +@@ -677,6 +689,10 @@ static CharDriverState *qemu_chr_open_mux(const char *id, chr->opaque = d; d->drv = drv; d->focus = -1; diff --git a/0032-linux-user-lseek-explicitly-cast-no.patch b/0032-linux-user-lseek-explicitly-cast-no.patch index 49ed6dce..bc8b211c 100644 --- a/0032-linux-user-lseek-explicitly-cast-no.patch +++ b/0032-linux-user-lseek-explicitly-cast-no.patch @@ -1,4 +1,4 @@ -From c42944366a1ce036e7baab2ee14b71e2d38754d1 Mon Sep 17 00:00:00 2001 +From 625b8744b9365a6aec0f5197f7cd5fdec9e9dd26 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Thu, 13 Dec 2012 14:29:22 +0100 Subject: [PATCH] linux-user: lseek: explicitly cast non-set offsets to signed @@ -16,10 +16,10 @@ Signed-off-by: Alexander Graf 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c -index 8016256..7c97105 100644 +index 2db566c..d8837a0 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c -@@ -6017,9 +6017,14 @@ abi_long do_syscall(void *cpu_env, int num, abi_ulong arg1, +@@ -6127,9 +6127,14 @@ abi_long do_syscall(void *cpu_env, int num, abi_ulong arg1, case TARGET_NR_oldstat: goto unimplemented; #endif diff --git a/0033-virtfs-proxy-helper-Provide-__u64-f.patch b/0033-virtfs-proxy-helper-Provide-__u64-f.patch index 307b5c12..039f829b 100644 --- a/0033-virtfs-proxy-helper-Provide-__u64-f.patch +++ b/0033-virtfs-proxy-helper-Provide-__u64-f.patch @@ -1,4 +1,4 @@ -From cd1a94f80e21ef2b5fa584514c032b34c0f85aeb Mon Sep 17 00:00:00 2001 +From d426e2bf712d0393687782719b6dce20d7ef0e9f Mon Sep 17 00:00:00 2001 From: Bruce Rogers Date: Thu, 16 May 2013 12:39:10 +0200 Subject: [PATCH] virtfs-proxy-helper: Provide __u64 for broken @@ -12,7 +12,7 @@ Fixes the build on SLE 11 SP2. 1 file changed, 7 insertions(+) diff --git a/fsdev/virtfs-proxy-helper.c b/fsdev/virtfs-proxy-helper.c -index 9097d15..f73de4e 100644 +index ad1da0d..e6cabf0 100644 --- a/fsdev/virtfs-proxy-helper.c +++ b/fsdev/virtfs-proxy-helper.c @@ -9,6 +9,13 @@ diff --git a/0034-configure-Enable-PIE-for-ppc-and-pp.patch b/0034-configure-Enable-PIE-for-ppc-and-pp.patch index bea9e3aa..7897ca0d 100644 --- a/0034-configure-Enable-PIE-for-ppc-and-pp.patch +++ b/0034-configure-Enable-PIE-for-ppc-and-pp.patch @@ -1,4 +1,4 @@ -From c9fbb5972a05e94bbe28bc75441344830a247fe5 Mon Sep 17 00:00:00 2001 +From e374ba1499f38700e88f30bb0a187b9c61768cca Mon Sep 17 00:00:00 2001 From: Dinar Valeev Date: Wed, 2 Oct 2013 17:56:03 +0200 Subject: [PATCH] configure: Enable PIE for ppc and ppc64 hosts @@ -14,10 +14,10 @@ Signed-off-by: Andreas Färber 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure -index cd219d8..6ab01bc 100755 +index b9552fd..da33d72 100755 --- a/configure +++ b/configure -@@ -1530,7 +1530,7 @@ fi +@@ -1560,7 +1560,7 @@ fi if test "$pie" = ""; then case "$cpu-$targetos" in diff --git a/0035-qtest-Increase-socket-timeout.patch b/0035-qtest-Increase-socket-timeout.patch index 9b53b67d..113f3cf0 100644 --- a/0035-qtest-Increase-socket-timeout.patch +++ b/0035-qtest-Increase-socket-timeout.patch @@ -1,4 +1,4 @@ -From 39b6d2beaf481c85e836a77dede84456c25622ed Mon Sep 17 00:00:00 2001 +From 0501fde012f0a5881d9b916e670f3c0518de5ceb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Thu, 17 Apr 2014 18:39:10 +0200 Subject: [PATCH] qtest: Increase socket timeout @@ -14,7 +14,7 @@ Signed-off-by: Andreas Färber 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/libqtest.c b/tests/libqtest.c -index e5188e0..e0c5f23 100644 +index fa314e1..a57e114 100644 --- a/tests/libqtest.c +++ b/tests/libqtest.c @@ -35,7 +35,7 @@ diff --git a/0036-AIO-Reduce-number-of-threads-for-32.patch b/0036-AIO-Reduce-number-of-threads-for-32.patch index 96024bbb..e738a857 100644 --- a/0036-AIO-Reduce-number-of-threads-for-32.patch +++ b/0036-AIO-Reduce-number-of-threads-for-32.patch @@ -1,4 +1,4 @@ -From 458ee6dac3863bf420d70cd218f88b60c4de7565 Mon Sep 17 00:00:00 2001 +From 6849a7c84a7f2639b0c72ddc6581ff9d4a1c23f7 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Wed, 14 Jan 2015 01:32:11 +0100 Subject: [PATCH] AIO: Reduce number of threads for 32bit hosts @@ -21,7 +21,7 @@ Signed-off-by: Alexander Graf 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/thread-pool.c b/thread-pool.c -index ac909f4..fc16fc2 100644 +index 402c778..3d06c69 100644 --- a/thread-pool.c +++ b/thread-pool.c @@ -297,7 +297,12 @@ static void thread_pool_init_one(ThreadPool *pool, AioContext *ctx) diff --git a/0037-Revert-Revert-seccomp-tests-that-al.patch b/0037-Revert-Revert-seccomp-tests-that-al.patch deleted file mode 100644 index 06963507..00000000 --- a/0037-Revert-Revert-seccomp-tests-that-al.patch +++ /dev/null @@ -1,45 +0,0 @@ -From 1c97919295ef36ddaaca131cc412aafe9a078151 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Andreas=20F=C3=A4rber?= -Date: Tue, 14 Apr 2015 18:42:06 +0200 -Subject: [PATCH] Revert "Revert seccomp tests that allow it to be used on - non-x86 architectures" -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -This reverts commit ae6e8ef11e6cb43ec83a5846e8f3b266834cf280. - -Our Factory libseccomp is patched to support ppc, ppc64, armv7l and soon -ppc64le. - -Signed-off-by: Andreas Färber ---- - configure | 9 +++++++-- - 1 file changed, 7 insertions(+), 2 deletions(-) - -diff --git a/configure b/configure -index 6ab01bc..b1ed2a2 100755 ---- a/configure -+++ b/configure -@@ -1827,14 +1827,19 @@ fi - # libseccomp check - - if test "$seccomp" != "no" ; then -- if test "$cpu" = "i386" || test "$cpu" = "x86_64" && -- $pkg_config --atleast-version=2.1.1 libseccomp; then -+ if $pkg_config --atleast-version=2.2.0 libseccomp || -+ (test "$cpu" = "i386" || test "$cpu" = "x86_64" && -+ $pkg_config --atleast-version=2.1.1 libseccomp); then - libs_softmmu="$libs_softmmu `$pkg_config --libs libseccomp`" - QEMU_CFLAGS="$QEMU_CFLAGS `$pkg_config --cflags libseccomp`" - seccomp="yes" - else - if test "$seccomp" = "yes"; then -+ if test "$cpu" = "i386" || test "$cpu" = "x86_64"; then - feature_not_found "libseccomp" "Install libseccomp devel >= 2.1.1" -+ else -+ feature_not_found "libseccomp" "Install libseccomp devel >= 2.2.0" -+ fi - fi - seccomp="no" - fi diff --git a/0037-configure-Enable-libseccomp-for-ppc.patch b/0037-configure-Enable-libseccomp-for-ppc.patch new file mode 100644 index 00000000..70a87882 --- /dev/null +++ b/0037-configure-Enable-libseccomp-for-ppc.patch @@ -0,0 +1,29 @@ +From 81b2f0411ac5660260d4d1b7ba527e969d5f9064 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20F=C3=A4rber?= +Date: Tue, 14 Apr 2015 18:42:06 +0200 +Subject: [PATCH] configure: Enable libseccomp for ppc +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Our Factory libseccomp is patched to support ppc, ppc64 and ppc64le. + +Signed-off-by: Andreas Färber +--- + configure | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/configure b/configure +index da33d72..d140392 100755 +--- a/configure ++++ b/configure +@@ -1910,6 +1910,9 @@ if test "$seccomp" != "no" ; then + arm|aarch64) + libseccomp_minver="2.2.3" + ;; ++ ppc|ppc64) ++ libseccomp_minver="2.2.0" ++ ;; + *) + libseccomp_minver="" + ;; diff --git a/0040-dictzip-Fix-on-big-endian-systems.patch b/0038-dictzip-Fix-on-big-endian-systems.patch similarity index 98% rename from 0040-dictzip-Fix-on-big-endian-systems.patch rename to 0038-dictzip-Fix-on-big-endian-systems.patch index 28b290be..0910dd0c 100644 --- a/0040-dictzip-Fix-on-big-endian-systems.patch +++ b/0038-dictzip-Fix-on-big-endian-systems.patch @@ -1,4 +1,4 @@ -From 6daa5dc051e04f528bbe15cb7231a05cf92a072c Mon Sep 17 00:00:00 2001 +From 131c58925741584d7c0185aeba810d7be39f354c Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Mon, 15 Jun 2015 17:36:32 +0200 Subject: [PATCH] dictzip: Fix on big endian systems @@ -20,7 +20,7 @@ Signed-off-by: Andreas Färber 1 file changed, 28 insertions(+), 22 deletions(-) diff --git a/block/dictzip.c b/block/dictzip.c -index 1824971..71ffe7b 100644 +index 728d5b4..83484fd 100644 --- a/block/dictzip.c +++ b/block/dictzip.c @@ -154,6 +154,7 @@ static int dictzip_open(BlockDriverState *bs, QDict *options, int flags, Error * diff --git a/0038-tcg-aarch64-Fix-tcg_out_qemu_-ld-st.patch b/0038-tcg-aarch64-Fix-tcg_out_qemu_-ld-st.patch deleted file mode 100644 index b79597fd..00000000 --- a/0038-tcg-aarch64-Fix-tcg_out_qemu_-ld-st.patch +++ /dev/null @@ -1,83 +0,0 @@ -From cf25e5be2ef07247d563a0aec6edc719a1f6a5aa Mon Sep 17 00:00:00 2001 -From: Richard Henderson -Date: Tue, 1 Sep 2015 15:58:02 -0400 -Subject: [PATCH] tcg/aarch64: Fix tcg_out_qemu_{ld, st} for guest_base == 0 -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -In ffc6372851d8631a9f9fa56ec613b3244dc635b9, we swapped the guest -base to the address base register from the address index register. -Except that 31 in the base slot is SP not XZR, so we need to be -more intelligent about which reg gets placed in which slot. - -Cc: qemu-stable@nongnu.org (v2.4.0) -Reviewed-by: Paolo Bonzini -Reported-by: Andreas Färber -Signed-off-by: Richard Henderson -(cherry picked from commit 352bcb0a2b816ff9ab9d75d0f2384650d9e9ab19) -[AF: Backported to GUEST_BASE and CONFIG_USE_GUEST_BASE] -Signed-off-by: Andreas Färber ---- - tcg/aarch64/tcg-target.c | 27 ++++++++++++++++++++------- - 1 file changed, 20 insertions(+), 7 deletions(-) - -diff --git a/tcg/aarch64/tcg-target.c b/tcg/aarch64/tcg-target.c -index b7ec4f5..354c89d 100644 ---- a/tcg/aarch64/tcg-target.c -+++ b/tcg/aarch64/tcg-target.c -@@ -56,6 +56,11 @@ static const int tcg_target_call_oarg_regs[1] = { - #define TCG_REG_TMP TCG_REG_X30 - - #ifndef CONFIG_SOFTMMU -+/* Note that XZR cannot be encoded in the address base register slot, -+ as that actaully encodes SP. So if we need to zero-extend the guest -+ address, via the address index register slot, we need to load even -+ a zero guest base into a register. */ -+# define USE_GUEST_BASE (GUEST_BASE != 0 || TARGET_LONG_BITS == 32) - # ifdef CONFIG_USE_GUEST_BASE - # define TCG_REG_GUEST_BASE TCG_REG_X28 - # else -@@ -1216,9 +1221,13 @@ static void tcg_out_qemu_ld(TCGContext *s, TCGReg data_reg, TCGReg addr_reg, - add_qemu_ldst_label(s, true, oi, ext, data_reg, addr_reg, - s->code_ptr, label_ptr); - #else /* !CONFIG_SOFTMMU */ -- tcg_out_qemu_ld_direct(s, memop, ext, data_reg, -- GUEST_BASE ? TCG_REG_GUEST_BASE : TCG_REG_XZR, -- otype, addr_reg); -+ if (USE_GUEST_BASE) { -+ tcg_out_qemu_ld_direct(s, memop, ext, data_reg, -+ TCG_REG_GUEST_BASE, otype, addr_reg); -+ } else { -+ tcg_out_qemu_ld_direct(s, memop, ext, data_reg, -+ addr_reg, TCG_TYPE_I64, TCG_REG_XZR); -+ } - #endif /* CONFIG_SOFTMMU */ - } - -@@ -1238,9 +1247,13 @@ static void tcg_out_qemu_st(TCGContext *s, TCGReg data_reg, TCGReg addr_reg, - add_qemu_ldst_label(s, false, oi, s_bits == MO_64, data_reg, addr_reg, - s->code_ptr, label_ptr); - #else /* !CONFIG_SOFTMMU */ -- tcg_out_qemu_st_direct(s, memop, data_reg, -- GUEST_BASE ? TCG_REG_GUEST_BASE : TCG_REG_XZR, -- otype, addr_reg); -+ if (USE_GUEST_BASE) { -+ tcg_out_qemu_st_direct(s, memop, data_reg, -+ TCG_REG_GUEST_BASE, otype, addr_reg); -+ } else { -+ tcg_out_qemu_st_direct(s, memop, data_reg, -+ addr_reg, TCG_TYPE_I64, TCG_REG_XZR); -+ } - #endif /* CONFIG_SOFTMMU */ - } - -@@ -1795,7 +1808,7 @@ static void tcg_target_qemu_prologue(TCGContext *s) - CPU_TEMP_BUF_NLONGS * sizeof(long)); - - #if defined(CONFIG_USE_GUEST_BASE) -- if (GUEST_BASE) { -+ if (USE_GUEST_BASE) { - tcg_out_movi(s, TCG_TYPE_PTR, TCG_REG_GUEST_BASE, GUEST_BASE); - tcg_regset_set_reg(s->reserved_regs, TCG_REG_GUEST_BASE); - } diff --git a/0039-tests-Unique-test-path-for-string-v.patch b/0039-tests-Unique-test-path-for-string-v.patch deleted file mode 100644 index afc12dd4..00000000 --- a/0039-tests-Unique-test-path-for-string-v.patch +++ /dev/null @@ -1,71 +0,0 @@ -From b3d605bbbebdfff36843fb785f4db3e633f96892 Mon Sep 17 00:00:00 2001 -From: "Dr. David Alan Gilbert" -Date: Mon, 5 Oct 2015 12:04:20 +0100 -Subject: [PATCH] tests: Unique test path for /string-visitor/output -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Newer GLib's want unique test paths, and thus moan at dupes. -(Seen on Fedora 23 which has glib 2.46) - -Uniqueify the paths. - -Signed-off-by: Dr. David Alan Gilbert -Signed-off-by: Andreas Färber ---- - tests/test-string-output-visitor.c | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -diff --git a/tests/test-string-output-visitor.c b/tests/test-string-output-visitor.c -index 101fb27..fd5e67b 100644 ---- a/tests/test-string-output-visitor.c -+++ b/tests/test-string-output-visitor.c -@@ -248,39 +248,39 @@ int main(int argc, char **argv) - - output_visitor_test_add("/string-visitor/output/int", - &out_visitor_data, test_visitor_out_int, false); -- output_visitor_test_add("/string-visitor/output/int", -+ output_visitor_test_add("/string-visitor/output/int-human", - &out_visitor_data, test_visitor_out_int, true); - output_visitor_test_add("/string-visitor/output/bool", - &out_visitor_data, test_visitor_out_bool, false); -- output_visitor_test_add("/string-visitor/output/bool", -+ output_visitor_test_add("/string-visitor/output/bool-human", - &out_visitor_data, test_visitor_out_bool, true); - output_visitor_test_add("/string-visitor/output/number", - &out_visitor_data, test_visitor_out_number, false); -- output_visitor_test_add("/string-visitor/output/number", -+ output_visitor_test_add("/string-visitor/output/number-human", - &out_visitor_data, test_visitor_out_number, true); - output_visitor_test_add("/string-visitor/output/string", - &out_visitor_data, test_visitor_out_string, false); -- output_visitor_test_add("/string-visitor/output/string", -+ output_visitor_test_add("/string-visitor/output/string-human", - &out_visitor_data, test_visitor_out_string, true); - output_visitor_test_add("/string-visitor/output/no-string", - &out_visitor_data, test_visitor_out_no_string, - false); -- output_visitor_test_add("/string-visitor/output/no-string", -+ output_visitor_test_add("/string-visitor/output/no-string-human", - &out_visitor_data, test_visitor_out_no_string, - true); - output_visitor_test_add("/string-visitor/output/enum", - &out_visitor_data, test_visitor_out_enum, false); -- output_visitor_test_add("/string-visitor/output/enum", -+ output_visitor_test_add("/string-visitor/output/enum-human", - &out_visitor_data, test_visitor_out_enum, true); - output_visitor_test_add("/string-visitor/output/enum-errors", - &out_visitor_data, test_visitor_out_enum_errors, - false); -- output_visitor_test_add("/string-visitor/output/enum-errors", -+ output_visitor_test_add("/string-visitor/output/enum-errors-human", - &out_visitor_data, test_visitor_out_enum_errors, - true); - output_visitor_test_add("/string-visitor/output/intList", - &out_visitor_data, test_visitor_out_intList, false); -- output_visitor_test_add("/string-visitor/output/intList", -+ output_visitor_test_add("/string-visitor/output/intList-human", - &out_visitor_data, test_visitor_out_intList, true); - - g_test_run(); diff --git a/SLOF_ppc64le.patch b/SLOF_ppc64le.patch deleted file mode 100644 index 46464b14..00000000 --- a/SLOF_ppc64le.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 14f14004dd8f7a9be63510284c10445c7a8be5d7 Mon Sep 17 00:00:00 2001 -From: Dinar Valeev -Date: Fri, 9 Oct 2015 13:01:12 +0200 -Subject: [PATCH] Allow to build SLOF on Little Endian host - -Don't require cross compiler in order to build SLOF on ppc64le platform. -Native compiler is capable to build ELFv1 BE binary. We just need to -instruct it how to do it. By adding -mbig and -mabi=elfv1 flags - -Signed-off-by: Dinar Valeev -Signed-off-by: Alexey Kardashevskiy ---- - make.rules | 12 ++++++++---- - 1 file changed, 8 insertions(+), 4 deletions(-) - -diff --git a/make.rules b/make.rules -index aebc4e3..cbc6353 100644 ---- a/make.rules -+++ b/make.rules -@@ -19,8 +19,12 @@ - ARCH := $(shell uname -p) - - # Auto-detect ppc64 --ifeq ($(ARCH), ppc64) --CROSS = "" -+ifeq (ppc64,$(findstring ppc64,$(ARCH))) -+ ifeq ($(ARCH), ppc64le) -+ EXTRA_CC = -mbig -mabi=elfv1 -+ EXTRA_LD = -mbig -+ endif -+CROSS ?= - else - CROSS ?= powerpc64-linux- - endif -@@ -31,8 +35,8 @@ HOSTCC ?= gcc - HOSTCFLAGS = -g -Wall -W -O2 -I. -I../include - DD = dd - --ONLY_CC = $(CROSS)gcc -m$(CELLSIZE) --ONLY_AS = $(CROSS)as -m$(CELLSIZE) -+ONLY_CC = $(CROSS)gcc -m$(CELLSIZE) $(EXTRA_CC) -+ONLY_AS = $(CROSS)as -m$(CELLSIZE) $(EXTRA_LD) - ONLY_LD = $(CROSS)ld -melf$(CELLSIZE)ppc - - # Verbose level: --- -2.1.4 - diff --git a/gcc5-ipxe-add-missing-const-qualifiers.patch b/gcc5-ipxe-add-missing-const-qualifiers.patch deleted file mode 100644 index ef7d5a80..00000000 --- a/gcc5-ipxe-add-missing-const-qualifiers.patch +++ /dev/null @@ -1,34 +0,0 @@ -From bf40b79734a070cea4dd4c74b50d3bf73fdc6061 Mon Sep 17 00:00:00 2001 -From: Christian Hesse -Date: Thu, 23 Apr 2015 13:33:25 +0200 -Subject: [PATCH] [build] Add missing "const" qualifiers - -This fixes "initialization discards 'const' qualifier from pointer -target type" warnings with GCC 5.1.0. - -Signed-off-by: Christian Hesse -Modified-by: Michael Brown -Signed-off-by: Michael Brown ---- - src/net/tls.c | 4 ++-- - 1 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/net/tls.c b/src/net/tls.c -index 30ccc93..8f4bec7 100644 ---- a/src/net/tls.c -+++ b/src/net/tls.c -@@ -1637,9 +1637,9 @@ static int tls_new_handshake ( struct tls_session *tls, - uint8_t length[3]; - uint8_t payload[0]; - } __attribute__ (( packed )) *handshake = data; -- void *payload = &handshake->payload; -+ const void *payload = &handshake->payload; - size_t payload_len = tls_uint24 ( handshake->length ); -- void *next = ( payload + payload_len ); -+ const void *next = ( payload + payload_len ); - - /* Sanity check */ - if ( next > end ) { --- -1.7.0.4 - diff --git a/gcc5-ipxe-ath9k-Remove-confusing-logic-inversion-in-an-ANI-var.patch b/gcc5-ipxe-ath9k-Remove-confusing-logic-inversion-in-an-ANI-var.patch deleted file mode 100644 index c40e1795..00000000 --- a/gcc5-ipxe-ath9k-Remove-confusing-logic-inversion-in-an-ANI-var.patch +++ /dev/null @@ -1,226 +0,0 @@ -From: Christian Hesse -Date: Thu, 23 Apr 2015 13:33:26 +0200 -Subject: [ath9k] Remove confusing logic inversion in an ANI variable -Patch-mainline: no - -This changed in Linux kernel the same way in commit 7067e701 -("ath9k_hw: remove confusing logic inversion in an ANI variable") by -Felix Fietkau. - -Additionally this fixes "error: logical not is only applied to the -left hand side of comparison" with GCC 5.1.0. - -Signed-off-by: Christian Hesse -Signed-off-by: Michael Brown -Signed-off-by: Jiri Slaby ---- - src/drivers/net/ath/ath9k/ani.h | 2 +- - src/drivers/net/ath/ath9k/ath9k_ani.c | 16 ++++++++-------- - src/drivers/net/ath/ath9k/ath9k_ar5008_phy.c | 18 +++++++++--------- - src/drivers/net/ath/ath9k/ath9k_ar9003_phy.c | 12 ++++++------ - 4 files changed, 24 insertions(+), 24 deletions(-) - -diff --git a/src/drivers/net/ath/ath9k/ani.h b/src/drivers/net/ath/ath9k/ani.h -index dbd4d4d5bc12..ba87ba0fd258 100644 ---- a/src/drivers/net/ath/ath9k/ani.h -+++ b/src/drivers/net/ath/ath9k/ani.h -@@ -125,7 +125,7 @@ struct ar5416AniState { - u8 mrcCCKOff; - u8 spurImmunityLevel; - u8 firstepLevel; -- u8 ofdmWeakSigDetectOff; -+ u8 ofdmWeakSigDetect; - u8 cckWeakSigThreshold; - u32 listenTime; - int32_t rssiThrLow; -diff --git a/src/drivers/net/ath/ath9k/ath9k_ani.c b/src/drivers/net/ath/ath9k/ath9k_ani.c -index ff7df497fc92..76ca79cba3e8 100644 ---- a/src/drivers/net/ath/ath9k/ath9k_ani.c -+++ b/src/drivers/net/ath/ath9k/ath9k_ani.c -@@ -177,7 +177,7 @@ static void ath9k_hw_ani_ofdm_err_trigger_old(struct ath_hw *ah) - - rssi = BEACON_RSSI(ah); - if (rssi > aniState->rssiThrHigh) { -- if (!aniState->ofdmWeakSigDetectOff) { -+ if (aniState->ofdmWeakSigDetect) { - if (ath9k_hw_ani_control(ah, - ATH9K_ANI_OFDM_WEAK_SIGNAL_DETECTION, - 0)) { -@@ -192,7 +192,7 @@ static void ath9k_hw_ani_ofdm_err_trigger_old(struct ath_hw *ah) - return; - } - } else if (rssi > aniState->rssiThrLow) { -- if (aniState->ofdmWeakSigDetectOff) -+ if (!aniState->ofdmWeakSigDetect) - ath9k_hw_ani_control(ah, - ATH9K_ANI_OFDM_WEAK_SIGNAL_DETECTION, - 1); -@@ -202,7 +202,7 @@ static void ath9k_hw_ani_ofdm_err_trigger_old(struct ath_hw *ah) - return; - } else { - if ((ah->dev->channels + ah->dev->channel)->band == NET80211_BAND_2GHZ) { -- if (!aniState->ofdmWeakSigDetectOff) -+ if (aniState->ofdmWeakSigDetect) - ath9k_hw_ani_control(ah, - ATH9K_ANI_OFDM_WEAK_SIGNAL_DETECTION, - 0); -@@ -360,7 +360,7 @@ static void ath9k_hw_ani_lower_immunity_old(struct ath_hw *ah) - if (rssi > aniState->rssiThrHigh) { - /* XXX: Handle me */ - } else if (rssi > aniState->rssiThrLow) { -- if (aniState->ofdmWeakSigDetectOff) { -+ if (!aniState->ofdmWeakSigDetect) { - if (ath9k_hw_ani_control(ah, - ATH9K_ANI_OFDM_WEAK_SIGNAL_DETECTION, - 1) == 1) -@@ -436,9 +436,9 @@ static void ath9k_ani_reset_old(struct ath_hw *ah) - if (aniState->spurImmunityLevel != 0) - ath9k_hw_ani_control(ah, ATH9K_ANI_SPUR_IMMUNITY_LEVEL, - aniState->spurImmunityLevel); -- if (aniState->ofdmWeakSigDetectOff) -+ if (!aniState->ofdmWeakSigDetect) - ath9k_hw_ani_control(ah, ATH9K_ANI_OFDM_WEAK_SIGNAL_DETECTION, -- !aniState->ofdmWeakSigDetectOff); -+ aniState->ofdmWeakSigDetect); - if (aniState->cckWeakSigThreshold) - ath9k_hw_ani_control(ah, ATH9K_ANI_CCK_WEAK_SIGNAL_THR, - aniState->cckWeakSigThreshold); -@@ -709,8 +709,8 @@ void ath9k_hw_ani_init(struct ath_hw *ah) - - ani->rssiThrHigh = ATH9K_ANI_RSSI_THR_HIGH; - ani->rssiThrLow = ATH9K_ANI_RSSI_THR_LOW; -- ani->ofdmWeakSigDetectOff = -- !ATH9K_ANI_USE_OFDM_WEAK_SIG; -+ ani->ofdmWeakSigDetect = -+ ATH9K_ANI_USE_OFDM_WEAK_SIG; - ani->cckNoiseImmunityLevel = ATH9K_ANI_CCK_DEF_LEVEL; - } - -diff --git a/src/drivers/net/ath/ath9k/ath9k_ar5008_phy.c b/src/drivers/net/ath/ath9k/ath9k_ar5008_phy.c -index 60e87e9e2625..2b6c133cb783 100644 ---- a/src/drivers/net/ath/ath9k/ath9k_ar5008_phy.c -+++ b/src/drivers/net/ath/ath9k/ath9k_ar5008_phy.c -@@ -1141,12 +1141,12 @@ static int ar5008_hw_ani_control_old(struct ath_hw *ah, - REG_CLR_BIT(ah, AR_PHY_SFCORR_LOW, - AR_PHY_SFCORR_LOW_USE_SELF_CORR_LOW); - -- if (!on != aniState->ofdmWeakSigDetectOff) { -+ if (on != aniState->ofdmWeakSigDetect) { - if (on) - ah->stats.ast_ani_ofdmon++; - else - ah->stats.ast_ani_ofdmoff++; -- aniState->ofdmWeakSigDetectOff = !on; -+ aniState->ofdmWeakSigDetect = on; - } - break; - } -@@ -1215,10 +1215,10 @@ static int ar5008_hw_ani_control_old(struct ath_hw *ah, - - DBG2("ath9k: ANI parameters:\n"); - DBG2( -- "noiseImmunityLevel=%d, spurImmunityLevel=%d, ofdmWeakSigDetectOff=%d\n", -+ "noiseImmunityLevel=%d, spurImmunityLevel=%d, ofdmWeakSigDetect=%d\n", - aniState->noiseImmunityLevel, - aniState->spurImmunityLevel, -- !aniState->ofdmWeakSigDetectOff); -+ aniState->ofdmWeakSigDetect); - DBG2( - "cckWeakSigThreshold=%d, firstepLevel=%d, listenTime=%d\n", - aniState->cckWeakSigThreshold, -@@ -1307,18 +1307,18 @@ static int ar5008_hw_ani_control_new(struct ath_hw *ah, - REG_CLR_BIT(ah, AR_PHY_SFCORR_LOW, - AR_PHY_SFCORR_LOW_USE_SELF_CORR_LOW); - -- if (!on != aniState->ofdmWeakSigDetectOff) { -+ if (on != aniState->ofdmWeakSigDetect) { - DBG2("ath9k: " - "** ch %d: ofdm weak signal: %s=>%s\n", - chan->channel, -- !aniState->ofdmWeakSigDetectOff ? -+ aniState->ofdmWeakSigDetect ? - "on" : "off", - on ? "on" : "off"); - if (on) - ah->stats.ast_ani_ofdmon++; - else - ah->stats.ast_ani_ofdmoff++; -- aniState->ofdmWeakSigDetectOff = !on; -+ aniState->ofdmWeakSigDetect = on; - } - break; - } -@@ -1467,7 +1467,7 @@ static int ar5008_hw_ani_control_new(struct ath_hw *ah, - DBG2("ath9k: " - "ANI parameters: SI=%d, ofdmWS=%s FS=%d MRCcck=%s listenTime=%d ofdmErrs=%d cckErrs=%d\n", - aniState->spurImmunityLevel, -- !aniState->ofdmWeakSigDetectOff ? "on" : "off", -+ aniState->ofdmWeakSigDetect ? "on" : "off", - aniState->firstepLevel, - !aniState->mrcCCKOff ? "on" : "off", - aniState->listenTime, -@@ -1554,7 +1554,7 @@ static void ar5008_hw_ani_cache_ini_regs(struct ath_hw *ah) - /* these levels just got reset to defaults by the INI */ - aniState->spurImmunityLevel = ATH9K_ANI_SPUR_IMMUNE_LVL_NEW; - aniState->firstepLevel = ATH9K_ANI_FIRSTEP_LVL_NEW; -- aniState->ofdmWeakSigDetectOff = !ATH9K_ANI_USE_OFDM_WEAK_SIG; -+ aniState->ofdmWeakSigDetect = ATH9K_ANI_USE_OFDM_WEAK_SIG; - aniState->mrcCCKOff = 1; /* not available on pre AR9003 */ - } - -diff --git a/src/drivers/net/ath/ath9k/ath9k_ar9003_phy.c b/src/drivers/net/ath/ath9k/ath9k_ar9003_phy.c -index 6103040abfb2..2244b775a6be 100644 ---- a/src/drivers/net/ath/ath9k/ath9k_ar9003_phy.c -+++ b/src/drivers/net/ath/ath9k/ath9k_ar9003_phy.c -@@ -859,18 +859,18 @@ static int ar9003_hw_ani_control(struct ath_hw *ah, - REG_CLR_BIT(ah, AR_PHY_SFCORR_LOW, - AR_PHY_SFCORR_LOW_USE_SELF_CORR_LOW); - -- if (!on != aniState->ofdmWeakSigDetectOff) { -+ if (on != aniState->ofdmWeakSigDetect) { - DBG2("ath9k: " - "** ch %d: ofdm weak signal: %s=>%s\n", - chan->channel, -- !aniState->ofdmWeakSigDetectOff ? -+ aniState->ofdmWeakSigDetect ? - "on" : "off", - on ? "on" : "off"); - if (on) - ah->stats.ast_ani_ofdmon++; - else - ah->stats.ast_ani_ofdmoff++; -- aniState->ofdmWeakSigDetectOff = !on; -+ aniState->ofdmWeakSigDetect = on; - } - break; - } -@@ -1013,7 +1013,7 @@ static int ar9003_hw_ani_control(struct ath_hw *ah, - AR_PHY_MRC_CCK_ENABLE, is_on); - REG_RMW_FIELD(ah, AR_PHY_MRC_CCK_CTRL, - AR_PHY_MRC_CCK_MUX_REG, is_on); -- if (!is_on != aniState->mrcCCKOff) { -+ if (!(is_on != aniState->mrcCCKOff)) { - DBG2("ath9k: " - "** ch %d: MRC CCK: %s=>%s\n", - chan->channel, -@@ -1037,7 +1037,7 @@ static int ar9003_hw_ani_control(struct ath_hw *ah, - DBG2("ath9k: " - "ANI parameters: SI=%d, ofdmWS=%s FS=%d MRCcck=%s listenTime=%d ofdmErrs=%d cckErrs=%d\n", - aniState->spurImmunityLevel, -- !aniState->ofdmWeakSigDetectOff ? "on" : "off", -+ aniState->ofdmWeakSigDetect ? "on" : "off", - aniState->firstepLevel, - !aniState->mrcCCKOff ? "on" : "off", - aniState->listenTime, -@@ -1137,7 +1137,7 @@ static void ar9003_hw_ani_cache_ini_regs(struct ath_hw *ah) - /* these levels just got reset to defaults by the INI */ - aniState->spurImmunityLevel = ATH9K_ANI_SPUR_IMMUNE_LVL_NEW; - aniState->firstepLevel = ATH9K_ANI_FIRSTEP_LVL_NEW; -- aniState->ofdmWeakSigDetectOff = !ATH9K_ANI_USE_OFDM_WEAK_SIG; -+ aniState->ofdmWeakSigDetect = ATH9K_ANI_USE_OFDM_WEAK_SIG; - aniState->mrcCCKOff = !ATH9K_ANI_ENABLE_MRC_CCK; - } - --- -2.4.1 - diff --git a/libcacard.changes b/libcacard.changes deleted file mode 100644 index ea406a03..00000000 --- a/libcacard.changes +++ /dev/null @@ -1,2036 +0,0 @@ -------------------------------------------------------------------- -Thu Oct 8 16:29:36 UTC 2015 - afaerber@suse.de - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.4 -* Patches added: - 0040-dictzip-Fix-on-big-endian-systems.patch - -------------------------------------------------------------------- -Thu Oct 8 14:35:11 UTC 2015 - afaerber@suse.de - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.4 -* Patches added: - 0039-tests-Unique-test-path-for-string-v.patch - -------------------------------------------------------------------- -Thu Sep 3 16:57:33 UTC 2015 - afaerber@suse.de - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.4 -* Patches added: - 0038-tcg-aarch64-Fix-tcg_out_qemu_-ld-st.patch - -------------------------------------------------------------------- -Wed Aug 12 16:41:25 UTC 2015 - afaerber@suse.de - -- Update to v2.4.0: See http://wiki.qemu-project.org/ChangeLog/2.4 - -------------------------------------------------------------------- -Fri Jul 24 15:19:06 UTC 2015 - afaerber@suse.de - -- Update to v2.4.0-rc2: See http://wiki.qemu-project.org/ChangeLog/2.4 - -------------------------------------------------------------------- -Fri Jul 17 13:36:52 UTC 2015 - afaerber@suse.de - -- Update to v2.4.0-rc1: See http://wiki.qemu-project.org/ChangeLog/2.4 -* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.4 -* Patches dropped: - 0037-linux-user-Allocate-thunk-size-dyna.patch - 0039-s390x-Fix-stoc-direction.patch - 0040-s390x-Add-interlocked-access-facili.patch - 0041-fdc-force-the-fifo-access-to-be-in-.patch - 0042-rules.mak-Force-CFLAGS-for-all-obje.patch - 0043-qcow2-Set-MIN_L2_CACHE_SIZE-to-2.patch - 0044-hw-arm-boot-Increase-fdt-alignment.patch -* Patches renamed: - 0038-Revert-Revert-seccomp-tests-that-al.patch -> 0037-Revert-Revert-seccomp-tests-that-al.patch - -------------------------------------------------------------------- -Mon Jun 1 21:52:44 UTC 2015 - agraf@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3 -* Patches added: - 0043-qcow2-Set-MIN_L2_CACHE_SIZE-to-2.patch - -------------------------------------------------------------------- -Tue May 26 18:11:43 UTC 2015 - jslaby@suse.com - -- Patch queue updated from git://github.com/jirislaby/qemu.git opensuse-2.3 -* Patches added: - 0042-rules.mak-Force-CFLAGS-for-all-obje.patch - -------------------------------------------------------------------- -Thu May 14 17:21:21 UTC 2015 - afaerber@suse.de - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3 -* Patches added: - 0041-fdc-force-the-fifo-access-to-be-in-.patch - -------------------------------------------------------------------- -Tue May 12 22:43:56 UTC 2015 - agraf@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3 -* Patches added: - 0040-s390x-Add-interlocked-access-facili.patch - -------------------------------------------------------------------- -Wed Apr 29 14:53:51 UTC 2015 - afaerber@suse.de - -- Update to v2.3.0: See http://wiki.qemu-project.org/ChangeLog/2.3 - -------------------------------------------------------------------- -Wed Apr 22 10:59:13 UTC 2015 - afaerber@suse.de - -- Update to v2.3.0-rc4: See http://wiki.qemu-project.org/ChangeLog/2.3 - -------------------------------------------------------------------- -Wed Apr 15 00:34:56 UTC 2015 - agraf@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3 -* Patches added: - 0039-s390x-Fix-stoc-direction.patch - -------------------------------------------------------------------- -Tue Apr 14 16:06:47 UTC 2015 - afaerber@suse.de - -- Update to v2.3.0-rc3: See http://wiki.qemu-project.org/ChangeLog/2.3 -* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3 -* Patches dropped (applied upstream): - 0037-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch -* Patches renamed: - 0038-linux-user-Allocate-thunk-size-dyna.patch -> 0037-linux-user-Allocate-thunk-size-dyna.patch -* Patches added: - 0038-Revert-Revert-seccomp-tests-that-al.patch - -------------------------------------------------------------------- -Tue Apr 14 15:19:42 UTC 2015 - agraf@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3 -- Fix qemu-linux-user on powerpc -* Patches added: - 0038-linux-user-Allocate-thunk-size-dyna.patch - -------------------------------------------------------------------- -Sat Apr 11 13:15:55 UTC 2015 - afaerber@suse.de - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3 -* Patches dropped: - 0030-net-Warn-about-default-MAC-address.patch -* Patches renamed: - 0031-console-add-question-mark-escape-op.patch -> 0030-console-add-question-mark-escape-op.patch - 0032-Make-char-muxer-more-robust-wrt-sma.patch -> 0031-Make-char-muxer-more-robust-wrt-sma.patch - 0033-linux-user-lseek-explicitly-cast-no.patch -> 0032-linux-user-lseek-explicitly-cast-no.patch - 0034-virtfs-proxy-helper-Provide-__u64-f.patch -> 0033-virtfs-proxy-helper-Provide-__u64-f.patch - 0035-configure-Enable-PIE-for-ppc-and-pp.patch -> 0034-configure-Enable-PIE-for-ppc-and-pp.patch - 0036-qtest-Increase-socket-timeout.patch -> 0035-qtest-Increase-socket-timeout.patch - 0037-AIO-Reduce-number-of-threads-for-32.patch -> 0036-AIO-Reduce-number-of-threads-for-32.patch - 0038-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch -> 0037-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch - -------------------------------------------------------------------- -Wed Apr 8 20:47:40 UTC 2015 - afaerber@suse.de - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3 -* Patches added: - 0038-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch - -------------------------------------------------------------------- -Wed Apr 8 13:10:27 UTC 2015 - afaerber@suse.de - -- Update to v2.3.0-rc2: See http://wiki.qemu-project.org/ChangeLog/2.3 -* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3 -* Patches dropped: - 0038-fw_cfg-test-Fix-test-path-to-includ.patch - 0039-rcu-tests-fix-compilation-on-32-bit.patch - -------------------------------------------------------------------- -Thu Mar 26 14:49:44 UTC 2015 - afaerber@suse.de - -- Update to v2.3.0-rc1: See http://wiki.qemu-project.org/ChangeLog/2.3 -* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3 -* Patches dropped (upstreamed): - 0038-linux-user-Fix-emulation-of-splice-.patch - 0039-ide-fix-cmd_write_pio-when-nsectors.patch - 0040-ide-fix-cmd_read_pio-when-nsectors-.patch - 0041-ahci-Fix-sglist-offset-manipulation.patch - 0042-ahci-test-improve-rw-buffer-pattern.patch - 0045-linux-user-fix-broken-cpu_copy.patch -* Patches renamed: - 0043-fw_cfg-test-Fix-test-path-to-includ.patch -> 0038-fw_cfg-test-Fix-test-path-to-includ.patch - 0044-rcu-tests-fix-compilation-on-32-bit.patch -> 0039-rcu-tests-fix-compilation-on-32-bit.patch - -------------------------------------------------------------------- -Mon Mar 23 13:20:39 UTC 2015 - afaerber@suse.de - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3 -* Patches added: - 0045-linux-user-fix-broken-cpu_copy.patch - -------------------------------------------------------------------- -Sat Mar 21 18:32:17 UTC 2015 - afaerber@suse.de - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3 -* Patches dropped: - 0044-rcutorture-fix-compilation-on-32-bi.patch -* Patches added: - 0044-rcu-tests-fix-compilation-on-32-bit.patch - -------------------------------------------------------------------- -Sat Mar 21 16:07:36 UTC 2015 - afaerber@suse.de - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3 -* Patches added: - 0043-fw_cfg-test-Fix-test-path-to-includ.patch - 0044-rcutorture-fix-compilation-on-32-bi.patch - -------------------------------------------------------------------- -Fri Mar 20 15:03:16 UTC 2015 - afaerber@suse.de - -- Update to v2.3.0-rc0: See http://wiki.qemu-project.org/ChangeLog/2.3 -* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3 -* Patches dropped: - 0030-Legacy-Patch-kvm-qemu-preXX-report-.patch -* Patches added: - 0030-net-Warn-about-default-MAC-address.patch - 0039-ide-fix-cmd_write_pio-when-nsectors.patch - 0040-ide-fix-cmd_read_pio-when-nsectors-.patch - 0041-ahci-Fix-sglist-offset-manipulation.patch - 0042-ahci-test-improve-rw-buffer-pattern.patch - -------------------------------------------------------------------- -Sun Mar 1 12:50:52 UTC 2015 - afaerber@suse.de - -- Update company name in spec file templates -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.2 -* Patches added: - 0038-linux-user-Fix-emulation-of-splice-.patch - -------------------------------------------------------------------- -Wed Jan 14 00:38:44 UTC 2015 - agraf@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.2 -* Patches added: - 0037-AIO-Reduce-number-of-threads-for-32.patch - -------------------------------------------------------------------- -Mon Jan 12 14:32:14 UTC 2015 - afaerber@suse.de - -- Update to v2.2.0: See http://wiki.qemu-project.org/ChangeLog/2.2 -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.2 -* Patches dropped: - 0015-target-arm-linux-user-no-tb_flush-o.patch (tb_flush() not called) - 0037-tests-Don-t-run-qom-test-twice.patch (superseded) - 0039-linux-user-Cast-validity-checks-on-.patch (helper function introduced) - 0040-linux-user-Convert-blkpg-to-use-a-s.patch (upstreamed) -* Patched renumbered: - 0016-linux-user-Ignore-broken-loop-ioctl.patch -> 0015-linux-user-Ignore-broken-loop-ioctl.patch - 0017-linux-user-lock-tcg.patch -> 0016-linux-user-lock-tcg.patch - 0018-linux-user-Run-multi-threaded-code-.patch -> 0017-linux-user-Run-multi-threaded-code-.patch - 0019-linux-user-lock-tb-flushing-too.patch -> 0018-linux-user-lock-tb-flushing-too.patch - 0020-linux-user-Fake-proc-cpuinfo.patch -> 0019-linux-user-Fake-proc-cpuinfo.patch - 0021-linux-user-implement-FS_IOC_GETFLAG.patch -> 0020-linux-user-implement-FS_IOC_GETFLAG.patch - 0022-linux-user-implement-FS_IOC_SETFLAG.patch -> 0021-linux-user-implement-FS_IOC_SETFLAG.patch - 0023-linux-user-XXX-disable-fiemap.patch -> 0022-linux-user-XXX-disable-fiemap.patch - 0024-slirp-nooutgoing.patch -> 0023-slirp-nooutgoing.patch - 0025-vnc-password-file-and-incoming-conn.patch -> 0024-vnc-password-file-and-incoming-conn.patch - 0026-linux-user-add-more-blk-ioctls.patch -> 0025-linux-user-add-more-blk-ioctls.patch - 0027-linux-user-use-target_ulong.patch -> 0026-linux-user-use-target_ulong.patch - 0028-block-Add-support-for-DictZip-enabl.patch -> 0027-block-Add-support-for-DictZip-enabl.patch - 0029-block-Add-tar-container-format.patch -> 0028-block-Add-tar-container-format.patch - 0030-Legacy-Patch-kvm-qemu-preXX-dictzip.patch -> 0029-Legacy-Patch-kvm-qemu-preXX-dictzip.patch - 0031-Legacy-Patch-kvm-qemu-preXX-report-.patch -> 0030-Legacy-Patch-kvm-qemu-preXX-report-.patch - 0032-console-add-question-mark-escape-op.patch -> 0031-console-add-question-mark-escape-op.patch - 0033-Make-char-muxer-more-robust-wrt-sma.patch -> 0032-Make-char-muxer-more-robust-wrt-sma.patch - 0034-linux-user-lseek-explicitly-cast-no.patch -> 0033-linux-user-lseek-explicitly-cast-no.patch - 0035-virtfs-proxy-helper-Provide-__u64-f.patch -> 0034-virtfs-proxy-helper-Provide-__u64-f.patch - 0036-configure-Enable-PIE-for-ppc-and-pp.patch -> 0035-configure-Enable-PIE-for-ppc-and-pp.patch - 0038-qtest-Increase-socket-timeout.patch -> 0036-qtest-Increase-socket-timeout.patch - -------------------------------------------------------------------- -Fri Aug 22 10:37:23 UTC 2014 - agraf@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.1 -* Patches added: - 0039-linux-user-Cast-validity-checks-on-.patch - 0040-linux-user-Convert-blkpg-to-use-a-s.patch - -------------------------------------------------------------------- -Thu Aug 21 16:14:37 UTC 2014 - afaerber@suse.de - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.1 -- Sort BuildRequires alphabetically to avoid changing back and forth -- Sync'ed deletion of .a and .la to libcacard.spec.in -- Revert use of %{version} in Source line as it breaks update_git.sh - -------------------------------------------------------------------- -Wed Aug 6 17:29:30 UTC 2014 - coolo@suse.com - -- update to v2.1.0: http://wiki.qemu-project.org/ChangeLog/2.1 -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.1 -* Patches dropped: - 0039-fix-full-frame-updates-for-VNC-clie.patch - 0040-vnc-update-fix.patch - -------------------------------------------------------------------- -Thu Jul 31 12:59:39 UTC 2014 - dimstar@opensuse.org - -- Rename rpmlintrc to %{name}-rpmlintrc. - Follow the packaging guidelines. - -------------------------------------------------------------------- -Fri Jul 25 14:44:43 UTC 2014 - afaerber@suse.de - -- Backported VNC fixes for openQA (bnc#888142): -* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.1 -* Patches added: - 0039-fix-full-frame-updates-for-VNC-clie.patch - 0040-vnc-update-fix.patch - -------------------------------------------------------------------- -Wed Jul 23 12:36:37 UTC 2014 - afaerber@suse.de - -- Update to v2.1.0-rc3: http://wiki.qemu-project.org/ChangeLog/2.1 -* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.1 -* Patches dropped: - 0039-module-Simplify-module_load.patch - 0040-module-Don-t-complain-when-a-module.patch -* Updated update_git.sh script accordingly - -------------------------------------------------------------------- -Wed Jul 16 17:31:54 UTC 2014 - afaerber@suse.de - -- Update to v2.1.0-rc2: http://wiki.qemu-project.org/ChangeLog/2.1 -* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.1 -* Patches dropped: - 0041-tests-Fix-unterminated-string-outpu.patch - 0042-libqos-Fix-PC-PCI-endianness-glitch.patch - 0043-qtest-fix-vhost-user-test-compilati.patch -* Updated update_git.sh accordingly -* Extended update_git.sh to add generated patch names to change log - -------------------------------------------------------------------- -Wed Jul 9 17:34:55 UTC 2014 - afaerber@suse.de - -- Update to v2.1.0-rc0: http://wiki.qemu-project.org/ChangeLog/2.1 -* xen_disk discard support now upstream - 0037-xen_disk-add-discard-support.patch dropped -* PowerPC ELF v2 support now upstream - 0045-tcg-ppc64-Support-the-ELFv2-ABI.patch dropped -* Patches renamed during rebase: - 0015-linux-user-arm-no-tb_flush-on-reset.patch -> 0015-target-arm-linux-user-no-tb_flush-o.patch -* Patches reordered due to rebase: - 0038-tests-Don-t-run-qom-test-twice.patch -> 0037-tests-Don-t-run-qom-test-twice.patch - 0041-qtest-Increase-socket-timeout.patch -> 0038-qtest-Increase-socket-timeout.patch - 0071-module-Simplify-module_load.patch -> 0039-module-Simplify-module_load.patch - 0072-module-Don-t-complain-when-a-module.patch -> 0040-module-Don-t-complain-when-a-module.patch -* Patches automatically dropped on rebase: - 0039-qtest-Assure-that-init_socket-s-lis.patch - 0040-qtest-Add-error-reporting-to-socket.patch - 0042-qtest-Be-paranoid-about-accept-addr.patch - 0043-arm-translate.c-Fix-smlald-Instruct.patch - 0044-target-arm-A64-fix-unallocated-test.patch - 0046-vmstate-add-VMS_MUST_EXIST.patch - 0047-vmstate-add-VMSTATE_VALIDATE.patch - 0048-virtio-net-fix-buffer-overflow-on-i.patch - 0049-virtio-net-out-of-bounds-buffer-wri.patch - 0050-virtio-out-of-bounds-buffer-write-o.patch - 0051-ahci-fix-buffer-overrun-on-invalid-.patch - 0052-hpet-fix-buffer-overrun-on-invalid-.patch - 0053-hw-pci-pcie_aer.c-fix-buffer-overru.patch - 0054-pl022-fix-buffer-overun-on-invalid-.patch - 0055-vmstate-fix-buffer-overflow-in-targ.patch - 0056-virtio-avoid-buffer-overrun-on-inco.patch - 0057-virtio-validate-num_sg-when-mapping.patch - 0058-pxa2xx-avoid-buffer-overrun-on-inco.patch - 0059-ssd0323-fix-buffer-overun-on-invali.patch - 0060-tsc210x-fix-buffer-overrun-on-inval.patch - 0061-zaurus-fix-buffer-overrun-on-invali.patch - 0062-virtio-scsi-fix-buffer-overrun-on-i.patch - 0063-vmstate-s-VMSTATE_INT32_LE-VMSTATE_.patch - 0064-usb-sanity-check-setup_index-setup_.patch - 0065-savevm-Ignore-minimum_version_id_ol.patch - 0066-ssi-sd-fix-buffer-overrun-on-invali.patch - 0067-openpic-avoid-buffer-overrun-on-inc.patch - 0068-virtio-net-out-of-bounds-buffer-wri.patch - 0069-virtio-validate-config_len-on-load.patch - 0070-virtio-allow-mapping-up-to-max-queu.patch -* iPXE fixes now included - ipxe-build-Work-around-bug-in-gcc-4.8.patch dropped - ipxe-build-Avoid-strict-aliasing-warning.patch dropped - ipxe-zbin-Fix-size-used-for-memset-in-al.patch dropped -* SeaVGABIOS fix now included - vgabios-Make-sure-stdvga_list_modes-doesn-t-overrun-.patch dropped -* Modified update_git.sh accordingly - -- Update to v2.1.0-rc1: http://wiki.qemu-project.org/ChangeLog/2.1 -* 0041-tests-Fix-unterminated-string-outpu.patch: Test fix -* 0042-libqos-Fix-PC-PCI-endianness-glitch.patch: Test fix for ppc -* 0043-qtest-fix-vhost-user-test-compilati.patch: Test fix for SP3 -* Modified update_git.sh accordingly - -------------------------------------------------------------------- -Wed Jun 23 21:42:31 UTC 2014 - afaerber@suse.de - -- Move block-curl.so to new qemu-block-curl package, avoiding a - dependency of qemu-tools on qemu for Xen (bnc#882008) -* Avoid the reported error message about missing modules - 0071-module-Simplify-module_load.patch - 0072-module-Don-t-complain-when-a-module.patch -- Improve update_git.sh performance (backport from SLE12) - -------------------------------------------------------------------- -Mon Jun 2 13:26:13 UTC 2014 - brogers@suse.com - -- only build the x86 firmware on x86, ensuring consistent binaries -- remove un-needed pmtools BuildRequires -- Fix vga related problem doing direct kernel boot for SLES 10 and - SLES 11 guests (bnc#880625) - vgabios-Make-sure-stdvga_list_modes-doesn-t-overrun-.patch -- Probe vhost-net module on SLE11 (copied from SP3 package) - -------------------------------------------------------------------- -Sat May 24 10:01:36 UTC 2014 - afaerber@suse.de - -- Fix CVE-2013-4148 (bnc#864812) - 0048-virtio-net-fix-buffer-overflow-on-i.patch -- Fix CVE-2013-4149 (bnc#864649) - 0068-virtio-net-out-of-bounds-buffer-wri.patch -- Fix CVE-2013-4150 (bnc#864650) - 0049-virtio-net-out-of-bounds-buffer-wri.patch -- Fix CVE-2013-4151 (bnc#864653) - 0050-virtio-out-of-bounds-buffer-write-o.patch -- Fix CVE-2013-4526 (bnc#864671) - 0051-ahci-fix-buffer-overrun-on-invalid-.patch -- Fix CVE-2013-4527 (bnc#864673) - 0052-hpet-fix-buffer-overrun-on-invalid-.patch -- Fix CVE-2013-4529 (bnc#864678) - 0053-hw-pci-pcie_aer.c-fix-buffer-overru.patch -- Fix CVE-2013-4530 (bnc#864682) - 0054-pl022-fix-buffer-overun-on-invalid-.patch -- Fix CVE-2013-4531 (bnc#864796) - 0055-vmstate-fix-buffer-overflow-in-targ.patch -- Fix CVE-2013-4533 (bnc#864655) - 0058-pxa2xx-avoid-buffer-overrun-on-inco.patch -- Fix CVE-2013-4534 (bnc#864811) - 0067-openpic-avoid-buffer-overrun-on-inc.patch -- Fix CVE-2013-4535 / CVE-2013-4536 (bnc#864665) - 0057-virtio-validate-num_sg-when-mapping.patch -- Fix CVE-2013-4537 (bnc#864391) - 0066-ssi-sd-fix-buffer-overrun-on-invali.patch -- Fix CVE-2013-4538 (bnc#864769) - 0059-ssd0323-fix-buffer-overun-on-invali.patch -- Fix CVE-2013-4539 (bnc#864805) - 0060-tsc210x-fix-buffer-overrun-on-inval.patch -- Fix CVE-2013-4540 (bnc#864801) - 0061-zaurus-fix-buffer-overrun-on-invali.patch -- Fix CVE-2013-4541 (bnc#864802) - 0064-usb-sanity-check-setup_index-setup_.patch -- Fix CVE-2013-4542 (bnc#864804) - 0062-virtio-scsi-fix-buffer-overrun-on-i.patch -- Fix CVE-2013-6399 (bnc#864814) - 0067-virtio-avoid-buffer-overrun-on-inco.patch -- Fix CVE-2014-0182 (bnc#874788) - 0069-virtio-validate-config_len-on-load.patch -- Backported patch from stable branch (brogers): - 0070-virtio-allow-mapping-up-to-max-queu.patch - -------------------------------------------------------------------- -Wed May 14 13:44:38 UTC 2014 - afaerber@suse.de - -- Fix conflict with libcacard 0.1.2 from project security -* Adopt description and group for libcacard-devel from there -- Drop libcacard.{a,la} from libcacard-devel - If needed, libcacard.a should go into a libcacard-devel-static. -- Change qemu-extra to explicitly list qemu-system-* binaries - -------------------------------------------------------------------- -Tue May 13 08:17:18 UTC 2014 - afaerber@suse.de - -- ABI fixes for ppc64le TCG. Addresses acpi-test failures. - 0045-tcg-ppc64-Support-the-ELFv2-ABI.patch - -------------------------------------------------------------------- -Sat May 10 20:06:24 UTC 2014 - afaerber@suse.de - -- Split 60-kvm.rules into 60-kvm.rules and 60-kvm.x86.rules -- Install udev rules on s390x, ppc and arm, too -* Clean up KVM vs. qemu-kvm conditionals -- Package qemu-system-ppcemb in qemu-ppc and qemu-system-aarch64 - in qemu-arm - -------------------------------------------------------------------- -Fri Apr 18 17:55:03 UTC 2014 - afaerber@suse.de - -- Fix aarch64 emulation issues: - 0043-arm-translate.c-Fix-smlald-Instruct.patch - 0044-target-arm-A64-fix-unallocated-test.patch - -------------------------------------------------------------------- -Thu Apr 17 16:46:52 UTC 2014 - afaerber@suse.de - -- Attempt to solve or debug occasional qtest fd assertions - 0039-qtest-Assure-that-init_socket-s-lis.patch - 0040-qtest-Add-error-reporting-to-socket.patch - 0041-qtest-Increase-socket-timeout.patch - 0042-qtest-Be-paranoid-about-accept-addr.patch - -------------------------------------------------------------------- -Thu Apr 17 15:46:26 UTC 2014 - afaerber@suse.de - -- Update to v2.0.0: cf. http://wiki.qemu-project.org/ChangeLog/2.0 -* Update update_git.sh script accordingly - -------------------------------------------------------------------- -Mon Apr 14 17:49:54 UTC 2014 - afaerber@suse.de - -- Update to v2.0.0-rc3: cf. http://wiki.qemu-project.org/ChangeLog/2.0 -* Update update_git.sh script accordingly -* Addresses CVE-2014-0150 (bnc#873235), CVE-2013-4544 (bnc#873613) - -------------------------------------------------------------------- -Fri Apr 11 16:10:50 UTC 2014 - afaerber@suse.de - -- Update to v2.0.0-rc2: cf. http://wiki.qemu-project.org/ChangeLog/2.0 -* Update update_git.sh script accordingly -* Resolves Gtk mouse issues (bnc#849587) -* Fixes endianness-test failures for prep machine on Big Endian host - -------------------------------------------------------------------- -Fri Apr 4 00:17:38 UTC 2014 - afaerber@suse.de - -- Fix qemu-kvm script for s390x (bnc#869021) (bfrogers) -- Fix ksm.service file permissions to not be executable w/o shebang -- Re-enable Gtk build on 11.4 (fixes unpackaged qemu.mo files error) -- Fix SLE11 SP3 build by making sub-package "noarch" conditional -* Do not exclude qemu-ifup from qemu package when not installing -- Speed up %check by not running qom-test twice for some targets - 0038-tests-Don-t-run-qom-test-twice.patch - -------------------------------------------------------------------- -Thu Apr 3 15:59:32 UTC 2014 - afaerber@suse.de - -- Updated to v2.0.0-rc1: cf. http://wiki.qemu-project.org/ChangeLog/2.0 -* Update update_git.sh script accordingly -* Resolves breakage of live migration (bnc#871302) -* Addresses CVE-2014-0142, CVE-2014-0143, CVE-2014-0144, - CVE-2014-0145, CVE-2014-0146, CVE-2014-0147 (bnc#870439) -- Drop 0037-roms-Build-vgabios.bin.patch (unneeded) - -------------------------------------------------------------------- -Tue Apr 1 14:50:37 UTC 2014 - afaerber@suse.de - -- Enhance update_git.sh script -* Fix duplicate .patch for short filenames -* Read SeaBIOS version from QEMU tarball - -------------------------------------------------------------------- -Mon Mar 31 14:51:30 UTC 2014 - afaerber@suse.de - -- Re-create qemu-2.0.0-rc0.tar.bz2 to include SeaBIOS .version - -------------------------------------------------------------------- -Fri Mar 28 11:53:31 UTC 2014 - afaerber@suse.de - -- Improve update_git.sh script to use a user-agnostic git symlink - -------------------------------------------------------------------- -Wed Mar 26 21:09:34 UTC 2014 - brogers@suse.com - -- Tidy up qemu.spec a bit: white space, line length, use macros - as appropriate -- Improve update_git.sh to not change files in OBS if the file - remains unchanged - -------------------------------------------------------------------- -Wed Mar 26 14:16:39 UTC 2014 - afaerber@suse.de - -- Fix library directory -- Set default file attributes for qemu-ksm -- Enable Smartcard emulation -* Reorder package definitions to avoid %version troubles - -------------------------------------------------------------------- -Tue Mar 19 12:36:56 UTC 2014 - afaerber@suse.de - -- Update to v2.0.0-rc0: Cf. http://wiki.qemu-project.org/ChangeLog/2.0 -* Adapt update_git.sh script accordingly -* Generate package version automatically from VERSION file -* Switch from LGPL VGABIOS to SeaVGABIOS -* Enable modules -* Explicitly enable virtio-blk-data-plane (no functional change) -* Package new firmware blobs - -------------------------------------------------------------------- -Fri Mar 7 14:44:34 UTC 2014 - speilicke@suse.com - -- Add qemu-ksm subpackage providing a systemd service file for - enabling / disabling Kernel Samepage Merging. It is independent of - qemu (but recommended by it). - -------------------------------------------------------------------- -Fri Feb 28 18:21:37 UTC 2014 - afaerber@suse.de - -- Move target-x86_64.conf to qemu-x86 sub-package - -------------------------------------------------------------------- -Thu Feb 20 16:51:37 UTC 2014 - afaerber@suse.de - -- Split out KVM architectures to per-architecture subpackages -- Suggest qemu-lang package - -------------------------------------------------------------------- -Tue Feb 18 16:06:00 UTC 2014 - brogers@suse.com - -- enable usb passthrough via --enable-libusb config option - -------------------------------------------------------------------- -Sat Feb 15 15:46:54 UTC 2014 - brogers@suse.com - -- Fix improperly formatted wrapper script (bnc#864094) - -------------------------------------------------------------------- -Fri Feb 14 15:07:40 UTC 2014 - afaerber@suse.de - -- Enable make check - -------------------------------------------------------------------- -Thu Feb 13 23:10:47 UTC 2014 - brogers@suse.com - -- Use Provides/Obsoletes as means to transition kvm users to the - qemu-kvm package - -------------------------------------------------------------------- -Wed Feb 12 23:50:30 UTC 2014 - brogers@suse.com - -- Migrate kvm package contents to a new qemu-kvm sub-package, and - move the kvm related udev rules to the qemu package. (The kvm - package is being retired). - Add qemu-ifup - Add qemu-kvm.1.gz - Add kvm_stat - Add 60-kvm.rules - Add 80-kvm.rules - -------------------------------------------------------------------- -Mon Feb 3 15:54:06 UTC 2014 - afaerber@suse.de - -- Implement discard support for xen_disk (olh) (fate#316071) - 0042-xen_disk-add-discard-support.patch.patch - -------------------------------------------------------------------- -Fri Jan 24 11:03:58 UTC 2014 - afaerber@suse.de - -- Simplified VMDK SCSI support handling (backport from 13.1/v1.6.2) -* Increases the number of heads for SCSI from 16 to 255 - -------------------------------------------------------------------- -Fri Jan 17 17:34:57 UTC 2014 - afaerber@suse.de - -- Bump copyright in qemu.spec.in -- Use vte-devel instead of vte2-devel and force using Gtk3, - reported by Takashi and Dirk (bnc#840607, bnc#849587). - -------------------------------------------------------------------- -Mon Jan 13 14:24:24 UTC 2014 - coolo@suse.com - -- xen dropped support for i586, so don't buildrequire it - -------------------------------------------------------------------- -Thu Jan 2 19:01:51 UTC 2014 - afaerber@suse.de - -- Update version number of SeaBIOS, spotted by BdMdesigN - -------------------------------------------------------------------- -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 for roms/Makefile issue -* patch 0038-gdbstub-Fix-gdb_register_coprocesso.patch dropped - -------------------------------------------------------------------- -Wed Oct 9 16:23:56 UTC 2013 - dmueller@suse.com - -- use --enable-pie to fix arm build - -------------------------------------------------------------------- -Tue Oct 8 17:05:02 UTC 2013 - afaerber@suse.de - -- Undo workaround for sasl - fixed in Factory - -------------------------------------------------------------------- -Wed Oct 2 15:52:42 UTC 2013 - afaerber@suse.de - -- Work around Factory sasl breakage by allowing build w/o vnc-sasl -- Move build_and_copy_vgabios_bin.patch to Git patch queue -* Clearly mark in-.spec patch queue as for roms/ipxe/ only -- Synchronized qemu.spec.in from qemu.spec: -* Added ipxe-build-Avoid-strict-aliasing-warning.patch -* Modified SeaBIOS summary -* Added Conflicts for firmware subpackages -* Dropped %dir -- Add patch enabling PIE support for ppc/ppc64 (k0da) - -------------------------------------------------------------------- -Fri Sep 13 11:14:45 UTC 2013 - brogers@suse.com - -- Build x86 firmware from tarball source. The firmware components - produced are equivalent to the upstream provided binary blobs - currently being used. They are delivered in noarch subpackages as - follows (addresses bnc#830002): -* qemu-seabios v1.7.2.2 -* qemu-vgabios v0.6c -* qemu-sgabios v8 (svn rev 8) -* qemu-ipxe v1.0.0 -- Add following patches to enable x86 firmware to build: - ipxe-build-Work-around-bug-in-gcc-4.8.patch - ipxe-zbin-Fix-size-used-for-memset-in-al.patch - build_and_copy_vgabios_bin.patch - ipxe-build-Avoid-strict-aliasing-warning.patch - -------------------------------------------------------------------- -Mon Aug 26 06:40:22 UTC 2013 - rob.verduijn@gmail.com - -- Enabled usb-redirection -* Fixes starting VMs in gnome-boxes (bnc#839703) - -------------------------------------------------------------------- -Sat Aug 17 13:43:13 UTC 2013 - afaerber@suse.de - -- Enable Xen support to allow testing our QEMU in place of Xen's - This prepares for consolidating QEMU packaging further. - -------------------------------------------------------------------- -Sat Aug 17 12:12:57 UTC 2013 - afaerber@suse.de - -- Fix gdbstub for arm/m68k/ppc guests (from pending upstream pull) - -------------------------------------------------------------------- -Fri Aug 16 23:36:12 UTC 2013 - afaerber@suse.de - -- Update to v1.6.0: cf. http://wiki.qemu.org/ChangeLog/1.6 -* Adapt update_git.sh script accordingly - -------------------------------------------------------------------- -Tue Aug 13 14:36:53 UTC 2013 - afaerber@suse.de - -- Update to v1.6.0-rc3: cf. http://wiki.qemu.org/ChangeLog/1.6 -* Adapt update_git.sh script accordingly -- Changed back versioning scheme to 1.6.0rcX (saschpe, brogers). - -------------------------------------------------------------------- -Fri Aug 9 13:55:46 UTC 2013 - afaerber@suse.de - -- Update to v1.6.0-rc2: cf. http://wiki.qemu.org/ChangeLog/1.6 -* Adapt update_git.sh script accordingly -- Changed version from 1.6.0rcX to 1.5.9X (reported by lnussel) - -------------------------------------------------------------------- -Fri Aug 2 12:43:52 UTC 2013 - afaerber@suse.de - -- Update to v1.6.0-rc1: cf. http://wiki.qemu.org/ChangeLog/1.6 -* Adapt update_git.sh script accordingly - -------------------------------------------------------------------- -Thu Aug 1 15:34:28 UTC 2013 - afaerber@suse.de - -- Use libfdt build dependency not just for ppc. - QEMU 1.6 needs it for ppc, arm and microblaze guests and uses a - bundled copy if one of those targets is built and the system does - not have a compatible libfdt. - -------------------------------------------------------------------- -Tue Jul 30 04:58:55 UTC 2013 - afaerber@suse.de - -- Update to v1.6.0-rc0: cf. http://wiki.qemu.org/ChangeLog/1.6 -* Fixes build against recent dtc (SLE_11_SP2 ppc64 w/ Base:System) -* Includes Gtk patches for bnc#830459 -* Adapt update_git.sh script accordingly - -------------------------------------------------------------------- -Mon Jul 22 21:34:00 UTC 2013 - brogers@suse.com - -- Fix segfault that occurs from using -vga qxl (bnc#830459) - -------------------------------------------------------------------- -Tue Jun 18 13:58:35 UTC 2013 - afaerber@suse.de - -- Clarify through spec file comments that the patch queue is - auto-generated through update_git.sh. - Please do not submit SRs that bypass our patch handling. - -------------------------------------------------------------------- -Sat May 25 15:50:49 UTC 2013 - afaerber@suse.de - -- Really enable pulseaudio and oss support (bnc#737070) -- Amend licenses list with GPL-2.0 (adopted from kvm package) -- Be explicit in enabling features our packaging relies on -- Disable stripping at QEMU level -- Use %optflags rather than $QEMU_OPT_FLAGS - -------------------------------------------------------------------- -Fri May 24 19:57:35 UTC 2013 - afaerber@suse.de - -- Move /emul/ia32-linux to qemu-linux-user - -------------------------------------------------------------------- -Fri May 24 17:11:36 UTC 2013 - afaerber@suse.de - -- Drop dependency on bison -* Reorder BuildRequires alphabetically -- Fix summary of qemu-lang sub-package -- Drop post-build-checks suppression (qemu-linux-user only) - -------------------------------------------------------------------- -Fri May 24 14:31:59 UTC 2013 - afaerber@suse.de - -- Enable brlapi as done for kvm package - -------------------------------------------------------------------- -Fri May 24 12:33:23 UTC 2013 - afaerber@suse.de - -- Use %{?_smp_mflags} rather than %{?jobs:-j%jobs} - -------------------------------------------------------------------- -Thu May 23 15:08:42 UTC 2013 - afaerber@suse.de - -- Extend virtfs typedef workaround to ppc64 for SLE_11_SP2 - -------------------------------------------------------------------- -Tue May 21 21:13:04 UTC 2013 - afaerber@suse.de - -- Split off qemu-linux-user package into separate .spec file. -* Simplified %build and %install sections -* Dropped *-static dependencies - -------------------------------------------------------------------- -Mon May 20 21:14:08 UTC 2013 - afaerber@suse.de - -- Update to v1.5.0 final: Cf. http://wiki.qemu.org/ChangeLog/1.5 -* Adapt update_git.sh accordingly -* Add BuildRequires for gtk2/3 and vte2 to enable new frontend -* Place translations into new qemu-lang package -* Really enable SPICE support from 11.4 in configure, too - -------------------------------------------------------------------- -Fri May 17 13:47:21 UTC 2013 - afaerber@suse.de - -- Add BuildRequires for pixman, to avoid using internal version - that fails to build on ppc - -------------------------------------------------------------------- -Thu May 16 10:34:08 UTC 2013 - afaerber@suse.de - -- Update to v1.5.0-rc2: Cf. http://wiki.qemu.org/ChangeLog/1.5 -* Adapt update_git.sh accordingly -- Add patch by brogers to fix SLE 11 SP2 build (from kvm package) - -------------------------------------------------------------------- -Tue May 14 13:02:18 UTC 2013 - afaerber@suse.de - -- Update to v1.5.0-rc1: Cf. http://wiki.qemu.org/ChangeLog/1.5 -* Adapt update_git.sh accordingly -* TODO file no longer exists, don't try to package it -* Package qemu-mips64{,el} - -------------------------------------------------------------------- -Tue May 14 14:51:20 CEST 2013 - ohering@suse.de - -- Enable spice support starting from 11.4 - -------------------------------------------------------------------- -Tue May 7 19:56:40 UTC 2013 - afaerber@suse.de - -- Update to v1.5.0-rc0: Cf. http://wiki.qemu.org/ChangeLog/1.5 -* Adapt update_git.sh script -* Audio cards are now all enabled by default - -------------------------------------------------------------------- -Wed Apr 24 17:15:04 UTC 2013 - afaerber@suse.de - -- Enable pa and oss audio drivers, as in kvm package (bnc#737070) -- Enable hda audio card, as done in kvm package (bnc#801794) - -------------------------------------------------------------------- -Mon Apr 22 18:27:18 UTC 2013 - dimstar@opensuse.org - -- Add explicit alsa-devel BuildRequires: this used to (wrongly) be - pulled in by libSDL-devel. - -------------------------------------------------------------------- -Sun Feb 17 11:15:39 UTC 2013 - afaerber@suse.de - -- Update licenses from new format_spec_file - -------------------------------------------------------------------- -Sat Feb 16 12:13:58 UTC 2013 - afaerber@suse.de - -- Update to v1.4.0: See http://wiki.qemu.org/ChangeLog/1.4 -* Adapt update_git.sh accordingly - -------------------------------------------------------------------- -Sun Feb 10 14:27:36 UTC 2013 - afaerber@suse.de - -- Update to v1.4.0-rc1: See http://wiki.qemu.org/ChangeLog/1.4 -* Adapt update_git.sh accordingly -- Update update_git.sh to reference github.com/openSUSE/qemu.git - -------------------------------------------------------------------- -Thu Dec 13 13:30:57 UTC 2012 - agraf@suse.com - -- linux-user: fix lseek with SEEK_END - -------------------------------------------------------------------- -Thu Dec 13 10:47:52 UTC 2012 - agraf@suse.com - -- Cherry pick patches from qemu-kvm into the qemu package: - - 0033-Add-support-for-DictZip-enabled-gzi.patch - - 0034-Add-tar-container-format.patch.patch - - 0035-Legacy-Patch-kvm-qemu-preXX-dictzip.patch - - 0036-Legacy-Patch-kvm-qemu-preXX-report-.patch - - 0037-console-add-question-mark-escape-op.patch - - 0038-Make-char-muxer-more-robust-wrt-sma.patch - -------------------------------------------------------------------- -Wed Dec 5 13:25:31 UTC 2012 - afaerber@suse.de - -- Revert memory size constraint, the workaround patch got applied - -------------------------------------------------------------------- -Wed Dec 5 10:37:14 UTC 2012 - afaerber@suse.de - -- Update to v1.3.0: see http://wiki.qemu.org/ChangeLog/1.3 -* Update update_git.sh script accordingly - -------------------------------------------------------------------- -Wed Nov 28 12:26:39 UTC 2012 - afaerber@suse.de - -- Replace -fno-gcse patch with v3 - -------------------------------------------------------------------- -Tue Nov 27 16:34:29 UTC 2012 - afaerber@suse.de - -- Add patch to workaround GCC PR55489 via -fno-gcse, - another step to avoid builds failing with out-of-memory - -------------------------------------------------------------------- -Tue Nov 27 15:56:07 UTC 2012 - afaerber@suse.de - -- Add _constraints to request adequate memory to succeed building - -------------------------------------------------------------------- -Tue Nov 27 05:16:13 UTC 2012 - afaerber@suse.de - -- Update to v1.3.0-rc1: see http://wiki.qemu.org/ChangeLog/1.3 -* Update update_git.sh accordingly - -------------------------------------------------------------------- -Tue Nov 20 16:46:38 UTC 2012 - afaerber@suse.de - -- Update to v1.3.0-rc0: see http://wiki.qemu.org/ChangeLog/1.3 -* Update update_git.sh accordingly -* Disable SPICE for 11.4 since it can no longer be built lacking - pyparsing - -------------------------------------------------------------------- -Tue Oct 10 18:14:59 UTC 2012 - agraf@suse.com - -- use ulong for syscall parameters. fixes lseek with big files - -------------------------------------------------------------------- -Tue Oct 10 17:16:20 UTC 2012 - agraf@suse.com - -- Add more block ioctl handlers for kiwi - -------------------------------------------------------------------- -Tue Oct 9 19:55:32 UTC 2012 - afaerber@suse.de - -- Sync qemu.spec.in file, please don't forget! - -------------------------------------------------------------------- -Fri Sep 14 16:22:01 UTC 2012 - schwab@linux-m68k.org - -- Don't strip binaries - -------------------------------------------------------------------- -Thu Sep 13 13:12:52 UTC 2012 - idonmez@suse.com - -- Add explicit dependency on makeinfo for manpage/doc generation - -------------------------------------------------------------------- -Fri Sep 7 07:04:08 UTC 2012 - vuntz@suse.com - -- Add libcap-devel BuildRequires since it's needed to enable VirtFS - support. -- Add libcap-ng-devel BuildRequires to be able to drop privileges - in qemu-bridge-helper. -- Add libjpeg-devel and libpng-devel BuildRequires to enable VNC - jpeg and png support. -- Pass --enable-virtfs to configure to detect changes that will - cause VirtFS support to not be built. - -------------------------------------------------------------------- -Wed Sep 5 17:39:17 UTC 2012 - afaerber@suse.de - -- update to v1.2.0: see http://wiki.qemu.org/ChangeLog/1.2 -* adapt update_git.sh script -* this includes the fix for CVE-2012-3515 - -------------------------------------------------------------------- -Wed Sep 5 10:26:38 UTC 2012 - afaerber@suse.de - -- add bounds checks in console VT100 emulation (bnc#777084, - CVE-2012-3515) - -------------------------------------------------------------------- -Wed Sep 5 09:57:44 UTC 2012 - afaerber@suse.de - -- update to v1.2.0-rc3: http://wiki.qemu.org/ChangeLog/1.2 -* adapt update_git.sh script -- add two patches from kvm for SUSE Studio, forwarded by Dinar: -* add -nooutgoing option for slirp networking -* add allowed-connections= and password-file= options for VNC - -------------------------------------------------------------------- -Tue Aug 28 15:58:56 UTC 2012 - afaerber@suse.de - -- update to v1.2.0-rc1: http://wiki.qemu.org/ChangeLog/1.2 -* adapt update_git.sh script - -------------------------------------------------------------------- -Tue Aug 21 12:21:49 UTC 2012 - agraf@suse.com - -- fix getdent in linux-user -- fix statfs in linux-user -- disable FIEMAP support in linux-user - -------------------------------------------------------------------- -Tue Aug 21 08:21:20 UTC 2012 - agraf@suse.com - -- add support for FS_IOC_[G|S]ETFLAG ioctls - -------------------------------------------------------------------- -Fri Aug 17 14:30:28 UTC 2012 - afaerber@suse.de - -- update to v1.2.0-rc0: http://wiki.qemu.org/ChangeLog/1.2 -* adapt update_git.sh script -* package new qemu-or32 executable into linux-user - -------------------------------------------------------------------- -Wed Aug 15 20:50:02 UTC 2012 - dmueller@suse.com - -- avoid installing qemu on a qemu build - -------------------------------------------------------------------- -Tue Jul 31 09:50:25 UTC 2012 - agraf@suse.com - -- add hijack for /proc/cpuinfo -- add compatibility patch for glibc 2.16 (Thanks AJ!) - -------------------------------------------------------------------- -Wed Jul 11 21:16:34 UTC 2012 - agraf@suse.com - -- fix segfault even better - -------------------------------------------------------------------- -Wed Jul 11 14:52:02 UTC 2012 - agraf@suse.com - -- linux-user: improve locking even across tb flushes - -------------------------------------------------------------------- -Tue Jul 10 18:43:31 UTC 2012 - agraf@suse.com - -- linux-user: pin multi-threaded applications to a single host cpu - -------------------------------------------------------------------- -Tue Jul 10 16:42:54 UTC 2012 - agraf@suse.com - -- linux-user: improve lock - -------------------------------------------------------------------- -Thu Jul 5 15:37:05 UTC 2012 - agraf@suse.com - -- linux-user: add tcg lock for multi-threaded guest programs - -------------------------------------------------------------------- -Wed Jun 25 19:29:05 UTC 2012 - afaerber@suse.de - -- include qemu-img and qemu-nbd in qemu-tools package - -------------------------------------------------------------------- -Wed Jun 25 18:30:54 UTC 2012 - afaerber@suse.de - -- add qemu-guest-agent package - -------------------------------------------------------------------- -Mon Jun 25 17:40:36 UTC 2012 - agraf@suse.com - -- add fix for segv in linux-user (fixes java) - -------------------------------------------------------------------- -Tue Jun 19 16:06:52 UTC 2012 - afaerber@suse.de - -- revert LIBRARY_PATH patch by Alex - -------------------------------------------------------------------- -Mon Jun 18 12:27:56 UTC 2012 - afaerber@suse.de - -- add patch by Alex to force gcc being emulated for LIBRARY_PATH - -------------------------------------------------------------------- -Mon Jun 18 09:06:41 UTC 2012 - dvaleev@suse.com - -- add libfdt1 to buildrequires on ppc - -------------------------------------------------------------------- -Thu Jun 14 14:39:57 UTC 2012 - afaerber@suse.de - -- revert qemu-bridge-helper mode change (cf. BNC#765948) - -------------------------------------------------------------------- -Mon Jun 13 13:44:28 UTC 2012 - brogers@suse.com - -- don't use permissions.d - -------------------------------------------------------------------- -Wed Jun 13 08:19:01 UTC 2012 - agraf@suse.com - -- Add fix for bogus losetup ioctl to not warn us about it - -------------------------------------------------------------------- -Sat Jun 9 19:09:39 UTC 2012 - brogers@suse.com - -- Set up bridge helper as a setuid executable - -------------------------------------------------------------------- -Sat Jun 9 12:17:45 UTC 2012 - afaerber@suse.de - -- Add patch for specifying --libexecdir -* Fixes having to specify the path to qemu-bridge-helper manually -- Drop superfluous `make qemu-img` -- Move qemu-bridge-helper to its own subpackage, to share with KVM - -------------------------------------------------------------------- -Tue Jun 5 13:25:43 UTC 2012 - afaerber@suse.de - -- Update to v1.1.0: see http://wiki.qemu.org/ChangeLog/1.1 -* Adapt update_git.sh script to new tag - -------------------------------------------------------------------- -Fri Jun 1 13:22:09 UTC 2012 - afaerber@suse.de - -- Update to v1.1.0-rc4: see http://wiki.qemu.org/ChangeLog/1.1 -* Adapt update_git.sh script to new tag - -------------------------------------------------------------------- -Thu May 31 17:37:26 UTC 2012 - agraf@suse.com - -- fix /proc/self/maps faking with secondary threads - -------------------------------------------------------------------- -Wed May 30 20:19:05 CEST 2012 - agraf@suse.de - -- revert commit a84fac1426 to fix automoc4 for arm - -------------------------------------------------------------------- -Tue May 29 15:52:47 UTC 2012 - agraf@suse.com - -- remove manual interp prefix, which made all linux-user binaries - point to an i386 LD_PREFIX path - -------------------------------------------------------------------- -Tue May 29 15:34:55 UTC 2012 - agraf@suse.com - -- add patch to fix building of go (swi in thumb ignores imm) - -------------------------------------------------------------------- -Tue May 22 16:39:24 UTC 2012 - afaerber@suse.de - -- Update to v1.1.0-rc3; see http://wiki.qemu.org/ChangeLog/1.1 -* Adapt update_git.sh script to new tag - -------------------------------------------------------------------- -Thu May 17 17:40:19 UTC 2012 - afaerber@suse.de - -- Update to v1.1.0-rc2; see http://wiki.qemu.org/ChangeLog/1.1 -* Adapt update_git.sh script to new tag - -------------------------------------------------------------------- -Wed May 16 01:29:02 UTC 2012 - afaerber@suse.de - -- Remove workaround for forcing cURL detection - -------------------------------------------------------------------- -Sun May 13 15:39:12 UTC 2012 - afaerber@suse.de - -- Update to v1.1-rc1: see http://wiki.qemu.org/ChangeLog/1.1 -* Add workaround for 11.4: add -lrt after -lglib-2.0 -- Adapt update_git.sh script to new tag - -------------------------------------------------------------------- -Tue May 8 00:15:18 UTC 2012 - afaerber@suse.de - -- Update to v1.1-rc0; see http://wiki.qemu.org/ChangeLog/1.1 -* Do not try to mv qemu, the executable is gone, there's a dir now -* Do not try to mv */qemu-*, there's a pc-bios/qemu-icon.bmp -* Be more specific in temporary copying of files to dynamic/ -* Drop duplicate %_bindir/qemu_binfmt_misc.sh, only in sbin now -* Use dynamic version of new executable qemu-bridge-helper -- Update update_git.sh script to pull patches from suse-1.1 branch - -------------------------------------------------------------------- -Mon May 7 19:49:40 UTC 2012 - afaerber@suse.de - -- Update URL to project homepage - -------------------------------------------------------------------- -Mon May 7 10:01:52 UTC 2012 - agraf@suse.com - -- compile fixes for ppc64abi32 -- fix update_fit.sh script if wc -c is 40 -- fix stale tbs after mmap - -------------------------------------------------------------------- -Wed Mar 7 15:16:16 UTC 2012 - agraf@suse.com - -- cut off patch file names after 40 bytes, support older git versions - for update_git.sh - -------------------------------------------------------------------- -Mon Mar 5 01:31:42 UTC 2012 - agraf@suse.com - -- resolve VMAs downwards, fixes arm git build for real - -------------------------------------------------------------------- -Sat Mar 3 23:27:14 UTC 2012 - agraf@suse.com - -- update update_git.sh for 1.0.1 -- add fixes for reserved_va mmap(NULL) case, fixes git build on arm - -------------------------------------------------------------------- -Tue Feb 28 11:49:55 UTC 2012 - idonmez@suse.com - -- Enable spice support - -------------------------------------------------------------------- -Wed Feb 22 23:04:48 UTC 2012 - brogers@suse.com - -- update to latest stable release: 1.0.1. For changes see: - http://wiki.qemu.org/ChangeLog/1.0 - -------------------------------------------------------------------- -Mon Feb 6 22:24:27 UTC 2012 - brogers@suse.com - -- avoid buffer overflow in e1000 device emulation (bnc#740165) - -------------------------------------------------------------------- -Mon Feb 6 19:29:33 UTC 2012 - agraf@suse.de - -- qemu-user: fix fallocate - -------------------------------------------------------------------- -Fri Feb 3 11:49:24 UTC 2012 - agraf@suse.de - -- qemu-user: fix previous patch - -------------------------------------------------------------------- -Thu Feb 2 15:28:42 UTC 2012 - agraf@suse.de - -- qemu-user: add host binary support for binfmt - -------------------------------------------------------------------- -Thu Feb 2 00:41:21 UTC 2012 - agraf@suse.de - -- qemu-user: add fix for /proc/self/maps to only show mappable regions - -------------------------------------------------------------------- -Wed Feb 1 23:48:53 UTC 2012 - agraf@suse.de - -- qemu-user: add wrapper for BLKBSZGET - -------------------------------------------------------------------- -Tue Jan 31 21:36:02 UTC 2012 - agraf@suse.de - -- qemu-user: add fix for deadloop with ulimit constraints -- qemu-user: add device mapper and loopback ioctls, enabling kpatkx - -------------------------------------------------------------------- -Tue Jan 10 16:08:35 UTC 2012 - agraf@suse.de - -- backport all ppc-1.0 stable patches to our package -- add fix for PPC HV KVM on 3.1 - -------------------------------------------------------------------- -Tue Jan 10 15:26:21 UTC 2012 - agraf@suse.de - -- add fix for PPC in HV KVM mode - -------------------------------------------------------------------- -Thu Jan 6 01:18:00 UTC 2012 - agraf@suse.de - -- add workaround for KVM on PPC to support hugetlbfs -- add upstream patches to fake $0 in /proc/self/maps (fixes ps) - -------------------------------------------------------------------- -Wed Dec 14 00:16:28 UTC 2011 - agraf@suse.com - -- add update_git.sh to simplify maintenance of the tree -- use -R automatically in linux-user to gain more address space -- drop MAP_32BIT patch (deprecated by the one above) - -------------------------------------------------------------------- -Mon Dec 12 22:05:24 CET 2011 - agraf@suse.com - -- add linker patch for ppc hosts - -------------------------------------------------------------------- -Mon Dec 12 20:55:12 UTC 2011 - agraf@suse.com - -- remove exclusivearch - we should be able to build everywhere! - -------------------------------------------------------------------- -Sun Dec 11 03:12:05 UTC 2011 - agraf@suse.com - -- fix compilation for 11.4 - -------------------------------------------------------------------- -Sun Dec 11 03:07:39 UTC 2011 - agraf@suse.com - -- fix compilation on sle11 -- add %fdupes for duplicate file checking - -------------------------------------------------------------------- -Sun Dec 11 00:36:35 UTC 2011 - agraf@suse.com - -- update to 1.0 from upstream. for changelogs please see: - - 0.14 -> 0.15: http://wiki.qemu.org/ChangeLog/0.15 - - 0.15 -> 1.0: http://wiki.qemu.org/ChangeLog/1.0 -- the binary "qemu" is now called qemu-system-i386 - -------------------------------------------------------------------- -Tue Nov 8 14:53:19 UTC 2011 - agraf@suse.com - -- only ignore specific timer_create syscall, no all of them - -------------------------------------------------------------------- -Sun Nov 6 14:33:42 UTC 2011 - agraf@suse.com - -- don't print out unsupported syscalls but rather silently ignore - them - some programs catch stderr and get confused - -------------------------------------------------------------------- -Thu Nov 3 18:48:47 UTC 2011 - adrian@suse.de - -- add a number of patches to fake /proc entries (from Alex) - -------------------------------------------------------------------- -Fri Oct 28 08:55:39 UTC 2011 - adrian@suse.de - -- split linux-user binaries into qemu-linux-user package - (this static package can be used in cross build in OBS) - -------------------------------------------------------------------- -Tue Oct 18 07:02:45 UTC 2011 - adrian@suse.de - -- add xattr support for openSUSE 12.1 -- added syscall numbers to fix prlimit64 support (from upstream) - -------------------------------------------------------------------- -Wed Oct 5 12:00:34 UTC 2011 - joop.boonen@opensuse.org - -- Fixed glibc arm build issue according to - https://bugs.meego.com/show_bug.cgi?format=multiple&id=20418 - added a reverse patch - -------------------------------------------------------------------- -Tue Oct 4 08:09:57 UTC 2011 - adrian@suse.de - -- add binfmt misc handler binary patch from alex. This is a handler - which calls qemu with -0 argument and right parameters to avoid - broken runs due to different set $0 as on real hardware -- move arch specific patches at the end to avoid arch dep conflicts - with other patches -- enable linux-user build to get binfmt handler - -------------------------------------------------------------------- -Thu Sep 29 09:21:17 UTC 2011 - adrian@suse.de - -- add 0021-implement-prlimit64-syscall.patch from upstream to avoid - output and confused configure scripts when testing gcc on armv7hl -- add 0022-fixing-smp-races.patch from alex to fix some SMP races - -------------------------------------------------------------------- -Tue Sep 27 09:57:34 UTC 2011 - adrian@suse.de - -- add 0020-linux-user-implement-reboot-syscall.patch from alex -- extend 0010 mmap patch for files - -------------------------------------------------------------------- -Mon Sep 26 15:53:41 UTC 2011 - adrian@suse.de - -- add fix from alex for openat file permission handling - -------------------------------------------------------------------- -Mon Jun 20 09:25:59 UTC 2011 - aj@suse.de - -- Add BuildRequires: glibc-devel-static - -------------------------------------------------------------------- -Thu May 19 15:49:45 UTC 2011 - andrea@opensuse.org - -- removed un-required vde buildrequires - -------------------------------------------------------------------- -Tue May 17 03:29:17 UTC 2011 - brogers@novell.com - -- build correctly for SLE11 -- reset revision to zero after version change - -------------------------------------------------------------------- -Wed May 11 13:47:03 UTC 2011 - andrea@opensuse.org - -- added 0018-qemu-0.14.1-mcast-udp.patch to enable multicast and - udp tunneling support - -------------------------------------------------------------------- -Tue May 10 15:09:50 UTC 2011 - andrea@opensuse.org - -- New Upstream version 0.14.1 - See http://wiki.qemu.org/Changelog/0.14 for changes in 0.14 -- removed 0014-qemu-0.11-git-ioctl_mount.patch not required anymore -- enabled vde support -- some spec clean up - -------------------------------------------------------------------- -Mon Feb 21 10:48:07 UTC 2011 - coolo@novell.com - -- disable parallel build for a while, it takes too much memory - for our workers - -------------------------------------------------------------------- -Thu Feb 10 14:48:36 CET 2011 - uli@suse.de - -- update -> 0.14.0-rc1 - See http://wiki.qemu.org/Changelog/0.14 for changes in 0.14. - (There is no such page for the 0.13 tree. The ChangeLog file ends at - 0.12.0, http://wiki.qemu.org/ChangeLog at 0.12.5 and suggests to look at - the git log. High-level information of what has changed in 0.13 is - apparently not available.) - -------------------------------------------------------------------- -Fri May 28 18:57:23 CEST 2010 - uli@suse.de - -- update -> 0.12.4 - see http://wiki.qemu.org/ChangeLog for changes - -------------------------------------------------------------------- -Wed May 19 17:37:03 UTC 2010 - brogers@novell.com - -- co-exist with virt-utils, which provides some qemu components - (bnc#586115) - -------------------------------------------------------------------- -Sun Apr 18 01:34:46 UTC 2010 - crrodriguez@opensuse.org - -- requires timezone - -------------------------------------------------------------------- -Mon Oct 5 13:45:24 CEST 2009 - uli@suse.de - -- update -> 0.11.0 final - - mips: fix conditional move off fp conditions codes (Nath Froyd) - - fix migration to obey -S (Paolo Bonzini) - - remove pc-0-10 machine type (Mark McLoughlin) - - vnc: fix copyrect screen corruption (Gerd Hoffman) - - fix vm state change handlers running order (Markus Armbruster) - - e1000: fix eerc and ics emulation (Bill Paul) - - fix sdl zooming with pl110 (Blue Swirl) - - sparc64: flush pending conditional evaluations (Igor Kovalenko) - - esp: fix interrupt register read (Blue Swirl) - - option rom makefile fixes (Paul Brook) - - fix sparse warnings (Blue Swirl) - - fix symfind (Laurent Desnogues) - - win32: fix default prefix (Stefan Weil) - - fix checksum writing in signboot (Alex Graf) - - fix sdl window resize (Stefano Stabellini) - - do not resize the screen on hw_invalidate (Stefano Stabellini) - - Add checks for -smbios option (Beth Kon) - - fix do_set_link (Luiz Capitulino) - - fix do_commit behavior (Luiz Capitulino) - - make windows notice media change (Gleb Natapov) - - check for PR_SET_NAME being defined (Nathan Froyd) - - fix migration for ide devices (Anthony Liguori) - - Use correct depth in vmware vga (Reimar Doffiner) - - support 32bpp cursors in sdl (Reimar Doffinger) - - fix device name completion for eject (Blue Swirl) - - make screendump use DisplayState properly (Stefano Stabellini) - - fix autostart with live migration (Avi Kivity) - - fix detached migration with exec (Chris Lalancette) - - fix segv when changing vnc password in sdl (Zach Amsden) - - fix vnc password clearing with stdio monitor (Zach Amsden) - - clean up VGA type selection (Zach Amsden) - - add missing linefeed in error message (Stefan Weil) - - fix rtc polling mode (Bernhard Kauer) - - qcow2: order concurrent aio requests (Kevin Wolf) - - qemu-io: port to win32 (Stefan Weil) - - alpha: fix extlh instruction (Vince Weaver) - - tcg: fix size of local variables in tcg_gen_bswap64_i64 (Stefan Weil) - - net: fix send ordering (Jan Kiszka) - - escc: fix IRQ routing (Aurelien Jarno) - - versatile: fix Linux task preemption (Aurelien Jarno) - - curses: reduce memory usage by 250MB (Aurelien Jarno) -- disabled ppc64 host, seems to be very broken - -------------------------------------------------------------------- -Thu Sep 10 14:53:43 CEST 2009 - uli@suse.de - -- package missing tools (qemu-nbd, qemu-io) - -------------------------------------------------------------------- -Thu Sep 3 18:07:21 CEST 2009 - uli@suse.de - -- disable S/390 target on 32-bit platforms - -------------------------------------------------------------------- -Mon Aug 11 14:44:48 CEST 2009 - uli@suse.de - -- update -> 0.11.0 RC1 - - add machine aliasing support (Mark McLoughlin) - - add getfd/closefd monitor commands (Mark McLoughlin) - - fix live migration (various) - - HPET fixes (various) - - slirp: fix guestfwd for incoming data (Jan Kiszka) - - fix qemu-img convert to copy unallocated parts of the image - (Akkarit Sangpetch) - - vmdk: fix backing file handling (Kevin Wolf) - - scsi: add save/restore support (Nolan Leake) - - e1000: ignore reset command (Kevin Wolf) - - allow monitor interaction when using -incoming exec: (Chris Lalancette) - - fix -net socket,listen (Jan Kiszka) - - serial: fix lost characters after sysrq (Jason Wessel) - - lsi53c895a: Implement additional registers (Sebastian Herbszt) - - i386: fix cpu reset (Nitin Kamble) - - Prevent CD-ROM eject while device is locked (Mark McLoughlin) - - Fix memory leaks (various) - - Reset PS2 keyboard/mouse on reset (Dinesh Subraveti) - - Fix -initrd with > 4GB guests (Glauber Costa) - - qcow2 fixes (various) - - Enable power button event generation (Gleb Natapov) - - fix serial option in -drive - - Fix non-ACPI timer interrupt routing (Beth Kon) - - Fix keyboard mapping on newer Xords with non-default keymaps (balrog) - - Make PCI config status register read-only (Anthony Liguori) - - Fix crash on resolution change -> screen dump -> vga redraw (Avi Kivity) - - fix savevm/loadvm (various) - - virtio: fix guest oops with 2.6.25 kernels (Rusty Russell) - - SH4: add support for -kernel (Takashi Yoshii, Aurelien Jarno) - - hotplug: fix closing of char devices (Jan Kiszka) - - hotplug: remove incorrect check for device name (Eduardo Habkost) - - fix VGA regression (malc) -- added S/390 host and target -- maintaining patches in git -- several linux-user improvements for compatibility and speed -- enabled curl block driver, VNC TLS and SASL, AIO, and Bluetooth - -------------------------------------------------------------------- -Thu Apr 16 01:53:59 CEST 2009 - ro@suse.de - -- buildfix: refresh patches - -------------------------------------------------------------------- -Fri Mar 27 12:20:21 CET 2009 - crrodriguez@suse.de - -- BuildRequire zlib-devel-static - -------------------------------------------------------------------- -Tue Mar 24 15:33:47 CET 2009 - uli@suse.de - -- update -> release (0.10.1) - - fixes bnc #435135 (CVE-2008-4539, SWAMP #22179), #362956 - (CVE-2008-1945, CVE-2008-0928), #461565 (CVE-2008-2382) - - Kernel Virtual Machine acceleration support - - GDB XML register description support - - Intel e1000 emulation - - HPET emulation - - VirtIO paravirtual device support - - Marvell 88w8618 / MusicPal emulation - - Nokia N-series tablet emulation / OMAP2 processor emulation - - PCI hotplug support - - Curses display support - - qemu-nbd utility to mount supported block formats - - Altivec support in PPC emulation and new firmware (OpenBIOS) - - Multiple VNC clients are now supported - - TLS encryption is now supported in VNC - - MIPS Magnum R4000 machine (Hervé Poussineau) - - Braille support (Samuel Thibault) - - Freecom MusicPal system emulation (Jan Kiszka) - - OMAP242x and Nokia N800, N810 machines (Andrzej Zaborowski) - - EsounD audio driver (Frederick Reeve) - - Gravis Ultrasound GF1 sound card (Tibor "TS" Schütz) - - Many, many, bug fixes and new features - - virtio-net: allow masking of notifications on empty queue (Alex - Williamson) - - e1000: fix rx descriptor low threshold logic (Alex Willaimson) - - x86 tcg: add NULL checks to lsl instruction (Jan Kiszka) - - kvm vga: fix screen corruption with -std-vga and Windows (Avi Kivity) - - kvm vga: fix screen corruption with Ubuntu installations (Glauber Costa) - - virtio-net: check right return size on sg list (Alex Williamson) - - Make qemu_announce_self handle holes (live migration after hotplug) - (Marcelo Tosatti) - - Revert r6804-r6808 (qcow2 allocation info). This series of changes - added a high cost to startup for large qcow2 images (Anthony Liguori) - - qemu-img: fix help message (Aurelien Jarno) - - Fix build for non-default installs of SDL (Anthony Liguori) - - Fix race condition in env->interrupt_request. When using TCG and a - dynticks host timer, this condition could cause TCG to get stuck in an - infinite loop (Aurelien Jarno) - - Fix reading encrypted hard disk passwords during early startup (Jan - Kiszka) - - Fix encrypted disk reporting in 'info block' (Jan Kiszka) - - Fix console size with tiny displays (MusicPal) (Jan Kiszka) - - Improve error handling in bdrv_open2 (Jan Kiszka) - - Avoid leaking data in mux'ed character devices (Jan Kiszka) - - Fix initial character device reset (no banner in monitor) (Jan Kiszka) - - Fix cpuid KVM crash on i386 host (Lubomir Rintel) - - Fix SLES10sp2 installation by adding ISTAT1 register to LSI SCSI - emulation (Ryan Harper) -- s390x TCG backend -- i386-linux-user NPTL support - -------------------------------------------------------------------- -Wed Oct 8 17:03:34 CEST 2008 - uli@suse.de - -- update -> current SVN - - fixes PPC hosts - - fixes SH4 targets (reenabled), adds NPTL support - - SSSE3, SSE4.* instructions, "unreal" mode fixed - - Alpha target converted to TCG - - live migration - - Bluetooth emulation - - SCSI tape support - - OpenBIOS binary updated - - UHCI emulation rewritten - - lots of bugfixes - -------------------------------------------------------------------- -Mon Aug 4 13:08:59 CEST 2008 - ro@suse.de - -- fix build by adding return statements for two nonvoid functions - (qemu-nonvoid_return.patch), actually unreached code - -------------------------------------------------------------------- -Thu Jul 24 13:56:06 CEST 2008 - uli@suse.de - -- update -> current SVN - - MIPS Magnum R4000 machine (Hervé Poussineau) - - Braille support (Samuel Thibault) - - Freecom MusicPal system emulation (Jan Kiszka) - - OMAP242x and Nokia N800, N810 machines (Andrzej Zaborowski) - - EsounD audio driver (Frederick Reeve) - - Gravis Ultrasound GF1 sound card (Tibor "TS" Schütz) -- added pcap networking -- ditched GCC3 thanks to TCG. Hooray! - (downside: no PPC and SH4 emulation, no S/390 host) - -------------------------------------------------------------------- -Thu May 15 17:33:53 CEST 2008 - cthiel@suse.de - -- use lsilogic instead of buslogic for SCSI VMDK images - -------------------------------------------------------------------- -Thu May 8 13:56:20 CEST 2008 - uli@suse.de - -- add format option to disable autodetection of disk image format - (bnc#380828) - -------------------------------------------------------------------- -Fri Apr 25 13:33:40 CEST 2008 - uli@suse.de - -- revert secfix (causes data corruption, no known good patch - available yet) -- support creation of SCSI VMDK images - -------------------------------------------------------------------- -Tue Mar 11 14:02:54 CET 2008 - uli@suse.de - -- secfix (unchecked block read/write vulnerability, bug #362956) - -------------------------------------------------------------------- -Thu Jan 17 15:19:54 CET 2008 - uli@suse.de - -- update -> 0.9.1 - - TFTP booting from host directory (Anthony Liguori, Erwan Velu) - - Tap device emulation for Solaris (Sittichai Palanisong) - - Monitor multiplexing to several I/O channels (Jason Wessel) - - ds1225y nvram support (Herve Poussineau) - - CPU model selection support (J. Mayer, Paul Brook, Herve Poussineau) - - Several Sparc fixes (Aurelien Jarno, Blue Swirl, Robert Reif) - - MIPS 64-bit FPU support (Thiemo Seufer) - - Xscale PDA emulation (Andrzej Zaborowski) - - ColdFire system emulation (Paul Brook) - - Improved SH4 support (Magnus Damm) - - MIPS64 support (Aurelien Jarno, Thiemo Seufer) - - Preliminary Alpha guest support (J. Mayer) - - Gumstix boards: connex and verdex emulation (Thorsten Zitterell) - - Intel mainstone II board emulation (Armin Kuster) - - VMware SVGA II graphics card support (Andrzej Zaborowski) -- revert s390-dis.c to last GPLv2 version -- reenabled qemu-system-ppcemb - -------------------------------------------------------------------- -Mon Dec 10 14:29:42 CET 2007 - uli@suse.de - -- fixed open() usage with O_CREAT - -------------------------------------------------------------------- -Tue Nov 13 15:54:45 CET 2007 - uli@suse.de - -- update -> current CVS: - - Read-only support for Parallels disk images (Alex Beregszaszi) - - CRIS emulation (Edgar E. Iglesias) - - SPARC32PLUS execution support (Blue Swirl) - - MIPS mipssim pseudo machine (Thiemo Seufer) - - Strace for Linux userland emulation (Stuart Anderson, Thayne Harbaugh) - - OMAP310 MPU emulation plus Palm T|E machine (Andrzej Zaborowski) - - ARM v6, v7, NEON SIMD and SMP emulation (Paul Brook/CodeSourcery) - -------------------------------------------------------------------- -Fri Oct 12 01:30:23 CEST 2007 - ro@suse.de - -- hack to fix build: undef DEBUG_BLOCK for now - -------------------------------------------------------------------- -Thu Sep 28 14:45:41 CEST 2007 - agraf@suse.de - -- fix SVM support (Alexander Graf) - -------------------------------------------------------------------- -Thu Sep 13 13:37:41 CEST 2007 - agraf@suse.de - -- add SVM emulation support (Alexander Graf) -- fix a misassumption in the s390 fix (uli) -- allow more IDE power management (Ben Guthro) -- log any I/O error and perform automatic read retry for CDrom (Ben Guthro) -- fix Coherent guest support (Jan Jezabek) -- fix several Darwin guest issues (Filip Navara) - -------------------------------------------------------------------- -Mon Aug 20 11:05:39 CEST 2007 - agraf@suse.de - -- fix ATAPI bug when using libata (Brandon Philips) (#291775) - -------------------------------------------------------------------- -Sat Aug 11 09:20:48 CEST 2007 - olh@suse.de - -- disable only SNDRV_SB_CSP_IOCTL_LOAD_CODE for _IOC_SIZEBITS < 14 - -------------------------------------------------------------------- -Thu Aug 9 16:39:10 CEST 2007 - olh@suse.de - -- disable some alsa SB ioctl declarations - -------------------------------------------------------------------- -Mon Aug 6 22:35:06 CEST 2007 - olh@suse.de - -- remove inclusion of linux/compiler.h - -------------------------------------------------------------------- -Mon Jul 30 18:04:08 CEST 2007 - uli@suse.de - -- fixed for S/390 - -------------------------------------------------------------------- -Tue Jul 10 15:44:03 CEST 2007 - schwab@suse.de - -- Add (incomplete) m68k emulation. - -------------------------------------------------------------------- -Mon Jul 9 17:02:48 CEST 2007 - agraf@suse.de - -- included alsa support in qemu-user -- update to current cvs - - TFTP booting from host directory (Anthony Liguori, Erwan Velu) - - Tap device emulation for Solaris (Sittichai Palanisong) - - Monitor multiplexing to several I/O channels (Jason Wessel) - - ds1225y nvram support (Herve Poussineau) - - CPU model selection support (J. Mayer, Paul Brook, Herve Poussineau) - - Several Sparc fixes (Aurelien Jarno, Blue Swirl) - - MIPS 64-bit FPU support (Thiemo Seufer) - - Xscale PDA emulation (Andrzei Zaborowski) - - ColdFire system emulation (Paul Brook) - - Improved SH4 support (Magnus Damm) - - MIPS64 support (Aurelien Jarno, Thiemo Seufer) - - Preliminary Alpha guest support (J. Mayer) - - IPC fixes - -------------------------------------------------------------------- -Wed Jun 20 14:38:47 CEST 2007 - agraf@suse.de - -- applied proper fix for x86_64 and the MAP_32BIT flag - -------------------------------------------------------------------- -Wed Jun 20 10:59:11 CEST 2007 - uli@suse.de - -- added secfixes (bug #252519) - -------------------------------------------------------------------- -Thu Jun 14 18:53:18 CEST 2007 - agraf@suse.de - -- made wine work (set FS register to 0 on init) -- suppressed robust_list warnings - -------------------------------------------------------------------- -Wed Jun 13 22:31:34 CEST 2007 - agraf@suse.de - -- made flash player 9 work on ppc -- fixed FUTEX_WAKE_OP on machines where endianness differs -- made mmap on x86_64 use the MAP_32BIT flag -- removed a useless spin_lock -- removed an annoying debug message for forking -- implemented sched_getaffinity syscall -- fixed configure call so it takes gcc3 again - -------------------------------------------------------------------- -Wed Jun 13 15:01:44 CEST 2007 - uli@suse.de - -- support "vga=" parameter (Pascal Terjan) -- direct jump support for x86-64 (Gwenole Beauchesne) -- fix chaining of CPU instances (Gwenole Beauchesne) -- live migration support (Anthony Liguori) -- fix fprem/fprem1 insns (Julian Seward) -- KVM support -- Z80/ZX Spectrum emulation (Stuart Brady) -- GCC4 support postponed (breaks x86-64 on i386) - -------------------------------------------------------------------- -Mon Jun 11 16:12:00 CEST 2007 - agraf@suse.de - -- implemented TLS support on i386 so qemu-user can be used to run - with current libc versions (partly done by David Woodhouse, - fixed by Alexander Graf) -- added a dirty hack for an mmap page table bug on qemu-user x86 - emulation -- disable AF_NETLINK in qemu-user (endianness problems) -- applied fast path mangling patch from Kirill A. Shutemov -- applied strace patch for debugging (by Stuart R. Anderson) - -------------------------------------------------------------------- -Wed Apr 4 20:01:42 CEST 2007 - agraf@suse.de - -- fixed initrd loading on x86 - -------------------------------------------------------------------- -Thu Mar 29 22:20:04 CEST 2007 - ro@suse.de - -- added bison to BuildRequires - -------------------------------------------------------------------- -Tue Feb 20 15:05:06 CET 2007 - uli@suse.de - -- added better fix by Robert Schiele (bug #241950) -- update -> 0.9.0 - - Support for relative paths in backing files for disk images - - Async file I/O API - - New qcow2 disk image format - - Support of multiple VM snapshots - - Linux: specific host CDROM and floppy support - - SMM support - - Moved PCI init, MP table init and ACPI table init to Bochs BIOS - - Support for MIPS32 Release 2 instruction set (Thiemo Seufer) - - MIPS Malta system emulation (Aurelien Jarno, Stefan Weil) - - Darwin userspace emulation (Pierre d'Herbemont) - - m68k user support (Paul Brook) - - several x86 and x86_64 emulation fixes - - Mouse relative offset VNC extension (Anthony Liguori) - - PXE boot support (Anthony Liguori) - - '-daemonize' option (Anthony Liguori) - -------------------------------------------------------------------- -Tue Feb 6 11:42:01 CET 2007 - uli@suse.de - -- added fix by Robert Schiele to work without usbdevfs - (bug #241950) - -------------------------------------------------------------------- -Fri Feb 2 00:57:09 CET 2007 - ro@suse.de - -- remove -fstack-protector from CFLAGS - -------------------------------------------------------------------- -Fri Oct 27 18:48:53 CEST 2006 - schwab@suse.de - -- Fix char signedness. - -------------------------------------------------------------------- -Mon Sep 11 16:56:15 CEST 2006 - uli@suse.de - -- re-added ARM FPE patch -- fixed SPARC on PPC -- install missing openbios-sparc32 - -------------------------------------------------------------------- -Sat Sep 9 02:52:53 CEST 2006 - dmueller@suse.de - -- update to 0.8.2: - - ACPI support - - PC VGA BIOS fixes - - MIPS FPU support (Marius Groeger) - - PPC breakpoints and single stepping (Jason Wessel) - - USB updates (Paul Brook) - - UDP/TCP/telnet character devices (Jason Wessel) - - Windows sparse file support (Frediano Ziglio) - - RTL8139 NIC TCP segmentation offloading (Igor Kovalenko) - - PCNET NIC support (Antony T Curtis) - - Support for variable frequency host CPUs - - Workaround for win32 SMP hosts - - Support for AMD Flash memories (Jocelyn Mayer) - - Audio capture to WAV files support (malc) - -------------------------------------------------------------------- -Tue May 30 11:57:16 CEST 2006 - uli@suse.de - -- fixed to build on PPC with new glibc - -------------------------------------------------------------------- -Mon May 29 13:39:30 CEST 2006 - uli@suse.de - -- fixed to build with new kernel headers - -------------------------------------------------------------------- -Wed Mar 8 18:14:04 CET 2006 - uli@suse.de - -- split giant patch -- added NWFPE glue code fix - -------------------------------------------------------------------- -Tue Mar 7 22:31:12 CET 2006 - schwab@suse.de - -- More fixes for ia64 port. - -------------------------------------------------------------------- -Mon Mar 6 23:54:26 CET 2006 - schwab@suse.de - -- Remove obsolete hunk from ia64 patch. - -------------------------------------------------------------------- -Wed Jan 25 21:40:58 CET 2006 - mls@suse.de - -- converted neededforbuild to BuildRequires - -------------------------------------------------------------------- -Tue Dec 20 13:14:34 CET 2005 - uli@suse.de - -- update -> 0.8.0 - -------------------------------------------------------------------- -Thu Dec 8 14:47:53 CET 2005 - uli@suse.de - -- update to current CVS (MIPS userspace, ARM system, SMP, USB, - NX, VLAN, serial, parallel, ES1370, ALSA backend) -- build i386 and AMD64 emus with kqemu support if possible -- install missing PPC video driver, SPARC boot ROM -- install missing keymaps - -------------------------------------------------------------------- -Mon Nov 7 15:41:57 CET 2005 - uli@suse.de - -- updated linker scripts for new binutils release - -------------------------------------------------------------------- -Sat Sep 17 18:42:42 CEST 2005 - dmueller@suse.de - -- update to 0.7.2 - -------------------------------------------------------------------- -Mon Aug 15 23:11:50 CEST 2005 - schwab@suse.de - -- Don't package /emul/ia32-linux on ia64. - -------------------------------------------------------------------- -Mon Aug 15 16:27:02 CEST 2005 - schwab@suse.de - -- Fix compilation on ia64. - -------------------------------------------------------------------- -Mon Aug 1 15:28:42 CEST 2005 - uli@suse.de - -- update -> 0.7.1 -- enabled x86_64-system - -------------------------------------------------------------------- -Mon Jul 11 16:29:52 CEST 2005 - uli@suse.de - -- update -> CVS (MIPS emulation) -- build with throwaway GCC3 (still no GCC4-compatible QEMU in - sight) -- enabled armeb-user -- link *-user statically (necessary for chrooting into non-native - systems) -- disabled s390, alpha, armv4l build (broken and unmaintained) -- disabled qemu-fast (broken and deprecated) -- disabled i386-user on x86_64 (useless) -- build with %jobs - -------------------------------------------------------------------- -Wed Jun 1 02:24:11 CEST 2005 - ro@suse.de - -- update to 0.7.0, still no success with gcc-4 - -------------------------------------------------------------------- -Thu Jan 27 14:00:04 CET 2005 - uli@suse.de - -- baselibs-x86 link is unnecessary on x86/AMD64 -- two ARM emulation fixes (RRX operand fix by Paul Brook, shifter - carry fix by me) -- SDL 1.2.8 can be linked statically -> enabled qemu-fast - -------------------------------------------------------------------- -Mon Nov 29 14:55:36 CET 2004 - uli@suse.de - -- update -> 0.6.1 -- build softmmu binaries on s390 (still doesn't work though) -- pack /emul/ia32-linux directory and symlink from /usr/share/qemu - so it's possible to use the IA64 baselibs-x86 packages - -------------------------------------------------------------------- -Wed Sep 15 11:19:49 CEST 2004 - uli@suse.de - -- removed unnecessary dependency on private glibc symbol - (bug #44864) - -------------------------------------------------------------------- -Fri Aug 6 16:52:36 CEST 2004 - uli@suse.de - -- update -> 0.6.0 (fixes for several OSs, improvements in emulated - hardware (IDE, PCI, network, VGA, APM, PowerMac), minor fixes, - tool for conversion of VMware images) - -------------------------------------------------------------------- -Tue May 11 16:18:25 CEST 2004 - uli@suse.de - -- update -> 0.5.5 (contains ARM, utime() fixes and several others) -- make uname() return target machine name (fixes config.guess, - rpm etc.) -- fake sigaltstack() (fixes m4) -- enabled x86-64 - -------------------------------------------------------------------- -Wed May 5 15:29:24 CEST 2004 - uli@suse.de - -- fixed ARM emulation bug - -------------------------------------------------------------------- -Wed Apr 28 16:39:31 CEST 2004 - uli@suse.de - -- build with -fno-unit-at-a-time (fixes PPC system emulator) - -------------------------------------------------------------------- -Wed Apr 28 10:14:17 CEST 2004 - uli@suse.de - -- update -> 0.5.4 (runs Linux/PPC, several fixes) - -------------------------------------------------------------------- -Mon Apr 19 16:17:00 CEST 2004 - uli@suse.de - -- initial package - diff --git a/libcacard.spec b/libcacard.spec deleted file mode 100644 index 4e431fcc..00000000 --- a/libcacard.spec +++ /dev/null @@ -1,197 +0,0 @@ -# -# spec file for package libcacard -# -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. - -# Please submit bugfixes or comments via http://bugs.opensuse.org/ -# - - -Name: libcacard -Url: http://www.qemu.org/ -Summary: Universal CPU emulator -License: BSD-3-Clause and GPL-2.0 and GPL-2.0+ and LGPL-2.1+ and MIT -Group: System/Emulators/PC -Version: 2.4.0 -Release: 0 -Source: http://wiki.qemu.org/download/qemu-2.4.0.tar.bz2 -# This patch queue is auto-generated from https://github.com/openSUSE/qemu -Patch0001: 0001-XXX-dont-dump-core-on-sigabort.patch -Patch0002: 0002-XXX-work-around-SA_RESTART-race-wit.patch -Patch0003: 0003-qemu-0.9.0.cvs-binfmt.patch -Patch0004: 0004-qemu-cvs-alsa_bitfield.patch -Patch0005: 0005-qemu-cvs-alsa_ioctl.patch -Patch0006: 0006-qemu-cvs-alsa_mmap.patch -Patch0007: 0007-qemu-cvs-gettimeofday.patch -Patch0008: 0008-qemu-cvs-ioctl_debug.patch -Patch0009: 0009-qemu-cvs-ioctl_nodirection.patch -Patch0010: 0010-block-vmdk-Support-creation-of-SCSI.patch -Patch0011: 0011-linux-user-add-binfmt-wrapper-for-a.patch -Patch0012: 0012-PPC-KVM-Disable-mmu-notifier-check.patch -Patch0013: 0013-linux-user-fix-segfault-deadlock.patch -Patch0014: 0014-linux-user-binfmt-support-host-bina.patch -Patch0015: 0015-linux-user-Ignore-broken-loop-ioctl.patch -Patch0016: 0016-linux-user-lock-tcg.patch -Patch0017: 0017-linux-user-Run-multi-threaded-code-.patch -Patch0018: 0018-linux-user-lock-tb-flushing-too.patch -Patch0019: 0019-linux-user-Fake-proc-cpuinfo.patch -Patch0020: 0020-linux-user-implement-FS_IOC_GETFLAG.patch -Patch0021: 0021-linux-user-implement-FS_IOC_SETFLAG.patch -Patch0022: 0022-linux-user-XXX-disable-fiemap.patch -Patch0023: 0023-slirp-nooutgoing.patch -Patch0024: 0024-vnc-password-file-and-incoming-conn.patch -Patch0025: 0025-linux-user-add-more-blk-ioctls.patch -Patch0026: 0026-linux-user-use-target_ulong.patch -Patch0027: 0027-block-Add-support-for-DictZip-enabl.patch -Patch0028: 0028-block-Add-tar-container-format.patch -Patch0029: 0029-Legacy-Patch-kvm-qemu-preXX-dictzip.patch -Patch0030: 0030-console-add-question-mark-escape-op.patch -Patch0031: 0031-Make-char-muxer-more-robust-wrt-sma.patch -Patch0032: 0032-linux-user-lseek-explicitly-cast-no.patch -Patch0033: 0033-virtfs-proxy-helper-Provide-__u64-f.patch -Patch0034: 0034-configure-Enable-PIE-for-ppc-and-pp.patch -Patch0035: 0035-qtest-Increase-socket-timeout.patch -Patch0036: 0036-AIO-Reduce-number-of-threads-for-32.patch -Patch0037: 0037-Revert-Revert-seccomp-tests-that-al.patch -Patch0038: 0038-tcg-aarch64-Fix-tcg_out_qemu_-ld-st.patch -Patch0039: 0039-tests-Unique-test-path-for-string-v.patch -Patch0040: 0040-dictzip-Fix-on-big-endian-systems.patch -# Please do not add patches manually here, run update_git.sh. -# this is to make lint happy -Source300: qemu-rpmlintrc -Source400: update_git.sh -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: e2fsprogs-devel -BuildRequires: fdupes -BuildRequires: gcc-c++ -BuildRequires: glib2-devel -BuildRequires: libattr-devel -BuildRequires: libtool -BuildRequires: mozilla-nss-devel -BuildRequires: ncurses-devel -BuildRequires: python -BuildRequires: zlib-devel - -%description -QEMU is an extremely well-performing CPU emulator that allows you to -choose between simulating an entire system and running userspace -binaries for different architectures under your native operating -system. It currently emulates x86, ARM, PowerPC and SPARC CPUs as well -as PC and PowerMac systems. - -This sub-package contains statically linked binaries for running linux-user -emulations. This can be used together with the OBS build script to -run cross-architecture builds. - -%package -n libcacard0 -Summary: Common Access Card (CAC) emulation -Group: System/Emulators/PC - -%description -n libcacard0 -This emulator is designed to provide emulation of actual smart cards to a -virtual card reader running in a guest virtual machine. The emulated smart -cards can be representations of real smart cards, where the necessary functions -such as signing, card removal/insertion, etc. are mapped to real, physical -cards which are shared with the client machine the emulator is running on, or -the cards could be pure software constructs. - -%package -n libcacard-devel -Summary: Common Access Card (CAC) emulation -- Development files -Group: Development/Languages/C and C++ -Requires: glib2-devel -Requires: libcacard0 = %version -Requires: mozilla-nspr -Requires: mozilla-nss - -%description -n libcacard-devel -This emulator is designed to provide emulation of actual smart cards to a -virtual card reader running in a guest virtual machine. The emulated smart -cards can be representations of real smart cards, where the necessary functions -such as signing, card removal/insertion, etc. are mapped to real, physical -cards which are shared with the client machine the emulator is running on, or -the cards could be pure software constructs. - -This sub-package contains development files for the Smartcard library. - -%prep -%setup -q -n qemu-2.4.0 -%patch0001 -p1 -%patch0002 -p1 -%patch0003 -p1 -%patch0004 -p1 -%patch0005 -p1 -%patch0006 -p1 -%patch0007 -p1 -%patch0008 -p1 -%patch0009 -p1 -%patch0010 -p1 -%patch0011 -p1 -%patch0012 -p1 -%patch0013 -p1 -%patch0014 -p1 -%patch0015 -p1 -%patch0016 -p1 -%patch0017 -p1 -%patch0018 -p1 -%patch0019 -p1 -%patch0020 -p1 -%patch0021 -p1 -%patch0022 -p1 -%patch0023 -p1 -%patch0024 -p1 -%patch0025 -p1 -%patch0026 -p1 -%patch0027 -p1 -%patch0028 -p1 -%patch0029 -p1 -%patch0030 -p1 -%patch0031 -p1 -%patch0032 -p1 -%patch0033 -p1 -%patch0034 -p1 -%patch0035 -p1 -%patch0036 -p1 -%patch0037 -p1 -%patch0038 -p1 -%patch0039 -p1 -%patch0040 -p1 - -%build -./configure --prefix=%_prefix --sysconfdir=%_sysconfdir \ - --libdir=%_libdir \ - --libexecdir=%_libexecdir \ - --disable-strip \ - --enable-smartcard-nss \ - --extra-cflags="$QEMU_OPT_FLAGS" -make %{?_smp_mflags} V=1 libcacard.la - -%install -make install-libcacard DESTDIR=$RPM_BUILD_ROOT -rm -f $RPM_BUILD_ROOT/%_libdir/libcacard.a -rm -f $RPM_BUILD_ROOT/%_libdir/libcacard.la - -%post -n libcacard0 -p /sbin/ldconfig - -%postun -n libcacard0 -p /sbin/ldconfig - -%files -n libcacard0 -%defattr(-, root, root) -%_libdir/libcacard.so.0* - -%files -n libcacard-devel -%defattr(-, root, root) -%dir %_includedir/cacard -%_includedir/cacard/*.h -%_libdir/libcacard.so -%_libdir/pkgconfig/libcacard.pc - -%changelog diff --git a/libcacard.spec.in b/libcacard.spec.in deleted file mode 100644 index 077b754e..00000000 --- a/libcacard.spec.in +++ /dev/null @@ -1,119 +0,0 @@ -# -# spec file for package libcacard -# -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. - -# Please submit bugfixes or comments via http://bugs.opensuse.org/ -# - - -Name: libcacard -Url: http://www.qemu.org/ -Summary: Universal CPU emulator -License: BSD-3-Clause and GPL-2.0 and GPL-2.0+ and LGPL-2.1+ and MIT -Group: System/Emulators/PC -QEMU_VERSION -Release: 0 -Source: http://wiki.qemu.org/download/qemu-2.4.0.tar.bz2 -# This patch queue is auto-generated from https://github.com/openSUSE/qemu -PATCH_FILES -# Please do not add patches manually here, run update_git.sh. -# this is to make lint happy -Source300: qemu-rpmlintrc -Source400: update_git.sh -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: e2fsprogs-devel -BuildRequires: fdupes -BuildRequires: gcc-c++ -BuildRequires: glib2-devel -BuildRequires: libattr-devel -BuildRequires: libtool -BuildRequires: mozilla-nss-devel -BuildRequires: ncurses-devel -BuildRequires: python -BuildRequires: zlib-devel - -%description -QEMU is an extremely well-performing CPU emulator that allows you to -choose between simulating an entire system and running userspace -binaries for different architectures under your native operating -system. It currently emulates x86, ARM, PowerPC and SPARC CPUs as well -as PC and PowerMac systems. - -This sub-package contains statically linked binaries for running linux-user -emulations. This can be used together with the OBS build script to -run cross-architecture builds. - -%package -n libcacard0 -Summary: Common Access Card (CAC) emulation -Group: System/Emulators/PC - -%description -n libcacard0 -This emulator is designed to provide emulation of actual smart cards to a -virtual card reader running in a guest virtual machine. The emulated smart -cards can be representations of real smart cards, where the necessary functions -such as signing, card removal/insertion, etc. are mapped to real, physical -cards which are shared with the client machine the emulator is running on, or -the cards could be pure software constructs. - -%package -n libcacard-devel -Summary: Common Access Card (CAC) emulation -- Development files -Group: Development/Languages/C and C++ -Requires: glib2-devel -Requires: libcacard0 = %version -Requires: mozilla-nspr -Requires: mozilla-nss - -%description -n libcacard-devel -This emulator is designed to provide emulation of actual smart cards to a -virtual card reader running in a guest virtual machine. The emulated smart -cards can be representations of real smart cards, where the necessary functions -such as signing, card removal/insertion, etc. are mapped to real, physical -cards which are shared with the client machine the emulator is running on, or -the cards could be pure software constructs. - -This sub-package contains development files for the Smartcard library. - -%prep -%setup -q -n qemu-2.4.0 -PATCH_EXEC - -%build -./configure --prefix=%_prefix --sysconfdir=%_sysconfdir \ - --libdir=%_libdir \ - --libexecdir=%_libexecdir \ - --disable-strip \ - --enable-smartcard-nss \ - --extra-cflags="$QEMU_OPT_FLAGS" -make %{?_smp_mflags} V=1 libcacard.la - -%install -make install-libcacard DESTDIR=$RPM_BUILD_ROOT -rm -f $RPM_BUILD_ROOT/%_libdir/libcacard.a -rm -f $RPM_BUILD_ROOT/%_libdir/libcacard.la - -%post -n libcacard0 -p /sbin/ldconfig - -%postun -n libcacard0 -p /sbin/ldconfig - -%files -n libcacard0 -%defattr(-, root, root) -%_libdir/libcacard.so.0* - -%files -n libcacard-devel -%defattr(-, root, root) -%dir %_includedir/cacard -%_includedir/cacard/*.h -%_libdir/libcacard.so -%_libdir/pkgconfig/libcacard.pc - -%changelog diff --git a/qemu-2.4.0.tar.bz2 b/qemu-2.4.0.tar.bz2 deleted file mode 100644 index fbd72249..00000000 --- a/qemu-2.4.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:72b0b991bbcc540663a019e1e8c4f714053b691dda32c9b9ee80b25f367e6620 -size 25070979 diff --git a/qemu-2.4.0.tar.bz2.sig b/qemu-2.4.0.tar.bz2.sig deleted file mode 100644 index b75e19f0..00000000 Binary files a/qemu-2.4.0.tar.bz2.sig and /dev/null differ diff --git a/qemu-2.5.0.tar.bz2 b/qemu-2.5.0.tar.bz2 new file mode 100644 index 00000000..d2de6086 --- /dev/null +++ b/qemu-2.5.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3443887401619fe33bfa5d900a4f2d6a79425ae2b7e43d5b8c36eb7a683772d4 +size 25464996 diff --git a/qemu-2.5.0.tar.bz2.sig b/qemu-2.5.0.tar.bz2.sig new file mode 100644 index 00000000..abc85fed Binary files /dev/null and b/qemu-2.5.0.tar.bz2.sig differ diff --git a/qemu-linux-user.changes b/qemu-linux-user.changes index 10995846..58e23d8e 100644 --- a/qemu-linux-user.changes +++ b/qemu-linux-user.changes @@ -1,3 +1,33 @@ +------------------------------------------------------------------- +Fri Jan 8 14:54:26 UTC 2016 - afaerber@suse.de + +- Update to v2.5.0: See http://wiki.qemu-project.org/ChangeLog/2.5 +* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.5 +* Patches dropped: + 0039-tests-Fix-check-report-qtest-target.patch + +------------------------------------------------------------------- +Sun Nov 22 18:05:25 UTC 2015 - afaerber@suse.de + +- Update to v2.5.0-rc1: See http://wiki.qemu-project.org/ChangeLog/2.5 +* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.5 +* Patch renamed: + 0037-Revert-Revert-seccomp-tests-that-al.patch -> 0037-configure-Enable-libseccomp-for-ppc.patch + +------------------------------------------------------------------- +Thu Nov 19 17:23:34 UTC 2015 - afaerber@suse.de + +- Update to v2.5.0-rc0: See http://wiki.qemu-project.org/ChangeLog/2.5 +* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.5 +* Patches dropped (upstream): + 0038-tcg-aarch64-Fix-tcg_out_qemu_-ld-st.patch + 0039-tests-Unique-test-path-for-string-v.patch +* Patch renamed: + 0040-dictzip-Fix-on-big-endian-systems.patch -> 0038-dictzip-Fix-on-big-endian-systems.patch +* Package qemu-tilegx +* Patches added: + 0039-tests-Fix-check-report-qtest-target.patch + ------------------------------------------------------------------- Thu Oct 8 16:29:32 UTC 2015 - afaerber@suse.de diff --git a/qemu-linux-user.spec b/qemu-linux-user.spec index 93992bc3..c151c853 100644 --- a/qemu-linux-user.spec +++ b/qemu-linux-user.spec @@ -1,7 +1,7 @@ # # spec file for package qemu-linux-user # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,9 +21,9 @@ Url: http://www.qemu.org/ Summary: Universal CPU emulator License: BSD-3-Clause and GPL-2.0 and GPL-2.0+ and LGPL-2.1+ and MIT Group: System/Emulators/PC -Version: 2.4.0 +Version: 2.5.0 Release: 0 -Source: http://wiki.qemu.org/download/qemu-2.4.0.tar.bz2 +Source: http://wiki.qemu.org/download/qemu-2.5.0.tar.bz2 # This patch queue is auto-generated from https://github.com/openSUSE/qemu Patch0001: 0001-XXX-dont-dump-core-on-sigabort.patch Patch0002: 0002-XXX-work-around-SA_RESTART-race-wit.patch @@ -61,10 +61,8 @@ Patch0033: 0033-virtfs-proxy-helper-Provide-__u64-f.patch Patch0034: 0034-configure-Enable-PIE-for-ppc-and-pp.patch Patch0035: 0035-qtest-Increase-socket-timeout.patch Patch0036: 0036-AIO-Reduce-number-of-threads-for-32.patch -Patch0037: 0037-Revert-Revert-seccomp-tests-that-al.patch -Patch0038: 0038-tcg-aarch64-Fix-tcg_out_qemu_-ld-st.patch -Patch0039: 0039-tests-Unique-test-path-for-string-v.patch -Patch0040: 0040-dictzip-Fix-on-big-endian-systems.patch +Patch0037: 0037-configure-Enable-libseccomp-for-ppc.patch +Patch0038: 0038-dictzip-Fix-on-big-endian-systems.patch # Please do not add patches manually here, run update_git.sh. # this is to make lint happy Source300: qemu-rpmlintrc @@ -117,7 +115,7 @@ emulations. This can be used together with the OBS build script to run cross-architecture builds. %prep -%setup -q -n qemu-2.4.0 +%setup -q -n qemu-2.5.0 %patch0001 -p1 %patch0002 -p1 %patch0003 -p1 @@ -156,8 +154,6 @@ run cross-architecture builds. %patch0036 -p1 %patch0037 -p1 %patch0038 -p1 -%patch0039 -p1 -%patch0040 -p1 %build ./configure --prefix=%_prefix --sysconfdir=%_sysconfdir \ @@ -261,6 +257,7 @@ rm -rf ${RPM_BUILD_ROOT} %_bindir/qemu-sparc32plus %_bindir/qemu-sparc64 %_bindir/qemu-sparc +%_bindir/qemu-tilegx %_bindir/qemu-unicore32 %_bindir/qemu-x86_64 %_bindir/qemu-*-binfmt diff --git a/qemu-linux-user.spec.in b/qemu-linux-user.spec.in index 2df94a94..40d9902e 100644 --- a/qemu-linux-user.spec.in +++ b/qemu-linux-user.spec.in @@ -23,7 +23,7 @@ License: BSD-3-Clause and GPL-2.0 and GPL-2.0+ and LGPL-2.1+ and MIT Group: System/Emulators/PC QEMU_VERSION Release: 0 -Source: http://wiki.qemu.org/download/qemu-2.4.0.tar.bz2 +Source: http://wiki.qemu.org/download/qemu-2.5.0.tar.bz2 # This patch queue is auto-generated from https://github.com/openSUSE/qemu PATCH_FILES # Please do not add patches manually here, run update_git.sh. @@ -78,7 +78,7 @@ emulations. This can be used together with the OBS build script to run cross-architecture builds. %prep -%setup -q -n qemu-2.4.0 +%setup -q -n qemu-2.5.0 PATCH_EXEC %build @@ -183,6 +183,7 @@ rm -rf ${RPM_BUILD_ROOT} %_bindir/qemu-sparc32plus %_bindir/qemu-sparc64 %_bindir/qemu-sparc +%_bindir/qemu-tilegx %_bindir/qemu-unicore32 %_bindir/qemu-x86_64 %_bindir/qemu-*-binfmt diff --git a/qemu-testsuite.changes b/qemu-testsuite.changes index 857329e8..c7a2717b 100644 --- a/qemu-testsuite.changes +++ b/qemu-testsuite.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Jan 8 14:54:22 UTC 2016 - afaerber@suse.de + +- Update to v2.5.0: See http://wiki.qemu-project.org/ChangeLog/2.5 +* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.5 +* Patches dropped (upstreamed): + 0039-tests-Fix-check-report-qtest-target.patch + ------------------------------------------------------------------- Tue Dec 29 17:14:12 UTC 2015 - stefan.bruens@rwth-aachen.de @@ -8,11 +16,43 @@ Tue Dec 1 17:17:23 UTC 2015 - agraf@suse.com - Fix testsuite on 32bit systems (bsc#957379) +------------------------------------------------------------------- +Sun Nov 22 21:48:21 UTC 2015 - afaerber@suse.de + +- Update to v2.5.0-rc1: See http://wiki.qemu-project.org/ChangeLog/2.5 +* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.5 +* Rebase libseccomp enablement: + 0037-Revert-Revert-seccomp-tests-that-al.patch -> 0037-configure-Enable-libseccomp-for-ppc.patch +* Provide qemu-ga and qemu-ipxe for qemu-testsuite +- Clean up qemu-ksm recommendation + ------------------------------------------------------------------- Sun Nov 22 20:36:53 UTC 2015 - afaerber@suse.de - Fix SLE11 build by fixing systemd conditionalization (from olh) +------------------------------------------------------------------- +Thu Nov 19 17:23:29 UTC 2015 - afaerber@suse.de + +- Update to v2.5.0-rc0: See http://wiki.qemu-project.org/ChangeLog/2.5 +* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.5 +* Patches dropped (upstream): + 0038-tcg-aarch64-Fix-tcg_out_qemu_-ld-st.patch + 0039-tests-Unique-test-path-for-string-v.patch + gcc5-ipxe-add-missing-const-qualifiers.patch + gcc5-ipxe-ath9k-Remove-confusing-logic-inversion-in-an-ANI-var.patch + SLOF_ppc64le.patch +* Patch renamed: + 0040-dictzip-Fix-on-big-endian-systems.patch -> 0038-dictzip-Fix-on-big-endian-systems.patch +* --enable-smartcard-nss -> --enable-smartcard + Needs an external libcacard, so drop it for now. +* Drop --enable-vnc-tls +* Require xz-devel for ipxe build +* Package qemu-ga(8) man page +* Package ivshmem-{client,server} +* Patches added: + 0039-tests-Fix-check-report-qtest-target.patch + ------------------------------------------------------------------- Thu Nov 19 11:23:26 UTC 2015 - tampakrap@opensuse.org diff --git a/qemu-testsuite.spec b/qemu-testsuite.spec index d800c8a0..a71c7490 100644 --- a/qemu-testsuite.spec +++ b/qemu-testsuite.spec @@ -1,7 +1,7 @@ # # spec file for package qemu-testsuite # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -51,10 +51,10 @@ Url: http://www.qemu.org/ Summary: Universal CPU emulator License: BSD-3-Clause and GPL-2.0 and GPL-2.0+ and LGPL-2.1+ and MIT Group: System/Emulators/PC -Version: 2.4.0 +Version: 2.5.0 Release: 0 -Source: http://wiki.qemu.org/download/qemu-2.4.0.tar.bz2 -Source99: http://wiki.qemu.org/download/qemu-2.4.0.tar.bz2.sig +Source: http://wiki.qemu.org/download/qemu-2.5.0.tar.bz2 +Source99: http://wiki.qemu.org/download/qemu-2.5.0.tar.bz2.sig Source1: 80-kvm.rules Source2: qemu-ifup Source3: kvm_stat @@ -102,10 +102,8 @@ Patch0033: 0033-virtfs-proxy-helper-Provide-__u64-f.patch Patch0034: 0034-configure-Enable-PIE-for-ppc-and-pp.patch Patch0035: 0035-qtest-Increase-socket-timeout.patch Patch0036: 0036-AIO-Reduce-number-of-threads-for-32.patch -Patch0037: 0037-Revert-Revert-seccomp-tests-that-al.patch -Patch0038: 0038-tcg-aarch64-Fix-tcg_out_qemu_-ld-st.patch -Patch0039: 0039-tests-Unique-test-path-for-string-v.patch -Patch0040: 0040-dictzip-Fix-on-big-endian-systems.patch +Patch0037: 0037-configure-Enable-libseccomp-for-ppc.patch +Patch0038: 0038-dictzip-Fix-on-big-endian-systems.patch # Please do not add QEMU patches manually here. # Run update_git.sh to regenerate this queue. @@ -117,9 +115,6 @@ Patch1000: seabios_128kb.patch Patch1001: seabios_checkrom_typo.patch Patch1002: seabios_avoid_smbios_signature_string.patch %endif -Patch1100: gcc5-ipxe-add-missing-const-qualifiers.patch -Patch1101: gcc5-ipxe-ath9k-Remove-confusing-logic-inversion-in-an-ANI-var.patch -Patch2000: SLOF_ppc64le.patch # this is to make lint happy Source300: qemu-rpmlintrc @@ -231,6 +226,9 @@ BuildRequires: vte2-devel %ifarch x86_64 BuildRequires: xen-devel %endif +%if %{build_x86_fw_from_source} +BuildRequires: xz-devel +%endif BuildRequires: zlib-devel %if 0%{?suse_version} >= 1140 %ifarch %ix86 x86_64 @@ -242,6 +240,7 @@ BuildRequires: spice-protocol-devel BuildRequires: bc BuildRequires: qemu-arm = %version BuildRequires: qemu-extra = %version +BuildRequires: qemu-guest-agent = %version BuildRequires: qemu-ppc = %version BuildRequires: qemu-s390 = %version BuildRequires: qemu-tools = %version @@ -271,7 +270,7 @@ Suggests: qemu-arm Suggests: qemu-block-dmg Suggests: qemu-extra Suggests: qemu-lang -%if 0%{?suse_version} >= 1210 +%if 0%{?with_systemd} Recommends: qemu-ksm = %{version} %endif @@ -587,7 +586,7 @@ This package provides a service file for starting and stopping KSM. %endif # !qemu-testsuite %prep -%setup -q -n qemu-2.4.0 +%setup -q -n qemu-2.5.0 %patch0001 -p1 %patch0002 -p1 %patch0003 -p1 @@ -626,8 +625,6 @@ This package provides a service file for starting and stopping KSM. %patch0036 -p1 %patch0037 -p1 %patch0038 -p1 -%patch0039 -p1 -%patch0040 -p1 %if %{build_x86_fw_from_source} pushd roms/seabios @@ -643,15 +640,7 @@ do done %endif -pushd roms/ipxe -%patch1100 -p1 -%patch1101 -p1 -popd - %if %{build_slof_from_source} -pushd roms/SLOF -%patch2000 -p1 -popd rm -f pc-bios/slof.bin %endif @@ -742,7 +731,6 @@ rm -f pc-bios/slof.bin %else --disable-seccomp \ %endif - --enable-smartcard-nss \ %if 0%{?suse_version} >= 1310 --enable-snappy \ %else @@ -773,7 +761,6 @@ rm -f pc-bios/slof.bin --enable-vnc-jpeg \ --enable-vnc-png \ --enable-vnc-sasl \ - --enable-vnc-tls \ %ifarch x86_64 --enable-xen \ --enable-xen-pci-passthrough \ @@ -802,6 +789,14 @@ cp pc-bios/s390-ccw/s390-ccw.img pc-bios/s390-ccw.img %else # qemu-testsuite ln -s %{_bindir}/qemu-img qemu-img +ln -s %{_bindir}/qemu-ga qemu-ga + +%if %{build_x86_fw_from_source} +for i in %built_firmware_files +do + ln -s %{_datadir}/qemu/$i pc-bios/$i +done +%endif for conf in default-configs/*-softmmu.mak; do arch=`echo "$conf" | sed -e 's|default-configs/\(.*\)-softmmu.mak|\1|g'` @@ -859,9 +854,6 @@ format=`qemu-img info test.tar | grep "file format:" | cut -d ':' -f 2 | tr -d ' make install DESTDIR=$RPM_BUILD_ROOT rm -fr $RPM_BUILD_ROOT/%_datadir/doc -rm $RPM_BUILD_ROOT/%_libdir/libcacard* -rm $RPM_BUILD_ROOT/%_libdir/pkgconfig/libcacard.pc -rm -fr $RPM_BUILD_ROOT/%_prefix/include/cacard %if ! %{build_x86_fw_from_source} for f in acpi-dsdt.aml q35-acpi-dsdt.aml bios-256k.bin bios.bin efi-*.rom pxe-*.rom sgabios.bin \ vgabios-cirrus.bin vgabios-qxl.bin vgabios-stdvga.bin vgabios-virtio.bin vgabios-vmware.bin \ @@ -1130,11 +1122,13 @@ fi %doc %_mandir/man1/qemu-img.1.gz %doc %_mandir/man1/virtfs-proxy-helper.1.gz %doc %_mandir/man8/qemu-nbd.8.gz +%_bindir/ivshmem-client +%_bindir/ivshmem-server %_bindir/qemu-io %_bindir/qemu-img %_bindir/qemu-nbd %_bindir/virtfs-proxy-helper -%_bindir/vscclient +#%_bindir/vscclient %verify(not mode) %_libexecdir/qemu-bridge-helper %dir %_sysconfdir/%name %config %_sysconfdir/%name/bridge.conf @@ -1142,6 +1136,7 @@ fi %files guest-agent %defattr(-, root, root) +%doc %_mandir/man8/qemu-ga.8.gz %attr(755,root,kvm) %_bindir/qemu-ga %if 0%{?with_systemd} %{_unitdir}/qemu-ga.service diff --git a/qemu.changes b/qemu.changes index 857329e8..c7a2717b 100644 --- a/qemu.changes +++ b/qemu.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Jan 8 14:54:22 UTC 2016 - afaerber@suse.de + +- Update to v2.5.0: See http://wiki.qemu-project.org/ChangeLog/2.5 +* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.5 +* Patches dropped (upstreamed): + 0039-tests-Fix-check-report-qtest-target.patch + ------------------------------------------------------------------- Tue Dec 29 17:14:12 UTC 2015 - stefan.bruens@rwth-aachen.de @@ -8,11 +16,43 @@ Tue Dec 1 17:17:23 UTC 2015 - agraf@suse.com - Fix testsuite on 32bit systems (bsc#957379) +------------------------------------------------------------------- +Sun Nov 22 21:48:21 UTC 2015 - afaerber@suse.de + +- Update to v2.5.0-rc1: See http://wiki.qemu-project.org/ChangeLog/2.5 +* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.5 +* Rebase libseccomp enablement: + 0037-Revert-Revert-seccomp-tests-that-al.patch -> 0037-configure-Enable-libseccomp-for-ppc.patch +* Provide qemu-ga and qemu-ipxe for qemu-testsuite +- Clean up qemu-ksm recommendation + ------------------------------------------------------------------- Sun Nov 22 20:36:53 UTC 2015 - afaerber@suse.de - Fix SLE11 build by fixing systemd conditionalization (from olh) +------------------------------------------------------------------- +Thu Nov 19 17:23:29 UTC 2015 - afaerber@suse.de + +- Update to v2.5.0-rc0: See http://wiki.qemu-project.org/ChangeLog/2.5 +* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.5 +* Patches dropped (upstream): + 0038-tcg-aarch64-Fix-tcg_out_qemu_-ld-st.patch + 0039-tests-Unique-test-path-for-string-v.patch + gcc5-ipxe-add-missing-const-qualifiers.patch + gcc5-ipxe-ath9k-Remove-confusing-logic-inversion-in-an-ANI-var.patch + SLOF_ppc64le.patch +* Patch renamed: + 0040-dictzip-Fix-on-big-endian-systems.patch -> 0038-dictzip-Fix-on-big-endian-systems.patch +* --enable-smartcard-nss -> --enable-smartcard + Needs an external libcacard, so drop it for now. +* Drop --enable-vnc-tls +* Require xz-devel for ipxe build +* Package qemu-ga(8) man page +* Package ivshmem-{client,server} +* Patches added: + 0039-tests-Fix-check-report-qtest-target.patch + ------------------------------------------------------------------- Thu Nov 19 11:23:26 UTC 2015 - tampakrap@opensuse.org diff --git a/qemu.spec b/qemu.spec index 87d2ca49..815e051f 100644 --- a/qemu.spec +++ b/qemu.spec @@ -1,7 +1,7 @@ # # spec file for package qemu # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -51,10 +51,10 @@ Url: http://www.qemu.org/ Summary: Universal CPU emulator License: BSD-3-Clause and GPL-2.0 and GPL-2.0+ and LGPL-2.1+ and MIT Group: System/Emulators/PC -Version: 2.4.0 +Version: 2.5.0 Release: 0 -Source: http://wiki.qemu.org/download/qemu-2.4.0.tar.bz2 -Source99: http://wiki.qemu.org/download/qemu-2.4.0.tar.bz2.sig +Source: http://wiki.qemu.org/download/qemu-2.5.0.tar.bz2 +Source99: http://wiki.qemu.org/download/qemu-2.5.0.tar.bz2.sig Source1: 80-kvm.rules Source2: qemu-ifup Source3: kvm_stat @@ -102,10 +102,8 @@ Patch0033: 0033-virtfs-proxy-helper-Provide-__u64-f.patch Patch0034: 0034-configure-Enable-PIE-for-ppc-and-pp.patch Patch0035: 0035-qtest-Increase-socket-timeout.patch Patch0036: 0036-AIO-Reduce-number-of-threads-for-32.patch -Patch0037: 0037-Revert-Revert-seccomp-tests-that-al.patch -Patch0038: 0038-tcg-aarch64-Fix-tcg_out_qemu_-ld-st.patch -Patch0039: 0039-tests-Unique-test-path-for-string-v.patch -Patch0040: 0040-dictzip-Fix-on-big-endian-systems.patch +Patch0037: 0037-configure-Enable-libseccomp-for-ppc.patch +Patch0038: 0038-dictzip-Fix-on-big-endian-systems.patch # Please do not add QEMU patches manually here. # Run update_git.sh to regenerate this queue. @@ -117,9 +115,6 @@ Patch1000: seabios_128kb.patch Patch1001: seabios_checkrom_typo.patch Patch1002: seabios_avoid_smbios_signature_string.patch %endif -Patch1100: gcc5-ipxe-add-missing-const-qualifiers.patch -Patch1101: gcc5-ipxe-ath9k-Remove-confusing-logic-inversion-in-an-ANI-var.patch -Patch2000: SLOF_ppc64le.patch # this is to make lint happy Source300: qemu-rpmlintrc @@ -231,6 +226,9 @@ BuildRequires: vte2-devel %ifarch x86_64 BuildRequires: xen-devel %endif +%if %{build_x86_fw_from_source} +BuildRequires: xz-devel +%endif BuildRequires: zlib-devel %if 0%{?suse_version} >= 1140 %ifarch %ix86 x86_64 @@ -242,6 +240,7 @@ BuildRequires: spice-protocol-devel BuildRequires: bc BuildRequires: qemu-arm = %version BuildRequires: qemu-extra = %version +BuildRequires: qemu-guest-agent = %version BuildRequires: qemu-ppc = %version BuildRequires: qemu-s390 = %version BuildRequires: qemu-tools = %version @@ -271,7 +270,7 @@ Suggests: qemu-arm Suggests: qemu-block-dmg Suggests: qemu-extra Suggests: qemu-lang -%if 0%{?suse_version} >= 1210 +%if 0%{?with_systemd} Recommends: qemu-ksm = %{version} %endif @@ -587,7 +586,7 @@ This package provides a service file for starting and stopping KSM. %endif # !qemu-testsuite %prep -%setup -q -n qemu-2.4.0 +%setup -q -n qemu-2.5.0 %patch0001 -p1 %patch0002 -p1 %patch0003 -p1 @@ -626,8 +625,6 @@ This package provides a service file for starting and stopping KSM. %patch0036 -p1 %patch0037 -p1 %patch0038 -p1 -%patch0039 -p1 -%patch0040 -p1 %if %{build_x86_fw_from_source} pushd roms/seabios @@ -643,15 +640,7 @@ do done %endif -pushd roms/ipxe -%patch1100 -p1 -%patch1101 -p1 -popd - %if %{build_slof_from_source} -pushd roms/SLOF -%patch2000 -p1 -popd rm -f pc-bios/slof.bin %endif @@ -742,7 +731,6 @@ rm -f pc-bios/slof.bin %else --disable-seccomp \ %endif - --enable-smartcard-nss \ %if 0%{?suse_version} >= 1310 --enable-snappy \ %else @@ -773,7 +761,6 @@ rm -f pc-bios/slof.bin --enable-vnc-jpeg \ --enable-vnc-png \ --enable-vnc-sasl \ - --enable-vnc-tls \ %ifarch x86_64 --enable-xen \ --enable-xen-pci-passthrough \ @@ -802,6 +789,14 @@ cp pc-bios/s390-ccw/s390-ccw.img pc-bios/s390-ccw.img %else # qemu-testsuite ln -s %{_bindir}/qemu-img qemu-img +ln -s %{_bindir}/qemu-ga qemu-ga + +%if %{build_x86_fw_from_source} +for i in %built_firmware_files +do + ln -s %{_datadir}/qemu/$i pc-bios/$i +done +%endif for conf in default-configs/*-softmmu.mak; do arch=`echo "$conf" | sed -e 's|default-configs/\(.*\)-softmmu.mak|\1|g'` @@ -859,9 +854,6 @@ format=`qemu-img info test.tar | grep "file format:" | cut -d ':' -f 2 | tr -d ' make install DESTDIR=$RPM_BUILD_ROOT rm -fr $RPM_BUILD_ROOT/%_datadir/doc -rm $RPM_BUILD_ROOT/%_libdir/libcacard* -rm $RPM_BUILD_ROOT/%_libdir/pkgconfig/libcacard.pc -rm -fr $RPM_BUILD_ROOT/%_prefix/include/cacard %if ! %{build_x86_fw_from_source} for f in acpi-dsdt.aml q35-acpi-dsdt.aml bios-256k.bin bios.bin efi-*.rom pxe-*.rom sgabios.bin \ vgabios-cirrus.bin vgabios-qxl.bin vgabios-stdvga.bin vgabios-virtio.bin vgabios-vmware.bin \ @@ -1130,11 +1122,13 @@ fi %doc %_mandir/man1/qemu-img.1.gz %doc %_mandir/man1/virtfs-proxy-helper.1.gz %doc %_mandir/man8/qemu-nbd.8.gz +%_bindir/ivshmem-client +%_bindir/ivshmem-server %_bindir/qemu-io %_bindir/qemu-img %_bindir/qemu-nbd %_bindir/virtfs-proxy-helper -%_bindir/vscclient +#%_bindir/vscclient %verify(not mode) %_libexecdir/qemu-bridge-helper %dir %_sysconfdir/%name %config %_sysconfdir/%name/bridge.conf @@ -1142,6 +1136,7 @@ fi %files guest-agent %defattr(-, root, root) +%doc %_mandir/man8/qemu-ga.8.gz %attr(755,root,kvm) %_bindir/qemu-ga %if 0%{?with_systemd} %{_unitdir}/qemu-ga.service diff --git a/qemu.spec.in b/qemu.spec.in index f9bfdfe8..2d3146f9 100644 --- a/qemu.spec.in +++ b/qemu.spec.in @@ -53,8 +53,8 @@ License: BSD-3-Clause and GPL-2.0 and GPL-2.0+ and LGPL-2.1+ and MIT Group: System/Emulators/PC QEMU_VERSION Release: 0 -Source: http://wiki.qemu.org/download/qemu-2.4.0.tar.bz2 -Source99: http://wiki.qemu.org/download/qemu-2.4.0.tar.bz2.sig +Source: http://wiki.qemu.org/download/qemu-2.5.0.tar.bz2 +Source99: http://wiki.qemu.org/download/qemu-2.5.0.tar.bz2.sig Source1: 80-kvm.rules Source2: qemu-ifup Source3: kvm_stat @@ -78,9 +78,6 @@ Patch1000: seabios_128kb.patch Patch1001: seabios_checkrom_typo.patch Patch1002: seabios_avoid_smbios_signature_string.patch %endif -Patch1100: gcc5-ipxe-add-missing-const-qualifiers.patch -Patch1101: gcc5-ipxe-ath9k-Remove-confusing-logic-inversion-in-an-ANI-var.patch -Patch2000: SLOF_ppc64le.patch # this is to make lint happy Source300: qemu-rpmlintrc @@ -192,6 +189,9 @@ BuildRequires: vte2-devel %ifarch x86_64 BuildRequires: xen-devel %endif +%if %{build_x86_fw_from_source} +BuildRequires: xz-devel +%endif BuildRequires: zlib-devel %if 0%{?suse_version} >= 1140 %ifarch %ix86 x86_64 @@ -203,6 +203,7 @@ BuildRequires: spice-protocol-devel BuildRequires: bc BuildRequires: qemu-arm = %version BuildRequires: qemu-extra = %version +BuildRequires: qemu-guest-agent = %version BuildRequires: qemu-ppc = %version BuildRequires: qemu-s390 = %version BuildRequires: qemu-tools = %version @@ -232,7 +233,7 @@ Suggests: qemu-arm Suggests: qemu-block-dmg Suggests: qemu-extra Suggests: qemu-lang -%if 0%{?suse_version} >= 1210 +%if 0%{?with_systemd} Recommends: qemu-ksm = %{version} %endif @@ -548,7 +549,7 @@ This package provides a service file for starting and stopping KSM. %endif # !qemu-testsuite %prep -%setup -q -n qemu-2.4.0 +%setup -q -n qemu-2.5.0 PATCH_EXEC %if %{build_x86_fw_from_source} @@ -565,15 +566,7 @@ do done %endif -pushd roms/ipxe -%patch1100 -p1 -%patch1101 -p1 -popd - %if %{build_slof_from_source} -pushd roms/SLOF -%patch2000 -p1 -popd rm -f pc-bios/slof.bin %endif @@ -664,7 +657,6 @@ rm -f pc-bios/slof.bin %else --disable-seccomp \ %endif - --enable-smartcard-nss \ %if 0%{?suse_version} >= 1310 --enable-snappy \ %else @@ -695,7 +687,6 @@ rm -f pc-bios/slof.bin --enable-vnc-jpeg \ --enable-vnc-png \ --enable-vnc-sasl \ - --enable-vnc-tls \ %ifarch x86_64 --enable-xen \ --enable-xen-pci-passthrough \ @@ -724,6 +715,14 @@ cp pc-bios/s390-ccw/s390-ccw.img pc-bios/s390-ccw.img %else # qemu-testsuite ln -s %{_bindir}/qemu-img qemu-img +ln -s %{_bindir}/qemu-ga qemu-ga + +%if %{build_x86_fw_from_source} +for i in %built_firmware_files +do + ln -s %{_datadir}/qemu/$i pc-bios/$i +done +%endif for conf in default-configs/*-softmmu.mak; do arch=`echo "$conf" | sed -e 's|default-configs/\(.*\)-softmmu.mak|\1|g'` @@ -781,9 +780,6 @@ format=`qemu-img info test.tar | grep "file format:" | cut -d ':' -f 2 | tr -d ' make install DESTDIR=$RPM_BUILD_ROOT rm -fr $RPM_BUILD_ROOT/%_datadir/doc -rm $RPM_BUILD_ROOT/%_libdir/libcacard* -rm $RPM_BUILD_ROOT/%_libdir/pkgconfig/libcacard.pc -rm -fr $RPM_BUILD_ROOT/%_prefix/include/cacard %if ! %{build_x86_fw_from_source} for f in acpi-dsdt.aml q35-acpi-dsdt.aml bios-256k.bin bios.bin efi-*.rom pxe-*.rom sgabios.bin \ vgabios-cirrus.bin vgabios-qxl.bin vgabios-stdvga.bin vgabios-virtio.bin vgabios-vmware.bin \ @@ -1053,11 +1049,13 @@ fi %doc %_mandir/man1/qemu-img.1.gz %doc %_mandir/man1/virtfs-proxy-helper.1.gz %doc %_mandir/man8/qemu-nbd.8.gz +%_bindir/ivshmem-client +%_bindir/ivshmem-server %_bindir/qemu-io %_bindir/qemu-img %_bindir/qemu-nbd %_bindir/virtfs-proxy-helper -%_bindir/vscclient +#%_bindir/vscclient %verify(not mode) %_libexecdir/qemu-bridge-helper %dir %_sysconfdir/%name %config %_sysconfdir/%name/bridge.conf @@ -1065,6 +1063,7 @@ fi %files guest-agent %defattr(-, root, root) +%doc %_mandir/man8/qemu-ga.8.gz %attr(755,root,kvm) %_bindir/qemu-ga %if 0%{?with_systemd} %{_unitdir}/qemu-ga.service diff --git a/update_git.sh b/update_git.sh index 03b1fdc2..78e1d8e0 100644 --- a/update_git.sh +++ b/update_git.sh @@ -11,8 +11,8 @@ GIT_TREE=git://github.com/openSUSE/qemu.git GIT_LOCAL_TREE=~/git/qemu-opensuse -GIT_BRANCH=opensuse-2.4 -GIT_UPSTREAM_TAG=v2.4.0 +GIT_BRANCH=opensuse-2.5 +GIT_UPSTREAM_TAG=v2.5.0 GIT_DIR=/dev/shm/qemu-factory-git-dir CMP_DIR=/dev/shm/qemu-factory-cmp-dir @@ -87,7 +87,7 @@ rm -rf $GIT_DIR echo " ${i##*/}" >> qemu.changes.added done - for package in qemu qemu-linux-user libcacard; do + for package in qemu qemu-linux-user; do while IFS= read -r line; do if [ "$line" = "PATCH_FILES" ]; then for i in 0???-*.patch; do