diff --git a/0027-tests-test-thread-pool-is-racy-add-.patch b/0027-tests-test-thread-pool-is-racy-add-.patch deleted file mode 100644 index cb698be..0000000 --- a/0027-tests-test-thread-pool-is-racy-add-.patch +++ /dev/null @@ -1,42 +0,0 @@ -From: Bruce Rogers -Date: Fri, 13 Apr 2018 11:46:47 -0600 -Subject: tests: test-thread-pool is racy - add some barriers - -I imagine there is more to be done to fix the memory consistency -races here, but these added barriers at least let it pass on ppc64le, -whereas before it would fail regularly there. - -[BR: minor edits to pass qemu's checkpatch script] -Signed-off-by: Bruce Rogers ---- - tests/test-thread-pool.c | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/tests/test-thread-pool.c b/tests/test-thread-pool.c -index 9cdccb3a47..2cbabaadd3 100644 ---- a/tests/test-thread-pool.c -+++ b/tests/test-thread-pool.c -@@ -171,6 +171,7 @@ static void do_test_cancel(bool sync) - /* Cancel the jobs that haven't been started yet. */ - num_canceled = 0; - for (i = 0; i < 100; i++) { -+ smp_mb(); /* test is currently racy */ - if (atomic_cmpxchg(&data[i].n, 0, 3) == 0) { - data[i].ret = -ECANCELED; - if (sync) { -@@ -185,6 +186,7 @@ static void do_test_cancel(bool sync) - g_assert_cmpint(num_canceled, <, 100); - - for (i = 0; i < 100; i++) { -+ smp_mb(); /* test is currently racy */ - if (data[i].aiocb && data[i].n != 3) { - if (sync) { - /* Canceling the others will be a blocking operation. */ -@@ -201,6 +203,7 @@ static void do_test_cancel(bool sync) - } - g_assert_cmpint(active, ==, 0); - for (i = 0; i < 100; i++) { -+ smp_mb(); /* test is currently racy */ - if (data[i].n == 3) { - g_assert_cmpint(data[i].ret, ==, -ECANCELED); - g_assert(data[i].aiocb == NULL); diff --git a/0032-tests-Fix-Makefile-handling-of-chec.patch b/0032-tests-Fix-Makefile-handling-of-chec.patch deleted file mode 100644 index f22442f..0000000 --- a/0032-tests-Fix-Makefile-handling-of-chec.patch +++ /dev/null @@ -1,25 +0,0 @@ -From: Bruce Rogers -Date: Fri, 11 Jan 2019 16:26:21 -0700 -Subject: tests: Fix Makefile handling of check-report.tap - -I assume this will get fixed upstream soon, but for now, fix -what I understand to be the intended functionality. - -Signed-off-by: Bruce Rogers ---- - tests/Makefile.include | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/tests/Makefile.include b/tests/Makefile.include -index 36fc73fef5..befc02ac7a 100644 ---- a/tests/Makefile.include -+++ b/tests/Makefile.include -@@ -923,7 +923,7 @@ check-report-unit.tap: $(check-unit-y) - # Reports and overall runs - - check-report.tap: $(patsubst %,check-report-qtest-%.tap, $(QTEST_TARGETS)) check-report-unit.tap -- $(call quiet-command,./scripts/tap-merge.py $^ > $@,"GEN","$@") -+ $(call quiet-command,./scripts/tap-merge.pl < $^ > $@,"GEN","$@") - - # FPU Emulation tests (aka softfloat) - # diff --git a/0034-Revert-target-i386-kvm-add-VMX-migr.patch b/0034-Revert-target-i386-kvm-add-VMX-migr.patch deleted file mode 100644 index 1ec29da..0000000 --- a/0034-Revert-target-i386-kvm-add-VMX-migr.patch +++ /dev/null @@ -1,65 +0,0 @@ -From: Bruce Rogers -Date: Fri, 15 Feb 2019 15:12:04 -0700 -Subject: Revert "target/i386: kvm: add VMX migration blocker" - -This reverts commit d98f26073bebddcd3da0ba1b86c3a34e840c0fb8. -Here is some text explaining the revert: -I've thought about this some more, and with upstream -discussions about it having stagnated, at this point I think -the best solution is to revert the patch which considers it -a migration blocker to have the vmx feature enabled. It's -worth noting that not only are migrations blocked, but -saving of the vm state via save/restore and snapshots. - -Given that it is still widely known that Nested Virtualization -is not supported by SUSE and other vendors, but is still used -by quite a few people who understand that there are caveats -with it's usage, I believe this migration blocker is more -hurtful than helpful. - -The fact that as of the v4.20 kernel, nested virtualization is -enabled by default (for vmx), was partly why the patch was -added in the first place. But my perspective is that perhaps -enabling nested was still a bit premature. - -I will make sure our qemu changelog explains that despite -removing that migration blocker, the user is warned that -nested virtualization is still a "use at your own risk -feature". - -[BR: BSC#1121604] -Signed-off-by: Bruce Rogers ---- - target/i386/kvm.c | 12 ------------ - 1 file changed, 12 deletions(-) - -diff --git a/target/i386/kvm.c b/target/i386/kvm.c -index 3b29ce5c0d..6ad450d9f1 100644 ---- a/target/i386/kvm.c -+++ b/target/i386/kvm.c -@@ -906,7 +906,6 @@ static int hyperv_init_vcpu(X86CPU *cpu) - } - - static Error *invtsc_mig_blocker; --static Error *vmx_mig_blocker; - - #define KVM_MAX_CPUID_ENTRIES 100 - -@@ -1270,17 +1269,6 @@ int kvm_arch_init_vcpu(CPUState *cs) - !!(c->ecx & CPUID_EXT_SMX); - } - -- if ((env->features[FEAT_1_ECX] & CPUID_EXT_VMX) && !vmx_mig_blocker) { -- error_setg(&vmx_mig_blocker, -- "Nested VMX virtualization does not support live migration yet"); -- r = migrate_add_blocker(vmx_mig_blocker, &local_err); -- if (local_err) { -- error_report_err(local_err); -- error_free(vmx_mig_blocker); -- return r; -- } -- } -- - if (env->mcg_cap & MCG_LMCE_P) { - has_msr_mcg_ext_ctl = has_msr_feature_control = true; - } diff --git a/0036-sockets-avoid-string-truncation-war.patch b/0036-sockets-avoid-string-truncation-war.patch deleted file mode 100644 index 39b6486..0000000 --- a/0036-sockets-avoid-string-truncation-war.patch +++ /dev/null @@ -1,95 +0,0 @@ -From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= -Date: Wed, 1 May 2019 15:50:52 +0100 -Subject: sockets: avoid string truncation warnings when copying UNIX path -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -In file included from /usr/include/string.h:494, - from include/qemu/osdep.h:101, - from util/qemu-sockets.c:18: -In function ‘strncpy’, - inlined from ‘unix_connect_saddr.isra.0’ at util/qemu-sockets.c:925:5: -/usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 108 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function ‘strncpy’, - inlined from ‘unix_listen_saddr.isra.0’ at util/qemu-sockets.c:880:5: -/usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 108 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -We are already validating the UNIX socket path length earlier in -the functions. If we save this string length when we first check -it, then we can simply use memcpy instead of strcpy later, avoiding -the gcc truncation warnings. - -Signed-off-by: Daniel P. Berrangé -Reviewed-by: Eric Blake -Reviewed-by: Stefano Garzarella -Message-Id: <20190501145052.12579-1-berrange@redhat.com> -Signed-off-by: Laurent Vivier -(cherry picked from commit 2d2023c3b99edb33ad4bb9791f70456ea1a1c049) -Signed-off-by: Bruce Rogers ---- - util/qemu-sockets.c | 12 ++++++++---- - 1 file changed, 8 insertions(+), 4 deletions(-) - -diff --git a/util/qemu-sockets.c b/util/qemu-sockets.c -index 9705051690..ba6335e71a 100644 ---- a/util/qemu-sockets.c -+++ b/util/qemu-sockets.c -@@ -830,6 +830,7 @@ static int unix_listen_saddr(UnixSocketAddress *saddr, - int sock, fd; - char *pathbuf = NULL; - const char *path; -+ size_t pathlen; - - sock = qemu_socket(PF_UNIX, SOCK_STREAM, 0); - if (sock < 0) { -@@ -845,7 +846,8 @@ static int unix_listen_saddr(UnixSocketAddress *saddr, - path = pathbuf = g_strdup_printf("%s/qemu-socket-XXXXXX", tmpdir); - } - -- if (strlen(path) > sizeof(un.sun_path)) { -+ pathlen = strlen(path); -+ if (pathlen > sizeof(un.sun_path)) { - error_setg(errp, "UNIX socket path '%s' is too long", path); - error_append_hint(errp, "Path must be less than %zu bytes\n", - sizeof(un.sun_path)); -@@ -877,7 +879,7 @@ static int unix_listen_saddr(UnixSocketAddress *saddr, - - memset(&un, 0, sizeof(un)); - un.sun_family = AF_UNIX; -- strncpy(un.sun_path, path, sizeof(un.sun_path)); -+ memcpy(un.sun_path, path, pathlen); - - if (bind(sock, (struct sockaddr*) &un, sizeof(un)) < 0) { - error_setg_errno(errp, errno, "Failed to bind socket to %s", path); -@@ -901,6 +903,7 @@ static int unix_connect_saddr(UnixSocketAddress *saddr, Error **errp) - { - struct sockaddr_un un; - int sock, rc; -+ size_t pathlen; - - if (saddr->path == NULL) { - error_setg(errp, "unix connect: no path specified"); -@@ -913,7 +916,8 @@ static int unix_connect_saddr(UnixSocketAddress *saddr, Error **errp) - return -1; - } - -- if (strlen(saddr->path) > sizeof(un.sun_path)) { -+ pathlen = strlen(saddr->path); -+ if (pathlen > sizeof(un.sun_path)) { - error_setg(errp, "UNIX socket path '%s' is too long", saddr->path); - error_append_hint(errp, "Path must be less than %zu bytes\n", - sizeof(un.sun_path)); -@@ -922,7 +926,7 @@ static int unix_connect_saddr(UnixSocketAddress *saddr, Error **errp) - - memset(&un, 0, sizeof(un)); - un.sun_family = AF_UNIX; -- strncpy(un.sun_path, saddr->path, sizeof(un.sun_path)); -+ memcpy(un.sun_path, saddr->path, pathlen); - - /* connect to peer */ - do { diff --git a/0039-linux-user-avoid-string-truncation-.patch b/0039-linux-user-avoid-string-truncation-.patch deleted file mode 100644 index 7ddd095..0000000 --- a/0039-linux-user-avoid-string-truncation-.patch +++ /dev/null @@ -1,47 +0,0 @@ -From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= -Date: Wed, 1 May 2019 15:46:46 +0100 -Subject: linux-user: avoid string truncation warnings in uname field copying -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -In file included from /usr/include/string.h:494, - from include/qemu/osdep.h:101, - from linux-user/uname.c:20: -In function ‘strncpy’, - inlined from ‘sys_uname’ at linux-user/uname.c:94:3: -/usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -We don't care where the NUL terminator in the original uname -field was. It suffices to copy the entire original field and -simply force a NUL terminator at the end of the new field. - -Signed-off-by: Daniel P. Berrangé -Reviewed-by: Philippe Mathieu-Daudé -Message-Id: <20190501144646.4851-1-berrange@redhat.com> -Signed-off-by: Laurent Vivier -[BR: Played with indent to avoid error from checkpatch.pl] -(cherry picked from commit b2acfb55962bc8caeaa50a5158da2f701f2c1f7c) -Signed-off-by: Bruce Rogers ---- - linux-user/uname.c | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -diff --git a/linux-user/uname.c b/linux-user/uname.c -index 313b79dbad..0c6ddf2ad9 100644 ---- a/linux-user/uname.c -+++ b/linux-user/uname.c -@@ -72,9 +72,8 @@ const char *cpu_to_uname_machine(void *cpu_env) - - #define COPY_UTSNAME_FIELD(dest, src) \ - do { \ -- /* __NEW_UTS_LEN doesn't include terminating null */ \ -- (void) strncpy((dest), (src), __NEW_UTS_LEN); \ -- (dest)[__NEW_UTS_LEN] = '\0'; \ -+ memcpy((dest), (src), MIN(sizeof(src), sizeof(dest))); \ -+ (dest)[sizeof(dest) - 1] = '\0'; \ - } while (0) - - int sys_uname(struct new_utsname *buf) diff --git a/0040-linux-user-elfload-Fix-GCC-9-build-.patch b/0040-linux-user-elfload-Fix-GCC-9-build-.patch deleted file mode 100644 index 595de6c..0000000 --- a/0040-linux-user-elfload-Fix-GCC-9-build-.patch +++ /dev/null @@ -1,40 +0,0 @@ -From: Alistair Francis -Date: Tue, 30 Apr 2019 23:29:01 +0000 -Subject: linux-user/elfload: Fix GCC 9 build warnings -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Fix this warning when building with GCC9 on Fedora 30: -In function ‘strncpy’, - inlined from ‘fill_psinfo’ at /home/alistair/qemu/linux-user/elfload.c:3208:12, - inlined from ‘fill_note_info’ at /home/alistair/qemu/linux-user/elfload.c:3390:5, - inlined from ‘elf_core_dump’ at /home/alistair/qemu/linux-user/elfload.c:3539:9: -/usr/include/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Werror=stringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Signed-off-by: Alistair Francis -Reviewed-by: Laurent Vivier -Reviewed-by: Richard Henderson -Message-Id: -Signed-off-by: Laurent Vivier -(cherry picked from commit d7eb2b928a855a2e8038e8e75f7edf1a12226bd3) -Signed-off-by: Bruce Rogers ---- - linux-user/elfload.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/linux-user/elfload.c b/linux-user/elfload.c -index c1a26021f8..d08fe23466 100644 ---- a/linux-user/elfload.c -+++ b/linux-user/elfload.c -@@ -2872,7 +2872,7 @@ struct target_elf_prpsinfo { - target_gid_t pr_gid; - target_pid_t pr_pid, pr_ppid, pr_pgrp, pr_sid; - /* Lots missing */ -- char pr_fname[16]; /* filename of executable */ -+ char pr_fname[16] QEMU_NONSTRING; /* filename of executable */ - char pr_psargs[ELF_PRARGSZ]; /* initial part of arg list */ - }; - diff --git a/0041-qxl-avoid-unaligned-pointer-reads-w.patch b/0041-qxl-avoid-unaligned-pointer-reads-w.patch deleted file mode 100644 index 33e9a71..0000000 --- a/0041-qxl-avoid-unaligned-pointer-reads-w.patch +++ /dev/null @@ -1,144 +0,0 @@ -From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= -Date: Fri, 12 Apr 2019 13:16:26 +0100 -Subject: qxl: avoid unaligned pointer reads/writes -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -The SPICE_RING_PROD_ITEM() macro is initializing a local -'uint64_t *' variable to point to the 'el' field inside -the QXLReleaseRing struct. This uint64_t field is not -guaranteed aligned as the struct is packed. - -Code should not take the address of fields within a -packed struct. Changing the SPICE_RING_PROD_ITEM() -macro to avoid taking the address of the field is -impractical. It is clearer to just remove the macro -and inline its functionality in the three call sites -that need it. - -Signed-off-by: Daniel P. Berrangé -Message-Id: <20190412121626.19829-6-berrange@redhat.com> -Signed-off-by: Gerd Hoffmann -(cherry picked from commit 94932c95c10400acd286fd768a6b411e7ebbec8f) -Signed-off-by: Bruce Rogers ---- - hw/display/qxl.c | 55 +++++++++++++++++++++--------------------------- - 1 file changed, 24 insertions(+), 31 deletions(-) - -diff --git a/hw/display/qxl.c b/hw/display/qxl.c -index c8ce5781e0..5c38e6e906 100644 ---- a/hw/display/qxl.c -+++ b/hw/display/qxl.c -@@ -33,24 +33,6 @@ - - #include "qxl.h" - --/* -- * NOTE: SPICE_RING_PROD_ITEM accesses memory on the pci bar and as -- * such can be changed by the guest, so to avoid a guest trigerrable -- * abort we just qxl_set_guest_bug and set the return to NULL. Still -- * it may happen as a result of emulator bug as well. -- */ --#undef SPICE_RING_PROD_ITEM --#define SPICE_RING_PROD_ITEM(qxl, r, ret) { \ -- uint32_t prod = (r)->prod & SPICE_RING_INDEX_MASK(r); \ -- if (prod >= ARRAY_SIZE((r)->items)) { \ -- qxl_set_guest_bug(qxl, "SPICE_RING_PROD_ITEM indices mismatch " \ -- "%u >= %zu", prod, ARRAY_SIZE((r)->items)); \ -- ret = NULL; \ -- } else { \ -- ret = &(r)->items[prod].el; \ -- } \ -- } -- - #undef SPICE_RING_CONS_ITEM - #define SPICE_RING_CONS_ITEM(qxl, r, ret) { \ - uint32_t cons = (r)->cons & SPICE_RING_INDEX_MASK(r); \ -@@ -414,7 +396,8 @@ static void init_qxl_rom(PCIQXLDevice *d) - static void init_qxl_ram(PCIQXLDevice *d) - { - uint8_t *buf; -- uint64_t *item; -+ uint32_t prod; -+ QXLReleaseRing *ring; - - buf = d->vga.vram_ptr; - d->ram = (QXLRam *)(buf + le32_to_cpu(d->shadow_rom.ram_header_offset)); -@@ -426,9 +409,12 @@ static void init_qxl_ram(PCIQXLDevice *d) - SPICE_RING_INIT(&d->ram->cmd_ring); - SPICE_RING_INIT(&d->ram->cursor_ring); - SPICE_RING_INIT(&d->ram->release_ring); -- SPICE_RING_PROD_ITEM(d, &d->ram->release_ring, item); -- assert(item); -- *item = 0; -+ -+ ring = &d->ram->release_ring; -+ prod = ring->prod & SPICE_RING_INDEX_MASK(ring); -+ assert(prod < ARRAY_SIZE(ring->items)); -+ ring->items[prod].el = 0; -+ - qxl_ring_set_dirty(d); - } - -@@ -732,7 +718,7 @@ static int interface_req_cmd_notification(QXLInstance *sin) - static inline void qxl_push_free_res(PCIQXLDevice *d, int flush) - { - QXLReleaseRing *ring = &d->ram->release_ring; -- uint64_t *item; -+ uint32_t prod; - int notify; - - #define QXL_FREE_BUNCH_SIZE 32 -@@ -759,11 +745,15 @@ static inline void qxl_push_free_res(PCIQXLDevice *d, int flush) - if (notify) { - qxl_send_events(d, QXL_INTERRUPT_DISPLAY); - } -- SPICE_RING_PROD_ITEM(d, ring, item); -- if (!item) { -+ -+ ring = &d->ram->release_ring; -+ prod = ring->prod & SPICE_RING_INDEX_MASK(ring); -+ if (prod >= ARRAY_SIZE(ring->items)) { -+ qxl_set_guest_bug(d, "SPICE_RING_PROD_ITEM indices mismatch " -+ "%u >= %zu", prod, ARRAY_SIZE(ring->items)); - return; - } -- *item = 0; -+ ring->items[prod].el = 0; - d->num_free_res = 0; - d->last_release = NULL; - qxl_ring_set_dirty(d); -@@ -775,7 +765,8 @@ static void interface_release_resource(QXLInstance *sin, - { - PCIQXLDevice *qxl = container_of(sin, PCIQXLDevice, ssd.qxl); - QXLReleaseRing *ring; -- uint64_t *item, id; -+ uint32_t prod; -+ uint64_t id; - - if (ext.group_id == MEMSLOT_GROUP_HOST) { - /* host group -> vga mode update request */ -@@ -792,16 +783,18 @@ static void interface_release_resource(QXLInstance *sin, - * pci bar 0, $command.release_info - */ - ring = &qxl->ram->release_ring; -- SPICE_RING_PROD_ITEM(qxl, ring, item); -- if (!item) { -+ prod = ring->prod & SPICE_RING_INDEX_MASK(ring); -+ if (prod >= ARRAY_SIZE(ring->items)) { -+ qxl_set_guest_bug(qxl, "SPICE_RING_PROD_ITEM indices mismatch " -+ "%u >= %zu", prod, ARRAY_SIZE(ring->items)); - return; - } -- if (*item == 0) { -+ if (ring->items[prod].el == 0) { - /* stick head into the ring */ - id = ext.info->id; - ext.info->next = 0; - qxl_ram_set_dirty(qxl, &ext.info->next); -- *item = id; -+ ring->items[prod].el = id; - qxl_ring_set_dirty(qxl); - } else { - /* append item to the list */ diff --git a/0042-libvhost-user-fix-Waddress-of-packe.patch b/0042-libvhost-user-fix-Waddress-of-packe.patch deleted file mode 100644 index 9f29a45..0000000 --- a/0042-libvhost-user-fix-Waddress-of-packe.patch +++ /dev/null @@ -1,60 +0,0 @@ -From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= -Date: Fri, 3 May 2019 15:00:29 +0200 -Subject: libvhost-user: fix -Waddress-of-packed-member -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -/home/elmarco/src/qemu/contrib/libvhost-user/libvhost-user.c: In function ‘vu_set_mem_table_exec_postcopy’: -/home/elmarco/src/qemu/contrib/libvhost-user/libvhost-user.c:546:31: warning: taking address of packed member of ‘struct VhostUserMsg’ may result in an unaligned pointer value [-Waddress-of-packed-member] - 546 | VhostUserMemory *memory = &vmsg->payload.memory; - | ^~~~~~~~~~~~~~~~~~~~~ -/home/elmarco/src/qemu/contrib/libvhost-user/libvhost-user.c: In function ‘vu_set_mem_table_exec’: -/home/elmarco/src/qemu/contrib/libvhost-user/libvhost-user.c:688:31: warning: taking address of packed member of ‘struct VhostUserMsg’ may result in an unaligned pointer value [-Waddress-of-packed-member] - 688 | VhostUserMemory *memory = &vmsg->payload.memory; - | ^~~~~~~~~~~~~~~~~~~~~ -/home/elmarco/src/qemu/contrib/libvhost-user/libvhost-user.c: In function ‘vu_set_vring_addr_exec’: -/home/elmarco/src/qemu/contrib/libvhost-user/libvhost-user.c:817:36: warning: taking address of packed member of ‘struct VhostUserMsg’ may result in an unaligned pointer value [-Waddress-of-packed-member] - 817 | struct vhost_vring_addr *vra = &vmsg->payload.addr; - | ^~~~~~~~~~~~~~~~~~~ - -Signed-off-by: Marc-André Lureau -Message-id: 20190503130034.24916-2-marcandre.lureau@redhat.com -Signed-off-by: Gerd Hoffmann -(cherry picked from commit d288eef3a0a8ac46cc45808b50d73606476148b0) -Signed-off-by: Bruce Rogers ---- - contrib/libvhost-user/libvhost-user.c | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/contrib/libvhost-user/libvhost-user.c b/contrib/libvhost-user/libvhost-user.c -index e08d6c7b97..dcf4a969f2 100644 ---- a/contrib/libvhost-user/libvhost-user.c -+++ b/contrib/libvhost-user/libvhost-user.c -@@ -542,7 +542,7 @@ static bool - vu_set_mem_table_exec_postcopy(VuDev *dev, VhostUserMsg *vmsg) - { - int i; -- VhostUserMemory *memory = &vmsg->payload.memory; -+ VhostUserMemory m = vmsg->payload.memory, *memory = &m; - dev->nregions = memory->nregions; - - DPRINT("Nregions: %d\n", memory->nregions); -@@ -684,7 +684,7 @@ static bool - vu_set_mem_table_exec(VuDev *dev, VhostUserMsg *vmsg) - { - int i; -- VhostUserMemory *memory = &vmsg->payload.memory; -+ VhostUserMemory m = vmsg->payload.memory, *memory = &m; - - for (i = 0; i < dev->nregions; i++) { - VuDevRegion *r = &dev->regions[i]; -@@ -813,7 +813,7 @@ vu_set_vring_num_exec(VuDev *dev, VhostUserMsg *vmsg) - static bool - vu_set_vring_addr_exec(VuDev *dev, VhostUserMsg *vmsg) - { -- struct vhost_vring_addr *vra = &vmsg->payload.addr; -+ struct vhost_vring_addr addr = vmsg->payload.addr, *vra = &addr; - unsigned int index = vra->index; - VuVirtq *vq = &dev->vq[index]; - diff --git a/0043-target-i386-define-md-clear-bit.patch b/0043-target-i386-define-md-clear-bit.patch deleted file mode 100644 index 8335aff..0000000 --- a/0043-target-i386-define-md-clear-bit.patch +++ /dev/null @@ -1,32 +0,0 @@ -From: Paolo Bonzini -Date: Wed, 15 May 2019 15:10:10 +0100 -Subject: target/i386: define md-clear bit - -md-clear is a new CPUID bit which is set when microcode provides the -mechanism to invoke a flush of various exploitable CPU buffers by invoking -the VERW instruction. - -Signed-off-by: Paolo Bonzini -Message-Id: <20190515141011.5315-2-berrange@redhat.com> -Signed-off-by: Eduardo Habkost -(cherry picked from commit b2ae52101fca7f9547ac2f388085dbc58f8fe1c0) -[BR: BSC#1111331 CVE-2018-12126 CVE-2018-12127 CVE-2018-12130 -CVE-2019-11091] -Signed-off-by: Bruce Rogers ---- - target/i386/cpu.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/target/i386/cpu.c b/target/i386/cpu.c -index d6bb57d210..4ea78a4939 100644 ---- a/target/i386/cpu.c -+++ b/target/i386/cpu.c -@@ -1076,7 +1076,7 @@ static FeatureWordInfo feature_word_info[FEATURE_WORDS] = { - .feat_names = { - NULL, NULL, "avx512-4vnniw", "avx512-4fmaps", - NULL, NULL, NULL, NULL, -- NULL, NULL, NULL, NULL, -+ NULL, NULL, "md-clear", NULL, - NULL, NULL, NULL, NULL, - NULL, NULL, NULL, NULL, - NULL, NULL, NULL, NULL, diff --git a/0045-kbd-state-fix-autorepeat-handling.patch b/0045-kbd-state-fix-autorepeat-handling.patch deleted file mode 100644 index f323576..0000000 --- a/0045-kbd-state-fix-autorepeat-handling.patch +++ /dev/null @@ -1,36 +0,0 @@ -From: Gerd Hoffmann -Date: Tue, 14 May 2019 06:24:43 +0200 -Subject: kbd-state: fix autorepeat handling - -When allowing multiple down-events in a row (key autorepeat) we can't -use change_bit() any more to update the state, because autorepeat events -don't change the key state. We have to explicitly use set_bit() and -clear_bit() instead. - -Cc: qemu-stable@nongnu.org -Fixes: 35921860156e kbd-state: don't block auto-repeat events -Buglink: https://bugs.launchpad.net/qemu/+bug/1828272 -Signed-off-by: Gerd Hoffmann -Message-id: 20190514042443.10735-1-kraxel@redhat.com -Signed-off-by: Bruce Rogers ---- - ui/kbd-state.c | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/ui/kbd-state.c b/ui/kbd-state.c -index f3ab2d7a66..1668d17dda 100644 ---- a/ui/kbd-state.c -+++ b/ui/kbd-state.c -@@ -59,7 +59,11 @@ void qkbd_state_key_event(QKbdState *kbd, QKeyCode qcode, bool down) - } - - /* update key and modifier state */ -- change_bit(qcode, kbd->keys); -+ if (down) { -+ set_bit(qcode, kbd->keys); -+ } else { -+ clear_bit(qcode, kbd->keys); -+ } - switch (qcode) { - case Q_KEY_CODE_SHIFT: - case Q_KEY_CODE_SHIFT_R: diff --git a/0046-target-ppc-ensure-we-get-null-termi.patch b/0046-target-ppc-ensure-we-get-null-termi.patch deleted file mode 100644 index 603a5dc..0000000 --- a/0046-target-ppc-ensure-we-get-null-termi.patch +++ /dev/null @@ -1,24 +0,0 @@ -From: Bruce Rogers -Date: Tue, 28 May 2019 13:35:39 -0600 -Subject: target/ppc: ensure we get null terminated rtas token name - -Leave room for null termination of the string when doing strncpy. - -Signed-off-by: Bruce Rogers ---- - target/ppc/kvm.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/target/ppc/kvm.c b/target/ppc/kvm.c -index 2427c8ee13..7885de2d7c 100644 ---- a/target/ppc/kvm.c -+++ b/target/ppc/kvm.c -@@ -2605,7 +2605,7 @@ int kvmppc_define_rtas_kernel_token(uint32_t token, const char *function) - return -ENOENT; - } - -- strncpy(args.name, function, sizeof(args.name)); -+ strncpy(args.name, function, sizeof(args.name) - 1); - - return kvm_vm_ioctl(kvm_state, KVM_PPC_RTAS_DEFINE_TOKEN, &args); - } diff --git a/0049-qxl-check-release-info-object.patch b/0049-qxl-check-release-info-object.patch deleted file mode 100644 index f3d5ed1..0000000 --- a/0049-qxl-check-release-info-object.patch +++ /dev/null @@ -1,33 +0,0 @@ -From: Prasad J Pandit -Date: Thu, 25 Apr 2019 12:05:34 +0530 -Subject: qxl: check release info object - -When releasing spice resources in release_resource() routine, -if release info object 'ext.info' is null, it leads to null -pointer dereference. Add check to avoid it. - -Reported-by: Bugs SysSec -Signed-off-by: Prasad J Pandit -Message-id: 20190425063534.32747-1-ppandit@redhat.com -Signed-off-by: Gerd Hoffmann -(cherry picked from commit d52680fc932efb8a2f334cc6993e705ed1e31e99) -[LY: BSC#1135902 CVE-2019-12155] -Signed-off-by: Liang Yan ---- - hw/display/qxl.c | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/hw/display/qxl.c b/hw/display/qxl.c -index 5c38e6e906..3880a7410b 100644 ---- a/hw/display/qxl.c -+++ b/hw/display/qxl.c -@@ -768,6 +768,9 @@ static void interface_release_resource(QXLInstance *sin, - uint32_t prod; - uint64_t id; - -+ if (!ext.info) { -+ return; -+ } - if (ext.group_id == MEMSLOT_GROUP_HOST) { - /* host group -> vga mode update request */ - QXLCommandExt *cmdext = (void *)(intptr_t)(ext.info->id); diff --git a/0050-qemu-bridge-helper-restrict-interfa.patch b/0050-qemu-bridge-helper-restrict-interfa.patch deleted file mode 100644 index b047047..0000000 --- a/0050-qemu-bridge-helper-restrict-interfa.patch +++ /dev/null @@ -1,48 +0,0 @@ -From: Liang Yan -Date: Thu, 25 Jul 2019 13:28:26 -0400 -Subject: qemu-bridge-helper: restrict interface name - -The interface names in qemu-bridge-helper are defined to be -of size IFNAMSIZ(=16), including the terminating null('\0') byte. -The same is applied to interface names read from 'bridge.conf' -file to form ACLs rules. If user supplied '--br=bridge' name -is not restricted to the same length, it could lead to ACL bypass -issue. Restrict bridge name to IFNAMSIZ, including null byte. - -Reported-by: Riccardo Schirone -Signed-off-by: Prasad J Pandit -[LY: BSC#1140402 CVE-2019-13164] -Signed-off-by: Liang Yan ---- - qemu-bridge-helper.c | 11 +++++++++++ - 1 file changed, 11 insertions(+) - -diff --git a/qemu-bridge-helper.c b/qemu-bridge-helper.c -index cafe2bf27b..8ae6104ec4 100644 ---- a/qemu-bridge-helper.c -+++ b/qemu-bridge-helper.c -@@ -109,6 +109,13 @@ static int parse_acl_file(const char *filename, ACLList *acl_list) - } - *argend = 0; - -+ if (!g_str_equal(cmd, "include") && strlen(arg) >= IFNAMSIZ) { -+ fprintf(stderr, "name `%s' too long: %zu\n", arg, strlen(arg)); -+ fclose(f); -+ errno = EINVAL; -+ return -1; -+ } -+ - if (strcmp(cmd, "deny") == 0) { - acl_rule = calloc(1, sizeof(*acl_rule)); - if (!acl_rule) { -@@ -264,6 +271,10 @@ int main(int argc, char **argv) - return EXIT_FAILURE; - } - } -+ if (strlen(bridge) >= IFNAMSIZ) { -+ fprintf(stderr, "name `%s' too long: %zu\n", bridge, strlen(bridge)); -+ return EXIT_FAILURE; -+ } - - if (bridge == NULL || unixfd == -1) { - usage(); diff --git a/0051-linux-user-fix-to-handle-variably-s.patch b/0051-linux-user-fix-to-handle-variably-s.patch deleted file mode 100644 index 682f9a5..0000000 --- a/0051-linux-user-fix-to-handle-variably-s.patch +++ /dev/null @@ -1,334 +0,0 @@ -From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= -Date: Thu, 18 Jul 2019 15:06:41 +0200 -Subject: linux-user: fix to handle variably sized SIOCGSTAMP with new kernels -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -The SIOCGSTAMP symbol was previously defined in the -asm-generic/sockios.h header file. QEMU sees that header -indirectly via sys/socket.h - -In linux kernel commit 0768e17073dc527ccd18ed5f96ce85f9985e9115 -the asm-generic/sockios.h header no longer defines SIOCGSTAMP. -Instead it provides only SIOCGSTAMP_OLD, which only uses a -32-bit time_t on 32-bit architectures. - -The linux/sockios.h header then defines SIOCGSTAMP using -either SIOCGSTAMP_OLD or SIOCGSTAMP_NEW as appropriate. If -SIOCGSTAMP_NEW is used, then the tv_sec field is 64-bit even -on 32-bit architectures - -To cope with this we must now convert the old and new type from -the target to the host one. - -Signed-off-by: Daniel P. Berrangé -Signed-off-by: Laurent Vivier -Reviewed-by: Arnd Bergmann -Message-Id: <20190718130641.15294-1-laurent@vivier.eu> -Signed-off-by: Laurent Vivier -(cherry picked from commit 6d5d5dde9adb5acb32e6b8e3dfbf47fff0f308d2) -Signed-off-by: Bruce Rogers ---- - linux-user/ioctls.h | 21 +++++- - linux-user/syscall.c | 140 +++++++++++++++++++++++++++++-------- - linux-user/syscall_defs.h | 31 +++++++- - linux-user/syscall_types.h | 6 -- - 4 files changed, 160 insertions(+), 38 deletions(-) - -diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h -index ae8951625f..e6a27ad9d6 100644 ---- a/linux-user/ioctls.h -+++ b/linux-user/ioctls.h -@@ -219,8 +219,25 @@ - IOCTL(SIOCGRARP, IOC_R, MK_PTR(MK_STRUCT(STRUCT_arpreq))) - IOCTL(SIOCGIWNAME, IOC_W | IOC_R, MK_PTR(MK_STRUCT(STRUCT_char_ifreq))) - IOCTL(SIOCGPGRP, IOC_R, MK_PTR(TYPE_INT)) /* pid_t */ -- IOCTL(SIOCGSTAMP, IOC_R, MK_PTR(MK_STRUCT(STRUCT_timeval))) -- IOCTL(SIOCGSTAMPNS, IOC_R, MK_PTR(MK_STRUCT(STRUCT_timespec))) -+ -+ /* -+ * We can't use IOCTL_SPECIAL() because it will set -+ * host_cmd to XXX_OLD and XXX_NEW and these macros -+ * are not defined with kernel prior to 5.2. -+ * We must set host_cmd to the same value as in target_cmd -+ * otherwise the consistency check in syscall_init() -+ * will trigger an error. -+ * host_cmd is ignored by the do_ioctl_XXX() helpers. -+ * FIXME: create a macro to define this kind of entry -+ */ -+ { TARGET_SIOCGSTAMP_OLD, TARGET_SIOCGSTAMP_OLD, -+ "SIOCGSTAMP_OLD", IOC_R, do_ioctl_SIOCGSTAMP }, -+ { TARGET_SIOCGSTAMPNS_OLD, TARGET_SIOCGSTAMPNS_OLD, -+ "SIOCGSTAMPNS_OLD", IOC_R, do_ioctl_SIOCGSTAMPNS }, -+ { TARGET_SIOCGSTAMP_NEW, TARGET_SIOCGSTAMP_NEW, -+ "SIOCGSTAMP_NEW", IOC_R, do_ioctl_SIOCGSTAMP }, -+ { TARGET_SIOCGSTAMPNS_NEW, TARGET_SIOCGSTAMPNS_NEW, -+ "SIOCGSTAMPNS_NEW", IOC_R, do_ioctl_SIOCGSTAMPNS }, - - IOCTL(RNDGETENTCNT, IOC_R, MK_PTR(TYPE_INT)) - IOCTL(RNDADDTOENTCNT, IOC_W, MK_PTR(TYPE_INT)) -diff --git a/linux-user/syscall.c b/linux-user/syscall.c -index ed1c76e304..4e94bf6ecf 100644 ---- a/linux-user/syscall.c -+++ b/linux-user/syscall.c -@@ -37,6 +37,7 @@ - #include - #include - #include -+#include - #include - #include - #include -@@ -1139,8 +1140,9 @@ static inline abi_long copy_from_user_timeval(struct timeval *tv, - { - struct target_timeval *target_tv; - -- if (!lock_user_struct(VERIFY_READ, target_tv, target_tv_addr, 1)) -+ if (!lock_user_struct(VERIFY_READ, target_tv, target_tv_addr, 1)) { - return -TARGET_EFAULT; -+ } - - __get_user(tv->tv_sec, &target_tv->tv_sec); - __get_user(tv->tv_usec, &target_tv->tv_usec); -@@ -1155,8 +1157,26 @@ static inline abi_long copy_to_user_timeval(abi_ulong target_tv_addr, - { - struct target_timeval *target_tv; - -- if (!lock_user_struct(VERIFY_WRITE, target_tv, target_tv_addr, 0)) -+ if (!lock_user_struct(VERIFY_WRITE, target_tv, target_tv_addr, 0)) { -+ return -TARGET_EFAULT; -+ } -+ -+ __put_user(tv->tv_sec, &target_tv->tv_sec); -+ __put_user(tv->tv_usec, &target_tv->tv_usec); -+ -+ unlock_user_struct(target_tv, target_tv_addr, 1); -+ -+ return 0; -+} -+ -+static inline abi_long copy_to_user_timeval64(abi_ulong target_tv_addr, -+ const struct timeval *tv) -+{ -+ struct target__kernel_sock_timeval *target_tv; -+ -+ if (!lock_user_struct(VERIFY_WRITE, target_tv, target_tv_addr, 0)) { - return -TARGET_EFAULT; -+ } - - __put_user(tv->tv_sec, &target_tv->tv_sec); - __put_user(tv->tv_usec, &target_tv->tv_usec); -@@ -1166,6 +1186,48 @@ static inline abi_long copy_to_user_timeval(abi_ulong target_tv_addr, - return 0; - } - -+static inline abi_long target_to_host_timespec(struct timespec *host_ts, -+ abi_ulong target_addr) -+{ -+ struct target_timespec *target_ts; -+ -+ if (!lock_user_struct(VERIFY_READ, target_ts, target_addr, 1)) { -+ return -TARGET_EFAULT; -+ } -+ __get_user(host_ts->tv_sec, &target_ts->tv_sec); -+ __get_user(host_ts->tv_nsec, &target_ts->tv_nsec); -+ unlock_user_struct(target_ts, target_addr, 0); -+ return 0; -+} -+ -+static inline abi_long host_to_target_timespec(abi_ulong target_addr, -+ struct timespec *host_ts) -+{ -+ struct target_timespec *target_ts; -+ -+ if (!lock_user_struct(VERIFY_WRITE, target_ts, target_addr, 0)) { -+ return -TARGET_EFAULT; -+ } -+ __put_user(host_ts->tv_sec, &target_ts->tv_sec); -+ __put_user(host_ts->tv_nsec, &target_ts->tv_nsec); -+ unlock_user_struct(target_ts, target_addr, 1); -+ return 0; -+} -+ -+static inline abi_long host_to_target_timespec64(abi_ulong target_addr, -+ struct timespec *host_ts) -+{ -+ struct target__kernel_timespec *target_ts; -+ -+ if (!lock_user_struct(VERIFY_WRITE, target_ts, target_addr, 0)) { -+ return -TARGET_EFAULT; -+ } -+ __put_user(host_ts->tv_sec, &target_ts->tv_sec); -+ __put_user(host_ts->tv_nsec, &target_ts->tv_nsec); -+ unlock_user_struct(target_ts, target_addr, 1); -+ return 0; -+} -+ - static inline abi_long copy_from_user_timezone(struct timezone *tz, - abi_ulong target_tz_addr) - { -@@ -4790,6 +4852,54 @@ static abi_long do_ioctl_kdsigaccept(const IOCTLEntry *ie, uint8_t *buf_temp, - return get_errno(safe_ioctl(fd, ie->host_cmd, sig)); - } - -+static abi_long do_ioctl_SIOCGSTAMP(const IOCTLEntry *ie, uint8_t *buf_temp, -+ int fd, int cmd, abi_long arg) -+{ -+ struct timeval tv; -+ abi_long ret; -+ -+ ret = get_errno(safe_ioctl(fd, SIOCGSTAMP, &tv)); -+ if (is_error(ret)) { -+ return ret; -+ } -+ -+ if (cmd == (int)TARGET_SIOCGSTAMP_OLD) { -+ if (copy_to_user_timeval(arg, &tv)) { -+ return -TARGET_EFAULT; -+ } -+ } else { -+ if (copy_to_user_timeval64(arg, &tv)) { -+ return -TARGET_EFAULT; -+ } -+ } -+ -+ return ret; -+} -+ -+static abi_long do_ioctl_SIOCGSTAMPNS(const IOCTLEntry *ie, uint8_t *buf_temp, -+ int fd, int cmd, abi_long arg) -+{ -+ struct timespec ts; -+ abi_long ret; -+ -+ ret = get_errno(safe_ioctl(fd, SIOCGSTAMPNS, &ts)); -+ if (is_error(ret)) { -+ return ret; -+ } -+ -+ if (cmd == (int)TARGET_SIOCGSTAMPNS_OLD) { -+ if (host_to_target_timespec(arg, &ts)) { -+ return -TARGET_EFAULT; -+ } -+ } else{ -+ if (host_to_target_timespec64(arg, &ts)) { -+ return -TARGET_EFAULT; -+ } -+ } -+ -+ return ret; -+} -+ - #ifdef TIOCGPTPEER - static abi_long do_ioctl_tiocgptpeer(const IOCTLEntry *ie, uint8_t *buf_temp, - int fd, int cmd, abi_long arg) -@@ -6180,32 +6290,6 @@ static inline abi_long target_ftruncate64(void *cpu_env, abi_long arg1, - } - #endif - --static inline abi_long target_to_host_timespec(struct timespec *host_ts, -- abi_ulong target_addr) --{ -- struct target_timespec *target_ts; -- -- if (!lock_user_struct(VERIFY_READ, target_ts, target_addr, 1)) -- return -TARGET_EFAULT; -- __get_user(host_ts->tv_sec, &target_ts->tv_sec); -- __get_user(host_ts->tv_nsec, &target_ts->tv_nsec); -- unlock_user_struct(target_ts, target_addr, 0); -- return 0; --} -- --static inline abi_long host_to_target_timespec(abi_ulong target_addr, -- struct timespec *host_ts) --{ -- struct target_timespec *target_ts; -- -- if (!lock_user_struct(VERIFY_WRITE, target_ts, target_addr, 0)) -- return -TARGET_EFAULT; -- __put_user(host_ts->tv_sec, &target_ts->tv_sec); -- __put_user(host_ts->tv_nsec, &target_ts->tv_nsec); -- unlock_user_struct(target_ts, target_addr, 1); -- return 0; --} -- - static inline abi_long target_to_host_itimerspec(struct itimerspec *host_itspec, - abi_ulong target_addr) - { -diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h -index 12c8407144..cfb3eeec07 100644 ---- a/linux-user/syscall_defs.h -+++ b/linux-user/syscall_defs.h -@@ -208,16 +208,34 @@ struct target_linger { - abi_int l_linger; /* How long to linger for */ - }; - -+#if defined(TARGET_SPARC64) && !defined(TARGET_ABI32) -+struct target_timeval { -+ abi_long tv_sec; -+ abi_int tv_usec; -+}; -+#define target__kernel_sock_timeval target_timeval -+#else - struct target_timeval { - abi_long tv_sec; - abi_long tv_usec; - }; - -+struct target__kernel_sock_timeval { -+ abi_llong tv_sec; -+ abi_llong tv_usec; -+}; -+#endif -+ - struct target_timespec { - abi_long tv_sec; - abi_long tv_nsec; - }; - -+struct target__kernel_timespec { -+ abi_llong tv_sec; -+ abi_llong tv_nsec; -+}; -+ - struct target_timezone { - abi_int tz_minuteswest; - abi_int tz_dsttime; -@@ -743,8 +761,17 @@ struct target_pollfd { - #define TARGET_SIOCATMARK 0x8905 - #define TARGET_SIOCGPGRP 0x8904 - #endif --#define TARGET_SIOCGSTAMP 0x8906 /* Get stamp (timeval) */ --#define TARGET_SIOCGSTAMPNS 0x8907 /* Get stamp (timespec) */ -+ -+#if defined(TARGET_SH4) -+#define TARGET_SIOCGSTAMP_OLD TARGET_IOR('s', 100, struct target_timeval) -+#define TARGET_SIOCGSTAMPNS_OLD TARGET_IOR('s', 101, struct target_timespec) -+#else -+#define TARGET_SIOCGSTAMP_OLD 0x8906 -+#define TARGET_SIOCGSTAMPNS_OLD 0x8907 -+#endif -+ -+#define TARGET_SIOCGSTAMP_NEW TARGET_IOR(0x89, 0x06, abi_llong[2]) -+#define TARGET_SIOCGSTAMPNS_NEW TARGET_IOR(0x89, 0x07, abi_llong[2]) - - /* Networking ioctls */ - #define TARGET_SIOCADDRT 0x890B /* add routing table entry */ -diff --git a/linux-user/syscall_types.h b/linux-user/syscall_types.h -index b98a23b0f1..4e36983826 100644 ---- a/linux-user/syscall_types.h -+++ b/linux-user/syscall_types.h -@@ -14,12 +14,6 @@ STRUCT(serial_icounter_struct, - STRUCT(sockaddr, - TYPE_SHORT, MK_ARRAY(TYPE_CHAR, 14)) - --STRUCT(timeval, -- MK_ARRAY(TYPE_LONG, 2)) -- --STRUCT(timespec, -- MK_ARRAY(TYPE_LONG, 2)) -- - STRUCT(rtentry, - TYPE_ULONG, MK_STRUCT(STRUCT_sockaddr), MK_STRUCT(STRUCT_sockaddr), MK_STRUCT(STRUCT_sockaddr), - TYPE_SHORT, TYPE_SHORT, TYPE_ULONG, TYPE_PTRVOID, TYPE_SHORT, TYPE_PTRVOID, diff --git a/0013-AIO-Reduce-number-of-threads-for-32.patch b/AIO-Reduce-number-of-threads-for-32bit-h.patch similarity index 89% rename from 0013-AIO-Reduce-number-of-threads-for-32.patch rename to AIO-Reduce-number-of-threads-for-32bit-h.patch index 1f64386..bc7eb5a 100644 --- a/0013-AIO-Reduce-number-of-threads-for-32.patch +++ b/AIO-Reduce-number-of-threads-for-32bit-h.patch @@ -20,10 +20,10 @@ Signed-off-by: Alexander Graf 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/util/thread-pool.c b/util/thread-pool.c -index 610646d131..2e34e9846d 100644 +index 4ed9b89ab2d9c4e6d805ea47c2b2..697c989885ca8aa4dd1185b780df 100644 --- a/util/thread-pool.c +++ b/util/thread-pool.c -@@ -308,7 +308,12 @@ static void thread_pool_init_one(ThreadPool *pool, AioContext *ctx) +@@ -307,7 +307,12 @@ static void thread_pool_init_one(ThreadPool *pool, AioContext *ctx) qemu_mutex_init(&pool->lock); qemu_cond_init(&pool->worker_stopped); qemu_sem_init(&pool->sem, 0); diff --git a/0033-Conditionalize-ui-bitmap-installati.patch b/Conditionalize-ui-bitmap-installation-be.patch similarity index 61% rename from 0033-Conditionalize-ui-bitmap-installati.patch rename to Conditionalize-ui-bitmap-installation-be.patch index 3fbf7f9..a67baa3 100644 --- a/0033-Conditionalize-ui-bitmap-installati.patch +++ b/Conditionalize-ui-bitmap-installation-be.patch @@ -8,21 +8,21 @@ Signed-off-by: Bruce Rogers 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile -index f9d6e92510..583bfc5d93 100644 +index 00ed716275743a161ea05e7d2a1e..ab4d8683ad8f86aa680b343310e1 100644 --- a/Makefile +++ b/Makefile -@@ -809,6 +809,7 @@ ifneq ($(BLOBS),) - $(INSTALL_DATA) $(SRC_PATH)/pc-bios/$$x "$(DESTDIR)$(qemu_datadir)"; \ +@@ -887,6 +887,7 @@ ifneq ($(DESCS),) + "$(DESTDIR)$(qemu_datadir)/firmware/$$x"; \ done endif +ifneq ($(or $(CONFIG_GTK),$(CONFIG_SDL)),) for s in $(ICON_SIZES); do \ - mkdir -p "$(DESTDIR)/$(qemu_icondir)/hicolor/$${s}/apps"; \ + mkdir -p "$(DESTDIR)$(qemu_icondir)/hicolor/$${s}/apps"; \ $(INSTALL_DATA) $(SRC_PATH)/ui/icons/qemu_$${s}.png \ -@@ -823,6 +824,7 @@ endif - mkdir -p "$(DESTDIR)/$(qemu_desktopdir)" +@@ -901,6 +902,7 @@ endif + mkdir -p "$(DESTDIR)$(qemu_desktopdir)" $(INSTALL_DATA) $(SRC_PATH)/ui/qemu.desktop \ - "$(DESTDIR)/$(qemu_desktopdir)/qemu.desktop" + "$(DESTDIR)$(qemu_desktopdir)/qemu.desktop" +endif ifdef CONFIG_GTK $(MAKE) -C po $@ diff --git a/Disable-Waddress-of-packed-member-for-GC.patch b/Disable-Waddress-of-packed-member-for-GC.patch new file mode 100644 index 0000000..cb78fb1 --- /dev/null +++ b/Disable-Waddress-of-packed-member-for-GC.patch @@ -0,0 +1,29 @@ +From: Stewart Smith +Date: Tue, 18 Jun 2019 16:09:44 +1000 +Subject: Disable -Waddress-of-packed-member for GCC9 + +Git-commit: b904cb733750de1bb0e04e5012c391a9c3094d11 + +We throw a bunch of errors in errorlog code otherwise, which we should +fix, but we don't *have* to yet. + +Signed-off-by: Stewart Smith +Signed-off-by: Bruce Rogers +--- + Makefile.main | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/roms/skiboot/Makefile.main b/roms/skiboot/Makefile.main +index a8e34d16c4729921901871b3f9e3..91dc73e06903e8f10c6ad09c1db9 100644 +--- a/roms/skiboot/Makefile.main ++++ b/roms/skiboot/Makefile.main +@@ -120,7 +120,8 @@ endif + CFLAGS += $(call try-cflag,$(CC),-Wjump-misses-init) \ + $(call try-cflag,$(CC),-Wsuggest-attribute=const) \ + $(call try-cflag,$(CC),-Wsuggest-attribute=noreturn) \ +- $(call try-cflag,$(CC),-Wstack-usage=1024) ++ $(call try-cflag,$(CC),-Wstack-usage=1024) \ ++ $(call try-cflag,$(CC),-Wno-error=address-of-packed-member) + + CFLAGS += $(CWARNS) $(OPTS) $(DBG) + diff --git a/Do-not-apply-WORKAROUND_CFLAGS-for-host-.patch b/Do-not-apply-WORKAROUND_CFLAGS-for-host-.patch new file mode 100644 index 0000000..60c0430 --- /dev/null +++ b/Do-not-apply-WORKAROUND_CFLAGS-for-host-.patch @@ -0,0 +1,67 @@ +From: Michael Brown +Date: Mon, 22 Jul 2019 14:51:28 +0100 +Subject: Do not apply WORKAROUND_CFLAGS for host compiler + +Git-commit: a4f8c6e31f6c62522cfc633bbbffa81b22f9d6f3 +Include-If: %ifarch aarch64 + +The WORKAROUND_CFLAGS list is constructed based on running tests on +the target compiler, and the results may not be valid for the host +compiler. + +The only relevant workaround required for the host compiler is +-Wno-stringop-truncation, which is needed to avoid a spurious compiler +warning for a totally correct usage of strncpy() in util/elf2efi.c. + +Duplicating the workaround tests for the host compiler is messy, as is +conditionally applying __attribute__((nonstring)). Fix instead by +disapplying WORKAROUND_CFLAGS for the host compiler, and using +memcpy() with an explicitly calculated length instead of strncpy() in +util/elf2efi.c. + +Reported-by: Ignat Korchagin +Reported-by: Christopher Clark +Signed-off-by: Michael Brown +Signed-off-by: Bruce Rogers +--- + src/Makefile.housekeeping | 2 +- + src/util/elf2efi.c | 6 +++++- + 2 files changed, 6 insertions(+), 2 deletions(-) + +diff --git a/roms/ipxe/src/Makefile.housekeeping b/roms/ipxe/src/Makefile.housekeeping +index e5f6927de889167d286ccfcdda92..1ddbddd247d9929d63b1654d7206 100644 +--- a/roms/ipxe/src/Makefile.housekeeping ++++ b/roms/ipxe/src/Makefile.housekeeping +@@ -454,7 +454,7 @@ endif + CFLAGS += $(WORKAROUND_CFLAGS) $(EXTRA_CFLAGS) + ASFLAGS += $(WORKAROUND_ASFLAGS) $(EXTRA_ASFLAGS) + LDFLAGS += $(WORKAROUND_LDFLAGS) $(EXTRA_LDFLAGS) +-HOST_CFLAGS += $(WORKAROUND_CFLAGS) -O2 -g ++HOST_CFLAGS += -O2 -g + + # Inhibit -Werror if NO_WERROR is specified on make command line + # +diff --git a/roms/ipxe/src/util/elf2efi.c b/roms/ipxe/src/util/elf2efi.c +index 2c5b9df8aae853bfce4d5d3bae89..bcd53c9afda7880d42ec80c07f17 100644 +--- a/roms/ipxe/src/util/elf2efi.c ++++ b/roms/ipxe/src/util/elf2efi.c +@@ -458,6 +458,7 @@ static struct pe_section * process_section ( struct elf_file *elf, + struct pe_header *pe_header ) { + struct pe_section *new; + const char *name; ++ size_t name_len; + size_t section_memsz; + size_t section_filesz; + unsigned long code_start; +@@ -494,7 +495,10 @@ static struct pe_section * process_section ( struct elf_file *elf, + memset ( new, 0, sizeof ( *new ) + section_filesz ); + + /* Fill in section header details */ +- strncpy ( ( char * ) new->hdr.Name, name, sizeof ( new->hdr.Name ) ); ++ name_len = strlen ( name ); ++ if ( name_len > sizeof ( new->hdr.Name ) ) ++ name_len = sizeof ( new->hdr.Name ); ++ memcpy ( new->hdr.Name, name, name_len ); + new->hdr.Misc.VirtualSize = section_memsz; + new->hdr.VirtualAddress = shdr->sh_addr; + new->hdr.SizeOfRawData = section_filesz; diff --git a/Fix-s-directive-argument-is-null-error.patch b/Fix-s-directive-argument-is-null-error.patch new file mode 100644 index 0000000..712d17f --- /dev/null +++ b/Fix-s-directive-argument-is-null-error.patch @@ -0,0 +1,35 @@ +From: Valentine Barshak +Date: Sun, 9 Jun 2019 13:30:11 +0300 +Subject: Fix "'%s' directive argument is null" error + +Git-commit: 412acd7854de10e7194f362a6b1a3257a17974f7 +References: bsc#1121464 + +Use '%p' directive, and print handle's address if the address is null +and the handle doesn't have a name. This fixes the following +compilation error: + + interface/efi/efi_debug.c:334:3: error: '%s' directive + argument is null [-Werror=format-overflow=] + +Signed-off-by: Valentine Barshak +Signed-off-by: Michael Brown +Signed-off-by: Bruce Rogers +--- + src/interface/efi/efi_debug.c | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/roms/ipxe/src/interface/efi/efi_debug.c b/roms/ipxe/src/interface/efi/efi_debug.c +index 8ea0a822d044caca088c64ca2407..de9b1af5579cfddba1b55788b7b6 100644 +--- a/roms/ipxe/src/interface/efi/efi_debug.c ++++ b/roms/ipxe/src/interface/efi/efi_debug.c +@@ -331,8 +331,7 @@ void dbg_efi_protocols ( EFI_HANDLE handle ) { + + /* Sanity check */ + if ( ! handle ) { +- printf ( "HANDLE %s could not retrieve protocols\n", +- efi_handle_name ( handle ) ); ++ printf ( "HANDLE %p could not retrieve protocols\n", handle ); + return; + } + diff --git a/0011-Make-char-muxer-more-robust-wrt-sma.patch b/Make-char-muxer-more-robust-wrt-small-FI.patch similarity index 87% rename from 0011-Make-char-muxer-more-robust-wrt-sma.patch rename to Make-char-muxer-more-robust-wrt-small-FI.patch index 564a819..6f8c21a 100644 --- a/0011-Make-char-muxer-more-robust-wrt-sma.patch +++ b/Make-char-muxer-more-robust-wrt-small-FI.patch @@ -29,7 +29,7 @@ Signed-off-by: Bruce Rogers 5 files changed, 22 insertions(+) diff --git a/chardev/char-fe.c b/chardev/char-fe.c -index f3530a90e6..f8aa0daf31 100644 +index f3530a90e6364d813097105b6113..f8aa0daf31692810efc7d5ca32eb 100644 --- a/chardev/char-fe.c +++ b/chardev/char-fe.c @@ -21,6 +21,7 @@ @@ -41,7 +41,7 @@ index f3530a90e6..f8aa0daf31 100644 #include "qemu/error-report.h" #include "qapi/error.h" diff --git a/chardev/char-mux.c b/chardev/char-mux.c -index 23aa82125d..83252fd399 100644 +index 200c62a0d08bd779de8efdc95aad..10acb4fce1d3bda0d9f818eeb5ee 100644 --- a/chardev/char-mux.c +++ b/chardev/char-mux.c @@ -22,6 +22,7 @@ @@ -51,8 +51,8 @@ index 23aa82125d..83252fd399 100644 +#define HW_POISON_H /* avoid poison since we patch against rules it "enforces" */ #include "qemu/osdep.h" #include "qapi/error.h" - #include "qemu/option.h" -@@ -190,6 +191,17 @@ static void mux_chr_accept_input(Chardev *chr) + #include "qemu/module.h" +@@ -191,6 +192,17 @@ static void mux_chr_accept_input(Chardev *chr) be->chr_read(be->opaque, &d->buffer[m][d->cons[m]++ & MUX_BUFFER_MASK], 1); } @@ -70,7 +70,7 @@ index 23aa82125d..83252fd399 100644 } static int mux_chr_can_read(void *opaque) -@@ -324,6 +336,10 @@ static void qemu_chr_open_mux(Chardev *chr, +@@ -325,6 +337,10 @@ static void qemu_chr_open_mux(Chardev *chr, } d->focus = -1; @@ -82,7 +82,7 @@ index 23aa82125d..83252fd399 100644 * set of muxes */ diff --git a/chardev/char.c b/chardev/char.c -index 514cd6b0c3..9bd3848366 100644 +index 7b6b2cb12300042c6adf257e188c..d2134d72f60e58f35ee9e7869db4 100644 --- a/chardev/char.c +++ b/chardev/char.c @@ -22,6 +22,7 @@ @@ -94,7 +94,7 @@ index 514cd6b0c3..9bd3848366 100644 #include "qemu/cutils.h" #include "monitor/monitor.h" diff --git a/include/chardev/char-mux.h b/include/chardev/char-mux.h -index 572cefd517..6e80785bd9 100644 +index 572cefd517c8fa9d605cbd10fc21..6e80785bd9c12b85e747fa9f924e 100644 --- a/include/chardev/char-mux.h +++ b/include/chardev/char-mux.h @@ -34,6 +34,9 @@ typedef struct MuxChardev { @@ -108,7 +108,7 @@ index 572cefd517..6e80785bd9 100644 int mux_cnt; int term_got_escape; diff --git a/tests/test-char.c b/tests/test-char.c -index 95ccfd3cdb..87fb0c1a4c 100644 +index f9440cdcfdb51f98b2f6542e6f21..d1f99632de1acb95ba8e1b4a8584 100644 --- a/tests/test-char.c +++ b/tests/test-char.c @@ -1,3 +1,4 @@ diff --git a/0025-Make-installed-scripts-explicitly-p.patch b/Make-installed-scripts-explicitly-python.patch similarity index 84% rename from 0025-Make-installed-scripts-explicitly-p.patch rename to Make-installed-scripts-explicitly-python.patch index 75e7720..f020405 100644 --- a/0025-Make-installed-scripts-explicitly-p.patch +++ b/Make-installed-scripts-explicitly-python.patch @@ -2,9 +2,10 @@ From: Bruce Rogers Date: Thu, 25 Jan 2018 14:16:10 -0700 Subject: Make installed scripts explicitly python3 +References: bsc#1077564 + We want to explicitly reference python3 in the scripts we install. -[BR: BSC#1077564] Signed-off-by: Bruce Rogers --- scripts/analyze-migration.py | 2 +- @@ -12,7 +13,7 @@ Signed-off-by: Bruce Rogers 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/analyze-migration.py b/scripts/analyze-migration.py -index e527eb168e..fd376eac71 100755 +index e527eb168e9ce7c3944094ec6701..fd376eac71f73e6366a9e17a1c51 100755 --- a/scripts/analyze-migration.py +++ b/scripts/analyze-migration.py @@ -1,4 +1,4 @@ @@ -22,7 +23,7 @@ index e527eb168e..fd376eac71 100755 # Migration Stream Analyzer # diff --git a/scripts/vmstate-static-checker.py b/scripts/vmstate-static-checker.py -index d3467288dc..2046b1fedd 100755 +index d3467288dcc5dd2f7274576262f7..2046b1feddb4c225c8f3bee080ac 100755 --- a/scripts/vmstate-static-checker.py +++ b/scripts/vmstate-static-checker.py @@ -1,4 +1,4 @@ diff --git a/keycodemapdb-make-keycode-gen-output-reproducible.patch b/Make-keycode-gen-output-reproducible-use.patch similarity index 51% rename from keycodemapdb-make-keycode-gen-output-reproducible.patch rename to Make-keycode-gen-output-reproducible-use.patch index 039ffe8..60e37eb 100644 --- a/keycodemapdb-make-keycode-gen-output-reproducible.patch +++ b/Make-keycode-gen-output-reproducible-use.patch @@ -1,6 +1,18 @@ ---- a/tools/keymap-gen 2019-08-05 21:56:01.731846467 +0200 -+++ b/tools/keymap-gen 2019-08-05 22:00:14.563720016 +0200 -@@ -20,6 +20,7 @@ +From: =?UTF-8?q?Stefan=20Br=C3=BCns?= +Date: Mon, 5 Aug 2019 20:03:11 +0000 +Subject: Make keycode-gen output reproducible (use SOURCE_DATE_EPOCH + timestamp) + +Signed-off-by: Bruce Rogers 1 file changed, 2 insertions(+) diff --git a/exec.c b/exec.c -index 6ab62f4eee..55f3bed025 100644 +index 3e78de3b8f8bb1914811a7965377..d2183f58816f53f15ef64e844291 100644 --- a/exec.c +++ b/exec.c -@@ -2281,11 +2281,13 @@ RAMBlock *qemu_ram_alloc_from_fd(ram_addr_t size, MemoryRegion *mr, +@@ -2339,11 +2339,13 @@ RAMBlock *qemu_ram_alloc_from_fd(ram_addr_t size, MemoryRegion *mr, return NULL; } diff --git a/README.PACKAGING b/README.PACKAGING new file mode 100644 index 0000000..d56b5bc --- /dev/null +++ b/README.PACKAGING @@ -0,0 +1,73 @@ +The qemu package, and derived packages have a special maintenance workflow in +order to support git based patching. Please use it in order to have changes +you make be acceptable to the package maintainers. + +The qemu.spec file is generated from a qemu.spec.in template, so to make changes +to the spec file (besides patch name or order changes), you'll need to edit the +template. The patches included are inserted into the spec file by scripts +described below. + +If you are not modifying any patches or their order, but just need to update the +spec file from a changed template, run the refresh.sh script. + +If the set of patches is being modified, including their order, you will want to +first run pkg2git.sh, in order to get the current patch queue made available in +a local git branch named frombundle. (qemu packaging now includes a "bundle of +git bundles" stored as a package source file, which contains the "git version" +of the package patches.) You will create an altered patch queue in the +$GIT_BRANCH branch (see config.h for actual name), and use the frombundle branch +as a starting point (eg perhaps start by doing git reset frombundle, then cherry +-pick upstream patches from there). Once you have the patch queue ready to go +run git2pkg.sh to update the bundle of bundles (bundles.tsr.xz file) as well as +the spec and patch files. + +Additional Notes: + +** SPECIAL NOTE ABOUT CURRENT STATUS *** +The current status as of 12 Sep 2019 is that for this incarnation of qemu +packaging, the old update_git.sh workflow is no longer supported, being +suplanted with the workflow described above. THIS IS STILL A WORK IN PROGRESS. +If it isn't working right, please contact Bruce Rogers . +It isn't foolproof by a long shot! + +Also note that qemu now takes advantage of the MultiBuild feature of the Build +Service. No longer do the qemu-linux-user and qemu-testsuite packages have build +service links to the qemu package, but instead are generated straight from the +main qemu spec file via the use of a _multibuild file which identifies those +package variants. +- Bruce Rogers +*** END SPECIAL NOTE *** + +Patches which are from an upstream git repo should have the commit id recorded +just below the Subject line (after a blank line) as follows: + +Git-commit: <40-char-sha-id> + +If a patch is anticipated to be shortly included in upstream repo, mark that +fact by doing the above with 40 0's, which will flag it as needing to be updated +in the near future. + +Bug or feature tracking identifiers should also be added to the patch similarly, +using the abbreviations identified here: +http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines#Current_set_of_abbreviations +using the "Reference:" tag, with multiple entries comma separated. + +The ability to provide a conditional inclusion of a patch (eg based on +architecture, is provided by using the "Include-If:" tag similarly, as follows: + +Include-If: %ifarch aarch64 + +This will cause the patch application in the spec file to be done as follows: +%ifarch aarch64 +%patch0013 -p1 +%endif + +A track worth noting is, if a given git tracked patch is to be applied in a way +that can't be done in the normal patching section of the specfile, you can still +include the patch, and use it by name with the patch program elsewhere in the +spec file by doing something such as: +Include-If: %if 0%{?patch-possibly-applied-elsewhere} +(this variable will remain undefined in the spec file) And then elsewhere in spec +file, the actual patch (eg specially-handled-change.patch) is referenced as, eg: + +patch -p1 < %_sourcedir/specially-handled-change.patch diff --git a/0019-Raise-soft-address-space-limit-to-h.patch b/Raise-soft-address-space-limit-to-hard-l.patch similarity index 82% rename from 0019-Raise-soft-address-space-limit-to-h.patch rename to Raise-soft-address-space-limit-to-hard-l.patch index 7438f34..66a2509 100644 --- a/0019-Raise-soft-address-space-limit-to-h.patch +++ b/Raise-soft-address-space-limit-to-hard-l.patch @@ -16,26 +16,26 @@ Signed-off-by: Bruce Rogers 1 file changed, 12 insertions(+) diff --git a/vl.c b/vl.c -index c696ad2a13..de43d2adf2 100644 +index b426b3213461210565bd1db15a0c..2b864f7dbe8b60ace40fa3258a37 100644 --- a/vl.c +++ b/vl.c -@@ -29,6 +29,7 @@ +@@ -30,6 +30,7 @@ #include "qemu/cutils.h" #include "qemu/help_option.h" #include "qemu/uuid.h" +#include #include "sysemu/seccomp.h" + #include "sysemu/tcg.h" - #ifdef CONFIG_SDL -@@ -3021,6 +3022,7 @@ int main(int argc, char **argv, char **envp) +@@ -2889,6 +2890,7 @@ int main(int argc, char **argv, char **envp) bool list_data_dirs = false; char *dir, **dirs; BlockdevOptionsQueue bdo_queue = QSIMPLEQ_HEAD_INITIALIZER(bdo_queue); + struct rlimit rlimit_as; - module_call_init(MODULE_INIT_TRACE); + os_set_line_buffering(); -@@ -3029,6 +3031,16 @@ int main(int argc, char **argv, char **envp) +@@ -2900,6 +2902,16 @@ int main(int argc, char **argv, char **envp) qemu_mutex_lock_iothread(); @@ -50,5 +50,5 @@ index c696ad2a13..de43d2adf2 100644 + } + atexit(qemu_run_exit_notifiers); - error_set_progname(argv[0]); qemu_init_exec_dir(argv[0]); + diff --git a/0024-Switch-order-of-libraries-for-mpath.patch b/Switch-order-of-libraries-for-mpath-supp.patch similarity index 80% rename from 0024-Switch-order-of-libraries-for-mpath.patch rename to Switch-order-of-libraries-for-mpath-supp.patch index 1032ab3..1b16950 100644 --- a/0024-Switch-order-of-libraries-for-mpath.patch +++ b/Switch-order-of-libraries-for-mpath-supp.patch @@ -9,10 +9,10 @@ Signed-off-by: Bruce Rogers 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile -index 04a0d45050..f9d6e92510 100644 +index 85862fb81a1d276c41133a31b2d9..00ed716275743a161ea05e7d2a1e 100644 --- a/Makefile +++ b/Makefile -@@ -521,7 +521,7 @@ fsdev/virtfs-proxy-helper$(EXESUF): LIBS += -lcap +@@ -556,7 +556,7 @@ fsdev/virtfs-proxy-helper$(EXESUF): LIBS += -lcap scsi/qemu-pr-helper$(EXESUF): scsi/qemu-pr-helper.o scsi/utils.o $(authz-obj-y) $(crypto-obj-y) $(io-obj-y) $(qom-obj-y) $(COMMON_LDADDS) ifdef CONFIG_MPATH @@ -22,10 +22,10 @@ index 04a0d45050..f9d6e92510 100644 qemu-img-cmds.h: $(SRC_PATH)/qemu-img-cmds.hx $(SRC_PATH)/scripts/hxtool diff --git a/configure b/configure -index 1c563a7027..5df1b9a285 100755 +index 714e7fb6a1fbd72ccdcd92b506ce..578d208b374261803d84c22c2479 100755 --- a/configure +++ b/configure -@@ -3755,7 +3755,7 @@ int main(void) { +@@ -3781,7 +3781,7 @@ int main(void) { return 0; } EOF diff --git a/Workaround-compilation-error-with-gcc-9..patch b/Workaround-compilation-error-with-gcc-9..patch new file mode 100644 index 0000000..0d4fab6 --- /dev/null +++ b/Workaround-compilation-error-with-gcc-9..patch @@ -0,0 +1,53 @@ +From: Valentine Barshak +Date: Mon, 22 Jul 2019 10:47:50 +0100 +Subject: Workaround compilation error with gcc 9.1 + +References: bsc#1121464 + +Compiling with gcc 9.1 generates lots of "taking address of packed +member of ... may result in an unaligned pointer value" warnings. + +Some of these warnings are genuine, and indicate correctly that parts +of iPXE currently require the CPU (or runtime environment) to support +unaligned accesses. For example: the TCP/IP receive data path will +attempt to access 32-bit fields that may not be aligned to a 32-bit +boundary. + +Other warnings are either spurious (such as when the pointer is to a +variable-length byte array, which can have no alignment requirement +anyway) or unhelpful (such as when the pointer is used solely to +provide a debug colour value for the DBGC() macro). + +There appears to be no easy way to silence the spurious warnings. +Since the ability to perform unaligned accesses is already a +requirement for iPXE, work around the problem by silencing this class +of warnings. + +Signed-off-by: Valentine Barshak +Modified-by: Michael Brown +Signed-off-by: Michael Brown +Signed-off-by: Bruce Rogers +--- + src/Makefile.housekeeping | 9 +++++++++ + 1 file changed, 9 insertions(+) + +diff --git a/roms/ipxe/src/Makefile.housekeeping b/roms/ipxe/src/Makefile.housekeeping +index 97fa325bb52314e05192d0414436..e5f6927de889167d286ccfcdda92 100644 +--- a/roms/ipxe/src/Makefile.housekeeping ++++ b/roms/ipxe/src/Makefile.housekeeping +@@ -185,6 +185,15 @@ WNST_TEST = $(CC) -Wstringop-truncation -x c -c /dev/null -o /dev/null \ + >/dev/null 2>&1 + WNST_FLAGS := $(shell $(WNST_TEST) && $(ECHO) '-Wno-stringop-truncation') + WORKAROUND_CFLAGS += $(WNST_FLAGS) ++ ++# gcc 9.1 generates warnings for taking address of packed member which ++# may result in an unaligned pointer value. Inhibit the warnings. ++# ++WNAPM_TEST = $(CC) -Wno-address-of-packed-member -x c -c /dev/null \ ++ -o /dev/null >/dev/null 2>&1 ++WNAPM_FLAGS := $(shell $(WNAPM_TEST) && \ ++ $(ECHO) '-Wno-address-of-packed-member') ++WORKAROUND_CFLAGS += $(WNAPM_FLAGS) + endif + + # Some versions of gas choke on division operators, treating them as diff --git a/0001-XXX-dont-dump-core-on-sigabort.patch b/XXX-dont-dump-core-on-sigabort.patch similarity index 82% rename from 0001-XXX-dont-dump-core-on-sigabort.patch rename to XXX-dont-dump-core-on-sigabort.patch index 6fb3ac0..2066613 100644 --- a/0001-XXX-dont-dump-core-on-sigabort.patch +++ b/XXX-dont-dump-core-on-sigabort.patch @@ -8,10 +8,10 @@ Signed-off-by: Bruce Rogers 1 file changed, 6 insertions(+) diff --git a/linux-user/signal.c b/linux-user/signal.c -index e2c0b37173..8588c97507 100644 +index 5ca6d62b15d3e4d3faee3f554fff..1d6382ce881795b057ab229e4129 100644 --- a/linux-user/signal.c +++ b/linux-user/signal.c -@@ -575,6 +575,10 @@ static void QEMU_NORETURN dump_core_and_abort(int target_sig) +@@ -581,6 +581,10 @@ static void QEMU_NORETURN dump_core_and_abort(int target_sig) trace_user_force_sig(env, target_sig, host_sig); gdb_signalled(env, target_sig); @@ -22,7 +22,7 @@ index e2c0b37173..8588c97507 100644 /* dump core if supported by target binary format */ if (core_dump_signal(target_sig) && (ts->bprm->core_dump != NULL)) { stop_all_tasks(); -@@ -592,6 +596,8 @@ static void QEMU_NORETURN dump_core_and_abort(int target_sig) +@@ -598,6 +602,8 @@ static void QEMU_NORETURN dump_core_and_abort(int target_sig) target_sig, strsignal(host_sig), "core dumped" ); } diff --git a/_constraints b/_constraints index 2f36c61..aa38618 100644 --- a/_constraints +++ b/_constraints @@ -50,4 +50,15 @@ + + + + aarch64 + x86_64 + qemu + + + 8 + + diff --git a/_multibuild b/_multibuild new file mode 100644 index 0000000..1d350a8 --- /dev/null +++ b/_multibuild @@ -0,0 +1,4 @@ + + linux-user + testsuite + diff --git a/0023-acpi_piix4-Fix-migration-from-SLE11.patch b/acpi_piix4-Fix-migration-from-SLE11-SP2.patch similarity index 84% rename from 0023-acpi_piix4-Fix-migration-from-SLE11.patch rename to acpi_piix4-Fix-migration-from-SLE11-SP2.patch index a37075b..1e37521 100644 --- a/0023-acpi_piix4-Fix-migration-from-SLE11.patch +++ b/acpi_piix4-Fix-migration-from-SLE11-SP2.patch @@ -5,21 +5,21 @@ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit +References: bnc#812836 + qemu-kvm 0.15 uses the same GPE format as qemu 1.4, but as version 2 rather than 3. -Addresses part of BNC#812836. - Signed-off-by: Andreas Färber --- hw/acpi/piix4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/acpi/piix4.c b/hw/acpi/piix4.c -index 9c079d6834..ebcc240196 100644 +index ec4e186cec7ccff739b7bad8dcc4..be5529867ab426b38b26dab5498a 100644 --- a/hw/acpi/piix4.c +++ b/hw/acpi/piix4.c -@@ -315,7 +315,7 @@ static bool piix4_vmstate_need_smbus(void *opaque, int version_id) +@@ -306,7 +306,7 @@ static bool piix4_vmstate_need_smbus(void *opaque, int version_id) static const VMStateDescription vmstate_acpi = { .name = "piix4_pm", .version_id = 3, diff --git a/ati-add-edid-support.patch b/ati-add-edid-support.patch new file mode 100644 index 0000000..d38b5d5 --- /dev/null +++ b/ati-add-edid-support.patch @@ -0,0 +1,159 @@ +From: Gerd Hoffmann +Date: Mon, 18 Mar 2019 15:43:53 +0100 +Subject: ati: add edid support. + +Git-commit: 588eb12163b51c4d402383369456ce1cd1ec86ab + +Read EDID blob via i2c, store in VBE_edid. + +Signed-off-by: Gerd Hoffmann +Signed-off-by: Bruce Rogers +--- + vgasrc/atiext.c | 114 ++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 114 insertions(+) + +diff --git a/roms/seabios/vgasrc/atiext.c b/roms/seabios/vgasrc/atiext.c +index 0586279ce214fac7d2a7e6c87a94..8c9e6966db47f083646193d7faf6 100644 +--- a/roms/seabios/vgasrc/atiext.c ++++ b/roms/seabios/vgasrc/atiext.c +@@ -19,6 +19,8 @@ + #define MM_DATA 0x0004 + #define CRTC_GEN_CNTL 0x0050 + #define CRTC_EXT_CNTL 0x0054 ++#define GPIO_VGA_DDC 0x0060 ++#define GPIO_DVI_DDC 0x0064 + #define CRTC_H_TOTAL_DISP 0x0200 + #define CRTC_V_TOTAL_DISP 0x0208 + #define CRTC_OFFSET 0x0224 +@@ -106,6 +108,20 @@ static inline void ati_write(u32 reg, u32 val) + } + } + ++static inline u32 ati_read(u32 reg) ++{ ++ u32 io_addr = GET_GLOBAL(ati_io_addr); ++ u32 val; ++ ++ if (reg < 0x100) { ++ val = inl(io_addr + reg); ++ } else { ++ outl(reg, io_addr + MM_INDEX); ++ reg = inl(io_addr + MM_DATA); ++ } ++ return val; ++} ++ + static void ati_clear(u32 offset, u32 size) + { + u8 data[64]; +@@ -180,6 +196,97 @@ ati_set_mode(struct vgamode_s *vmode_g, int flags) + return stdvga_set_mode(vmode_g, flags); + } + ++/**************************************************************** ++ * edid ++ ****************************************************************/ ++ ++static void ++ati_i2c_set_scl_sda(int scl, int sda) ++{ ++ u32 data = 0; ++ ++ if (!scl) ++ data |= (1 << 17); ++ if (!sda) ++ data |= (1 << 16); ++ ati_write(GPIO_DVI_DDC, data); ++} ++ ++static int ++ati_i2c_get_sda(void) ++{ ++ u32 data = ati_read(GPIO_DVI_DDC); ++ ++ return data & (1 << 8) ? 1 : 0; ++} ++ ++static void ati_i2c_start(void) ++{ ++ ati_i2c_set_scl_sda(1, 1); ++ ati_i2c_set_scl_sda(1, 0); ++ ati_i2c_set_scl_sda(0, 0); ++} ++ ++static void ati_i2c_ack(void) ++{ ++ ati_i2c_set_scl_sda(0, 0); ++ ati_i2c_set_scl_sda(1, 0); ++ ati_i2c_set_scl_sda(0, 0); ++} ++ ++static void ati_i2c_stop(void) ++{ ++ ati_i2c_set_scl_sda(0, 0); ++ ati_i2c_set_scl_sda(1, 0); ++ ati_i2c_set_scl_sda(1, 1); ++} ++ ++static void ati_i2c_send_byte(u8 byte) ++{ ++ int i, bit; ++ ++ for (i = 0; i < 8; i++) { ++ bit = (1 << (7-i)) & byte ? 1 : 0; ++ ati_i2c_set_scl_sda(0, bit); ++ ati_i2c_set_scl_sda(1, bit); ++ ati_i2c_set_scl_sda(0, bit); ++ } ++} ++ ++static u8 ati_i2c_recv_byte(void) ++{ ++ u8 byte = 0; ++ int i, bit; ++ ++ for (i = 0; i < 8; i++) { ++ ati_i2c_set_scl_sda(0, 1); ++ ati_i2c_set_scl_sda(1, 1); ++ bit = ati_i2c_get_sda(); ++ ati_i2c_set_scl_sda(0, 1); ++ if (bit) ++ byte |= (1 << (7-i)); ++ } ++ ++ return byte; ++} ++ ++static void ati_i2c_edid(void) ++{ ++ u8 byte; ++ int i; ++ ++ dprintf(1, "ati: reading edid blob\n"); ++ ati_i2c_start(); ++ ati_i2c_send_byte(0x50 << 1 | 1); ++ ati_i2c_ack(); ++ for (i = 0; i < 128; i++) { ++ byte = ati_i2c_recv_byte(); ++ ati_i2c_ack(); ++ SET_VGA(VBE_edid[i], byte); ++ } ++ ati_i2c_stop(); ++} ++ + /**************************************************************** + * init + ****************************************************************/ +@@ -241,5 +348,12 @@ ati_setup(void) + } + } + ++ u16 device = pci_config_readw(bdf, PCI_DEVICE_ID); ++ switch (device) { ++ case 0x5159: ++ ati_i2c_edid(); ++ break; ++ } ++ + return 0; + } diff --git a/ati-vga-add-rage128-edid-support.patch b/ati-vga-add-rage128-edid-support.patch new file mode 100644 index 0000000..08f7446 --- /dev/null +++ b/ati-vga-add-rage128-edid-support.patch @@ -0,0 +1,78 @@ +From: Gerd Hoffmann +Date: Mon, 24 Jun 2019 13:35:46 +0200 +Subject: ati-vga: add rage128 edid support + +Git-commit: 020bc4fc5ce93107c8e1bc731b9802cee56a123e + +Signed-off-by: Gerd Hoffmann +Signed-off-by: Bruce Rogers +--- + vgasrc/atiext.c | 25 +++++++++++++++++++++++++ + 1 file changed, 25 insertions(+) + +diff --git a/roms/seabios/vgasrc/atiext.c b/roms/seabios/vgasrc/atiext.c +index 71dfa859a22dc569ed2fd1312c6b..69dfd46e550a8865734def85c62d 100644 +--- a/roms/seabios/vgasrc/atiext.c ++++ b/roms/seabios/vgasrc/atiext.c +@@ -21,6 +21,7 @@ + #define CRTC_EXT_CNTL 0x0054 + #define GPIO_VGA_DDC 0x0060 + #define GPIO_DVI_DDC 0x0064 ++#define GPIO_MONID 0x0068 + #define CRTC_H_TOTAL_DISP 0x0200 + #define CRTC_V_TOTAL_DISP 0x0208 + #define CRTC_OFFSET 0x0224 +@@ -47,6 +48,7 @@ static u32 ati_i2c_reg VAR16; + static u32 ati_i2c_bit_scl_out VAR16; + static u32 ati_i2c_bit_sda_out VAR16; + static u32 ati_i2c_bit_sda_in VAR16; ++static u32 ati_i2c_bit_enable VAR16 = -1; + + + int +@@ -208,8 +210,11 @@ ati_set_mode(struct vgamode_s *vmode_g, int flags) + static void + ati_i2c_set_scl_sda(int scl, int sda) + { ++ u32 enable = GET_GLOBAL(ati_i2c_bit_enable); + u32 data = 0; + ++ if (enable != -1) ++ data |= (1 << enable); + if (!scl) + data |= (1 << GET_GLOBAL(ati_i2c_bit_scl_out)); + if (!sda) +@@ -316,6 +321,23 @@ static void ati_i2c_edid_radeon(void) + dprintf(1, "ati: ... %s\n", valid ? "good" : "invalid"); + } + ++static void ati_i2c_edid_rage128(void) ++{ ++ int valid; ++ ++ SET_VGA(ati_i2c_bit_enable, 25); ++ SET_VGA(ati_i2c_bit_scl_out, 18); ++ SET_VGA(ati_i2c_bit_sda_out, 17); ++ SET_VGA(ati_i2c_bit_sda_in, 9); ++ SET_VGA(ati_i2c_reg, GPIO_MONID); ++ ++ dprintf(1, "ati: reading edid blob (rage128) ... \n"); ++ ati_i2c_edid(); ++ valid = (GET_GLOBAL(VBE_edid[0]) == 0x00 && ++ GET_GLOBAL(VBE_edid[1]) == 0xff); ++ dprintf(1, "ati: ... %s\n", valid ? "good" : "invalid"); ++} ++ + /**************************************************************** + * init + ****************************************************************/ +@@ -379,6 +401,9 @@ ati_setup(void) + + u16 device = pci_config_readw(bdf, PCI_DEVICE_ID); + switch (device) { ++ case 0x5046: ++ ati_i2c_edid_rage128(); ++ break; + case 0x5159: + ati_i2c_edid_radeon(); + break; diff --git a/ati-vga-fix-ati_read.patch b/ati-vga-fix-ati_read.patch new file mode 100644 index 0000000..953c5a6 --- /dev/null +++ b/ati-vga-fix-ati_read.patch @@ -0,0 +1,28 @@ +From: Gerd Hoffmann +Date: Mon, 24 Jun 2019 12:09:31 +0200 +Subject: ati-vga: fix ati_read() + +Git-commit: 136e2612bd48ef06562625f15259fbacf7bcf66f + +Cut & paste bug probably. Had no bad effect so far because the code +doesn't read registers larger than 0x100. + +Signed-off-by: Gerd Hoffmann +Signed-off-by: Bruce Rogers +--- + vgasrc/atiext.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/roms/seabios/vgasrc/atiext.c b/roms/seabios/vgasrc/atiext.c +index b3975226c47852c80ec4278b9a95..a24b980638a9562daaa37fe236b4 100644 +--- a/roms/seabios/vgasrc/atiext.c ++++ b/roms/seabios/vgasrc/atiext.c +@@ -117,7 +117,7 @@ static inline u32 ati_read(u32 reg) + val = inl(io_addr + reg); + } else { + outl(reg, io_addr + MM_INDEX); +- reg = inl(io_addr + MM_DATA); ++ val = inl(io_addr + MM_DATA); + } + return val; + } diff --git a/ati-vga-make-i2c-register-and-bits-confi.patch b/ati-vga-make-i2c-register-and-bits-confi.patch new file mode 100644 index 0000000..ed21d54 --- /dev/null +++ b/ati-vga-make-i2c-register-and-bits-confi.patch @@ -0,0 +1,95 @@ +From: Gerd Hoffmann +Date: Mon, 24 Jun 2019 12:08:32 +0200 +Subject: ati-vga: make i2c register and bits configurable + +Git-commit: ae9a9796ec395e66ff0ed6d4484ea40ce85c0300 + +Prepare to support other ati cards. Also log access mode and whenever +we got a valid edid block. + +Signed-off-by: Gerd Hoffmann +Signed-off-by: Bruce Rogers +--- + vgasrc/atiext.c | 34 +++++++++++++++++++++++++++------- + 1 file changed, 27 insertions(+), 7 deletions(-) + +diff --git a/roms/seabios/vgasrc/atiext.c b/roms/seabios/vgasrc/atiext.c +index a24b980638a9562daaa37fe236b4..901e82d013837f54f4db292628d1 100644 +--- a/roms/seabios/vgasrc/atiext.c ++++ b/roms/seabios/vgasrc/atiext.c +@@ -43,6 +43,11 @@ + #define CRT_CRTC_ON 0x00008000 + + static u32 ati_io_addr VAR16 = 0; ++static u32 ati_i2c_reg VAR16; ++static u32 ati_i2c_bit_scl_out VAR16; ++static u32 ati_i2c_bit_sda_out VAR16; ++static u32 ati_i2c_bit_sda_in VAR16; ++ + + int + is_ati_mode(struct vgamode_s *vmode_g) +@@ -206,18 +211,18 @@ ati_i2c_set_scl_sda(int scl, int sda) + u32 data = 0; + + if (!scl) +- data |= (1 << 17); ++ data |= (1 << GET_GLOBAL(ati_i2c_bit_scl_out)); + if (!sda) +- data |= (1 << 16); +- ati_write(GPIO_DVI_DDC, data); ++ data |= (1 << GET_GLOBAL(ati_i2c_bit_sda_out)); ++ ati_write(GET_GLOBAL(ati_i2c_reg), data); + } + + static int + ati_i2c_get_sda(void) + { +- u32 data = ati_read(GPIO_DVI_DDC); ++ u32 data = ati_read(GET_GLOBAL(ati_i2c_reg)); + +- return data & (1 << 8) ? 1 : 0; ++ return data & (1 << GET_GLOBAL(ati_i2c_bit_sda_in)) ? 1 : 0; + } + + static void ati_i2c_start(void) +@@ -275,7 +280,6 @@ static void ati_i2c_edid(void) + u8 byte; + int i; + +- dprintf(1, "ati: reading edid blob\n"); + ati_i2c_start(); + ati_i2c_send_byte(0x50 << 1 | 1); + ati_i2c_ack(); +@@ -287,6 +291,22 @@ static void ati_i2c_edid(void) + ati_i2c_stop(); + } + ++static void ati_i2c_edid_radeon(void) ++{ ++ int valid; ++ ++ SET_VGA(ati_i2c_bit_scl_out, 17); ++ SET_VGA(ati_i2c_bit_sda_out, 16); ++ SET_VGA(ati_i2c_bit_sda_in, 8); ++ ++ dprintf(1, "ati: reading edid blob (radeon dvi) ... \n"); ++ SET_VGA(ati_i2c_reg, GPIO_DVI_DDC); ++ ati_i2c_edid(); ++ valid = (GET_GLOBAL(VBE_edid[0]) == 0x00 && ++ GET_GLOBAL(VBE_edid[1]) == 0xff); ++ dprintf(1, "ati: ... %s\n", valid ? "good" : "invalid"); ++} ++ + /**************************************************************** + * init + ****************************************************************/ +@@ -351,7 +371,7 @@ ati_setup(void) + u16 device = pci_config_readw(bdf, PCI_DEVICE_ID); + switch (device) { + case 0x5159: +- ati_i2c_edid(); ++ ati_i2c_edid_radeon(); + break; + } + diff --git a/ati-vga-make-less-verbose.patch b/ati-vga-make-less-verbose.patch new file mode 100644 index 0000000..059203a --- /dev/null +++ b/ati-vga-make-less-verbose.patch @@ -0,0 +1,27 @@ +From: Gerd Hoffmann +Date: Mon, 24 Jun 2019 12:09:52 +0200 +Subject: ati-vga: make less verbose + +Git-commit: ce52a31f612e33df66ac3553d9633732e34a277b + +Reduce loglevel for mode line removals from 1 to 3. + +Signed-off-by: Gerd Hoffmann +Signed-off-by: Bruce Rogers +--- + vgasrc/atiext.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/roms/seabios/vgasrc/atiext.c b/roms/seabios/vgasrc/atiext.c +index 8c9e6966db47f083646193d7faf6..b3975226c47852c80ec4278b9a95 100644 +--- a/roms/seabios/vgasrc/atiext.c ++++ b/roms/seabios/vgasrc/atiext.c +@@ -343,7 +343,7 @@ ati_setup(void) + height > 0xfff || + mem > totalmem || + memmodel != MM_DIRECT) { +- dprintf(1, "ati: removing mode 0x%x\n", GET_GLOBAL(m->mode)); ++ dprintf(3, "ati: removing mode 0x%x\n", GET_GLOBAL(m->mode)); + SET_VGA(m->mode, 0xffff); + } + } diff --git a/ati-vga-try-vga-ddc-first.patch b/ati-vga-try-vga-ddc-first.patch new file mode 100644 index 0000000..099ef77 --- /dev/null +++ b/ati-vga-try-vga-ddc-first.patch @@ -0,0 +1,35 @@ +From: Gerd Hoffmann +Date: Mon, 24 Jun 2019 12:17:28 +0200 +Subject: ati-vga: try vga ddc first + +Git-commit: af573dceef7b9a45d13192ec5abf29b73c78540e + +Try vga ddc bus before dvi ddc bus. +Return early in case we got valid data. + +Signed-off-by: Gerd Hoffmann +Signed-off-by: Bruce Rogers +--- + vgasrc/atiext.c | 9 +++++++++ + 1 file changed, 9 insertions(+) + +diff --git a/roms/seabios/vgasrc/atiext.c b/roms/seabios/vgasrc/atiext.c +index 901e82d013837f54f4db292628d1..71dfa859a22dc569ed2fd1312c6b 100644 +--- a/roms/seabios/vgasrc/atiext.c ++++ b/roms/seabios/vgasrc/atiext.c +@@ -299,6 +299,15 @@ static void ati_i2c_edid_radeon(void) + SET_VGA(ati_i2c_bit_sda_out, 16); + SET_VGA(ati_i2c_bit_sda_in, 8); + ++ dprintf(1, "ati: reading edid blob (radeon vga) ... \n"); ++ SET_VGA(ati_i2c_reg, GPIO_VGA_DDC); ++ ati_i2c_edid(); ++ valid = (GET_GLOBAL(VBE_edid[0]) == 0x00 && ++ GET_GLOBAL(VBE_edid[1]) == 0xff); ++ dprintf(1, "ati: ... %s\n", valid ? "good" : "invalid"); ++ if (valid) ++ return; ++ + dprintf(1, "ati: reading edid blob (radeon dvi) ... \n"); + SET_VGA(ati_i2c_reg, GPIO_DVI_DDC); + ati_i2c_edid(); diff --git a/bundle2local.sh b/bundle2local.sh new file mode 100644 index 0000000..f4c34c2 --- /dev/null +++ b/bundle2local.sh @@ -0,0 +1,57 @@ +#!/bin/bash +# +# This script takes patches stored in the bundle and places +# them into a branch named frombundle for each local repo it +# finds. + +# NYI: report if the required base commit isn't there - they may need to fetch the latest from upstream + +set -e + +source ./config.sh + +rm -rf $GIT_DIR +rm -rf $CMP_DIR +rm -rf $BUNDLE_DIR +rm -f checkpatch.log + +mkdir -p $BUNDLE_DIR +tar xJf bundles.tar.xz -C $BUNDLE_DIR +BUNDLE_FILES=$(find $BUNDLE_DIR -printf "%P\n"|grep "bundle$") + +for entry in ${BUNDLE_FILES[@]}; do + if [[ $entry =~ ^(.*)[/]*([a-f0-9]{40})[.]bundle$ ]]; then + SUBDIR=${BASH_REMATCH[1]} + GITREPO_COMMIT_ISH=${BASH_REMATCH[2]} + else + echo "ERROR! BAD BUNDLE CONTENT!" + exit + fi + for (( i=0; i <$REPO_COUNT; i++ )); do + if [[ "$SUBDIR" = "${PATCH_PATH_MAP[$i]}" ]]; then + PATCH_RANGE_INDEX=$i + break + fi + done + + LOCAL_REPO=$(readlink -f ${LOCAL_REPO_MAP[$PATCH_RANGE_INDEX]}) + if [ -e $LOCAL_REPO ]; then + echo "Found local repo $LOCAL_REPO corresponding to archived git bundle" + else + echo "No local repo $LOCAL_REPO corresponding to archived git bundle" + fi + git -C $LOCAL_REPO remote remove bundlerepo || true +# git won't let you delete this branch if it's the current branch (returns 1) HOW TO HANDLE? +# detect this case, and ask user to switch to another branch? or do it for them - switch to master killing any "state" for this branch + git -C $LOCAL_REPO branch -D frombundle || true + git -C $LOCAL_REPO remote add bundlerepo $BUNDLE_DIR/$entry + # in next, the head may be FETCH_HEAD or HEAD depending on how we created: + git -C $LOCAL_REPO fetch bundlerepo FETCH_HEAD + #git -C $LOCAL_REPO fetch bundlerepo HEAD + git -C $LOCAL_REPO branch frombundle FETCH_HEAD + git -C $LOCAL_REPO remote remove bundlerepo +done +echo "For each local repo found a branch named frombundle contains the patches from the bundle." +echo "Use this as the starting point for making changes to the $GIT_BRANCH, which gets used as" +echo "the source when updating the bundle stored with the package." +rm -rf $BUNDLE_DIR diff --git a/bundle2spec.sh b/bundle2spec.sh new file mode 100644 index 0000000..9d65534 --- /dev/null +++ b/bundle2spec.sh @@ -0,0 +1,471 @@ +#!/bin/bash +# +# Instead of a quilt workflow, we use a git tree that contains +# all the commits on top of a qemu source tarball. +# +# When updating this package, just either update the git tree +# below (use rebase!) or change the tree path and use your own +# +# That way we can easily rebase against the next stable release +# when it comes. + +# !!!!!! WARNING - our use of the sort order of our globbing will +# get the patches out of order once they go over 9999!!!!!!!!!!! + +set -e + +source ./config.sh + +rm -rf $GIT_DIR +rm -rf $CMP_DIR +rm -rf $BUNDLE_DIR +rm -f checkpatch.log +rm -rf checkthese + +if [ "$GIT_UPSTREAM_COMMIT_ISH" = "LATEST" ]; then + # This is just a safety valve in case the above gets edited wrong: + if ! [ "$GIT_BRANCH" = "master" ]; then + echo "LATEST implies master branch, please fix configuration" + exit + fi + (cd ${LOCAL_REPO_MAP[0]} && git remote update upstream) +fi + +BASE_RE="qemu-[[:digit:]]+(\.[[:digit:]]+){2}(-rc[[:digit:]])?" +EXTRA_RE="\+git\.[[:digit:]]+\.([[:xdigit:]]+)" +SUFFIX_RE="\.tar\.xz" +SIG_SUFFIX_RE="\.tar\.xz\.sig" +QEMU_TARBALL=($(find -maxdepth 1 -type f -regextype posix-extended -regex \ + "\./$BASE_RE($EXTRA_RE)?$SUFFIX_RE" -printf "%f ")) +QEMU_TARBALL_SIG=($(find -maxdepth 1 -type f -regextype posix-extended -regex \ + "\./$BASE_RE($EXTRA_RE)?$SIG_SUFFIX_RE" -printf "%f ")) + +if [ ${#QEMU_TARBALL[@]} -gt 1 ]; then + echo "Multiple qemu tarballs detected. Please clean up" + exit +fi +if [ ${#QEMU_TARBALL_SIG[@]} -gt 1 ]; then + echo "Multiple qemu tarballs signature files detected. Please clean up" + exit +fi +# It's ok for either of these to be empty when using "LATEST" +OLD_SOURCE_VERSION_AND_EXTRA=$(echo $QEMU_TARBALL 2>/dev/null | head --bytes=-8\ + | cut --bytes=6-) +VERSION_EXTRA=$(echo $OLD_SOURCE_VERSION_AND_EXTRA|awk -F+ '{if ($2) print \ + "+"$2}') +if [ "$OLD_SOURCE_VERSION_AND_EXTRA" = "" ]; then + echo "Warning: No tarball found" +fi + +mkdir -p $BUNDLE_DIR +# This tarball has git bundles stored in a directory structure which mimics the +# submodule locations in the containing git repo. Also at that same dir level +# is a file named repo which contains the one line git repo url (with git:// or +# http(s) prefix). The bundles are named as follows: +# "{path/}{git_sha}.{patch_prefix}.{bundle}", where {path/} isn't present for +# the top (qemu) bundle (ie it's for submodules). + +tar xJf bundles.tar.xz -C $BUNDLE_DIR +# !!! The following may be overkill, since it seems that find does do a depth first, which is all we need +BUNDLE_FILES=$(find $BUNDLE_DIR -printf "%P\n"|grep "bundle$") + +if [ "$GIT_UPSTREAM_COMMIT_ISH" = "LATEST" ]; then + if [[ $QEMU_TARBALL =~ $BASE_RE$EXTRA_RE$SUFFIX_RE ]]; then + OLD_COMMIT_ISH=${BASH_REMATCH[3]} + else + #Assume release (or release candidate) tarball with equivalent tag: + OLD_COMMIT_ISH=$(cd ${LOCAL_REPO_MAP[0]} && git rev-list --abbrev-commit \ + --abbrev=9 -1 v$OLD_SOURCE_VERSION_AND_EXTRA) + fi + if [ ${#QEMU_TARBALL_SIG[@]} -ne 0 ]; then + echo "INFO: Ignoring signature file: $QEMU_TARBALL_SIG" + QEMU_TARBALL_SIG= + fi + NEW_COMMIT_ISH=$(cd ${LOCAL_REPO_MAP[0]} && git rev-parse --short=9 \ + upstream/$GIT_BRANCH) + NOW_SECONDS=$(date +%s) + + git clone -ls ${LOCAL_REPO_MAP[0]} $GIT_DIR -b $GIT_BRANCH --single-branch &>/dev/null + if [ "$OLD_COMMIT_ISH" != "$NEW_COMMIT_ISH" ]; then + echo "Please wait..." + (cd $GIT_DIR && git remote add upstream \ + git://git.qemu-project.org/qemu.git &>/dev/null) + (cd $GIT_DIR && git remote update upstream &>/dev/null) + (cd $GIT_DIR && git checkout $NEW_COMMIT_ISH &>/dev/null) + (cd $GIT_DIR && git submodule update --init --recursive &>/dev/null) + VERSION_EXTRA=+git.$NOW_SECONDS.$NEW_COMMIT_ISH + fi + QEMU_VERSION=$(cat $GIT_DIR/VERSION) + MAJOR_VERSION=$(echo $QEMU_VERSION|awk -F. '{print $1}') + MINOR_VERSION=$(echo $QEMU_VERSION|awk -F. '{print $2}') + X=$(echo $QEMU_VERSION|awk -F. '{print $3}') + # 0 = release, 50 = development cycle, 90..99 equate to release candidates + if [ "$X" != "0" -a "$X" != "50" ]; then + if [ "$NEXT_RELEASE_IS_MAJOR" = "0" ]; then + SOURCE_VERSION=$MAJOR_VERSION.$[$MINOR_VERSION+1].0-rc$[X-90] + else + SOURCE_VERSION=$[$MAJOR_VERSION+1].0.0-rc$[X-90] + fi + else + SOURCE_VERSION=$MAJOR_VERSION.$MINOR_VERSION.$X + fi + if [ "$OLD_COMMIT_ISH" != "$NEW_COMMIT_ISH" ]; then + if (cd ${LOCAL_REPO_MAP[0]} && git describe --exact-match $NEW_COMMIT_ISH \ + &>/dev/null); then + if [ "$X" = "50" ]; then + echo "Ignoring non-standard tag" + else + # there is no VERSION_EXTRA + VERSION_EXTRA= + fi + fi + (cd $GIT_DIR/roms/seabios && git describe --tags --long --dirty > \ + .version) + (cd $GIT_DIR/roms/skiboot && ./make_version.sh > .version) + echo "Almost there..." + tar --exclude=.git --transform "s,$GIT_DIR,qemu-$SOURCE_VERSION," \ + -Pcf qemu-$SOURCE_VERSION$VERSION_EXTRA.tar $GIT_DIR + echo "New tarball created. Attempting rebase..." + if ! (cd $GIT_DIR && git rebase upstream/$GIT_BRANCH $GIT_BRANCH); then + echo "rebasing master on upstream/master needs human assistance." \ + "Exiting" + (cd $GIT_DIR && git rebase --abort) + rm qemu-$SOURCE_VERSION$VERSION_EXTRA.tar + exit + fi + echo "WARNING: To rebase, master is being checked out" + if ! (cd ${LOCAL_REPO_MAP[0]} && git rebase upstream/$GIT_BRANCH \ + $GIT_BRANCH); then + echo "WARNING: Script error? rebasing master on upstream/master" \ + "succeeded in temp" + echo "dir but failed in local tree! Please investigate" + (cd ${LOCAL_REPO_MAP[0]} && git rebase --abort) + rm qemu-$SOURCE_VERSION$VERSION_EXTRA.tar + exit + fi + echo "Rebase successful" + osc rm --force qemu-$OLD_SOURCE_VERSION_AND_EXTRA.tar.xz &>/dev/null ||\ + true + osc rm --force qemu-$OLD_SOURCE_VERSION_AND_EXTRA.tar.xz.sig \ + &>/dev/null || true + unset QEMU_TARBALL_SIG + xz -T 0 qemu-$SOURCE_VERSION$VERSION_EXTRA.tar + osc add qemu-$SOURCE_VERSION$VERSION_EXTRA.tar.xz + fi + # We're done with GIT_UPSTREAM_COMMIT_ISH carrying the special value LATEST + GIT_UPSTREAM_COMMIT_ISH=$NEW_COMMIT_ISH + WRITE_LOG=0 +else # not based on LATEST upstream master, rather any upstream commitish + if [ "$OLD_SOURCE_VERSION_AND_EXTRA" = "" ]; then + echo "Failure: tarball required which corresponds to commitish:" \ + "$GIT_UPSTREAM_COMMITISH" + exit + fi + if [ -d "${LOCAL_REPO_MAP[0]}" ]; then + echo "Processing local git tree branch: $GIT_BRANCH, using commitish:"\ + "$GIT_UPSTREAM_COMMIT_ISH" + if ! (cd ${LOCAL_REPO_MAP[0]} && git show-branch $GIT_BRANCH &>/dev/null) + then + echo "Error: Branch $GIT_BRANCH not found - please create a remote"\ + "tracking branch of origin/$GIT_BRANCH" + exit + fi + for entry in ${BUNDLE_FILES[@]}; do + if [[ $entry =~ ^(.*)[/]*([a-f0-9]{40})[.]bundle$ ]]; then + SUBDIR=${BASH_REMATCH[1]} + GITREPO_COMMIT_ISH=${BASH_REMATCH[2]} + else + echo "ERROR! BAD BUNDLE CONTENT!" + exit + fi + for (( i=0; i <$REPO_COUNT; i++ )); do + if [[ "$SUBDIR" = "${PATCH_PATH_MAP[$i]}" ]]; then + PATCH_RANGE_INDEX=$i + break + fi + done + +# !!!!! REVIEW WHERE THIS mkdir SHOULD BE HAPPENING (kind of replaces the clone operation) + mkdir -p $GIT_DIR/$SUBDIR + git -C $GIT_DIR/$SUBDIR init + git -C $GIT_DIR/$SUBDIR remote add origin file://$(readlink -f \ + ${LOCAL_REPO_MAP[$PATCH_RANGE_INDEX]}) + git -C $GIT_DIR/$SUBDIR fetch origin $GIT_BRANCH + git -C $GIT_DIR/$SUBDIR reset --hard $GITREPO_COMMIT_ISH + git -C $GIT_DIR/$SUBDIR remote add bundle $BUNDLE_DIR/$entry + # depending on how created, the bundle's head is called HEAD or FETCH_HEAD + #git -C $GIT_DIR/$SUBDIR fetch bundle HEAD + git -C $GIT_DIR/$SUBDIR fetch bundle FETCH_HEAD + git -C $GIT_DIR/$SUBDIR format-patch -N --suffix= --no-renames -o $CMP_DIR -k --stat=72 \ + --indent-heuristic --zero-commit --no-signature --full-index \ + --src-prefix=a/$SUBDIR --dst-prefix=b/$SUBDIR \ + --start-number=$(expr $PATCH_RANGE_INDEX \* $PATCH_RANGE) \ + $GITREPO_COMMIT_ISH..FETCH_HEAD > /dev/null + done + +# ( THIS ISNT WORKING - IS OLD HISTORY:) + else + echo "Processing $GIT_BRANCH branch of remote git tree, using"\ + "commitish: $GIT_UPSTREAM_COMMIT_ISH" + echo "(For fast processing, consider establishing a local git tree"\ + "at ${LOCAL_REPO_MAP[0]})" +# NYI - should be able to combine with local case for the most part + fi + QEMU_VERSION=$(cat $GIT_DIR/VERSION) + SOURCE_VERSION=$OLD_SOURCE_VERSION_AND_EXTRA + NEW_COMMIT_ISH= + WRITE_LOG=1 +fi + +rm -rf $GIT_DIR +rm -rf $BUNDLE_DIR + +( + CHANGED_COUNT=0 + UNCHANGED_COUNT=0 + DELETED_COUNT=0 + ADDED_COUNT=0 + TOTAL_COUNT=0 + + shopt -s nullglob + + for i in $CMP_DIR/*; do + # index line isn't consistent, so cut full index to normal line length + sed -E -i 's/(^index [a-f0-9]{28})[a-f0-9]{12}([.][.][a-f0-9]{28})[a-f0-9]{12}( [0-9]{6}$)/\1\2\3/' $i + BASENAME=$(basename $i) + if [ "$FIVE_DIGIT_POTENTIAL" = "1" ]; then + if [[ $BASENAME =~ [[:digit:]]{4}-.* ]]; then + BASENAME=0$BASENAME + fi + fi + if [[ "$NUMBERED_PATCHES" = "0" ]]; then + KEEP_COUNT=40+4+$FIVE_DIGIT_POTENTIAL+1 + else + KEEP_COUNT=40 + fi + tail -n +2 $i > $CMP_DIR/${BASENAME:0:$KEEP_COUNT}.patch + rm $i + done + if [[ "$NUMBERED_PATCHES" = "0" ]]; then + for i in [0-9]*.patch; do + osc rm --force $i + echo "calling osc rm on $i" + done + # we need to make sure that w/out the numbered prefixes, the patchnames are all unique + mkdir checkdir + for i in $CMP_DIR/*; do + BASENAME=$(basename $i) + FINALNAME=${BASENAME:4+$FIVE_DIGIT_POTENTIAL+1:40+1+5} + if [[ -e checkdir/$FINALNAME ]]; then + echo "ERROR! Patch name $FINALNAME is not unique! Please modify patch subject to achieve uniqueness" + exit 1 + fi + cp $i checkdir/$FINALNAME + done + CHECK_DIR=checkdir + cp $CMP_DIR/*.patch . + else + CHECK_DIR=$CMP_DIR + fi +#step 0, and 0.1 are done above - question remains if the numbered case should use check dir + + rm -f checkthese + if [ "$FIVE_DIGIT_POTENTIAL" = "0" ]; then + CHECK_PREFIX="0" + else + CHECK_PREFIX="00" + fi + for i in $CHECK_DIR/*; do + BASENAME=$(basename $i) + if [ -e $BASENAME ]; then + if cmp -s $i $BASENAME; then + touch --reference=$BASENAME $i + rm $BASENAME + let UNCHANGED_COUNT+=1 + else + if [ "${BASENAME:0:1+$FIVE_DIGIT_POTENTIAL}" = "$CHECK_PREFIX" ]; then + echo "$BASENAME" >> checkthese + fi + rm $BASENAME + let CHANGED_COUNT+=1 + let TOTAL_COUNT+=1 + fi + else + echo " $BASENAME" >> qemu.changes.added + if [ "${BASENAME:0:1+$FIVE_DIGIT_POTENTIAL}" = "$CHECK_PREFIX" ]; then + echo "$BASENAME" >> checkthese + fi + let ADDED_COUNT+=1 + let TOTAL_COUNT+=1 + fi + done + if [ "$FIVE_DIGIT_POTENTIAL" = "0" ]; then + NUMBERED_PATCH_RE="^[[:digit:]]{4}-.*[.]patch$" + else + NUMBERED_PATCH_RE="^[[:digit:]]{5}-.*[.]patch$" + fi +#NEXT is #2 in lgorithm + for i in *.patch; do + if [[ $i =~ $NUMBERED_PATCH_RE ]]; then + if [[ "$NUMBERED_PATCHES" = "1" ]]; then + osc rm --force $i + echo "calling osc rm on $i" + echo " $i" >> qemu.changes.deleted + let DELETED_COUNT+=1 + let TOTAL_COUNT+=1 + fi + else + osc rm --force $i + echo "calling osc rm on $i" + echo " $i" >> qemu.changes.deleted + let DELETED_COUNT+=1 + let TOTAL_COUNT+=1 + fi + done + mv $CHECK_DIR/* . + if [ -e qemu.changes.added ]; then + xargs osc add < qemu.changes.added + echo "calling osc add on:"; cat qemu.changes.added + fi + + # NYI do we need this check? + if [ ! -e checkpatch.pl ]; then + tar Jxf qemu-$SOURCE_VERSION$VERSION_EXTRA.tar.xz \ + qemu-$SOURCE_VERSION/scripts/checkpatch.pl --strip-components=2 + fi + if [[ -e checkthese ]]; then + for i in $(cat checkthese); do + ./checkpatch.pl --no-tree --terse --no-summary --summary-file \ + --patch $i >> checkpatch.log || true + done + fi + rm -f checkthese + rm -f checkpatch.pl + if [ -s checkpatch.log ]; then + echo "WARNING: Issues reported by qemu patch checker. Please handle" \ + "ERROR items now:" + cat checkpatch.log + fi + rm -f checkpatch.log + if [ "$TOTAL_COUNT" != "0" -a "$VERSION_EXTRA" != "" -a "$OLD_COMMIT_ISH" =\ + "$NEW_COMMIT_ISH" ]; then + # Patches changed, so update the version using current time + VERSION_EXTRA=+git.$NOW_SECONDS.$OLD_COMMIT_ISH + osc mv qemu-$OLD_SOURCE_VERSION_AND_EXTRA.tar.xz \ + qemu-$SOURCE_VERSION$VERSION_EXTRA.tar.xz + osc add qemu-$SOURCE_VERSION$VERSION_EXTRA.tar.xz + fi + + echo "QEMU version file: $QEMU_VERSION" + echo "QEMU source version: $SOURCE_VERSION" + echo "QEMU version extra: $VERSION_EXTRA" + + SEABIOS_VERSION=$(tar JxfO qemu-$SOURCE_VERSION$VERSION_EXTRA.tar.xz \ + qemu-$SOURCE_VERSION/roms/seabios/.version | cut -d '-' -f 2) + + for package in qemu; do + while IFS= read -r line; do + if [ "$line" = "PATCH_FILES" ]; then + for i in [0-9]*-*.patch; do + NUM=${i%%-*} + DIV=$((10#$NUM/$PATCH_RANGE)) + REM=$((10#$NUM%$PATCH_RANGE)) + if [[ "$REM" = "0" ]]; then + if [[ "$DIV" = "0" ]]; then + echo "# Patches applied in base project:" + else + echo "# Patches applied in ${PATCH_PATH_MAP[$DIV]}:" + fi + fi + if [[ "$FIVE_DIGIT_POTENTIAL" != "0" ]]; then + if [[ "$NUMBERED_PATCHES" = "0" ]]; then + PATCH_NUMBER=${i%%-*} + echo -e "Patch$NUM: ${i:${#PATCH_NUMBER}+1:40+1+5}" + else + echo -e "Patch$NUM: $i" + fi + else + if [[ "$NUMBERED_PATCHES" = "0" ]]; then + PATCH_NUMBER=${i%%-*} + echo -e "Patch$NUM: ${i:${#PATCH_NUMBER}+1:40+1+5}" + else + echo -e "Patch$NUM: $i" + fi + fi + done + elif [ "$line" = "PATCH_EXEC" ]; then + for i in [0-9]*-*.patch; do + S=$(grep "^Include-If: " $i) || true + NUM=${i%%-*} + if [ "$S" != "" ]; then + echo "${S:12}" + echo "%patch$NUM -p1" + echo "%endif" + else + echo "%patch$NUM -p1" + fi + done + elif [ "$line" = "QEMU_VERSION" ]; then + echo "%define qemuver $QEMU_VERSION$VERSION_EXTRA" + echo "%define srcver $SOURCE_VERSION$VERSION_EXTRA" + echo "Version: %qemuver" + elif [[ "$line" =~ ^Source: ]]; then + echo "$line" + if [ ${#QEMU_TARBALL_SIG[@]} -eq 1 ]; then + # We assume the signature file corresponds - just add .sig + echo "$line.sig"|sed 's/^Source: /Source99:/' + fi + elif [ "$line" = "SEABIOS_VERSION" ]; then + echo "Version: $SEABIOS_VERSION" + else + echo "$line" + fi + done < $package.spec.in > $CMP_DIR/$package.spec + if cmp -s $package.spec $CMP_DIR/$package.spec; then + echo "$package.spec unchanged" + else + mv $CMP_DIR/$package.spec $package.spec + echo "$package.spec regenerated" + let PACKAGE_CHANGED_COUNT+=1 + fi + + if [ "$WRITE_LOG" = "1" ]; then + # Factory requires all deleted and added patches to be mentioned + if [ -e qemu.changes.deleted ] || [ -e qemu.changes.added ]; then + echo "Patch queue updated from ${GIT_TREE} ${GIT_BRANCH}" > \ + $package.changes.proposed + fi + if [ -e qemu.changes.deleted ]; then + echo "* Patches dropped:" >> $package.changes.proposed + cat qemu.changes.deleted >> $package.changes.proposed + fi + if [ -e qemu.changes.added ]; then + echo "* Patches added:" >> $package.changes.proposed + cat qemu.changes.added >> $package.changes.proposed + fi + if [ -e $package.changes.proposed ]; then + osc vc --file=$package.changes.proposed $package + rm -f $package.changes.proposed + fi + fi + done + if [[ "$NUMBERED_PATCHES" = "0" ]]; then + rm -f [0-9]*-*.patch + fi + if [ -e qemu.changes.deleted ]; then + rm -f qemu.changes.deleted + fi + if [ -e qemu.changes.added ]; then + rm -f qemu.changes.added + fi + echo "git patch summary" + echo " unchanged: $UNCHANGED_COUNT" + echo " changed: $CHANGED_COUNT" + echo " deleted: $DELETED_COUNT" + echo " added: $ADDED_COUNT" +) + +rm -rf $CMP_DIR +rm -rf checkdir + +osc service localrun format_spec_file diff --git a/bundles.tar.xz b/bundles.tar.xz new file mode 100644 index 0000000..650345d --- /dev/null +++ b/bundles.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8a7ef5da00d22168bf2d214e6d45814486f0f845d14a85578b7d434cd71d49e3 +size 37796 diff --git a/checkbundle.sh b/checkbundle.sh new file mode 100644 index 0000000..c88c905 --- /dev/null +++ b/checkbundle.sh @@ -0,0 +1,50 @@ +#!/bin/bash +# +# This script simply does some basic checks on the bundle tarball + +# NYI: report if the required base commit isn't there - they may need to fetch the latest from upstream + +set -e + +source ./config.sh + +rm -rf $GIT_DIR +rm -rf $BUNDLE_DIR + +mkdir -p $GIT_DIR +mkdir -p $BUNDLE_DIR +tar xJf bundles.tar.xz -C $BUNDLE_DIR +BUNDLE_FILES=$(find $BUNDLE_DIR -printf "%P\n"|grep "bundle$") + +git -C $GIT_DIR init +# !!!! I suspect that given the current format of the bundles dir struct, the 1st isn't used +# I suspect also that we are getting a redundant ./ in the path which isn't helpful +for entry in ${BUNDLE_FILES[@]}; do + if [[ $entry =~ ^(.*)[/]*([a-f0-9]{40})[.]bundle$ ]]; then + SUBDIR=${BASH_REMATCH[1]} + GITREPO_COMMIT_ISH=${BASH_REMATCH[2]} + else + echo "ERROR! BAD BUNDLE CONTENT!" + exit + fi + for (( i=0; i <$REPO_COUNT; i++ )); do + if [[ "$SUBDIR" = "${PATCH_PATH_MAP[$i]}" ]]; then + PATCH_RANGE_INDEX=$i + break + fi + done + if [ "$(git -C $GIT_DIR bundle verify $BUNDLE_DIR/$entry 2>&1>/dev/null|tail --lines=1)" == "error: $GITREPO_COMMIT_ISH" ]; then + echo "Verified bundle name matches bundle's base commit as expected" + fi + + git bundle list-heads $BUNDLE_DIR/$entry + LOCAL_REPO=$(readlink -f ${LOCAL_REPO_MAP[$PATCH_RANGE_INDEX]}) + if [ -e $LOCAL_REPO ]; then + echo "Found local repo $LOCAL_REPO corresponding to archived git bundle, verifying base commit is present (ok if no error)..." + git -C $LOCAL_REPO verify-commit $GITREPO_COMMIT_ISH || true + else + echo "No local repo $LOCAL_REPO corresponding to archived git bundle" + fi +done +rm -rf $GIT_DIR +rm -rf $BUNDLE_DIR diff --git a/config.sh b/config.sh new file mode 100644 index 0000000..bbb844e --- /dev/null +++ b/config.sh @@ -0,0 +1,102 @@ +# The next few VARIABLES may be edited (or uncommented) as required: + +# The commit upon which our patchqueue gets rebased. The special value LATEST +# may be used to "automatically" track the upstream development tree in the +# master branch +GIT_UPSTREAM_COMMIT_ISH=v4.1.0 +if [ "$GIT_UPSTREAM_COMMIT_ISH" = "LATEST" ]; then + echo "Using LATEST upstream commit as base for tarball and patch queue" + GIT_BRANCH=master +fi +# otherwise we specify the branch to use, eg: +# WARNING: If transitioning from using LATEST to not, MANUALLY re-set the +# tarball present +GIT_BRANCH=opensuse-4.1 +# This is used for the automated development branch tracking +NEXT_RELEASE_IS_MAJOR=0 + +# The shared openSUSE specific git repo, on which $GIT_LOCAL_TREE is based +GIT_TREE=git://github.com/openSUSE/qemu.git + +# Temporary directories used by this script +GIT_DIR=/dev/shm/qemu-factory-git-dir +CMP_DIR=/dev/shm/qemu-factory-cmp-dir +BUNDLE_DIR=/dev/shm/qemu-factory-bundle-dir + +# For the following, use 1 or 0 as needed +NUMBERED_PATCHES=0 + +PATCH_RANGE=1000 +REPO_COUNT=26 + +# Perhaps we need to instead use the terminal local dirname as the index +# and store the ~/git/ as a separate VARIABLE +# This way, we only have one big array instead of two +# BUT STILL WE NEED TO START WITH THE DATA STORED SOMEWHERE!!!!!! +LOCAL_REPO_MAP=( + ~/git/qemu-opensuse + ~/git/qemu-seabios + ~/git/qemu-ipxe + ~/git/qemu-sgabios + ~/git/qemu-edk2 + ~/git/qemu-skiboot + ~/git/qemu-SLOF + ~/git/qemu-openbios + ~/git/qemu-keycodemapdb + ~/git/qemu-slirp + ~/git/qemu-u-boot + ~/git/qemu-openhackware + ~/git/qemu-dtc + ~/git/qemu-opensbi + ~/git/qemu-edk2-openssl + ~/git/qemu-capstone + ~/git/qemu-qemu-palcode + ~/git/qemu-seabios-hppa + ~/git/qemu-u-boot-sam460ex + ~/git/qemu-QemuMacDrivers + ~/git/qemu-tests-berkeley-softfloat-3 + ~/git/qemu-tests-berkeley-testfloat-3 + ~/git/qemu-edk2-berkeley-softfloat-3 + ~/git/qemu-edk2-openssl-boringssl + ~/git/qemu-edk2-openssl-krb5 + ~/git/qemu-edk2-openssl-pyca-cryptography +) +# Should we instead simply have this stored in bundle somehow? (perhaps have an ordering number, and +# store a patchrange value in this file. Unclear what is best - perhaps once we do a full scripting +# solution the right choice will fall out - what makes sense as to how the project gets initialized +# what is easiest to create (and how) to get packaging working with this workflow? +PATCH_PATH_MAP=( + "" + "roms/seabios/" + "roms/ipxe/" + "roms/sgabios/" + "roms/edk2/" + "roms/skiboot/" + "roms/SLOF/" + "roms/openbios/" + "ui/keycodemapdb/" + "slirp/" + "roms/u-boot/" + "roms/openhackware/" + "dtc/" + "roms/opensbi/" + "roms/edk2/CryptoPkg/Library/OpensslLib/openssl/" + "capstone/" + "roms/qemu-palcode/" + "roms/seabios-hppa/" + "roms/u-boot-sam460ex/" + "roms/QemuMacDrivers/" + "tests/fp/berkeley-softfloat-3/" + "tests/fp/berkeley-testfloat-3/" + "roms/edk2/ArmPkg/Library/ArmSoftFloatLib/berkeley-softfloat-3/" + "roms/edk2/CryptoPkg/Library/OpensslLib/openssl/boringssl/" + "roms/edk2/CryptoPkg/Library/OpensslLib/openssl/krb5/" + "roms/edk2/CryptoPkg/Library/OpensslLib/openssl/pyca-cryptography/" +) + +# Zero based numbering, so we subtract 1 here: +if (( (REPO_COUNT * PATCH_RANGE) - 1 > 9999 )); then + FIVE_DIGIT_POTENTIAL=1 +else + FIVE_DIGIT_POTENTIAL=0 +fi diff --git a/0047-configure-only-populate-roms-if-sof.patch b/configure-only-populate-roms-if-softmmu.patch similarity index 76% rename from 0047-configure-only-populate-roms-if-sof.patch rename to configure-only-populate-roms-if-softmmu.patch index 83edf07..41fff5b 100644 --- a/0047-configure-only-populate-roms-if-sof.patch +++ b/configure-only-populate-roms-if-softmmu.patch @@ -12,15 +12,15 @@ Signed-off-by: Bruce Rogers 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure b/configure -index 5df1b9a285..cf261e9cc5 100755 +index 578d208b374261803d84c22c2479..6cfe739061d2d8fef6d89147fcd5 100755 --- a/configure +++ b/configure -@@ -6166,12 +6166,13 @@ if { test "$cpu" = "i386" || test "$cpu" = "x86_64"; } && \ +@@ -6211,12 +6211,13 @@ if { test "$cpu" = "i386" || test "$cpu" = "x86_64"; } && \ fi done fi --if test "$cpu" = "ppc64" && test "$targetos" != "Darwin" ; then -+if test "$cpu" = "ppc64" && test "$targetos" != "Darwin" && \ +-if test "$ARCH" = "ppc64" && test "$targetos" != "Darwin" ; then ++if test "$ARCH" = "ppc64" && test "$targetos" != "Darwin" && \ + test "$softmmu" = yes ; then roms="$roms spapr-rtas" fi diff --git a/enable-cross-compilation-on-ARM.patch b/enable-cross-compilation-on-ARM.patch new file mode 100644 index 0000000..d47786d --- /dev/null +++ b/enable-cross-compilation-on-ARM.patch @@ -0,0 +1,22 @@ +From: Bruce Rogers +Date: Mon, 26 Aug 2019 13:28:57 -0600 +Subject: enable cross compilation on ARM + +Signed-off-by: Bruce Rogers +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/roms/seabios/Makefile b/roms/seabios/Makefile +index bd34cfc2394a9103fec2e951bb67..7b8a5cd6b17254685df89798ed10 100644 +--- a/roms/seabios/Makefile ++++ b/roms/seabios/Makefile +@@ -13,7 +13,7 @@ export CONFIG_SHELL := sh + export KCONFIG_AUTOHEADER := autoconf.h + export KCONFIG_CONFIG := $(CURDIR)/.config + export LC_ALL := C +-CROSS_PREFIX= ++CROSS_PREFIX=$(CROSS_COMPILE) + ifneq ($(CROSS_PREFIX),) + CC=$(CROSS_PREFIX)gcc + endif diff --git a/git2pkg.sh b/git2pkg.sh new file mode 100644 index 0000000..c4c180d --- /dev/null +++ b/git2pkg.sh @@ -0,0 +1,39 @@ +#!/bin/bash + +set -e + +source ./config.sh + +echo "Updating the package from the $GIT_BRANCH branch of the local repos." +echo "(If SUCCESS is not printed upon completion, see /tmp/git2pkg.log for issues)" + +# TEMPORARY! FOR NOW WE REQUIRE THESE LOCALLY TO DO WORK ON PACKAGE +REQUIRED_LOCAL_REPO_MAP=( + ~/git/qemu-opensuse + ~/git/qemu-seabios + ~/git/qemu-ipxe + ~/git/qemu-sgabios + ~/git/qemu-skiboot + ~/git/qemu-keycodemapdb +) + +# Validate that all the local repos that we currently have patches in are available +# TEMPORARY REQUIREMENT! +for entry in ${REQUIRED_LOCAL_REPO_MAP[@]}; do + if [[ -e $(readlink -f ${entry}) ]]; then + if $(git -C $entry branch| grep -F "$GIT_BRANCH" >/dev/null); then + : + else + echo "Didn't find the $GIT_BRANCH branch in repo at $entry" + exit + fi + else + echo "ERROR! For now, you need to have these local git repos available:" + echo ${REQUIRED_LOCAL_REPO_MAP[@]} + fi +done + +./initbundle.sh &> /tmp/git2pkg.log +./bundle2spec.sh &>> /tmp/git2pkg.log +echo "SUCCESS" +tail -9 /tmp/git2pkg.log diff --git a/hdata-vpd-fix-printing-char-0x00.patch b/hdata-vpd-fix-printing-char-0x00.patch new file mode 100644 index 0000000..c2d22a0 --- /dev/null +++ b/hdata-vpd-fix-printing-char-0x00.patch @@ -0,0 +1,64 @@ +From: Stewart Smith +Date: Tue, 18 Jun 2019 16:06:44 +1000 +Subject: hdata/vpd: fix printing (char*)0x00 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Git-commit: ba977f2e4406f9de318afcdf5d666e77585ef269 + +GCC9 now catches this bug: + +In file included from hdata/vpd.c:17: +In function ‘vpd_vini_parse’, + inlined from ‘vpd_data_parse’ at hdata/vpd.c:416:3: +/home/stewart/skiboot/include/skiboot.h:93:31: error: ‘%s’ directive argument is null [-Werror=format-overflow=] + 93 | #define prlog(l, f, ...) do { _prlog(l, pr_fmt(f), ##__VA_ARGS__); } while(0) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +hdata/vpd.c:390:5: note: in expansion of macro ‘prlog’ + 390 | prlog(PR_WARNING, + | ^~~~~ +hdata/vpd.c: In function ‘vpd_data_parse’: +hdata/vpd.c:391:46: note: format string is defined here + 391 | "VPD: CCIN desc not available for: %s\n", + | ^~ +cc1: all warnings being treated as errors + +Signed-off-by: Stewart Smith +Signed-off-by: Bruce Rogers +--- + hdata/vpd.c | 9 +++++---- + 1 file changed, 5 insertions(+), 4 deletions(-) + +diff --git a/roms/skiboot/hdata/vpd.c b/roms/skiboot/hdata/vpd.c +index 129b5062356a48d900c6aa5a140d..5a01bcc9f6fa2faef2a118eca938 100644 +--- a/roms/skiboot/hdata/vpd.c ++++ b/roms/skiboot/hdata/vpd.c +@@ -328,6 +328,7 @@ static void vpd_vini_parse(struct dt_node *node, + const void *fruvpd, unsigned int fruvpd_sz) + { + const void *kw; ++ const char *desc; + uint8_t sz; + const struct card_info *cinfo; + +@@ -381,15 +382,15 @@ static void vpd_vini_parse(struct dt_node *node, + dt_add_property_string(node, + "description", cinfo->description); + } else { +- kw = vpd_find(fruvpd, fruvpd_sz, "VINI", "DR", &sz); +- if (kw) { ++ desc = vpd_find(fruvpd, fruvpd_sz, "VINI", "DR", &sz); ++ if (desc) { + dt_add_prop_sanitize_val(node, +- "description", kw, sz); ++ "description", desc, sz); + } else { + dt_add_property_string(node, "description", "Unknown"); + prlog(PR_WARNING, + "VPD: CCIN desc not available for: %s\n", +- (char *)kw); ++ (char*)kw); + } + } + } diff --git a/0044-hw-intc-exynos4210_gic-provide-more.patch b/hw-intc-exynos4210_gic-provide-more-room.patch similarity index 97% rename from 0044-hw-intc-exynos4210_gic-provide-more.patch rename to hw-intc-exynos4210_gic-provide-more-room.patch index 6c128fd..6ce8523 100644 --- a/0044-hw-intc-exynos4210_gic-provide-more.patch +++ b/hw-intc-exynos4210_gic-provide-more-room.patch @@ -41,7 +41,7 @@ Signed-off-by: Bruce Rogers 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/intc/exynos4210_gic.c b/hw/intc/exynos4210_gic.c -index 69f9c18d73..4770950c94 100644 +index e37d457fcf3ae8f37ae3c4047161..640f146a50af42ccd03aa18786f2 100644 --- a/hw/intc/exynos4210_gic.c +++ b/hw/intc/exynos4210_gic.c @@ -288,8 +288,8 @@ static void exynos4210_gic_realize(DeviceState *dev, Error **errp) diff --git a/0026-hw-smbios-handle-both-file-formats-.patch b/hw-smbios-handle-both-file-formats-regar.patch similarity index 90% rename from 0026-hw-smbios-handle-both-file-formats-.patch rename to hw-smbios-handle-both-file-formats-regar.patch index 6fbdac9..dc9b261 100644 --- a/0026-hw-smbios-handle-both-file-formats-.patch +++ b/hw-smbios-handle-both-file-formats-regar.patch @@ -2,23 +2,24 @@ From: Bruce Rogers Date: Fri, 5 Apr 2019 21:10:30 -0600 Subject: hw/smbios: handle both file formats regardless of machine type +References: bsc#994082, bsc#1084316, boo#1131894 + It's easy enough to handle either per-spec or legacy smbios structures in the smbios file input without regard to the machine type used, by simply applying the basic smbios formatting rules. then depending on what is detected. terminal numm bytes are added or removed for machine type specific processing. -[BR: BSC#994082 BSC#1084316 BOO#1131894] Signed-off-by: Bruce Rogers --- hw/smbios/smbios.c | 43 +++++++++++++++++++++++++++++++++++++++---- 1 file changed, 39 insertions(+), 4 deletions(-) diff --git a/hw/smbios/smbios.c b/hw/smbios/smbios.c -index 47be9071fa..d4b95ebc84 100644 +index 7bcd67b098e91a0e724b77b224c1..44e62c2a627195d71ac569e9de49 100644 --- a/hw/smbios/smbios.c +++ b/hw/smbios/smbios.c -@@ -960,6 +960,7 @@ void smbios_entry_add(QemuOpts *opts, Error **errp) +@@ -965,6 +965,7 @@ void smbios_entry_add(QemuOpts *opts, Error **errp) struct smbios_structure_header *header; int size; struct smbios_table *table; /* legacy mode only */ @@ -26,7 +27,7 @@ index 47be9071fa..d4b95ebc84 100644 qemu_opts_validate(opts, qemu_smbios_file_opts, &err); if (err) { -@@ -974,11 +975,21 @@ void smbios_entry_add(QemuOpts *opts, Error **errp) +@@ -979,11 +980,21 @@ void smbios_entry_add(QemuOpts *opts, Error **errp) } /* @@ -52,7 +53,7 @@ index 47be9071fa..d4b95ebc84 100644 header = (struct smbios_structure_header *)(smbios_tables + smbios_tables_len); -@@ -993,6 +1004,19 @@ void smbios_entry_add(QemuOpts *opts, Error **errp) +@@ -998,6 +1009,19 @@ void smbios_entry_add(QemuOpts *opts, Error **errp) header->type); return; } @@ -72,7 +73,7 @@ index 47be9071fa..d4b95ebc84 100644 set_bit(header->type, have_binfile_bitmap); if (header->type == 4) { -@@ -1013,6 +1037,17 @@ void smbios_entry_add(QemuOpts *opts, Error **errp) +@@ -1018,6 +1042,17 @@ void smbios_entry_add(QemuOpts *opts, Error **errp) * delete the one we don't need from smbios_set_defaults(), * once we know which machine version has been requested. */ diff --git a/0038-hw-usb-dev-mtp-Fix-GCC-9-build-warn.patch b/hw-usb-dev-mtp-Fix-GCC-9-build-warning.patch similarity index 81% rename from 0038-hw-usb-dev-mtp-Fix-GCC-9-build-warn.patch rename to hw-usb-dev-mtp-Fix-GCC-9-build-warning.patch index ea91ddd..8e90ffb 100644 --- a/0038-hw-usb-dev-mtp-Fix-GCC-9-build-warn.patch +++ b/hw-usb-dev-mtp-Fix-GCC-9-build-warning.patch @@ -1,9 +1,12 @@ From: Alistair Francis Date: Sat, 4 May 2019 07:58:55 -0600 Subject: hw/usb/dev-mtp: Fix GCC 9 build warning +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit Fix this warning with GCC 9 on Fedora 30: -hw/usb/dev-mtp.c:1715:36: error: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Werror=address-of-packed-member] +hw/usb/dev-mtp.c:1715:36: error: taking address of packed member of ‘struct ’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 1715 | dataset->filename); | ~~~~~~~^~~~~~~~~~ @@ -14,10 +17,10 @@ Signed-off-by: Bruce Rogers 1 file changed, 13 insertions(+) diff --git a/hw/usb/dev-mtp.c b/hw/usb/dev-mtp.c -index 99548b012d..8233beacab 100644 +index fd1b3394a5b4b4827deece722e0c..8de503cc4d55423ae0bd070867c0 100644 --- a/hw/usb/dev-mtp.c +++ b/hw/usb/dev-mtp.c -@@ -1711,9 +1711,22 @@ static void usb_mtp_write_metadata(MTPState *s, uint64_t dlen) +@@ -1720,9 +1720,22 @@ static void usb_mtp_write_metadata(MTPState *s, uint64_t dlen) assert(!s->write_pending); assert(p != NULL); diff --git a/0037-hw-usb-hcd-xhci-Fix-GCC-9-build-war.patch b/hw-usb-hcd-xhci-Fix-GCC-9-build-warning.patch similarity index 75% rename from 0037-hw-usb-hcd-xhci-Fix-GCC-9-build-war.patch rename to hw-usb-hcd-xhci-Fix-GCC-9-build-warning.patch index 043ae78..a97b911 100644 --- a/0037-hw-usb-hcd-xhci-Fix-GCC-9-build-war.patch +++ b/hw-usb-hcd-xhci-Fix-GCC-9-build-warning.patch @@ -1,9 +1,12 @@ From: Alistair Francis Date: Sat, 4 May 2019 07:58:35 -0600 Subject: hw/usb/hcd-xhci: Fix GCC 9 build warning +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit Fix this build warning with GCC 9 on Fedora 30: -hw/usb/hcd-xhci.c:3339:66: error: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 5 [-Werror=format-truncation=] +hw/usb/hcd-xhci.c:3339:66: error: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 5 [-Werror=format-truncation=] 3339 | snprintf(port->name, sizeof(port->name), "usb2 port #%d", i+1); | ^~ hw/usb/hcd-xhci.c:3339:54: note: directive argument in the range [1, 2147483647] @@ -12,7 +15,7 @@ hw/usb/hcd-xhci.c:3339:54: note: directive argument in the range [1, 2147483647] In file included from /usr/include/stdio.h:867, from /home/alistair/qemu/include/qemu/osdep.h:99, from hw/usb/hcd-xhci.c:21: -/usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 13 and 22 bytes into a destination of size 16 +/usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 13 and 22 bytes into a destination of size 16 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); @@ -25,10 +28,10 @@ Signed-off-by: Bruce Rogers 1 file changed, 1 insertion(+) diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c -index ec28bee319..2b061772b2 100644 +index 5894a186633414970fe748dbd9f4..47ea8dd3a5f6a09e361f0f59c7b9 100644 --- a/hw/usb/hcd-xhci.c +++ b/hw/usb/hcd-xhci.c -@@ -3322,6 +3322,7 @@ static void usb_xhci_init(XHCIState *xhci) +@@ -3324,6 +3324,7 @@ static void usb_xhci_init(XHCIState *xhci) usb_bus_new(&xhci->bus, sizeof(xhci->bus), &xhci_bus_ops, dev); for (i = 0; i < usbports; i++) { diff --git a/0022-i8254-Fix-migration-from-SLE11-SP2.patch b/i8254-Fix-migration-from-SLE11-SP2.patch similarity index 84% rename from 0022-i8254-Fix-migration-from-SLE11-SP2.patch rename to i8254-Fix-migration-from-SLE11-SP2.patch index b17615d..7f8f44a 100644 --- a/0022-i8254-Fix-migration-from-SLE11-SP2.patch +++ b/i8254-Fix-migration-from-SLE11-SP2.patch @@ -5,21 +5,21 @@ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit +References: bnc#812836 + qemu-kvm 0.15 had a VMSTATE_UINT32(flags, PITState) field that qemu 1.4 does not have. -Addresses part of BNC#812836. - Signed-off-by: Andreas Färber --- hw/timer/i8254_common.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hw/timer/i8254_common.c b/hw/timer/i8254_common.c -index 6190b6fc5d..177b1acf37 100644 +index 76ca6ec4446998f62d384a909814..fb9d5047f8c50df8ad0e662a42ac 100644 --- a/hw/timer/i8254_common.c +++ b/hw/timer/i8254_common.c -@@ -259,6 +259,12 @@ static int pit_dispatch_post_load(void *opaque, int version_id) +@@ -261,6 +261,12 @@ static int pit_dispatch_post_load(void *opaque, int version_id) return 0; } @@ -32,7 +32,7 @@ index 6190b6fc5d..177b1acf37 100644 static const VMStateDescription vmstate_pit_common = { .name = "i8254", .version_id = 3, -@@ -268,6 +274,7 @@ static const VMStateDescription vmstate_pit_common = { +@@ -270,6 +276,7 @@ static const VMStateDescription vmstate_pit_common = { .pre_save = pit_dispatch_pre_save, .post_load = pit_dispatch_post_load, .fields = (VMStateField[]) { diff --git a/0020-increase-x86_64-physical-bits-to-42.patch b/increase-x86_64-physical-bits-to-42.patch similarity index 87% rename from 0020-increase-x86_64-physical-bits-to-42.patch rename to increase-x86_64-physical-bits-to-42.patch index 1d66539..d60827f 100644 --- a/0020-increase-x86_64-physical-bits-to-42.patch +++ b/increase-x86_64-physical-bits-to-42.patch @@ -18,10 +18,10 @@ Signed-off-by: Andreas Färber 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/i386/cpu.h b/target/i386/cpu.h -index 83fb522554..572290c3d6 100644 +index 8b3dc5533e6994bf9066f88f1a5e..3440f1e4297940d8db2e533d5cb1 100644 --- a/target/i386/cpu.h +++ b/target/i386/cpu.h -@@ -1708,7 +1708,7 @@ uint64_t cpu_get_tsc(CPUX86State *env); +@@ -1713,7 +1713,7 @@ uint64_t cpu_get_tsc(CPUX86State *env); /* XXX: This value should match the one returned by CPUID * and in exec.c */ # if defined(TARGET_X86_64) diff --git a/initbundle.sh b/initbundle.sh new file mode 100644 index 0000000..2d36151 --- /dev/null +++ b/initbundle.sh @@ -0,0 +1,58 @@ +#!/bin/bash + +source ./config.sh + +set -e + +# What is needed to "start"? +# it all begins with an upstream repo, which may have submodules, incl. recursively (each represents another repo) +# To facilitate speedy work on this upstream repo, we want to have local clones of these repos +# Next we have a tarball, either that we created from the repo, or that upstream provided +# To alter the content of this tarball, lets use git to track these changes, and produce patches which can be included +# in the package spec file + +# The following can get things a bit out of the expected order, but I don't think that is really much of a problem, as long as we're guaranteed to patch the superproject before any of it's submodules +# !!!! actually the simply submodule status --recursive w/out the additional processing we do for the groking of the bundle files +SUBMODULE_COMMIT_IDS=($(git -C ~/git/qemu-opensuse submodule status --recursive|awk '{print $1}')) +SUBMODULE_DIRS=($(git -C ~/git/qemu-opensuse submodule status --recursive|awk '{print $2}')) +SUBMODULE_COUNT=${#SUBMODULE_COMMIT_IDS[@]} +# !!! I should be able to do this with simply math - ie: use (( ... )) +if [[ "$REPO_COUNT" != "$(expr $SUBMODULE_COUNT + 1)" ]]; then + echo "ERROR: submodule count doesn't match the REPO_COUNT variable in config.sh file!" + exit +fi +rm -rf $BUNDLE_DIR +mkdir -p $BUNDLE_DIR +for (( i=0; i <$SUBMODULE_COUNT; i++ )); do + mkdir -p $BUNDLE_DIR/${SUBMODULE_DIRS[$i]} + # what should this file be? for now use an extension of id + touch $BUNDLE_DIR/${SUBMODULE_DIRS[$i]}/${SUBMODULE_COMMIT_IDS[$i]}.id +done +# also handle the superproject (I need to make this smarter, or change something - works for tag, but not normal commit: + +GIT_UPSTREAM_COMMIT=$(git -C ~/git/qemu-opensuse show-ref -d $GIT_UPSTREAM_COMMIT_ISH|grep -F "^{}"|awk '{print $1}') +touch $BUNDLE_DIR/$GIT_UPSTREAM_COMMIT.id + +# Now go through all the submodule local repos that are present and create a bundle file for the patches found there +rm -rf $GIT_DIR +for (( i=0; i <$REPO_COUNT; i++ )); do + if [[ -e $(readlink -f ${LOCAL_REPO_MAP[$i]}) ]]; then + SUBDIR=${PATCH_PATH_MAP[$i]} + GITREPO_COMMIT_ISH=($BUNDLE_DIR/$SUBDIR*.id) + if [[ $GITREPO_COMMIT_ISH =~ .*(.{40})[.]id ]]; then + GITREPO_COMMIT_ISH=${BASH_REMATCH[1]} + fi + echo "Using $GITREPO_COMMIT_ISH" + PATCH_RANGE_INDEX=$i + mkdir -p $GIT_DIR/$SUBDIR + git -C $GIT_DIR/$SUBDIR init + git -C $GIT_DIR/$SUBDIR remote add origin file://$(readlink -f \ + ${LOCAL_REPO_MAP[$PATCH_RANGE_INDEX]}) + git -C $GIT_DIR/$SUBDIR fetch origin $GIT_BRANCH + git -C $GIT_DIR/$SUBDIR bundle create $BUNDLE_DIR/$SUBDIR$GITREPO_COMMIT_ISH.bundle $GITREPO_COMMIT_ISH..FETCH_HEAD || true + git -C $(readlink -f ${LOCAL_REPO_MAP[$PATCH_RANGE_INDEX]}) remote get-url origin >$BUNDLE_DIR/$SUBDIR/repo + fi +done +tar cJvf bundles.tar.xz -C $BUNDLE_DIR . +rm -rf $BUNDLE_DIR +rm -rf $GIT_DIR diff --git a/ipxe-stable-buildid.patch b/ipxe-Makefile-fix-issues-of-build-reprod.patch similarity index 72% rename from ipxe-stable-buildid.patch rename to ipxe-Makefile-fix-issues-of-build-reprod.patch index a8a7b4d..48f3c75 100644 --- a/ipxe-stable-buildid.patch +++ b/ipxe-Makefile-fix-issues-of-build-reprod.patch @@ -1,4 +1,8 @@ -ipxe:Makefile: fix issues of build reproducibility +From: Bruce Rogers +Date: Thu, 27 Jun 2019 10:15:24 -0600 +Subject: ipxe:Makefile: fix issues of build reproducibility + +References: bsc#1011213 It is desirable to produce the same bits on subsequent builds when the actual code of the package doesn't @@ -6,12 +10,14 @@ change. (bsc#1011213) Signed-off-by: Bruce Rogers --- - src/Makefile.housekeeping | 13 ++++++++++--- + src/Makefile.housekeeping | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) ---- a/src/Makefile.housekeeping -+++ b/src/Makefile.housekeeping -@@ -1079,11 +1079,18 @@ blib : $(BLIB) +diff --git a/roms/ipxe/src/Makefile.housekeeping b/roms/ipxe/src/Makefile.housekeeping +index f8334921b8b93cbd03f0a0de9910..97fa325bb52314e05192d0414436 100644 +--- a/roms/ipxe/src/Makefile.housekeeping ++++ b/roms/ipxe/src/Makefile.housekeeping +@@ -1162,11 +1162,18 @@ blib : $(BLIB) # Command to generate build ID. Must be unique for each $(BIN)/%.tmp, # even within the same build run. # @@ -32,7 +38,7 @@ Signed-off-by: Bruce Rogers # Build version # -@@ -1103,7 +1110,7 @@ $(BIN)/version.%.o : core/version.c $(MA +@@ -1186,7 +1193,7 @@ $(BIN)/version.%.o : core/version.c $(MAKEDEPS) $(GIT_INDEX) $(BIN)/%.tmp : $(BIN)/version.%.o $(BLIB) $(MAKEDEPS) $(LDSCRIPT) $(QM)$(ECHO) " [LD] $@" $(Q)$(LD) $(LDFLAGS) -T $(LDSCRIPT) $(TGT_LD_FLAGS) $< $(BLIB) -o $@ \ diff --git a/ipxe-build-Disable-gcc-address-of-packed-member-warning.patch b/ipxe-build-Disable-gcc-address-of-packed-member-warning.patch deleted file mode 100644 index 9519627..0000000 --- a/ipxe-build-Disable-gcc-address-of-packed-member-warning.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 0ee72a15887b838d967c3b05070d5ad86f0d729a Mon Sep 17 00:00:00 2001 -From: Bruce Rogers -Date: Fri, 25 Jan 2019 10:29:16 -0700 -Subject: [PATCH] [build] Disable gcc address of packed member warning - -GCC 9.0 introduces a new warning for using pointers to packed -structure and union members. ipxe code is replete with this usage, -partly because the architectures it is designed for handle unaligned -accesses. Therefore this warning is not very helpful and since the -default build considers warnings to be errors, needs to be disabled. - -[BR: BSC#1121464] -Signed-off-by: Bruce Rogers ---- a/src/Makefile.housekeeping -+++ b/src/Makefile.housekeeping -@@ -187,6 +187,19 @@ WNST_FLAGS := $(shell $(WNST_TEST) && $( - WORKAROUND_CFLAGS += $(WNST_FLAGS) - endif - -+# GCC 9.0 introduces a new warning for using pointers to packed -+# structure and union members. ipxe code is replete with this usage, -+# partly because the architectures it is designed for handle unaligned -+# accesses. Therefore this warning is not very helpful and since the -+# default build considers warnings to be errors, needs to be disabled. -+# -+ifeq ($(CCTYPE),gcc) -+WNAOPM_TEST = $(CC) -Waddress-of-packed-member -x c -c /dev/null -o /dev/null \ -+ >/dev/null 2>&1 -+WNAOPM_FLAGS := $(shell $(WNAOPM_TEST) && $(ECHO) '-Wno-address-of-packed-member') -+WORKAROUND_CFLAGS += $(WNAOPM_FLAGS) -+endif -+ - # Some versions of gas choke on division operators, treating them as - # comment markers. Specifying --divide will work around this problem, - # but isn't available on older gas versions. diff --git a/ipxe-efi-Avoid-string-op-warning-with-cross-gcc-7-compile.patch b/ipxe-efi-Avoid-string-op-warning-with-cross-gcc-7-compile.patch deleted file mode 100644 index 90f47d0..0000000 --- a/ipxe-efi-Avoid-string-op-warning-with-cross-gcc-7-compile.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 16a934b5fc715cd0f213390c88df0b4ec73d85f1 Mon Sep 17 00:00:00 2001 -From: Bruce Rogers -Date: Mon, 25 Feb 2019 15:21:06 -0700 -Subject: [PATCH] efi: Avoid string op warning with cross gcc 7 compile - -When we started cross compiling using the gcc7 arm compiler, the -a string op warning popped up that isn't addressed by the mechanism -already in place. Add a kludge to address it. - -Signed-off-by: Bruce Rogers ---- - src/util/elf2efi.c | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - -diff --git a/src/util/elf2efi.c b/src/util/elf2efi.c -index 2c5b9df8..7d1cf03f 100644 ---- a/src/util/elf2efi.c -+++ b/src/util/elf2efi.c -@@ -494,7 +494,14 @@ static struct pe_section * process_section ( struct elf_file *elf, - memset ( new, 0, sizeof ( *new ) + section_filesz ); - - /* Fill in section header details */ -- strncpy ( ( char * ) new->hdr.Name, name, sizeof ( new->hdr.Name ) ); -+ /* -+ * The arm cross gcc 7 compiler warns about string problem here. Avoid -+ * it by doing operation in two stages -+ */ -+ strncpy ( ( char * ) new->hdr.Name, name, sizeof ( new->hdr.Name ) -1 ); -+ if (strlen(name) == sizeof( new->hdr.Name ) -1 ) { -+ *(( char * ) new->hdr.Name + sizeof( new->hdr.Name ) -1) = '\0'; -+ } - new->hdr.Misc.VirtualSize = section_memsz; - new->hdr.VirtualAddress = shdr->sh_addr; - new->hdr.SizeOfRawData = section_filesz; --- -2.20.1 - diff --git a/ipxe-efi-Simplify-diagnostic-for-NULL-handle.patch b/ipxe-efi-Simplify-diagnostic-for-NULL-handle.patch deleted file mode 100644 index defce59..0000000 --- a/ipxe-efi-Simplify-diagnostic-for-NULL-handle.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 1280c1f65b73d6d0c4833e39a3bb8194bd03f906 Mon Sep 17 00:00:00 2001 -From: Bruce Rogers -Date: Fri, 25 Jan 2019 09:37:44 -0700 -Subject: [PATCH] [efi] Simplify diagnostic for NULL handle -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Compiling with GCC 9 now warns as follows: -interface/efi/efi_debug.c:334:3: error: ‘%s’ directive argument is null [-Werror=format-overflow=] - 334 | printf ( "HANDLE %s could not retrieve protocols\n", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 335 | efi_handle_name ( handle ) ); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc1: all warnings being treated as errors - -Simplify this diagnostic by simply indicating a has been -passed as a handle. - -[BR: BSC#1121464] -Signed-off-by: Bruce Rogers ---- - src/interface/efi/efi_debug.c | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -diff --git a/src/interface/efi/efi_debug.c b/src/interface/efi/efi_debug.c -index 8ea0a822..19fba767 100644 ---- a/src/interface/efi/efi_debug.c -+++ b/src/interface/efi/efi_debug.c -@@ -331,8 +331,7 @@ void dbg_efi_protocols ( EFI_HANDLE handle ) { - - /* Sanity check */ - if ( ! handle ) { -- printf ( "HANDLE %s could not retrieve protocols\n", -- efi_handle_name ( handle ) ); -+ printf ( "HANDLE could not retrieve protocols\n" ); - return; - } - --- -2.20.1 - diff --git a/ipxe-use-gcc6-for-more-compact-code.patch b/ipxe-use-gcc6-for-more-compact-code.patch deleted file mode 100644 index 0069470..0000000 --- a/ipxe-use-gcc6-for-more-compact-code.patch +++ /dev/null @@ -1,36 +0,0 @@ -ipxe: use gcc6 for more compact code - -We have a strict size limit of 64K which needs to be enforced for -pxe-virtio.rom for migration compatibility. The v4.8 gcc compiler -used in SLE12 doesn't produce as compact code as does more recent -gcc compilers, and the pxe-virtio.rom produced with it doesn't fit -in 64K anymore without taking extraordinary efforts. I was unable -to find enough opportunities in the ipxe code and data to reduce -its size, and found that using a more recent compiler would be the -best solution to keeping the rom size within the 64K size limit. - -I also discovered that $(WORKAROUND_CFLAGS) is specific to CC, but -gets used with HOST_CC, so we'd better keep those the same version -to not get in trouble with different supported options. - -Signed-off-by: Bruce Rogers ---- a/src/Makefile -+++ b/src/Makefile -@@ -15,7 +15,7 @@ CROSS_COMPILE ?= $(CROSS) - # - # Locations of tools - # --HOST_CC := gcc -+HOST_CC := gcc-6 - RM := rm -f - TOUCH := touch - MKDIR := mkdir -@@ -24,7 +24,7 @@ ECHO := echo - PRINTF := printf - PERL := perl - TRUE := true --CC := $(CROSS_COMPILE)gcc -+CC := $(CROSS_COMPILE)gcc-6 - CPP := $(CC) -E - AS := $(CROSS_COMPILE)as - LD := $(CROSS_COMPILE)ld diff --git a/0009-linux-user-Fake-proc-cpuinfo.patch b/linux-user-Fake-proc-cpuinfo.patch similarity index 72% rename from 0009-linux-user-Fake-proc-cpuinfo.patch rename to linux-user-Fake-proc-cpuinfo.patch index cfc6f51..da16445 100644 --- a/0009-linux-user-Fake-proc-cpuinfo.patch +++ b/linux-user-Fake-proc-cpuinfo.patch @@ -17,17 +17,18 @@ Signed-off-by: Alexander Graf [AF: Rebased for v1.6 and v1.7] Signed-off-by: Andreas Färber --- - linux-user/syscall.c | 20 ++++++++++++++++++++ - 1 file changed, 20 insertions(+) + linux-user/syscall.c | 24 ++++++++++++++++++++++++ + 1 file changed, 24 insertions(+) diff --git a/linux-user/syscall.c b/linux-user/syscall.c -index 958f94ab2a..fade440440 100644 +index cf5de07a09235e6d92735332dc7f..3bb2c8921fc203264bbc0a37fe1d 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c -@@ -6711,6 +6711,25 @@ static int open_self_stat(void *cpu_env, int fd) +@@ -6958,6 +6958,27 @@ static int open_self_stat(void *cpu_env, int fd) return 0; } ++#if defined(TARGET_ARM) +static int open_cpuinfo(void *cpu_env, int fd) +{ + dprintf(fd, @@ -46,15 +47,18 @@ index 958f94ab2a..fade440440 100644 + + return 0; +} ++#endif + static int open_self_auxv(void *cpu_env, int fd) { - CPUState *cpu = ENV_GET_CPU((CPUArchState *)cpu_env); -@@ -6831,6 +6850,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 }, + CPUState *cpu = env_cpu((CPUArchState *)cpu_env); +@@ -7100,6 +7121,9 @@ static int do_openat(void *cpu_env, int dirfd, const char *pathname, int flags, + #if defined(TARGET_SPARC) + { "/proc/cpuinfo", open_cpuinfo, is_proc }, #endif ++#if defined(TARGET_ARM) + { "cpuinfo", open_cpuinfo, is_proc_myself }, - { NULL, NULL, NULL } - }; - ++#endif + #if defined(TARGET_M68K) + { "/proc/hardware", open_hardware, is_proc }, + #endif diff --git a/0006-linux-user-add-binfmt-wrapper-for-a.patch b/linux-user-add-binfmt-wrapper-for-argv-0.patch similarity index 88% rename from 0006-linux-user-add-binfmt-wrapper-for-a.patch rename to linux-user-add-binfmt-wrapper-for-argv-0.patch index e0fde19..09ab0a7 100644 --- a/0006-linux-user-add-binfmt-wrapper-for-a.patch +++ b/linux-user-add-binfmt-wrapper-for-argv-0.patch @@ -35,7 +35,7 @@ Signed-off-by: Andreas Färber 3 files changed, 57 insertions(+) diff --git a/Makefile.target b/Makefile.target -index ae02495951..53fd5aa01e 100644 +index 933b27453a1dbb9273e0a9ff2d58..6e401da667fe4295acec4dc11302 100644 --- a/Makefile.target +++ b/Makefile.target @@ -42,6 +42,10 @@ STPFILES= @@ -49,7 +49,7 @@ index ae02495951..53fd5aa01e 100644 config-target.h: config-target.h-timestamp config-target.h-timestamp: config-target.mak -@@ -130,6 +134,8 @@ QEMU_CFLAGS+=-I$(SRC_PATH)/linux-user/$(TARGET_ABI_DIR) \ +@@ -134,6 +138,8 @@ QEMU_CFLAGS+=-I$(SRC_PATH)/linux-user/$(TARGET_ABI_DIR) \ obj-y += linux-user/ obj-y += gdbstub.o thunk.o @@ -58,7 +58,7 @@ index ae02495951..53fd5aa01e 100644 endif #CONFIG_LINUX_USER ######################################################### -@@ -170,7 +176,11 @@ GENERATED_FILES += hmp-commands.h hmp-commands-info.h +@@ -175,7 +181,11 @@ generated-files-y += config-devices.h endif # CONFIG_SOFTMMU @@ -70,7 +70,7 @@ index ae02495951..53fd5aa01e 100644 all-obj-y := $(obj-y) include $(SRC_PATH)/Makefile.objs -@@ -207,6 +217,9 @@ ifdef CONFIG_DARWIN +@@ -212,6 +222,9 @@ ifdef CONFIG_DARWIN $(call quiet-command,SetFile -a C $@,"SETFILE","$(TARGET_DIR)$@") endif @@ -81,18 +81,18 @@ index ae02495951..53fd5aa01e 100644 $(call quiet-command,rm -f $@ && $(SHELL) $(SRC_PATH)/scripts/feature_to_c.sh $@ $(TARGET_XML_FILES),"GEN","$(TARGET_DIR)$@") diff --git a/linux-user/Makefile.objs b/linux-user/Makefile.objs -index 769b8d8336..d48837313d 100644 +index d2f33beb5e52efce6adc7fb85b7f..ffc6b095e253d4c448000a974d4d 100644 --- a/linux-user/Makefile.objs +++ b/linux-user/Makefile.objs -@@ -7,3 +7,5 @@ obj-$(TARGET_HAS_BFLT) += flatload.o - obj-$(TARGET_I386) += vm86.o +@@ -8,3 +8,5 @@ obj-$(TARGET_I386) += vm86.o obj-$(TARGET_ARM) += arm/nwfpe/ - obj-$(TARGET_M68K) += m68k-sim.o + obj-$(TARGET_ARM) += arm/semihost.o + obj-$(TARGET_AARCH64) += arm/semihost.o + +obj-binfmt-y = binfmt.o diff --git a/linux-user/binfmt.c b/linux-user/binfmt.c new file mode 100644 -index 0000000000..cd1f513b33 +index 0000000000000000000000000000000000000000..cd1f513b334f3b263d9e4b5adb1981e376429fa6 --- /dev/null +++ b/linux-user/binfmt.c @@ -0,0 +1,42 @@ diff --git a/0008-linux-user-binfmt-support-host-bina.patch b/linux-user-binfmt-support-host-binaries.patch similarity index 95% rename from 0008-linux-user-binfmt-support-host-bina.patch rename to linux-user-binfmt-support-host-binaries.patch index 3e7c8d1..7b25b74 100644 --- a/0008-linux-user-binfmt-support-host-bina.patch +++ b/linux-user-binfmt-support-host-binaries.patch @@ -11,7 +11,7 @@ Signed-off-by: Alexander Graf 1 file changed, 26 insertions(+) diff --git a/linux-user/binfmt.c b/linux-user/binfmt.c -index cd1f513b33..458f136fb4 100644 +index cd1f513b334f3b263d9e4b5adb19..458f136fb41727702854cae4e542 100644 --- a/linux-user/binfmt.c +++ b/linux-user/binfmt.c @@ -5,6 +5,9 @@ diff --git a/0012-linux-user-lseek-explicitly-cast-no.patch b/linux-user-lseek-explicitly-cast-non-set.patch similarity index 89% rename from 0012-linux-user-lseek-explicitly-cast-no.patch rename to linux-user-lseek-explicitly-cast-non-set.patch index 8ef396d..b9d1997 100644 --- a/0012-linux-user-lseek-explicitly-cast-no.patch +++ b/linux-user-lseek-explicitly-cast-non-set.patch @@ -15,10 +15,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 f2d1f8669f..5088649781 100644 +index 8aa653262154326beced64bbe782..5360786be3466c44554b373b4238 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c -@@ -7342,8 +7342,13 @@ static abi_long do_syscall1(void *cpu_env, int num, abi_ulong arg1, +@@ -7619,8 +7619,13 @@ static abi_long do_syscall1(void *cpu_env, int num, abi_ulong arg1, return ret; #endif #ifdef TARGET_NR_lseek diff --git a/0017-linux-user-properly-test-for-infini.patch b/linux-user-properly-test-for-infinite-ti.patch similarity index 88% rename from 0017-linux-user-properly-test-for-infini.patch rename to linux-user-properly-test-for-infinite-ti.patch index 673e88b..35503d3 100644 --- a/0017-linux-user-properly-test-for-infini.patch +++ b/linux-user-properly-test-for-infinite-ti.patch @@ -15,10 +15,10 @@ Signed-off-by: Andreas Schwab 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c -index 5088649781..ed1c76e304 100644 +index 5360786be3466c44554b373b4238..330fbecb120ebc9ebc1c0ec121f6 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c -@@ -9360,7 +9360,7 @@ static abi_long do_syscall1(void *cpu_env, int num, abi_ulong arg1, +@@ -9646,7 +9646,7 @@ static abi_long do_syscall1(void *cpu_env, int num, abi_ulong arg1, { struct timespec ts, *pts; diff --git a/0010-linux-user-use-target_ulong.patch b/linux-user-use-target_ulong.patch similarity index 83% rename from 0010-linux-user-use-target_ulong.patch rename to linux-user-use-target_ulong.patch index 8eb5d4e..2e0fc1e 100644 --- a/0010-linux-user-use-target_ulong.patch +++ b/linux-user-use-target_ulong.patch @@ -16,10 +16,10 @@ Signed-off-by: Alexander Graf 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/linux-user/qemu.h b/linux-user/qemu.h -index ef400cb78a..ccb198f666 100644 +index aac0334627003fbf375dfd4c88d0..abd0b4569699ff87d015c951e651 100644 --- a/linux-user/qemu.h +++ b/linux-user/qemu.h -@@ -206,10 +206,10 @@ abi_long memcpy_to_target(abi_ulong dest, const void *src, +@@ -207,10 +207,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); @@ -35,10 +35,10 @@ index ef400cb78a..ccb198f666 100644 extern __thread CPUState *thread_cpu; void cpu_loop(CPUArchState *env); diff --git a/linux-user/syscall.c b/linux-user/syscall.c -index fade440440..f2d1f8669f 100644 +index 3bb2c8921fc203264bbc0a37fe1d..8aa653262154326beced64bbe782 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c -@@ -6988,10 +6988,10 @@ static int host_to_target_cpu_mask(const unsigned long *host_mask, +@@ -7264,10 +7264,10 @@ static int host_to_target_cpu_mask(const unsigned long *host_mask, * of syscall results, can be performed. * All errnos that do_syscall() returns must be -TARGET_. */ @@ -51,18 +51,18 @@ index fade440440..f2d1f8669f 100644 + abi_ulong arg5, abi_ulong arg6, abi_ulong arg7, + abi_ulong arg8) { - CPUState *cpu = ENV_GET_CPU(cpu_env); + CPUState *cpu = env_cpu(cpu_env); abi_long ret; -@@ -9727,7 +9727,7 @@ static abi_long do_syscall1(void *cpu_env, int num, abi_long arg1, +@@ -10013,7 +10013,7 @@ static abi_long do_syscall1(void *cpu_env, int num, abi_long arg1, */ ret = -TARGET_EINVAL; - if (cpu_isar_feature(aa64_sve, arm_env_get_cpu(cpu_env)) + if (cpu_isar_feature(aa64_sve, env_archcpu(cpu_env)) - && arg2 >= 0 && arg2 <= 512 * 16 && !(arg2 & 15)) { + && arg2 <= 512 * 16 && !(arg2 & 15)) { CPUARMState *env = cpu_env; - ARMCPU *cpu = arm_env_get_cpu(env); + ARMCPU *cpu = env_archcpu(env); uint32_t vq, old_vq; -@@ -11630,10 +11630,10 @@ static abi_long do_syscall1(void *cpu_env, int num, abi_long arg1, +@@ -11993,10 +11993,10 @@ static abi_long do_syscall1(void *cpu_env, int num, abi_long arg1, return ret; } @@ -75,5 +75,5 @@ index fade440440..f2d1f8669f 100644 + abi_ulong arg5, abi_ulong arg6, abi_ulong arg7, + abi_ulong arg8) { - CPUState *cpu = ENV_GET_CPU(cpu_env); + CPUState *cpu = env_cpu(cpu_env); abi_long ret; diff --git a/0048-pc-bios-s390-ccw-net-avoid-warning-.patch b/pc-bios-s390-ccw-net-avoid-warning-about.patch similarity index 93% rename from 0048-pc-bios-s390-ccw-net-avoid-warning-.patch rename to pc-bios-s390-ccw-net-avoid-warning-about.patch index ff543e7..b5eb31d 100644 --- a/0048-pc-bios-s390-ccw-net-avoid-warning-.patch +++ b/pc-bios-s390-ccw-net-avoid-warning-about.patch @@ -11,7 +11,7 @@ Signed-off-by: Bruce Rogers 1 file changed, 1 insertion(+) diff --git a/pc-bios/s390-ccw/netboot.mak b/pc-bios/s390-ccw/netboot.mak -index 14e96b2aa6..c965a4cfd4 100644 +index 5eefb7c289395ca37fcd241ce53d..ea2994722cde7e8a65796d374dc7 100644 --- a/pc-bios/s390-ccw/netboot.mak +++ b/pc-bios/s390-ccw/netboot.mak @@ -53,6 +53,7 @@ libc.a: $(LIBCOBJS) diff --git a/pkg2git.sh b/pkg2git.sh new file mode 100644 index 0000000..a3dcf92 --- /dev/null +++ b/pkg2git.sh @@ -0,0 +1,40 @@ +#!/bin/bash + +set -e + +source ./config.sh + +echo "Exporting the package's git bundles to the local repo's frombundle branches..." +echo "(If SUCCESS is not printed upon completion, see /tmp/pkg2git.log for issues)" + +# TEMPORARY! FOR NOW WE REQUIRE THESE LOCALLY TO DO WORK ON PACKAGE +REQUIRED_LOCAL_REPO_MAP=( + ~/git/qemu-opensuse + ~/git/qemu-seabios + ~/git/qemu-ipxe + ~/git/qemu-sgabios + ~/git/qemu-skiboot + ~/git/qemu-keycodemapdb +) + +# Validate that all the local repos that we currently have patches in are available +# TEMPORARY REQUIREMENT! +for entry in ${REQUIRED_LOCAL_REPO_MAP[@]}; do + if [[ -e $(readlink -f ${entry}) ]]; then + if $(git -C $entry branch| grep -F "$GIT_BRANCH" >/dev/null); then + : + else + echo "Didn't find the $GIT_BRANCH branch in repo at $entry" + exit + fi + else + echo "ERROR! For now, you need to have these local git repos available:" + echo ${REQUIRED_LOCAL_REPO_MAP[@]} + fi +done + +./bundle2local.sh &> /tmp/pkg2git.log +echo "SUCCESS" +echo "To modify package patches, use the frombundle branch as the basis for updating" +echo "the $GIT_BRANCH branch with the new patch queue." +echo "Then export the changes back to the package using git2pkg.sh" diff --git a/pre_checkin.sh b/pre_checkin.sh deleted file mode 100644 index 55fc345..0000000 --- a/pre_checkin.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -cp qemu.changes qemu-testsuite.changes - -if [ "$1" != "-q" ]; then - echo "Note that the patch queue needs to be regenerated via update_git.sh" - echo "before running $0." -fi diff --git a/qemu-4.0.0.tar.xz b/qemu-4.0.0.tar.xz deleted file mode 100644 index 9d61b8f..0000000 --- a/qemu-4.0.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:13a93dfe75b86734326f8d5b475fde82ec692d5b5a338b4262aeeb6b0fa4e469 -size 55628624 diff --git a/qemu-4.0.0.tar.xz.sig b/qemu-4.0.0.tar.xz.sig deleted file mode 100644 index 4af5845..0000000 Binary files a/qemu-4.0.0.tar.xz.sig and /dev/null differ diff --git a/qemu-4.1.0.tar.xz b/qemu-4.1.0.tar.xz new file mode 100644 index 0000000..c3e9bfc --- /dev/null +++ b/qemu-4.1.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bf26e223752eaa0f78ca39e1460a24ef884044adcadc30f13b2587f0d0557ede +size 103090248 diff --git a/0002-qemu-binfmt-conf-Modify-default-pat.patch b/qemu-binfmt-conf-Modify-default-path.patch similarity index 91% rename from 0002-qemu-binfmt-conf-Modify-default-pat.patch rename to qemu-binfmt-conf-Modify-default-path.patch index 11a7689..771be4d 100644 --- a/0002-qemu-binfmt-conf-Modify-default-pat.patch +++ b/qemu-binfmt-conf-Modify-default-path.patch @@ -13,7 +13,7 @@ Signed-off-by: Andreas Färber 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/qemu-binfmt-conf.sh b/scripts/qemu-binfmt-conf.sh -index b5a16742a1..4f1358e2fd 100755 +index b5a16742a149c0d2e08c6a34d08e..4f1358e2fd8c0da34cf06a763ca8 100755 --- a/scripts/qemu-binfmt-conf.sh +++ b/scripts/qemu-binfmt-conf.sh @@ -319,7 +319,7 @@ BINFMT_SET=qemu_register_interpreter diff --git a/0016-qemu-binfmt-conf-use-qemu-ARCH-binf.patch b/qemu-binfmt-conf-use-qemu-ARCH-binfmt.patch similarity index 93% rename from 0016-qemu-binfmt-conf-use-qemu-ARCH-binf.patch rename to qemu-binfmt-conf-use-qemu-ARCH-binfmt.patch index dcd2fa7..d56150f 100644 --- a/0016-qemu-binfmt-conf-use-qemu-ARCH-binf.patch +++ b/qemu-binfmt-conf-use-qemu-ARCH-binfmt.patch @@ -12,7 +12,7 @@ Signed-off-by: Andreas Färber 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/qemu-binfmt-conf.sh b/scripts/qemu-binfmt-conf.sh -index 4f1358e2fd..13add7775e 100755 +index 4f1358e2fd8c0da34cf06a763ca8..13add7775eb7d24c52735b02cd51 100755 --- a/scripts/qemu-binfmt-conf.sh +++ b/scripts/qemu-binfmt-conf.sh @@ -262,7 +262,7 @@ qemu_generate_register() { diff --git a/0015-qemu-bridge-helper-reduce-security-.patch b/qemu-bridge-helper-reduce-security-profi.patch similarity index 88% rename from 0015-qemu-bridge-helper-reduce-security-.patch rename to qemu-bridge-helper-reduce-security-profi.patch index 58bf25e..900f598 100644 --- a/0015-qemu-bridge-helper-reduce-security-.patch +++ b/qemu-bridge-helper-reduce-security-profi.patch @@ -5,11 +5,12 @@ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit +References: boo#988279 + Change from using glib alloc and free routines to those from libc. Also perform safety measure of dropping privs to user if configured no-caps. -[BR: BOO#988279] Signed-off-by: Bruce Rogers [AF: Rebased for v2.7.0-rc2] Signed-off-by: Andreas Färber @@ -18,11 +19,11 @@ Signed-off-by: Andreas Färber 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/qemu-bridge-helper.c b/qemu-bridge-helper.c -index 5396fbfbb6..cafe2bf27b 100644 +index 3d50ec094c794b9c0835628f10c5..f2291b398f8e4589f649af226dba 100644 --- a/qemu-bridge-helper.c +++ b/qemu-bridge-helper.c -@@ -110,7 +110,12 @@ static int parse_acl_file(const char *filename, ACLList *acl_list) - *argend = 0; +@@ -123,7 +123,12 @@ static int parse_acl_file(const char *filename, ACLList *acl_list) + } if (strcmp(cmd, "deny") == 0) { - acl_rule = g_malloc(sizeof(*acl_rule)); @@ -35,7 +36,7 @@ index 5396fbfbb6..cafe2bf27b 100644 if (strcmp(arg, "all") == 0) { acl_rule->type = ACL_DENY_ALL; } else { -@@ -119,7 +124,12 @@ static int parse_acl_file(const char *filename, ACLList *acl_list) +@@ -132,7 +137,12 @@ static int parse_acl_file(const char *filename, ACLList *acl_list) } QSIMPLEQ_INSERT_TAIL(acl_list, acl_rule, entry); } else if (strcmp(cmd, "allow") == 0) { @@ -49,7 +50,7 @@ index 5396fbfbb6..cafe2bf27b 100644 if (strcmp(arg, "all") == 0) { acl_rule->type = ACL_ALLOW_ALL; } else { -@@ -413,6 +423,18 @@ int main(int argc, char **argv) +@@ -433,6 +443,18 @@ int main(int argc, char **argv) goto cleanup; } @@ -68,7 +69,7 @@ index 5396fbfbb6..cafe2bf27b 100644 /* write fd to the domain socket */ if (send_fd(unixfd, fd) == -1) { fprintf(stderr, "failed to write fd to unix socket: %s\n", -@@ -434,7 +456,7 @@ cleanup: +@@ -454,7 +476,7 @@ cleanup: } while ((acl_rule = QSIMPLEQ_FIRST(&acl_list)) != NULL) { QSIMPLEQ_REMOVE_HEAD(&acl_list, entry); diff --git a/0003-qemu-cvs-gettimeofday.patch b/qemu-cvs-gettimeofday.patch similarity index 84% rename from 0003-qemu-cvs-gettimeofday.patch rename to qemu-cvs-gettimeofday.patch index 4c388b6..ec559c0 100644 --- a/0003-qemu-cvs-gettimeofday.patch +++ b/qemu-cvs-gettimeofday.patch @@ -11,10 +11,10 @@ Signed-off-by: Bruce Rogers 1 file changed, 3 insertions(+) diff --git a/linux-user/syscall.c b/linux-user/syscall.c -index 96cd4bf86d..cb0019b3df 100644 +index 8367cb138dfe075e06ca455009cc..17914fadfc9f3390d4b8ab8d74a6 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c -@@ -8173,6 +8173,9 @@ static abi_long do_syscall1(void *cpu_env, int num, abi_long arg1, +@@ -8446,6 +8446,9 @@ static abi_long do_syscall1(void *cpu_env, int num, abi_long arg1, case TARGET_NR_gettimeofday: { struct timeval tv; diff --git a/0004-qemu-cvs-ioctl_debug.patch b/qemu-cvs-ioctl_debug.patch similarity index 92% rename from 0004-qemu-cvs-ioctl_debug.patch rename to qemu-cvs-ioctl_debug.patch index 517b46f..3cd1bc9 100644 --- a/0004-qemu-cvs-ioctl_debug.patch +++ b/qemu-cvs-ioctl_debug.patch @@ -13,10 +13,10 @@ Signed-off-by: Bruce Rogers 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c -index cb0019b3df..4d4112adf9 100644 +index 17914fadfc9f3390d4b8ab8d74a6..25fd641816c0a54e49a167f5e818 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c -@@ -4824,7 +4824,19 @@ static abi_long do_ioctl(int fd, int cmd, abi_long arg) +@@ -5043,7 +5043,19 @@ static abi_long do_ioctl(int fd, int cmd, abi_long arg) ie = ioctl_entries; for(;;) { if (ie->target_cmd == 0) { diff --git a/0005-qemu-cvs-ioctl_nodirection.patch b/qemu-cvs-ioctl_nodirection.patch similarity index 88% rename from 0005-qemu-cvs-ioctl_nodirection.patch rename to qemu-cvs-ioctl_nodirection.patch index 2f742b6..7bc2051 100644 --- a/0005-qemu-cvs-ioctl_nodirection.patch +++ b/qemu-cvs-ioctl_nodirection.patch @@ -16,10 +16,10 @@ Signed-off-by: Bruce Rogers 1 file changed, 8 insertions(+) diff --git a/linux-user/syscall.c b/linux-user/syscall.c -index 4d4112adf9..958f94ab2a 100644 +index 25fd641816c0a54e49a167f5e818..cf5de07a09235e6d92735332dc7f 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c -@@ -4865,6 +4865,13 @@ static abi_long do_ioctl(int fd, int cmd, abi_long arg) +@@ -5084,6 +5084,13 @@ 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) { @@ -33,7 +33,7 @@ index 4d4112adf9..958f94ab2a 100644 case IOC_R: ret = get_errno(safe_ioctl(fd, ie->host_cmd, buf_temp)); if (!is_error(ret)) { -@@ -4883,6 +4890,7 @@ static abi_long do_ioctl(int fd, int cmd, abi_long arg) +@@ -5102,6 +5109,7 @@ static abi_long do_ioctl(int fd, int cmd, abi_long arg) unlock_user(argptr, arg, 0); ret = get_errno(safe_ioctl(fd, ie->host_cmd, buf_temp)); break; diff --git a/qemu-linux-user.changes b/qemu-linux-user.changes deleted file mode 100644 index 67cd689..0000000 --- a/qemu-linux-user.changes +++ /dev/null @@ -1,3935 +0,0 @@ -------------------------------------------------------------------- -Tue Aug 6 14:45:37 UTC 2019 - Bruce Rogers - -- Adjust to a v5.2 linux kernel change regarding SIOCGSTAMP - 0051-linux-user-fix-to-handle-variably-s.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-4.0 - -------------------------------------------------------------------- -Thu Jul 25 20:51:24 UTC 2019 - Liang Yan - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-4.0 -* Patches added: - 0049-qxl-check-release-info-object.patch - 0050-qemu-bridge-helper-restrict-interfa.patch -* Patches changed: - 0043-target-i386-define-md-clear-bit.patch -------------------------------------------------------------------- -Wed May 29 16:03:58 UTC 2019 - Bruce Rogers - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-4.0 -* Patches added: - 0048-pc-bios-s390-ccw-net-avoid-warning-.patch - 0046-target-ppc-ensure-we-get-null-termi.patch - 0047-configure-only-populate-roms-if-sof.patch - -------------------------------------------------------------------- -Fri May 17 19:05:11 UTC 2019 - Bruce Rogers - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-4.0 -* Patches added: - 0045-kbd-state-fix-autorepeat-handling.patch - -------------------------------------------------------------------- -Wed May 15 19:36:50 UTC 2019 - Bruce Rogers - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-4.0 -* Patches added: - 0044-hw-intc-exynos4210_gic-provide-more.patch - -------------------------------------------------------------------- -Tue May 14 21:01:06 UTC 2019 - Bruce Rogers - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-4.0 -* Patches dropped: - 0041-qxl-fix-Waddress-of-packed-member.patch -* Patches added: - 0041-qxl-avoid-unaligned-pointer-reads-w.patch - 0042-libvhost-user-fix-Waddress-of-packe.patch - 0043-target-i386-define-md-clear-bit.patch - -------------------------------------------------------------------- -Fri May 10 19:14:02 UTC 2019 - Bruce Rogers - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-4.0 -* Patches renamed: - 0036-util-qemu-sockets-Fix-GCC-9-build-w.patch - -> 0036-sockets-avoid-string-truncation-war.patch - 0039-linux-user-uname-Fix-GCC-9-build-wa.patch - -> 0039-linux-user-avoid-string-truncation-.patch - -------------------------------------------------------------------- -Mon May 6 21:36:25 UTC 2019 - Bruce Rogers - -- Disable LTO as suggested by Martin Liska (boo#1133281) -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-4.0 -* Patches added: - 0036-util-qemu-sockets-Fix-GCC-9-build-w.patch - 0037-hw-usb-hcd-xhci-Fix-GCC-9-build-war.patch - 0038-hw-usb-dev-mtp-Fix-GCC-9-build-warn.patch - 0039-linux-user-uname-Fix-GCC-9-build-wa.patch - 0040-linux-user-elfload-Fix-GCC-9-build-.patch - 0041-qxl-fix-Waddress-of-packed-member.patch - -------------------------------------------------------------------- -Wed May 1 19:29:22 UTC 2019 - Bruce Rogers - -- Update to v4.0.0: See http://wiki.qemu.org/ChangeLog/4.0 - Take note that ongoing feature deprecation is tracked at both - http://wiki.qemu-project.org/Features/LegacyRemoval and in - Appendix B of the qemu-doc.* files installed with the qemu package - Some noteworthy changes relevant to qemu-linux-user package: -* TCG: - - SoftFloat acceleration - where it is safe to do so, the softfloat - helpers will use host floating-point instructions yielding - significant performance increases - - Dynamic sizing of software TLBs, yielding noticable performance - increases - - Host support for 64-bit RISC-V. -* User-mode emulation: - - The docker.py script now checks the path and persistence status - of binfmt_misc entries when installing and updating user-mode - docker containers -- Made these package building changes: -* Removed this token from spec file: #!BuildIgnore: gcc-PIE -* Created ability to build qemu source out-of-tree -* Patches dropped (upstream unless otherwise noted): - 0010-Remove-problematic-evdev-86-key-fro.patch - 0025-Fix-tigervnc-long-press-issue.patch - 0026-string-input-visitor-Fix-uint64-par.patch - 0027-test-string-input-visitor-Add-int-t.patch - 0028-test-string-input-visitor-Add-uint6.patch - 0029-tests-Add-QOM-property-unit-tests.patch - 0030-tests-Add-scsi-disk-test.patch - 0033-smbios-Add-1-terminator-if-any-stri.patch (different approach used) - 0034-qemu-io-tests-comment-out-problemat.patch (not as needed) - 0039-xen_disk-Avoid-repeated-memory-allo.patch - 0041-vfio-ap-flag-as-compatible-with-bal.patch - 0042-hw-s390x-Fix-bad-mask-in-time2tod.patch - 0043-pcie-set-link-state-inactive-active.patch - 0044-pc-piix4-Update-smbus-I-O-space-aft.patch - 0045-hw-usb-fix-mistaken-de-initializati.patch - 0046-usb-mtp-use-O_NOFOLLOW-and-O_CLOEXE.patch - 0047-pvrdma-release-device-resources-in-.patch - 0048-rdma-check-num_sge-does-not-exceed-.patch - 0049-pvrdma-add-uar_read-routine.patch - 0050-pvrdma-check-number-of-pages-when-c.patch - 0051-pvrdma-check-return-value-from-pvrd.patch - 0052-pvrdma-release-ring-object-in-case-.patch - 0053-block-Fix-hangs-in-synchronous-APIs.patch - 0054-linux-user-make-pwrite64-pread64-fd.patch - 0055-xen-Add-xen-v4.12-based-xc_domain_c.patch - 0056-slirp-check-data-length-while-emula.patch - 0057-s390x-Return-specification-exceptio.patch - 0059-memory-Fix-the-memory-region-type-a.patch - 0060-target-i386-sev-Do-not-pin-the-ram-.patch - 0061-slirp-check-sscanf-result-when-emul.patch - 0062-ppc-add-host-serial-and-host-model-.patch - 0063-i2c-ddc-fix-oob-read.patch - 0064-device_tree.c-Don-t-use-load_image.patch - 0065-spapr-Simplify-handling-of-host-ser.patch -* Patches renamed: - 0011-linux-user-use-target_ulong.patch - -> 0010-linux-user-use-target_ulong.patch - 0012-Make-char-muxer-more-robust-wrt-sma.patch - -> 0011-Make-char-muxer-more-robust-wrt-sma.patch - 0013-linux-user-lseek-explicitly-cast-no.patch - -> 0012-linux-user-lseek-explicitly-cast-no.patch - 0014-AIO-Reduce-number-of-threads-for-32.patch - -> 0013-AIO-Reduce-number-of-threads-for-32.patch - 0015-xen_disk-Add-suse-specific-flush-di.patch - -> 0014-xen_disk-Add-suse-specific-flush-di.patch - 0016-qemu-bridge-helper-reduce-security-.patch - -> 0015-qemu-bridge-helper-reduce-security-.patch - 0017-qemu-binfmt-conf-use-qemu-ARCH-binf.patch - -> 0016-qemu-binfmt-conf-use-qemu-ARCH-binf.patch - 0018-linux-user-properly-test-for-infini.patch - -> 0017-linux-user-properly-test-for-infini.patch - 0019-roms-Makefile-pass-a-packaging-time.patch - -> 0018-roms-Makefile-pass-a-packaging-time.patch - 0020-Raise-soft-address-space-limit-to-h.patch - -> 0019-Raise-soft-address-space-limit-to-h.patch - 0021-increase-x86_64-physical-bits-to-42.patch - -> 0020-increase-x86_64-physical-bits-to-42.patch - 0022-vga-Raise-VRAM-to-16-MiB-for-pc-0.1.patch - -> 0021-vga-Raise-VRAM-to-16-MiB-for-pc-0.1.patch - 0023-i8254-Fix-migration-from-SLE11-SP2.patch - -> 0022-i8254-Fix-migration-from-SLE11-SP2.patch - 0024-acpi_piix4-Fix-migration-from-SLE11.patch - -> 0023-acpi_piix4-Fix-migration-from-SLE11.patch - 0031-Switch-order-of-libraries-for-mpath.patch - -> 0024-Switch-order-of-libraries-for-mpath.patch - 0032-Make-installed-scripts-explicitly-p.patch - -> 0025-Make-installed-scripts-explicitly-p.patch - 0035-tests-test-thread-pool-is-racy-add-.patch - -> 0027-tests-test-thread-pool-is-racy-add-.patch - 0036-xen-add-block-resize-support-for-xe.patch - -> 0028-xen-add-block-resize-support-for-xe.patch - 0037-tests-qemu-iotests-Triple-timeout-o.patch - -> 0029-tests-qemu-iotests-Triple-timeout-o.patch - 0038-tests-block-io-test-130-needs-some-.patch - -> 0030-tests-block-io-test-130-needs-some-.patch - 0040-xen-ignore-live-parameter-from-xen-.patch - -> 0031-xen-ignore-live-parameter-from-xen-.patch - 0058-Revert-target-i386-kvm-add-VMX-migr.patch - -> 0034-Revert-target-i386-kvm-add-VMX-migr.patch -* Patches added: - 0026-hw-smbios-handle-both-file-formats-.patch - 0032-tests-Fix-Makefile-handling-of-chec.patch - 0033-Conditionalize-ui-bitmap-installati.patch - 0035-tests-change-error-message-in-test-.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-4.0 - -------------------------------------------------------------------- -Fri Mar 29 13:13:59 UTC 2019 - Bruce Rogers - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-3.1 -* Patches added: - 0065-spapr-Simplify-handling-of-host-ser.patch - -------------------------------------------------------------------- -Wed Mar 27 16:59:53 UTC 2019 - Bruce Rogers - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-3.1 -* Patches added: - 0064-device_tree.c-Don-t-use-load_image.patch - -------------------------------------------------------------------- -Mon Mar 25 20:45:10 UTC 2019 - Bruce Rogers - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-3.1 -* Patches added: - 0061-slirp-check-sscanf-result-when-emul.patch - 0062-ppc-add-host-serial-and-host-model-.patch - 0063-i2c-ddc-fix-oob-read.patch - -------------------------------------------------------------------- -Fri Feb 15 22:49:26 UTC 2019 - Bruce Rogers - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-3.1 -* Patches added: - 0058-Revert-target-i386-kvm-add-VMX-migr.patch - 0059-memory-Fix-the-memory-region-type-a.patch - 0060-target-i386-sev-Do-not-pin-the-ram-.patch - -------------------------------------------------------------------- -Wed Jan 30 15:54:31 UTC 2019 - Liang Yan - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-3.1 -* Patches added: - 0057-s390x-Return-specification-exceptio.patch - -------------------------------------------------------------------- -Fri Jan 25 19:21:00 UTC 2019 - Bruce Rogers - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-3.1 -* Patches added: - 0056-slirp-check-data-length-while-emula.patch - -------------------------------------------------------------------- -Thu Jan 17 21:58:04 UTC 2019 - Bruce Rogers - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-3.1 -* Patches added: - 0055-xen-Add-xen-v4.12-based-xc_domain_c.patch - -------------------------------------------------------------------- -Tue Jan 15 13:58:26 UTC 2019 - Liang Yan - -- Fix pwrite64/pread64 to return 0 over -1 for a - zero length NULL buffer in qemu (bsc#1121600) - 0054-linux-user-make-pwrite64-pread64-fd.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-3.1 - -------------------------------------------------------------------- -Thu Jan 10 18:03:30 UTC 2019 - Bruce Rogers - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-3.1 -* Patches added: - 0041-vfio-ap-flag-as-compatible-with-bal.patch - 0042-hw-s390x-Fix-bad-mask-in-time2tod.patch - 0043-pcie-set-link-state-inactive-active.patch - 0044-pc-piix4-Update-smbus-I-O-space-aft.patch - 0045-hw-usb-fix-mistaken-de-initializati.patch - 0046-usb-mtp-use-O_NOFOLLOW-and-O_CLOEXE.patch - 0047-pvrdma-release-device-resources-in-.patch - 0048-rdma-check-num_sge-does-not-exceed-.patch - 0049-pvrdma-add-uar_read-routine.patch - 0050-pvrdma-check-number-of-pages-when-c.patch - 0051-pvrdma-check-return-value-from-pvrd.patch - 0052-pvrdma-release-ring-object-in-case-.patch - 0053-block-Fix-hangs-in-synchronous-APIs.patch - -------------------------------------------------------------------- -Tue Jan 8 13:41:35 UTC 2019 - olaf@aepfle.de - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-3.1 -* Patches added: - 0040-xen-ignore-live-parameter-from-xen-.patch - (bsc#1079730, bsc#1101982, bsc#1063993) - -------------------------------------------------------------------- -Fri Jan 4 19:53:55 UTC 2019 - Bruce Rogers - -- Follow up on ideas prompted by last change: clean up the patches - generated by git workflow. There is no value to the first line - (mbox From line), or [PATCH] on subject line. Get rid of those -- Other minor fixes and improvements to update_git.sh - -------------------------------------------------------------------- -Thu Jan 3 14:12:56 UTC 2019 - olaf@aepfle.de - -- Modify update_git.sh script: - pass --zero-commit to format-patch - This removes needless noise in the buildservice when the same set - of patches is imported/exported at different times by different users. - pass --no-signature to format-patch - Remove sed call which used to remove the signature, use mv instead - -------------------------------------------------------------------- -Wed Dec 12 21:33:15 UTC 2018 - Bruce Rogers - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-3.1 -* Patches added: - 0039-xen_disk-Avoid-repeated-memory-allo.patch - -------------------------------------------------------------------- -Tue Dec 11 17:38:47 UTC 2018 - Bruce Rogers - -- Update to v3.1.0: See http://wiki.qemu.org/ChangeLog/3.1 - Take note that ongoing feature deprecation is tracked at both - http://wiki.qemu-project.org/Features/LegacyRemoval and in - Appendix B of the qemu-doc.* files installed with the qemu package - Some noteworthy changes: -* Multithreaded TCG on x86 is considered supportable -* Improvements to netlink emulation -* Support for usbfs ioctls -* xtensa-linux-user support the bFLT format -* Patches dropped (upstream unless otherwise noted): - 0033-migration-warn-about-inconsistent-s.patch (shouldn't be needed anymore) - 0035-configure-Modify-python-used-for-io.patch (upstream now python3 friendly) - 0039-tests-boot-serial-test-Bump-timeout.patch - 0040-linux-headers-update.patch - 0041-s390x-kvm-add-etoken-facility.patch - 0042-seccomp-prefer-SCMP_ACT_KILL_PROCES.patch - 0043-configure-require-libseccomp-2.2.0.patch - 0044-seccomp-set-the-seccomp-filter-to-a.patch - 0045-sandbox-disable-sandbox-if-CONFIG_S.patch - 0046-seccomp-check-TSYNC-host-capability.patch - 0047-linux-user-init_guest_space-Try-to-.patch - 0048-ne2000-fix-possible-out-of-bound-ac.patch - 0049-rtl8139-fix-possible-out-of-bound-a.patch - 0050-pcnet-fix-possible-buffer-overflow.patch - 0051-net-ignore-packet-size-greater-than.patch - 0052-lsi53c895a-check-message-length-val.patch - 0053-nvme-fix-oob-access-issue-CVE-2018-.patch (fixed differently upstream) -* Patches renamed: - 0034-smbios-Add-1-terminator-if-any-stri.patch - -> 0033-smbios-Add-1-terminator-if-any-stri.patch - 0036-qemu-io-tests-comment-out-problemat.patch - -> 0034-qemu-io-tests-comment-out-problemat.patch - 0037-tests-test-thread-pool-is-racy-add-.patch - -> 0035-tests-test-thread-pool-is-racy-add-.patch - 0038-xen-add-block-resize-support-for-xe.patch - -> 0036-xen-add-block-resize-support-for-xe.patch -* Patches added: - 0037-tests-qemu-iotests-Triple-timeout-o.patch - 0038-tests-block-io-test-130-needs-some-.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-3.1 -- Tweaked patches we carry to pass qemu's checkpatch checker -- Modify update_git.sh script to enable packaging qemu from development - time sources, not just at release time. - -------------------------------------------------------------------- -Thu Nov 8 18:07:32 UTC 2018 - Bruce Rogers - -- Re-sync openSUSE and SUSE SLE qemu packages. This changes file - is the openSUSE one with this entry providing the intervening - SLE CVE, FATE, and bugzilla references, which are still addressed - in this package, and not yet called out in this changes file. -* bsc#1112499 -* Patches added: - 0047-linux-user-init_guest_space-Try-to-.patch - 0048-ne2000-fix-possible-out-of-bound-ac.patch - 0049-rtl8139-fix-possible-out-of-bound-a.patch - 0050-pcnet-fix-possible-buffer-overflow.patch - 0051-net-ignore-packet-size-greater-than.patch - 0052-lsi53c895a-check-message-length-val.patch - 0053-nvme-fix-oob-access-issue-CVE-2018-.patch - -------------------------------------------------------------------- -Fri Oct 5 16:52:18 UTC 2018 - Larry Dewey - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-3.0 -* Patches added: - 0042-seccomp-prefer-SCMP_ACT_KILL_PROCES.patch - 0043-configure-require-libseccomp-2.2.0.patch - 0044-seccomp-set-the-seccomp-filter-to-a.patch - 0045-sandbox-disable-sandbox-if-CONFIG_S.patch - 0046-seccomp-check-TSYNC-host-capability.patch - -------------------------------------------------------------------- -Fri Sep 21 19:35:23 UTC 2018 - Bruce Rogers - -- Make spec file improvements, including the following: -* Add qemu.keyring to enable package source verification -* Create srcname macro to identify source file name separately from - package name -* Sort some entries -* Minor file tweaks as done by osc format_spec_file service - -------------------------------------------------------------------- -Fri Sep 14 21:19:22 UTC 2018 - Bruce Rogers - -- Remove BuildRequires for libattr-devel-static since it's not needed. -- Re-sync openSUSE and SUSE SLE qemu-linux-user package. This changes - file is the openSUSE one with this entry providing the intervening - SLE CVE, FATE, and bugzilla references, which are still addressed - in this package, and not yet called out in this changes file. -* -* Patches added: - 0040-linux-headers-update.patch - 0041-s390x-kvm-add-etoken-facility.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-3.0 - -------------------------------------------------------------------- -Mon Aug 20 21:18:22 UTC 2018 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-3.0 -* Patches added: - 0039-tests-boot-serial-test-Bump-timeout.patch - -------------------------------------------------------------------- -Tue Aug 14 21:22:44 UTC 2018 - brogers@suse.com - -- Update to v3.0.0: See http://wiki.qemu.org/ChangeLog/3.0 - Don't read anything into the major version number update. It's - been decided to increase the major version number each year. - Take note that ongoing feature deprecation is tracked at both - http://wiki.qemu-project.org/Features/LegacyRemoval and in - Appendix B of the qemu-doc.* files installed with the qemu package. - Some noteworthy changes: -* PPC64 host fixes (page size, mmap alignment, interrupted syscall, - F_*LK64) -* Fixes for several syscalls: mmap with 0 length, setsockopt, netlink -* new syscalls: swapcontext (ppc), get_tls (ARM) -* Most errors are now affected by -d rather than just dumped to stderr -* qemu-binfmt-conf.sh: new options to use persistent (F) flag, ignore - the OS/ABI field -* add support of FDPIC for ARM -* Support for ARM's Scalable Vector Extensions - -* Patches dropped (upstream unless otherwise noted): - 0008-linux-user-fix-segfault-deadlock.patch (no longer needed) - 0039-blockjob-Fix-assertion-in-block_job.patch - 0041-seccomp-allow-sched_setscheduler-wi.patch -* Patches renamed: - 0009-linux-user-binfmt-support-host-bina.patch - -> 0008-linux-user-binfmt-support-host-bina.patch - 0010-linux-user-Fake-proc-cpuinfo.patch - -> 0009-linux-user-Fake-proc-cpuinfo.patch - 0011-Remove-problematic-evdev-86-key-fro.patch - -> 0010-Remove-problematic-evdev-86-key-fro.patch - 0012-linux-user-use-target_ulong.patch - -> 0011-linux-user-use-target_ulong.patch - 0013-Make-char-muxer-more-robust-wrt-sma.patch - -> 0012-Make-char-muxer-more-robust-wrt-sma.patch - 0014-linux-user-lseek-explicitly-cast-no.patch - -> 0013-linux-user-lseek-explicitly-cast-no.patch - 0015-AIO-Reduce-number-of-threads-for-32.patch - -> 0014-AIO-Reduce-number-of-threads-for-32.patch - 0016-xen_disk-Add-suse-specific-flush-di.patch - -> 0015-xen_disk-Add-suse-specific-flush-di.patch - 0017-qemu-bridge-helper-reduce-security-.patch - -> 0016-qemu-bridge-helper-reduce-security-.patch - 0018-qemu-binfmt-conf-use-qemu-ARCH-binf.patch - -> 0017-qemu-binfmt-conf-use-qemu-ARCH-binf.patch - 0019-linux-user-properly-test-for-infini.patch - -> 0018-linux-user-properly-test-for-infini.patch - 0020-roms-Makefile-pass-a-packaging-time.patch - -> 0019-roms-Makefile-pass-a-packaging-time.patch - 0021-Raise-soft-address-space-limit-to-h.patch - -> 0020-Raise-soft-address-space-limit-to-h.patch - 0022-increase-x86_64-physical-bits-to-42.patch - -> 0021-increase-x86_64-physical-bits-to-42.patch - 0023-vga-Raise-VRAM-to-16-MiB-for-pc-0.1.patch - -> 0022-vga-Raise-VRAM-to-16-MiB-for-pc-0.1.patch - 0024-i8254-Fix-migration-from-SLE11-SP2.patch - -> 0023-i8254-Fix-migration-from-SLE11-SP2.patch - 0025-acpi_piix4-Fix-migration-from-SLE11.patch - -> 0024-acpi_piix4-Fix-migration-from-SLE11.patch - 0026-Fix-tigervnc-long-press-issue.patch - -> 0025-Fix-tigervnc-long-press-issue.patch - 0027-string-input-visitor-Fix-uint64-par.patch - -> 0026-string-input-visitor-Fix-uint64-par.patch - 0028-test-string-input-visitor-Add-int-t.patch - -> 0027-test-string-input-visitor-Add-int-t.patch - 0029-test-string-input-visitor-Add-uint6.patch - -> 0028-test-string-input-visitor-Add-uint6.patch - 0030-tests-Add-QOM-property-unit-tests.patch - -> 0029-tests-Add-QOM-property-unit-tests.patch - 0031-tests-Add-scsi-disk-test.patch - -> 0030-tests-Add-scsi-disk-test.patch - 0032-Switch-order-of-libraries-for-mpath.patch - -> 0031-Switch-order-of-libraries-for-mpath.patch - 0033-Make-installed-scripts-explicitly-p.patch - -> 0032-Make-installed-scripts-explicitly-p.patch (python2->python3) - 0034-migration-warn-about-inconsistent-s.patch - -> 0033-migration-warn-about-inconsistent-s.patch - 0035-smbios-Add-1-terminator-if-any-stri.patch - -> 0034-smbios-Add-1-terminator-if-any-stri.patch - 0036-configure-Modify-python-used-for-io.patch - -> 0035-configure-Modify-python-used-for-io.patch - 0037-qemu-io-tests-comment-out-problemat.patch - -> 0036-qemu-io-tests-comment-out-problemat.patch - 0038-tests-test-thread-pool-is-racy-add-.patch - -> 0037-tests-test-thread-pool-is-racy-add-.patch - 0040-xen-add-block-resize-support-for-xe.patch - -> 0038-xen-add-block-resize-support-for-xe.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-3.0 - -------------------------------------------------------------------- -Fri Aug 3 14:05:52 UTC 2018 - brogers@suse.com - -- Update to v2.12.1, a stable, (mostly) bug-fix-only release -* This update contains new mitigation functionality for - CVE-2018-3639 (Speculative Store Bypass) in x86. There are also - bug fixes for migration, Intel IOMMU emulation, block layer/image - handling, ARM emulation, and various other areas. - (Note that a number of 2.12.1 patches were already included by us - previously) (CVE-2018-3639 bsc#1092885) - -* Patches dropped (subsumed by stable update): - 0039-device_tree-Increase-FDT_MAX_SIZE-t.patch - 0040-vnc-fix-use-after-free.patch - 0041-ccid-Fix-dwProtocols-advertisement-.patch - 0042-tcg-arm-Fix-memory-barrier-encoding.patch - 0043-s390-ccw-force-diag-308-subcode-to-.patch - 0044-nbd-client-fix-nbd_negotiate_simple.patch - 0045-migration-block-dirty-bitmap-fix-me.patch - 0046-nbd-client-Fix-error-messages-durin.patch - 0047-nbd-client-Relax-handling-of-large-.patch - 0048-qxl-fix-local-renderer-crash.patch - 0049-tcg-Limit-the-number-of-ops-in-a-TB.patch - 0050-target-arm-Clear-SVE-high-bits-for-.patch - 0051-cpus-tcg-fix-never-exiting-loop-on-.patch - 0052-s390x-css-disabled-subchannels-cann.patch - 0053-pc-bios-s390-ccw-struct-tpi_info-mu.patch - 0054-virtio-ccw-common-reset-handler.patch - 0055-s390x-ccw-make-sure-all-ccw-devices.patch - 0056-blockjob-expose-error-string-via-qu.patch - 0058-qemu-io-Use-purely-string-blockdev-.patch - 0059-qemu-img-Use-only-string-options-in.patch - 0060-nfs-Remove-processed-options-from-Q.patch - 0061-i386-define-the-ssbd-CPUID-feature-.patch - 0062-i386-Define-the-Virt-SSBD-MSR-and-h.patch - 0063-i386-define-the-AMD-virt-ssbd-CPUID.patch - 0064-ahci-fix-PxCI-register-race.patch - 0065-ccid-card-passthru-fix-regression-i.patch -* Patches renamed: - 0057-blockjob-Fix-assertion-in-block_job.patch - -> 0039-blockjob-Fix-assertion-in-block_job.patch - 0066-xen-add-block-resize-support-for-xe.patch - -> 0040-xen-add-block-resize-support-for-xe.patch - 0067-seccomp-allow-sched_setscheduler-wi.patch - -> 0041-seccomp-allow-sched_setscheduler-wi.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.12 - -------------------------------------------------------------------- -Wed Jul 25 22:26:19 UTC 2018 - ldewey@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.12 -* Patches added: - 0067-seccomp-allow-sched_setscheduler-wi.patch - -------------------------------------------------------------------- -Thu Jul 5 21:32:03 UTC 2018 - brogers@suse.com - -- Remove linux-user patch which is no longer needed (bsc#1098056) -* Patches dropped: - 0011-linux-user-XXX-disable-fiemap.patch -* Patches renamed: - 0036-Remove-problematic-evdev-86-key-fro.patch - -> 0011-Remove-problematic-evdev-86-key-fro.patch - 0037-configure-Modify-python-used-for-io.patch - -> 0036-configure-Modify-python-used-for-io.patch - 0038-qemu-io-tests-comment-out-problemat.patch - -> 0037-qemu-io-tests-comment-out-problemat.patch - 0039-tests-test-thread-pool-is-racy-add-.patch - -> 0038-tests-test-thread-pool-is-racy-add-.patch - 0040-device_tree-Increase-FDT_MAX_SIZE-t.patch - -> 0039-device_tree-Increase-FDT_MAX_SIZE-t.patch - 0041-vnc-fix-use-after-free.patch - -> 0040-vnc-fix-use-after-free.patch - 0042-ccid-Fix-dwProtocols-advertisement-.patch - -> 0041-ccid-Fix-dwProtocols-advertisement-.patch - 0043-tcg-arm-Fix-memory-barrier-encoding.patch - -> 0042-tcg-arm-Fix-memory-barrier-encoding.patch - 0044-s390-ccw-force-diag-308-subcode-to-.patch - -> 0043-s390-ccw-force-diag-308-subcode-to-.patch - 0045-nbd-client-fix-nbd_negotiate_simple.patch - -> 0044-nbd-client-fix-nbd_negotiate_simple.patch - 0046-migration-block-dirty-bitmap-fix-me.patch - -> 0045-migration-block-dirty-bitmap-fix-me.patch - 0047-nbd-client-Fix-error-messages-durin.patch - -> 0046-nbd-client-Fix-error-messages-durin.patch - 0048-nbd-client-Relax-handling-of-large-.patch - -> 0047-nbd-client-Relax-handling-of-large-.patch - 0049-qxl-fix-local-renderer-crash.patch - -> 0048-qxl-fix-local-renderer-crash.patch - 0050-tcg-Limit-the-number-of-ops-in-a-TB.patch - -> 0049-tcg-Limit-the-number-of-ops-in-a-TB.patch - 0051-target-arm-Clear-SVE-high-bits-for-.patch - -> 0050-target-arm-Clear-SVE-high-bits-for-.patch - 0052-cpus-tcg-fix-never-exiting-loop-on-.patch - -> 0051-cpus-tcg-fix-never-exiting-loop-on-.patch - 0053-s390x-css-disabled-subchannels-cann.patch - -> 0052-s390x-css-disabled-subchannels-cann.patch - 0054-pc-bios-s390-ccw-struct-tpi_info-mu.patch - -> 0053-pc-bios-s390-ccw-struct-tpi_info-mu.patch - 0055-virtio-ccw-common-reset-handler.patch - -> 0054-virtio-ccw-common-reset-handler.patch - 0056-s390x-ccw-make-sure-all-ccw-devices.patch - -> 0055-s390x-ccw-make-sure-all-ccw-devices.patch - 0057-blockjob-expose-error-string-via-qu.patch - -> 0056-blockjob-expose-error-string-via-qu.patch - 0058-blockjob-Fix-assertion-in-block_job.patch - -> 0057-blockjob-Fix-assertion-in-block_job.patch - 0059-qemu-io-Use-purely-string-blockdev-.patch - -> 0058-qemu-io-Use-purely-string-blockdev-.patch - 0060-qemu-img-Use-only-string-options-in.patch - -> 0059-qemu-img-Use-only-string-options-in.patch - 0061-nfs-Remove-processed-options-from-Q.patch - -> 0060-nfs-Remove-processed-options-from-Q.patch - 0062-i386-define-the-ssbd-CPUID-feature-.patch - -> 0061-i386-define-the-ssbd-CPUID-feature-.patch - 0063-i386-Define-the-Virt-SSBD-MSR-and-h.patch - -> 0062-i386-Define-the-Virt-SSBD-MSR-and-h.patch - 0064-i386-define-the-AMD-virt-ssbd-CPUID.patch - -> 0063-i386-define-the-AMD-virt-ssbd-CPUID.patch - 0065-ahci-fix-PxCI-register-race.patch - -> 0064-ahci-fix-PxCI-register-race.patch - 0066-ccid-card-passthru-fix-regression-i.patch - -> 0065-ccid-card-passthru-fix-regression-i.patch - 0067-xen-add-block-resize-support-for-xe.patch - -> 0066-xen-add-block-resize-support-for-xe.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.12 - -------------------------------------------------------------------- -Thu Jul 5 15:22:40 UTC 2018 - brogers@suse.com - -- Tweak build service constraints information to avoid failures - -------------------------------------------------------------------- -Fri Jun 8 20:28:41 UTC 2018 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.12 -* Patches added: - 0067-xen-add-block-resize-support-for-xe.patch - -------------------------------------------------------------------- -Thu Jun 7 14:57:31 UTC 2018 - brogers@suse.com - -- Tweak patch file generation to be more git version agnostic. - Also change update_git.sh to not reformat spec file by default. - -------------------------------------------------------------------- -Thu May 31 19:51:59 UTC 2018 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.12 -* Patches dropped: - 0065-Revert-replay-don-t-process-async-e.patch - 0066-Revert-replay-avoid-recursive-call-.patch - 0067-Revert-replay-check-return-values-o.patch - 0068-Revert-replay-push-replay_mutex_loc.patch -* Patches added: - 0065-ahci-fix-PxCI-register-race.patch - 0066-ccid-card-passthru-fix-regression-i.patch - -------------------------------------------------------------------- -Fri May 25 15:13:19 UTC 2018 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.12 -* Patches added: - 0062-i386-define-the-ssbd-CPUID-feature-.patch - 0063-i386-Define-the-Virt-SSBD-MSR-and-h.patch - 0064-i386-define-the-AMD-virt-ssbd-CPUID.patch - 0065-Revert-replay-don-t-process-async-e.patch - 0066-Revert-replay-avoid-recursive-call-.patch - 0067-Revert-replay-check-return-values-o.patch - 0068-Revert-replay-push-replay_mutex_loc.patch - -------------------------------------------------------------------- -Thu May 17 13:28:41 UTC 2018 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.12 -* Patches added: - 0040-device_tree-Increase-FDT_MAX_SIZE-t.patch - 0041-vnc-fix-use-after-free.patch - 0042-ccid-Fix-dwProtocols-advertisement-.patch - 0043-tcg-arm-Fix-memory-barrier-encoding.patch - 0044-s390-ccw-force-diag-308-subcode-to-.patch - 0045-nbd-client-fix-nbd_negotiate_simple.patch - 0046-migration-block-dirty-bitmap-fix-me.patch - 0047-nbd-client-Fix-error-messages-durin.patch - 0048-nbd-client-Relax-handling-of-large-.patch - 0049-qxl-fix-local-renderer-crash.patch - 0050-tcg-Limit-the-number-of-ops-in-a-TB.patch - 0051-target-arm-Clear-SVE-high-bits-for-.patch - 0052-cpus-tcg-fix-never-exiting-loop-on-.patch - 0053-s390x-css-disabled-subchannels-cann.patch - 0054-pc-bios-s390-ccw-struct-tpi_info-mu.patch - 0055-virtio-ccw-common-reset-handler.patch - 0056-s390x-ccw-make-sure-all-ccw-devices.patch - 0057-blockjob-expose-error-string-via-qu.patch - 0058-blockjob-Fix-assertion-in-block_job.patch - 0059-qemu-io-Use-purely-string-blockdev-.patch - 0060-qemu-img-Use-only-string-options-in.patch - 0061-nfs-Remove-processed-options-from-Q.patch - -------------------------------------------------------------------- -Fri Apr 27 20:54:16 UTC 2018 - brogers@suse.com - -- Update to v2.12.0: See http://wiki.qemu.org/ChangeLog/2.12 - Some noteworthy changes: - new aarch64_be target - more system calls supported - misc fixes for deadlocks, speed, and signal handling -* Patches dropped: - 0033-memfd-fix-configure-test.patch - 0034-qapi-use-items-values-intead-of-ite.patch - 0035-qapi-Use-OrderedDict-from-standard-.patch - 0036-qapi-adapt-to-moved-location-of-Str.patch - 0037-qapi-Adapt-to-moved-location-of-mak.patch - 0038-qapi-remove-q-arg-to-diff-when-comp.patch - 0039-qapi-ensure-stable-sort-ordering-wh.patch - 0040-qapi-force-a-UTF-8-locale-for-runni.patch - 0041-scripts-ensure-signrom-treats-data-.patch - 0042-configure-allow-use-of-python-3.patch - 0043-input-add-missing-JIS-keys-to-virti.patch - 0045-pc-fail-memory-hot-plug-unplug-with.patch - 0046-memattrs-add-debug-attribute.patch - 0047-exec-add-ram_debug_ops-support.patch - 0048-exec-add-debug-version-of-physical-.patch - 0049-monitor-i386-use-debug-APIs-when-ac.patch - 0050-machine-add-memory-encryption-prope.patch - 0051-kvm-update-kvm.h-to-include-memory-.patch - 0052-docs-add-AMD-Secure-Encrypted-Virtu.patch - 0053-target-i386-add-Secure-Encrypted-Vi.patch - 0054-qmp-add-query-sev-command.patch - 0055-sev-i386-add-command-to-initialize-.patch - 0056-qmp-populate-SevInfo-fields-with-SE.patch - 0057-sev-i386-register-the-guest-memory-.patch - 0058-kvm-introduce-memory-encryption-API.patch - 0059-hmp-add-info-sev-command.patch - 0060-sev-i386-add-command-to-create-laun.patch - 0061-sev-i386-add-command-to-encrypt-gue.patch - 0062-target-i386-encrypt-bios-rom.patch - 0063-sev-i386-add-support-to-LAUNCH_MEAS.patch - 0064-sev-i386-finalize-the-SEV-guest-lau.patch - 0065-hw-i386-set-ram_debug_ops-when-memo.patch - 0066-sev-i386-add-debug-encrypt-and-decr.patch - 0067-target-i386-clear-C-bit-when-walkin.patch - 0068-include-add-psp-sev.h-header-file.patch - 0069-sev-i386-add-support-to-query-PLATF.patch - 0070-sev-i386-add-support-to-KVM_SEV_GUE.patch - 0071-qmp-add-query-sev-launch-measure-co.patch - 0072-tests-qmp-test-blacklist-query-sev-.patch - 0073-sev-i386-add-migration-blocker.patch - 0074-cpu-i386-populate-CPUID-0x8000_001F.patch - 0075-migration-warn-about-inconsistent-s.patch - 0076-smbios-support-setting-OEM-strings-.patch - 0077-smbios-Add-1-terminator-if-any-stri.patch - 0078-Remove-problematic-evdev-86-key-fro.patch - 0079-tpm-lookup-cancel-path-under-tpm-de.patch - 0080-vga-fix-region-calculation.patch - skiboot-GCC7-fixes-for-Wimplicit-fallthr.patch - skiboot-libc-stdio-vsnprintf.c-add-expli.patch - skiboot-build-LDFLAGS-pass-pie-flag-explicitly-to-ld.patch - ui-keycodemapdb-Add-missing-QKeyCode-val.patch - ui-keycodemapdb-Fix-compat-with-py3-dict.patch -* Patches renamed: - 0044-Make-installed-scripts-explicitly-p.patch - -> 0033-Make-installed-scripts-explicitly-p.patch - 0075-migration-warn-about-inconsistent-s.patch - -> 0034-migration-warn-about-inconsistent-s.patch - 0077-smbios-Add-1-terminator-if-any-stri.patch - -> 0035-smbios-Add-1-terminator-if-any-stri.patch - 0078-Remove-problematic-evdev-86-key-fro.patch - -> 0036-Remove-problematic-evdev-86-key-fro.patch -* Patches added: - 0037-configure-Modify-python-used-for-io.patch - 0038-qemu-io-tests-comment-out-problemat.patch - 0039-tests-test-thread-pool-is-racy-add-.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.12 - -------------------------------------------------------------------- -Thu Apr 5 21:33:40 UTC 2018 - brogers@suse.com - -- Be more specific about python version used in building package. - Other minor spec file tweaks. -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.11 -* Patches added: - 0080-vga-fix-region-calculation.patch - -------------------------------------------------------------------- -Thu Apr 5 18:18:59 UTC 2018 - lyan@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.11 -* Patches added: - 0079-tpm-lookup-cancel-path-under-tpm-de.patch - -------------------------------------------------------------------- -Wed Mar 14 18:41:50 UTC 2018 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.11 -* Patches added: - 0078-Remove-problematic-evdev-86-key-fro.patch - -------------------------------------------------------------------- -Wed Mar 14 06:38:40 UTC 2018 - lma@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.11 -* Patches added: - 0077-smbios-Add-1-terminator-if-any-stri.patch - bsc#994082 and bsc#1084316 - -------------------------------------------------------------------- -Fri Mar 9 20:52:00 UTC 2018 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.11 -* Patches added: - 0076-smbios-support-setting-OEM-strings-.patch - -------------------------------------------------------------------- -Sat Mar 3 14:24:13 UTC 2018 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.11 -* Patches dropped: - 0076-i386-Compensate-for-KVM-SPEC_CTRL-f.patch - -------------------------------------------------------------------- -Thu Feb 22 12:01:25 UTC 2018 - brogers@suse.com - -- Update to v2.11.1, a stable, (mostly) bug-fix-only release -* Patches dropped: - 0033-i386-kvm-MSR_IA32_SPEC_CTRL-and-MSR.patch - 0050-target-i386-add-memory-encryption-f.patch - 0054-accel-add-Secure-Encrypted-Virtuliz.patch - 0072-sev-Fix-build-for-non-x86-hosts.patch -* Patches added: - 0033-memfd-fix-configure-test.patch - 0053-target-i386-add-Secure-Encrypted-Vi.patch - 0056-qmp-populate-SevInfo-fields-with-SE.patch - 0072-tests-qmp-test-blacklist-query-sev-.patch - 0073-sev-i386-add-migration-blocker.patch - 0074-cpu-i386-populate-CPUID-0x8000_001F.patch - 0075-migration-warn-about-inconsistent-s.patch - 0076-i386-Compensate-for-KVM-SPEC_CTRL-f.patch -* Patches renamed (plus some minor code changes): - 0051-machine-add-memory-encryption-prope.patch - -> 0050-machine-add-memory-encryption-prope.patch - 0052-kvm-update-kvm.h-to-include-memory-.patch - -> 0051-kvm-update-kvm.h-to-include-memory-.patch - 0053-docs-add-AMD-Secure-Encrypted-Virtu.patch - -> 0052-docs-add-AMD-Secure-Encrypted-Virtu.patch - 0055-sev-add-command-to-initialize-the-m.patch - -> 0055-sev-i386-add-command-to-initialize-.patch - 0056-sev-register-the-guest-memory-range.patch - -> 0057-sev-i386-register-the-guest-memory-.patch - 0057-kvm-introduce-memory-encryption-API.patch - -> 0058-kvm-introduce-memory-encryption-API.patch - 0058-qmp-add-query-sev-command.patch - -> 0054-qmp-add-query-sev-command.patch - 0060-sev-add-command-to-create-launch-me.patch - -> 0060-sev-i386-add-command-to-create-laun.patch - 0061-sev-add-command-to-encrypt-guest-me.patch - -> 0061-sev-i386-add-command-to-encrypt-gue.patch - 0063-sev-add-support-to-LAUNCH_MEASURE-c.patch - -> 0063-sev-i386-add-support-to-LAUNCH_MEAS.patch - 0064-sev-Finalize-the-SEV-guest-launch-f.patch - -> 0064-sev-i386-finalize-the-SEV-guest-lau.patch - 0066-sev-add-debug-encrypt-and-decrypt-c.patch - -> 0066-sev-i386-add-debug-encrypt-and-decr.patch - 0069-sev-add-support-to-query-PLATFORM_S.patch - -> 0069-sev-i386-add-support-to-query-PLATF.patch - 0070-sev-add-support-to-KVM_SEV_GUEST_ST.patch - -> 0070-sev-i386-add-support-to-KVM_SEV_GUE.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.11 - -------------------------------------------------------------------- -Thu Feb 8 18:30:53 UTC 2018 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.11 -* Patches added: - 0046-memattrs-add-debug-attribute.patch - 0047-exec-add-ram_debug_ops-support.patch - 0048-exec-add-debug-version-of-physical-.patch - 0049-monitor-i386-use-debug-APIs-when-ac.patch - 0050-target-i386-add-memory-encryption-f.patch - 0051-machine-add-memory-encryption-prope.patch - 0052-kvm-update-kvm.h-to-include-memory-.patch - 0053-docs-add-AMD-Secure-Encrypted-Virtu.patch - 0054-accel-add-Secure-Encrypted-Virtuliz.patch - 0055-sev-add-command-to-initialize-the-m.patch - 0056-sev-register-the-guest-memory-range.patch - 0057-kvm-introduce-memory-encryption-API.patch - 0058-qmp-add-query-sev-command.patch - 0059-hmp-add-info-sev-command.patch - 0060-sev-add-command-to-create-launch-me.patch - 0061-sev-add-command-to-encrypt-guest-me.patch - 0062-target-i386-encrypt-bios-rom.patch - 0063-sev-add-support-to-LAUNCH_MEASURE-c.patch - 0064-sev-Finalize-the-SEV-guest-launch-f.patch - 0065-hw-i386-set-ram_debug_ops-when-memo.patch - 0066-sev-add-debug-encrypt-and-decrypt-c.patch - 0067-target-i386-clear-C-bit-when-walkin.patch - 0068-include-add-psp-sev.h-header-file.patch - 0069-sev-add-support-to-query-PLATFORM_S.patch - 0070-sev-add-support-to-KVM_SEV_GUEST_ST.patch - 0071-qmp-add-query-sev-launch-measure-co.patch - 0072-sev-Fix-build-for-non-x86-hosts.patch - -------------------------------------------------------------------- -Thu Feb 8 15:26:00 UTC 2018 - brogers@suse.com - -- Update python3 related patches now that they are upstream - -------------------------------------------------------------------- -Mon Jan 29 21:51:20 UTC 2018 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.11 -* Patches added: - 0045-pc-fail-memory-hot-plug-unplug-with.patch - -------------------------------------------------------------------- -Thu Jan 25 22:52:09 UTC 2018 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.11 -* Patches dropped: - 0032-scripts-avoid-usr-bin-python-refere.patch -* Patches renamed: - 0033-Switch-order-of-libraries-for-mpath.patch - -> 0032-Switch-order-of-libraries-for-mpath.patch - 0034-i386-kvm-MSR_IA32_SPEC_CTRL-and-MSR.patch - -> 0033-i386-kvm-MSR_IA32_SPEC_CTRL-and-MSR.patch -* Patches added: - 0034-qapi-use-items-values-intead-of-ite.patch - 0035-qapi-Use-OrderedDict-from-standard-.patch - 0036-qapi-adapt-to-moved-location-of-Str.patch - 0037-qapi-Adapt-to-moved-location-of-mak.patch - 0038-qapi-remove-q-arg-to-diff-when-comp.patch - 0039-qapi-ensure-stable-sort-ordering-wh.patch - 0040-qapi-force-a-UTF-8-locale-for-runni.patch - 0041-scripts-ensure-signrom-treats-data-.patch - 0042-configure-allow-use-of-python-3.patch - 0043-input-add-missing-JIS-keys-to-virti.patch - 0044-Make-installed-scripts-explicitly-p.patch - -------------------------------------------------------------------- -Thu Jan 4 16:19:30 UTC 2018 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.11 -* Patches added: - 0034-i386-kvm-MSR_IA32_SPEC_CTRL-and-MSR.patch - -------------------------------------------------------------------- -Wed Dec 13 20:57:00 UTC 2017 - brogers@suse.com - -- Update to v2.11.0: See http://wiki.qemu.org/ChangeLog/2.11 - Some noteworthy changes: - misc TCG and linux user improvements -* Drop very old compatability provisions -* Patches dropped (upstream): - 0013-console-add-question-mark-escape-op.patch - 0020-configure-Fix-detection-of-seccomp-.patch - 0034-target-i386-cpu-Add-new-EPYC-CPU-mo.patch - 0035-chardev-baum-fix-baum-that-releases.patch - 0036-io-fix-temp-directory-used-by-test-.patch - 0037-io-fix-check-for-handshake-completi.patch - 0038-crypto-fix-test-cert-generation-to-.patch - 0039-vhost-user-disable-the-broken-subpr.patch - 0040-io-monitor-encoutput-buffer-size-fr.patch - 0041-cirrus-fix-oob-access-in-mode4and5-.patch - 0042-9pfs-use-g_malloc0-to-allocate-spac.patch -* Patches renamed: - 0014-Make-char-muxer-more-robust-wrt-sma.patch - -> 0013-Make-char-muxer-more-robust-wrt-sma.patch - 0015-linux-user-lseek-explicitly-cast-no.patch - -> 0014-linux-user-lseek-explicitly-cast-no.patch - 0016-AIO-Reduce-number-of-threads-for-32.patch - -> 0015-AIO-Reduce-number-of-threads-for-32.patch - 0017-xen_disk-Add-suse-specific-flush-di.patch - -> 0016-xen_disk-Add-suse-specific-flush-di.patch - 0018-qemu-bridge-helper-reduce-security-.patch - -> 0017-qemu-bridge-helper-reduce-security-.patch - 0019-qemu-binfmt-conf-use-qemu-ARCH-binf.patch - -> 0018-qemu-binfmt-conf-use-qemu-ARCH-binf.patch - 0021-linux-user-properly-test-for-infini.patch - -> 0019-linux-user-properly-test-for-infini.patch - 0022-roms-Makefile-pass-a-packaging-time.patch - -> 0020-roms-Makefile-pass-a-packaging-time.patch - 0023-Raise-soft-address-space-limit-to-h.patch - -> 0021-Raise-soft-address-space-limit-to-h.patch - 0024-increase-x86_64-physical-bits-to-42.patch - -> 0022-increase-x86_64-physical-bits-to-42.patch - 0025-vga-Raise-VRAM-to-16-MiB-for-pc-0.1.patch - -> 0023-vga-Raise-VRAM-to-16-MiB-for-pc-0.1.patch - 0026-i8254-Fix-migration-from-SLE11-SP2.patch - -> 0024-i8254-Fix-migration-from-SLE11-SP2.patch - 0027-acpi_piix4-Fix-migration-from-SLE11.patch - -> 0025-acpi_piix4-Fix-migration-from-SLE11.patch - 0028-Fix-tigervnc-long-press-issue.patch - -> 0026-Fix-tigervnc-long-press-issue.patch - 0029-string-input-visitor-Fix-uint64-par.patch - -> 0027-string-input-visitor-Fix-uint64-par.patch - 0030-test-string-input-visitor-Add-int-t.patch - -> 0028-test-string-input-visitor-Add-int-t.patch - 0031-test-string-input-visitor-Add-uint6.patch - -> 0029-test-string-input-visitor-Add-uint6.patch - 0032-tests-Add-QOM-property-unit-tests.patch - -> 0030-tests-Add-QOM-property-unit-tests.patch - 0033-tests-Add-scsi-disk-test.patch - -> 0031-tests-Add-scsi-disk-test.patch - 0043-scripts-avoid-usr-bin-python-refere.patch - -> 0032-scripts-avoid-usr-bin-python-refere.patch -* Patches added: - 0033-Switch-order-of-libraries-for-mpath.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.11 - -------------------------------------------------------------------- -Wed Nov 29 17:31:29 UTC 2017 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.10 -* Patches added: - 0043-scripts-avoid-usr-bin-python-refere.patch - -------------------------------------------------------------------- -Thu Oct 19 21:58:01 UTC 2017 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.10 -* Patches added: - 0040-io-monitor-encoutput-buffer-size-fr.patch - 0041-cirrus-fix-oob-access-in-mode4and5-.patch - 0042-9pfs-use-g_malloc0-to-allocate-spac.patch - -------------------------------------------------------------------- -Tue Oct 3 21:07:30 UTC 2017 - brogers@suse.com - -- Update to v2.10.1 a stable, bug-fix-only release -* Patches dropped (upstream): - 0034-slirp-fix-clearing-ifq_so-from-pend.patch - 0035-s390-ccw-Fix-alignment-for-CCW1.patch - 0038-s390x-ais-for-2.10-stable-disable-a.patch - 0039-s390x-cpumodel-remove-ais-from-z14-.patch -* Patches renamed: - 0036-target-i386-cpu-Add-new-EPYC-CPU-mo.patch - -> 0034-target-i386-cpu-Add-new-EPYC-CPU-mo.patch - 0037-chardev-baum-fix-baum-that-releases.patch - -> 0035-chardev-baum-fix-baum-that-releases.patch - 0040-io-fix-temp-directory-used-by-test-.patch - -> 0036-io-fix-temp-directory-used-by-test-.patch - 0041-io-fix-check-for-handshake-completi.patch - -> 0037-io-fix-check-for-handshake-completi.patch - 0042-crypto-fix-test-cert-generation-to-.patch - -> 0038-crypto-fix-test-cert-generation-to-.patch - 0043-vhost-user-disable-the-broken-subpr.patch - -> 0039-vhost-user-disable-the-broken-subpr.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.10 - -------------------------------------------------------------------- -Mon Oct 2 20:26:18 UTC 2017 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.10 -* Patches added: - 0040-io-fix-temp-directory-used-by-test-.patch - 0041-io-fix-check-for-handshake-completi.patch - 0042-crypto-fix-test-cert-generation-to-.patch - 0043-vhost-user-disable-the-broken-subpr.patch - -------------------------------------------------------------------- -Thu Sep 28 21:56:47 UTC 2017 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.10 -* Patches added: - 0038-s390x-ais-for-2.10-stable-disable-a.patch - 0039-s390x-cpumodel-remove-ais-from-z14-.patch - -------------------------------------------------------------------- -Thu Sep 28 17:31:36 UTC 2017 - lyan@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.10 -* Patches added: - 0037-chardev-baum-fix-baum-that-releases.patch - -------------------------------------------------------------------- -Thu Sep 21 21:41:08 UTC 2017 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.10 -* Patches added: - 0036-target-i386-cpu-Add-new-EPYC-CPU-mo.patch - -------------------------------------------------------------------- -Thu Aug 31 18:48:32 UTC 2017 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.10 -* Patches added: - 0034-slirp-fix-clearing-ifq_so-from-pend.patch - 0035-s390-ccw-Fix-alignment-for-CCW1.patch - -------------------------------------------------------------------- -Wed Aug 30 19:52:36 UTC 2017 - brogers@suse.com - -- Update to v2.10.0: See http://wiki.qemu.org/ChangeLog/2.10 -- Dropped miscellaneous patches deemed unused and not worth carrying -* Patches renamed: - 0006-qemu-cvs-gettimeofday.patch -> 0003-qemu-cvs-gettimeofday.patch - 0007-qemu-cvs-ioctl_debug.patch -> 0004-qemu-cvs-ioctl_debug.patch - 0008-qemu-cvs-ioctl_nodirection.patch -> 0005-qemu-cvs-ioctl_nodirection.patch - 0009-linux-user-add-binfmt-wrapper-for-a.patch -> 0006-linux-user-add-binfmt-wrapper-for-a.patch - 0010-PPC-KVM-Disable-mmu-notifier-check.patch -> 0007-PPC-KVM-Disable-mmu-notifier-check.patch - 0011-linux-user-fix-segfault-deadlock.patch -> 0008-linux-user-fix-segfault-deadlock.patch - 0012-linux-user-binfmt-support-host-bina.patch -> 0009-linux-user-binfmt-support-host-bina.patch - 0013-linux-user-Fake-proc-cpuinfo.patch -> 0010-linux-user-Fake-proc-cpuinfo.patch - 0014-linux-user-XXX-disable-fiemap.patch -> 0011-linux-user-XXX-disable-fiemap.patch - 0017-linux-user-use-target_ulong.patch -> 0012-linux-user-use-target_ulong.patch - 0021-console-add-question-mark-escape-op.patch -> 0013-console-add-question-mark-escape-op.patch - 0022-Make-char-muxer-more-robust-wrt-sma.patch -> 0014-Make-char-muxer-more-robust-wrt-sma.patch - 0023-linux-user-lseek-explicitly-cast-no.patch -> 0015-linux-user-lseek-explicitly-cast-no.patch - 0025-AIO-Reduce-number-of-threads-for-32.patch -> 0016-AIO-Reduce-number-of-threads-for-32.patch - 0027-xen_disk-Add-suse-specific-flush-di.patch -> 0017-xen_disk-Add-suse-specific-flush-di.patch - 0028-qemu-bridge-helper-reduce-security-.patch -> 0018-qemu-bridge-helper-reduce-security-.patch - 0029-qemu-binfmt-conf-use-qemu-ARCH-binf.patch -> 0019-qemu-binfmt-conf-use-qemu-ARCH-binf.patch - 0030-configure-Fix-detection-of-seccomp-.patch -> 0020-configure-Fix-detection-of-seccomp-.patch - 0031-linux-user-properly-test-for-infini.patch -> 0021-linux-user-properly-test-for-infini.patch - 0033-roms-Makefile-pass-a-packaging-time.patch -> 0022-roms-Makefile-pass-a-packaging-time.patch - 0034-Raise-soft-address-space-limit-to-h.patch -> 0023-Raise-soft-address-space-limit-to-h.patch - 0035-increase-x86_64-physical-bits-to-42.patch -> 0024-increase-x86_64-physical-bits-to-42.patch - 0036-vga-Raise-VRAM-to-16-MiB-for-pc-0.1.patch -> 0025-vga-Raise-VRAM-to-16-MiB-for-pc-0.1.patch - 0037-i8254-Fix-migration-from-SLE11-SP2.patch -> 0026-i8254-Fix-migration-from-SLE11-SP2.patch - 0038-acpi_piix4-Fix-migration-from-SLE11.patch -> 0027-acpi_piix4-Fix-migration-from-SLE11.patch - 0039-Fix-tigervnc-long-press-issue.patch -> 0028-Fix-tigervnc-long-press-issue.patch - 0041-string-input-visitor-Fix-uint64-par.patch -> 0029-string-input-visitor-Fix-uint64-par.patch - 0042-test-string-input-visitor-Add-int-t.patch -> 0030-test-string-input-visitor-Add-int-t.patch - 0043-test-string-input-visitor-Add-uint6.patch -> 0031-test-string-input-visitor-Add-uint6.patch - 0044-tests-Add-QOM-property-unit-tests.patch -> 0032-tests-Add-QOM-property-unit-tests.patch - 0045-tests-Add-scsi-disk-test.patch -> 0033-tests-Add-scsi-disk-test.patch -* Patches dropped (upstream unless otherwise noted): - 0003-qemu-cvs-alsa_bitfield.patch (deemed not needed) - 0004-qemu-cvs-alsa_ioctl.patch (deemed not needed) - 0005-qemu-cvs-alsa_mmap.patch (deemed not needed) - 0015-slirp-nooutgoing.patch (bsc#1055125) - 0016-vnc-password-file-and-incoming-conn.patch (bsc#1055127) - 0018-block-Add-support-for-DictZip-enabl.patch (bsc#1046783) - 0019-block-Add-tar-container-format.patch (bsc#1046783) - 0020-Legacy-Patch-kvm-qemu-preXX-dictzip.patch (bsc#1046783) - 0024-configure-Enable-PIE-for-ppc-and-pp.patch (obsolete) - 0026-dictzip-Fix-on-big-endian-systems.patch (bsc#1046783) - 0032-linux-user-remove-all-traces-of-qem.patch - 0040-fix-xen-hvm-direct-kernel-boot.patch (bsc#970791) - 0046-RFC-update-Linux-headers-from-irqs-.patch - 0047-ARM-KVM-Enable-in-kernel-timers-wit.patch - 0048-input-Add-trace-event-for-empty-key.patch - 0049-ACPI-don-t-call-acpi_pcihp_device_p.patch - 0050-i386-Allow-cpuid-bit-override.patch (was for testing only) - 0051-input-limit-kbd-queue-depth.patch - 0052-audio-release-capture-buffers.patch - 0053-scsi-avoid-an-off-by-one-error-in-m.patch - 0054-vmw_pvscsi-check-message-ring-page-.patch - 0055-9pfs-local-forbid-client-access-to-.patch - 0056-jazz_led-fix-bad-snprintf.patch - 0057-slirp-smb-Replace-constant-strings-.patch - 0058-altera_timer-fix-incorrect-memset.patch - 0059-Hacks-for-building-on-gcc-7-Fedora-.patch - 0060-9pfs-local-fix-unlink-of-alien-file.patch - 0061-megasas-do-not-read-DCMD-opcode-mor.patch - 0062-megasas-always-store-SCSIRequest-in.patch - 0063-nbd-Fully-initialize-client-in-case.patch - 0064-9pfs-local-remove-use-correct-path-.patch - 0065-hid-Reset-kbd-modifiers-on-reset.patch - 0066-input-Decrement-queue-count-on-kbd-.patch - 0067-xhci-only-update-dequeue-ptr-on-com.patch - 0068-vnc-Set-default-kbd-delay-to-10ms.patch - 0069-qemu-nbd-Ignore-SIGPIPE.patch - 0070-usb-redir-fix-stack-overflow-in-usb.patch - 0072-slirp-check-len-against-dhcp-option.patch - 0071-exec-use-qemu_ram_ptr_length-to-acc.patch - 0073-xen-mapcache-store-dma-information-.patch - 0074-exec-Add-lock-parameter-to-qemu_ram.patch - 0075-Replace-struct-ucontext-with-uconte.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.10 - -------------------------------------------------------------------- -Thu Aug 24 18:52:43 UTC 2017 - brogers@suse.com - -- Fix package build failure as of glibc v2.26 update in Factory - (boo#1055587) - 0075-Replace-struct-ucontext-with-uconte.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.9 - -------------------------------------------------------------------- -Tue Aug 15 19:29:59 UTC 2017 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.9 -* Patches added: - 0073-xen-mapcache-store-dma-information-.patch - 0074-exec-Add-lock-parameter-to-qemu_ram.patch - -------------------------------------------------------------------- -Tue Jul 25 19:36:58 UTC 2017 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.9 -* Patches added: - 0069-qemu-nbd-Ignore-SIGPIPE.patch - 0070-usb-redir-fix-stack-overflow-in-usb.patch - 0071-exec-use-qemu_ram_ptr_length-to-acc.patch - 0072-slirp-check-len-against-dhcp-option.patch - -------------------------------------------------------------------- -Tue Jul 18 19:51:49 UTC 2017 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.9 -* Patches added: - 0067-xhci-only-update-dequeue-ptr-on-com.patch - 0068-vnc-Set-default-kbd-delay-to-10ms.patch - -------------------------------------------------------------------- -Mon Jun 26 08:51:24 UTC 2017 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.9 -* Patches added: - 0065-hid-Reset-kbd-modifiers-on-reset.patch - 0066-input-Decrement-queue-count-on-kbd-.patch - -------------------------------------------------------------------- -Tue Jun 20 14:14:17 UTC 2017 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.9 -* Patches added: - 0060-9pfs-local-fix-unlink-of-alien-file.patch - 0061-megasas-do-not-read-DCMD-opcode-mor.patch - 0062-megasas-always-store-SCSIRequest-in.patch - 0063-nbd-Fully-initialize-client-in-case.patch - 0064-9pfs-local-remove-use-correct-path-.patch -- Add --no-renames to the git format-patch command in the git - workflow script for better patch compatibility - -------------------------------------------------------------------- -Mon May 22 23:52:15 UTC 2017 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.9 -* Patches added: - 0056-jazz_led-fix-bad-snprintf.patch - 0057-slirp-smb-Replace-constant-strings-.patch - 0058-altera_timer-fix-incorrect-memset.patch - 0059-Hacks-for-building-on-gcc-7-Fedora-.patch - -------------------------------------------------------------------- -Mon May 22 19:06:25 UTC 2017 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.9 -* Patches added: - 0055-9pfs-local-forbid-client-access-to-.patch - -------------------------------------------------------------------- -Thu May 11 20:55:59 UTC 2017 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.9 -* Patches added: - 0051-input-limit-kbd-queue-depth.patch - 0052-audio-release-capture-buffers.patch - 0053-scsi-avoid-an-off-by-one-error-in-m.patch - 0054-vmw_pvscsi-check-message-ring-page-.patch - -------------------------------------------------------------------- -Thu Apr 27 20:09:41 UTC 2017 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.9 -* Patches added: - 0049-ACPI-don-t-call-acpi_pcihp_device_p.patch - 0050-i386-Allow-cpuid-bit-override.patch - -------------------------------------------------------------------- -Thu Apr 20 16:34:21 UTC 2017 - brogers@suse.com - -- Updated to v2.9.0: See http://wiki.qemu-project.org/ChangeLog/2.9 -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.9 - -------------------------------------------------------------------- -Tue Apr 18 18:03:16 UTC 2017 - brogers@suse.com - -- Updated to v2.9.0-rc5: See http://wiki.qemu-project.org/ChangeLog/2.9 -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.9 - -------------------------------------------------------------------- -Wed Apr 12 15:15:28 UTC 2017 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.9 -* Patches added: - 0048-input-Add-trace-event-for-empty-key.patch - -------------------------------------------------------------------- -Tue Apr 11 19:32:00 UTC 2017 - brogers@suse.com - -- Updated to v2.9.0-rc4: See http://wiki.qemu-project.org/ChangeLog/2.9 -* Patches renamed: - 0041-ARM-KVM-Enable-in-kernel-timers-wit.patch -> 0047-ARM-KVM-Enable-in-kernel-timers-wit.patch - 0042-string-input-visitor-Fix-uint64-par.patch -> 0041-string-input-visitor-Fix-uint64-par.patch - 0043-test-string-input-visitor-Add-int-t.patch -> 0042-test-string-input-visitor-Add-int-t.patch - 0044-test-string-input-visitor-Add-uint6.patch -> 0043-test-string-input-visitor-Add-uint6.patch - 0045-tests-Add-QOM-property-unit-tests.patch -> 0044-tests-Add-QOM-property-unit-tests.patch - 0046-tests-Add-scsi-disk-test.patch -> 0045-tests-Add-scsi-disk-test.patch -* Patches added: - 0046-RFC-update-Linux-headers-from-irqs-.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.9 - -------------------------------------------------------------------- -Wed Apr 5 16:50:51 UTC 2017 - brogers@suse.com - -- Updated to v2.9.0-rc3: See http://wiki.qemu-project.org/ChangeLog/2.9 -* Patches dropped: - 0047-hw-intc-arm_gicv3_kvm-Check-KVM_DEV.patch - 0048-i386-Replace-uint32_t-with-FeatureW.patch - 0049-i386-Don-t-override-cpu-options-on-.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.9 -- Made miscellaneous spec file refinements - -------------------------------------------------------------------- -Thu Mar 30 22:46:47 UTC 2017 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.9 -* Patches added: - 0048-i386-Replace-uint32_t-with-FeatureW.patch - 0049-i386-Don-t-override-cpu-options-on-.patch - -------------------------------------------------------------------- -Tue Mar 28 22:12:56 UTC 2017 - brogers@suse.com - -- Updated to v2.9.0-rc2: See http://wiki.qemu-project.org/ChangeLog/2.9 -* Patches dropped: - 0047-linux-user-exclude-cpu-model-code-w.patch -* Patches added: - 0047-hw-intc-arm_gicv3_kvm-Check-KVM_DEV.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.9 - -------------------------------------------------------------------- -Tue Mar 21 20:53:50 UTC 2017 - brogers@suse.com - -- Updated to v2.9.0-rc1: See http://wiki.qemu-project.org/ChangeLog/2.9 -* Patches dropped (no longer needed based on what we now build for): - 0024-virtfs-proxy-helper-Provide-__u64-f.patch -* Patches dropped (included in upstream source archive): - 0034-dma-rc4030-limit-interval-timer-rel.patch -* Patches renamed: - 0025-configure-Enable-PIE-for-ppc-and-pp.patch -> 0024-configure-Enable-PIE-for-ppc-and-pp.patch - 0026-AIO-Reduce-number-of-threads-for-32.patch -> 0025-AIO-Reduce-number-of-threads-for-32.patch - 0027-dictzip-Fix-on-big-endian-systems.patch -> 0026-dictzip-Fix-on-big-endian-systems.patch - 0028-xen_disk-Add-suse-specific-flush-di.patch -> 0027-xen_disk-Add-suse-specific-flush-di.patch - 0029-qemu-bridge-helper-reduce-security-.patch -> 0028-qemu-bridge-helper-reduce-security-.patch - 0030-qemu-binfmt-conf-use-qemu-ARCH-binf.patch -> 0029-qemu-binfmt-conf-use-qemu-ARCH-binf.patch - 0031-configure-Fix-detection-of-seccomp-.patch -> 0030-configure-Fix-detection-of-seccomp-.patch - 0032-linux-user-properly-test-for-infini.patch -> 0031-linux-user-properly-test-for-infini.patch - 0033-linux-user-remove-all-traces-of-qem.patch -> 0032-linux-user-remove-all-traces-of-qem.patch - 0035-roms-Makefile-pass-a-packaging-time.patch -> 0033-roms-Makefile-pass-a-packaging-time.patch - 0036-Raise-soft-address-space-limit-to-h.patch -> 0034-Raise-soft-address-space-limit-to-h.patch - 0037-increase-x86_64-physical-bits-to-42.patch -> 0035-increase-x86_64-physical-bits-to-42.patch - 0038-vga-Raise-VRAM-to-16-MiB-for-pc-0.1.patch -> 0036-vga-Raise-VRAM-to-16-MiB-for-pc-0.1.patch - 0039-i8254-Fix-migration-from-SLE11-SP2.patch -> 0037-i8254-Fix-migration-from-SLE11-SP2.patch - 0040-acpi_piix4-Fix-migration-from-SLE11.patch -> 0038-acpi_piix4-Fix-migration-from-SLE11.patch - 0041-Fix-tigervnc-long-press-issue.patch -> 0039-Fix-tigervnc-long-press-issue.patch - 0042-fix-xen-hvm-direct-kernel-boot.patch -> 0040-fix-xen-hvm-direct-kernel-boot.patch - 0043-ARM-KVM-Enable-in-kernel-timers-wit.patch -> 0041-ARM-KVM-Enable-in-kernel-timers-wit.patch - 0044-string-input-visitor-Fix-uint64-par.patch -> 0042-string-input-visitor-Fix-uint64-par.patch - 0045-test-string-input-visitor-Add-int-t.patch -> 0043-test-string-input-visitor-Add-int-t.patch - 0046-test-string-input-visitor-Add-uint6.patch -> 0044-test-string-input-visitor-Add-uint6.patch - 0047-tests-Add-QOM-property-unit-tests.patch -> 0045-tests-Add-QOM-property-unit-tests.patch - 0048-tests-Add-scsi-disk-test.patch -> 0046-tests-Add-scsi-disk-test.patch - 0049-linux-user-exclude-cpu-model-code-w.patch -> 0047-linux-user-exclude-cpu-model-code-w.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.9 - -------------------------------------------------------------------- -Mon Mar 20 22:02:08 UTC 2017 - brogers@suse.com - -- Updated to v2.9.0-rc0: See http://wiki.qemu-project.org/ChangeLog/2.9 -* Patches dropped (included in upstream source archive): - 0035-net-imx-limit-buffer-descriptor-cou.patch - 0045-virtio-gpu-call-cleanup-mapping-fun.patch - 0051-virtio-gpu-fix-information-leak-in-.patch - 0052-display-cirrus-ignore-source-pitch-.patch - 0053-s390x-kvm-fix-small-race-reboot-vs..patch - 0054-target-s390x-use-qemu-cpu-model-in-.patch - 0056-tests-check-path-to-avoid-a-failing.patch - 0057-display-virtio-gpu-3d-check-virgl-c.patch - 0058-watchdog-6300esb-add-exit-function.patch - 0059-virtio-gpu-3d-fix-memory-leak-in-re.patch - 0060-virtio-gpu-fix-memory-leak-in-resou.patch - 0061-virtio-fix-vq-inuse-recalc-after-mi.patch - 0062-audio-es1370-add-exit-function.patch - 0063-audio-ac97-add-exit-function.patch - 0064-megasas-fix-guest-triggered-memory-.patch - 0065-cirrus-handle-negative-pitch-in-cir.patch - 0066-cirrus-fix-blit-address-mask-handli.patch - 0067-cirrus-fix-oob-access-issue-CVE-201.patch - 0068-usb-ccid-check-ccid-apdu-length.patch - 0069-sd-sdhci-check-data-length-during-d.patch - 0070-virtio-gpu-fix-resource-leak-in-vir.patch - 0071-cirrus-fix-patterncopy-checks.patch - 0072-cirrus-add-blit_is_unsafe-call-to-c.patch -* Patches renamed: - 0036-roms-Makefile-pass-a-packaging-time.patch -> 0035-roms-Makefile-pass-a-packaging-time.patch - 0037-Raise-soft-address-space-limit-to-h.patch -> 0036-Raise-soft-address-space-limit-to-h.patch - 0038-increase-x86_64-physical-bits-to-42.patch -> 0037-increase-x86_64-physical-bits-to-42.patch - 0039-vga-Raise-VRAM-to-16-MiB-for-pc-0.1.patch -> 0038-vga-Raise-VRAM-to-16-MiB-for-pc-0.1.patch - 0040-i8254-Fix-migration-from-SLE11-SP2.patch -> 0039-i8254-Fix-migration-from-SLE11-SP2.patch - 0041-acpi_piix4-Fix-migration-from-SLE11.patch -> 0040-acpi_piix4-Fix-migration-from-SLE11.patch - 0042-Fix-tigervnc-long-press-issue.patch -> 0041-Fix-tigervnc-long-press-issue.patch - 0043-fix-xen-hvm-direct-kernel-boot.patch -> 0042-fix-xen-hvm-direct-kernel-boot.patch - 0044-ARM-KVM-Enable-in-kernel-timers-wit.patch -> 0043-ARM-KVM-Enable-in-kernel-timers-wit.patch - 0046-string-input-visitor-Fix-uint64-par.patch -> 0044-string-input-visitor-Fix-uint64-par.patch - 0047-test-string-input-visitor-Add-int-t.patch -> 0045-test-string-input-visitor-Add-int-t.patch - 0048-test-string-input-visitor-Add-uint6.patch -> 0046-test-string-input-visitor-Add-uint6.patch - 0049-tests-Add-QOM-property-unit-tests.patch -> 0047-tests-Add-QOM-property-unit-tests.patch - 0050-tests-Add-scsi-disk-test.patch -> 0048-tests-Add-scsi-disk-test.patch - 0055-linux-user-exclude-cpu-model-code-w.patch -> 0049-linux-user-exclude-cpu-model-code-w.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.9 - -------------------------------------------------------------------- -Wed Mar 1 12:26:56 UTC 2017 - brogers@suse.com - -- Buildignore for the global gcc-PIE, as this package enables PIE - on its own and has troubles if all use it. (meissner@suse.com) - -------------------------------------------------------------------- -Wed Mar 1 03:08:33 UTC 2017 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.8 -* Patches added: - 0057-display-virtio-gpu-3d-check-virgl-c.patch - 0058-watchdog-6300esb-add-exit-function.patch - 0059-virtio-gpu-3d-fix-memory-leak-in-re.patch - 0060-virtio-gpu-fix-memory-leak-in-resou.patch - 0061-virtio-fix-vq-inuse-recalc-after-mi.patch - 0062-audio-es1370-add-exit-function.patch - 0063-audio-ac97-add-exit-function.patch - 0064-megasas-fix-guest-triggered-memory-.patch - 0065-cirrus-handle-negative-pitch-in-cir.patch - 0066-cirrus-fix-blit-address-mask-handli.patch - 0067-cirrus-fix-oob-access-issue-CVE-201.patch - 0068-usb-ccid-check-ccid-apdu-length.patch - 0069-sd-sdhci-check-data-length-during-d.patch - 0070-virtio-gpu-fix-resource-leak-in-vir.patch - 0071-cirrus-fix-patterncopy-checks.patch - 0072-cirrus-add-blit_is_unsafe-call-to-c.patch - -------------------------------------------------------------------- -Fri Feb 17 22:05:56 UTC 2017 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.8 -* Patches added: - 0056-tests-check-path-to-avoid-a-failing.patch - -------------------------------------------------------------------- -Tue Feb 14 17:39:06 UTC 2017 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.8 -* Patches added: - 0055-linux-user-exclude-cpu-model-code-w.patch - -------------------------------------------------------------------- -Thu Feb 2 16:42:04 UTC 2017 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.8 -* Fix s390x linux-user failure since v2.8.0 update -* Patches added: - 0053-s390x-kvm-fix-small-race-reboot-vs..patch - 0054-target-s390x-use-qemu-cpu-model-in-.patch - -------------------------------------------------------------------- -Wed Jan 25 20:57:29 UTC 2017 - brogers@suse.com - -- Merge qemu-linux-user packages from openSUSE and SUSE SLE releases - together for the v2.8 qemu update. The qemu-linux-user.changes - file is the openSUSE version with this entry providing CVE, FATE, - and bugzilla references from the SUSE SLE qemu package to date - (see below) - (the qemu-linux-user package derives from the same - sources as qemu, and the vast majority of fixes are targeted only - towards the qemu package.) -- Updated to v2.8.0: See http://wiki.qemu-project.org/ChangeLog/2.8 -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.8 -* Patches dropped (upstream): - 0013-linux-user-lock-tcg.patch - 0014-linux-user-Run-multi-threaded-code-.patch - 0015-linux-user-lock-tb-flushing-too.patch - 0017-linux-user-implement-FS_IOC_GETFLAG.patch - 0018-linux-user-implement-FS_IOC_SETFLAG.patch - 0034-xen-SUSE-xenlinux-unplug-for-emulat.patch - 0039-Fix-tlb_vaddr_to_host-with-CONFIG_U.patch - 0041-vmsvga-correct-bitmap-and-pixmap-si.patch - 0042-scsi-mptconfig-fix-an-assert-expres.patch - 0043-scsi-mptconfig-fix-misuse-of-MPTSAS.patch - 0044-scsi-pvscsi-limit-loop-to-fetch-SG-.patch - 0045-usb-xhci-fix-memory-leak-in-usb_xhc.patch - 0046-scsi-mptsas-use-g_new0-to-allocate-.patch - 0047-scsi-pvscsi-limit-process-IO-loop-t.patch - 0048-virtio-add-check-for-descriptor-s-m.patch - 0049-net-mcf-limit-buffer-descriptor-cou.patch - 0050-usb-ehci-fix-memory-leak-in-ehci_pr.patch - 0051-xhci-limit-the-number-of-link-trbs-.patch - 0052-9pfs-allocate-space-for-guest-origi.patch - 0053-9pfs-fix-memory-leak-in-v9fs_link.patch - 0054-9pfs-fix-potential-host-memory-leak.patch - 0055-9pfs-fix-information-leak-in-xattr-.patch - 0056-9pfs-fix-memory-leak-in-v9fs_xattrc.patch - 0057-9pfs-fix-memory-leak-in-v9fs_write.patch - 0058-char-serial-check-divider-value-aga.patch - 0059-net-pcnet-check-rx-tx-descriptor-ri.patch - 0060-net-eepro100-fix-memory-leak-in-dev.patch - 0061-net-rocker-set-limit-to-DMA-buffer-.patch - 0062-net-vmxnet-initialise-local-tx-desc.patch - 0063-net-rtl8139-limit-processing-of-rin.patch - 0064-audio-intel-hda-check-stream-entry-.patch - 0065-virtio-gpu-fix-memory-leak-in-virti.patch - 0066-9pfs-fix-integer-overflow-issue-in-.patch - slof_xhci.patch -* Patches renamed: - 0016-linux-user-Fake-proc-cpuinfo.patch -> 0013-linux-user-Fake-proc-cpuinfo.patch - 0019-linux-user-XXX-disable-fiemap.patch -> 0014-linux-user-XXX-disable-fiemap.patch - 0020-slirp-nooutgoing.patch -> 0015-slirp-nooutgoing.patch - 0021-vnc-password-file-and-incoming-conn.patch -> 0016-vnc-password-file-and-incoming-conn.patch - 0022-linux-user-use-target_ulong.patch -> 0017-linux-user-use-target_ulong.patch - 0023-block-Add-support-for-DictZip-enabl.patch -> 0018-block-Add-support-for-DictZip-enabl.patch - 0024-block-Add-tar-container-format.patch -> 0019-block-Add-tar-container-format.patch - 0025-Legacy-Patch-kvm-qemu-preXX-dictzip.patch -> 0020-Legacy-Patch-kvm-qemu-preXX-dictzip.patch - 0026-console-add-question-mark-escape-op.patch -> 0021-console-add-question-mark-escape-op.patch - 0027-Make-char-muxer-more-robust-wrt-sma.patch -> 0022-Make-char-muxer-more-robust-wrt-sma.patch - 0028-linux-user-lseek-explicitly-cast-no.patch -> 0023-linux-user-lseek-explicitly-cast-no.patch - 0029-virtfs-proxy-helper-Provide-__u64-f.patch -> 0024-virtfs-proxy-helper-Provide-__u64-f.patch - 0030-configure-Enable-PIE-for-ppc-and-pp.patch -> 0025-configure-Enable-PIE-for-ppc-and-pp.patch - 0031-AIO-Reduce-number-of-threads-for-32.patch -> 0026-AIO-Reduce-number-of-threads-for-32.patch - 0032-dictzip-Fix-on-big-endian-systems.patch -> 0027-dictzip-Fix-on-big-endian-systems.patch - 0033-xen_disk-Add-suse-specific-flush-di.patch -> 0028-xen_disk-Add-suse-specific-flush-di.patch - 0035-qemu-bridge-helper-reduce-security-.patch -> 0029-qemu-bridge-helper-reduce-security-.patch - 0036-qemu-binfmt-conf-use-qemu-ARCH-binf.patch -> 0030-qemu-binfmt-conf-use-qemu-ARCH-binf.patch - 0037-configure-Fix-detection-of-seccomp-.patch -> 0031-configure-Fix-detection-of-seccomp-.patch - 0038-linux-user-properly-test-for-infini.patch -> 0032-linux-user-properly-test-for-infini.patch - 0040-linux-user-remove-all-traces-of-qem.patch -> 0033-linux-user-remove-all-traces-of-qem.patch - 0067-dma-rc4030-limit-interval-timer-rel.patch -> 0034-dma-rc4030-limit-interval-timer-rel.patch - 0068-net-imx-limit-buffer-descriptor-cou.patch -> 0035-net-imx-limit-buffer-descriptor-cou.patch - 0069-roms-Makefile-pass-a-packaging-time.patch -> 0036-roms-Makefile-pass-a-packaging-time.patch -* Patches added: - 0037-Raise-soft-address-space-limit-to-h.patch - 0038-increase-x86_64-physical-bits-to-42.patch - 0039-vga-Raise-VRAM-to-16-MiB-for-pc-0.1.patch - 0040-i8254-Fix-migration-from-SLE11-SP2.patch - 0041-acpi_piix4-Fix-migration-from-SLE11.patch - 0042-Fix-tigervnc-long-press-issue.patch - 0043-fix-xen-hvm-direct-kernel-boot.patch - 0044-ARM-KVM-Enable-in-kernel-timers-wit.patch - 0045-virtio-gpu-call-cleanup-mapping-fun.patch - 0046-string-input-visitor-Fix-uint64-par.patch - 0047-test-string-input-visitor-Add-int-t.patch - 0048-test-string-input-visitor-Add-uint6.patch - 0049-tests-Add-QOM-property-unit-tests.patch - 0050-tests-Add-scsi-disk-test.patch - 0051-virtio-gpu-fix-information-leak-in-.patch - 0052-display-cirrus-ignore-source-pitch-.patch - ipxe-use-gcc6-for-more-compact-code.patch -* SLE patches dropped (accounted for in above listed changes): - 0002-qemu-0.9.0.cvs-binfmt.patch - 0009-block-vmdk-Support-creation-of-SCSI.patch - 0010-linux-user-add-binfmt-wrapper-for-a.patch - 0011-PPC-KVM-Disable-mmu-notifier-check.patch - 0012-linux-user-fix-segfault-deadlock.patch - 0013-linux-user-binfmt-support-host-bina.patch - 0014-linux-user-Ignore-broken-loop-ioctl.patch - 0015-linux-user-lock-tcg.patch - 0016-linux-user-Run-multi-threaded-code-.patch - 0017-linux-user-lock-tb-flushing-too.patch - 0018-linux-user-Fake-proc-cpuinfo.patch - 0019-linux-user-implement-FS_IOC_GETFLAG.patch - 0020-linux-user-implement-FS_IOC_SETFLAG.patch - 0021-linux-user-XXX-disable-fiemap.patch - 0022-slirp-nooutgoing.patch - 0023-vnc-password-file-and-incoming-conn.patch - 0024-linux-user-add-more-blk-ioctls.patch - 0025-linux-user-use-target_ulong.patch - 0026-block-Add-support-for-DictZip-enabl.patch - 0027-block-Add-tar-container-format.patch - 0028-Legacy-Patch-kvm-qemu-preXX-dictzip.patch - 0029-console-add-question-mark-escape-op.patch - 0030-Make-char-muxer-more-robust-wrt-sma.patch - 0031-linux-user-lseek-explicitly-cast-no.patch - 0032-virtfs-proxy-helper-Provide-_u64-f.patch - 0033-configure-Enable-PIE-for-ppc-and-pp.patch - 0034-Raise-soft-address-space-limit-to-h.patch - 0035-increase-x86_64-physical-bits-to-42.patch - 0036-vnc-provide-fake-color-map.patch - 0037-vga-Raise-VRAM-to-16-MiB-for-pc-0.1.patch - 0038-i8254-Fix-migration-from-SLE11-SP2.patch - 0039-acpi_piix4-Fix-migration-from-SLE11.patch - 0040-qtest-Increase-socket-timeout-to-ac.patch - 0041-dictzip-Fix-on-big-endian-systems.patch - 0043-xen_disk-Add-suse-specific-flush-di.patch - 0044-Split-large-discard-requests-from-b.patch - 0045-fix-xen-hvm-direct-kernel-boot.patch - 0046-xen-introduce-dummy-system-device.patch - 0047-xen-write-information-about-support.patch - 0048-xen-add-pvUSB-backend.patch - 0049-xen-move-xen_sysdev-to-xen_backend..patch - 0050-vnc-add-configurable-keyboard-delay.patch - 0051-xen-SUSE-xenlinux-unplug-for-emulat.patch - 0052-configure-add-echo_version-helper.patch - 0053-configure-support-vte-2.91.patch - 0054-scsi-esp-fix-migration.patch - 0055-hw-arm-virt-mark-the-PCIe-host-cont.patch - 0056-xen-when-removing-a-backend-don-t-r.patch - 0057-xen-drain-submit-queue-in-xen-usb-b.patch - 0058-qcow2-avoid-extra-flushes-in-qcow2.patch - 0059-qemu-bridge-helper-reduce-security-.patch - 0060-xen-use-a-common-function-for-pv-an.patch - 0061-xen_platform-unplug-also-SCSI-disks.patch - 0062-virtio-check-vring-descriptor-buffe.patch - 0063-net-vmxnet3-check-for-device_active.patch - 0064-net-vmxnet-initialise-local-tx-desc.patch - 0065-scsi-pvscsi-avoid-infinite-loop-whi.patch - 0066-ARM-KVM-Enable-in-kernel-timers-wit.patch - 0067-hw-net-Fix-a-heap-overflow-in-xlnx..patch - 0068-vmsvga-correct-bitmap-and-pixmap-si.patch - 0069-usb-xhci-fix-memory-leak-in-usb_xhc.patch - 0070-virtio-add-check-for-descriptor-s-m.patch - 0071-net-mcf-limit-buffer-descriptor-cou.patch - 0072-usb-ehci-fix-memory-leak-in-ehci_pr.patch - 0073-xhci-limit-the-number-of-link-trbs-.patch - 0074-9pfs-allocate-space-for-guest-origi.patch - 0075-9pfs-fix-memory-leak-in-v9fs_link.patch - 0076-9pfs-fix-potential-host-memory-leak.patch - 0077-9pfs-fix-memory-leak-in-v9fs_write.patch - 0078-char-serial-check-divider-value-aga.patch - 0079-net-pcnet-check-rx-tx-descriptor-ri.patch - 0080-net-eepro100-fix-memory-leak-in-dev.patch - 0081-net-rocker-set-limit-to-DMA-buffer-.patch - 0082-net-rtl8139-limit-processing-of-rin.patch - 0083-audio-intel-hda-check-stream-entry-.patch - 0084-virtio-gpu-fix-memory-leak-in-virti.patch - 0085-9pfs-fix-integer-overflow-issue-in-.patch - 0086-dma-rc4030-limit-interval-timer-rel.patch - 0087-net-imx-limit-buffer-descriptor-cou.patch - 0088-target-i386-Implement-CPUID-0xB-Ext.patch - 0089-target-i386-present-virtual-L3-cach.patch - 0090-migration-fix-inability-to-save-VM-.patch - 0091-ui-gtk-Fix-a-runtime-warning-on-vte.patch - 0092-gtk-don-t-leak-the-GtkBorder-with-V.patch - 0093-xen-fix-ioreq-handling.patch - 0094-macio-Use-blk_drain-instead-of-blk_.patch - 0095-rbd-Switch-rbd_start_aio-to-byte-ba.patch - 0096-virtio-blk-Release-s-rq-queue-at-sy.patch - 0097-virtio-blk-Remove-stale-comment-abo.patch - 0098-block-reintroduce-bdrv_flush_all.patch - 0099-qemu-use-bdrv_flush_all-for-vm_stop.patch - 0100-block-backend-remove-blkflush_all.patch - 0101-char-fix-missing-return-in-error-pa.patch - 0102-rbd-shift-byte-count-as-a-64-bit-va.patch - 0103-mirror-use-bdrv_drained_begin-bdrv_.patch - 0104-block-curl-Use-BDRV_SECTOR_SIZE.patch - 0105-block-curl-Fix-return-value-from-cu.patch - 0106-block-curl-Remember-all-sockets.patch - 0107-block-curl-Do-not-wait-for-data-bey.patch - 0108-virtio-allow-per-device-class-legac.patch - 0109-virtio-net-mark-VIRTIO_NET_F_GSO-as.patch - 0110-vhost-adapt-vhost_verify_ring_mappi.patch - 0111-ivshmem-Fix-64-bit-memory-bar-confi.patch - 0112-intel_iommu-fix-incorrect-device-in.patch - 0113-9pfs-fix-information-leak-in-xattr-.patch - 0114-9pfs-fix-memory-leak-in-v9fs_xattrc.patch - 0115-net-mcf-check-receive-buffer-size-r.patch - 0116-virtio-gpu-fix-memory-leak-in-updat.patch - 0117-virtio-gpu-fix-information-leak-in-.patch - 0118-9pfs-adjust-the-order-of-resource-c.patch - 0119-9pfs-add-cleanup-operation-in-FileO.patch - 0120-9pfs-add-cleanup-operation-for-hand.patch - 0121-9pfs-add-cleanup-operation-for-prox.patch - 0122-virtio-gpu-call-cleanup-mapping-fun.patch - 0123-string-input-visitor-Fix-uint64-par.patch - 0124-test-string-input-visitor-Add-int-t.patch - 0125-test-string-input-visitor-Add-uint6.patch - 0126-tests-Add-QOM-property-unit-tests.patch - 0127-tests-Add-scsi-disk-test.patch - 0128-usb-ehci-fix-memory-leak-in-ehci_in.patch - 0129-usbredir-free-vm_change_state_handl.patch - 0130-virtio-gpu-fix-information-leak-in-.patch - ipxe-ath9k-Fix-buffer-overrun-for-ar9287.patch - ipxe-ath-Fix-building-with-GCC-6.patch - ipxe-efi-fix-garbage-bytes-in-device-path.patch - ipxe-efi-fix-uninitialised-data-in-HII.patch - ipxe-legacy-Fix-building-with-GCC-6.patch - ipxe-mucurses-Fix-GCC-6-nonnull-compare-errors.patch - ipxe-sis190-Fix-building-with-GCC-6.patch - ipxe-skge-Fix-building-with-GCC-6.patch - ipxe-util-v5.24-perl-errors-on-redeclare.patch -- SLE CVE, FATE, and bugzilla references not otherwise listed in - this changelog file. The intent of this list is to indicate that - the fix or feature continues the line of inheritance in the - development stream of this package. The list is intended to - satisfy searches only - refer to the SLE-12-SP2 changelog file - for additional details. -* fate#314468 fate#314497 fate#315125 fate#315467 fate#317015 - fate#317741 fate#317763 fate#318349 fate#319660 fate#319979 - fate#321010 -* bnc#812983 bnc#869026 bnc#869746 bnc#874413 bnc#875582 bnc#875870 - bnc#877642 bnc#877645 bnc#878541 bsc#882405 bsc#886378 bnc#893339 - bnc#893892 bnc#895369 bnc#896726 bnc#897654 bnc#905097 bnc#907805 - bnc#908380 bnc#914521 bsc#924018 bsc#929339 bsc#932267 bsc#932770 - bsc#933981 bsc#936537 bsc#937125 bsc#938344 bsc#940929 bsc#942845 - bsc#943446 bsc#944697 bsc#945404 bsc#945987 bsc#945989 bsc#946020 - bsc#947159 bnc#953518 bsc#954864 bsc#956829 bsc#957162 bsc#958491 - bsc#958917 bsc#959005 bsc#959386 bsc#960334 bsc#960708 bsc#960725 - bsc#960835 bsc#961333 bsc#961556 bsc#961691 bsc#962320 bsc#963782 - bsc#964413 bsc#970791 bsc#974141 bsc#978158 bsc#979473 bsc#982365 - bsc#989655 bsc#991466 bsc#994771 bsc#994774 bsc#996441 bsc#997858 - bsc#999212 - bsc#1001151 bsc#1002116 bsc#1005353 boo#1007263 bsc#1007769 - bsc#1008519 bsc#1009109 bsc#1013285 bsc#1013341 bsc#1013764 - bsc#1013767 bsc#1014109 bsc#1014110 bsc#1014111 bsc#1014112 - bsc#1014256 bsc#1014514 bsc#1014702 bsc#1015169 bsc#1016779 -* CVE-2014-0222 CVE-2014-0223 CVE-2014-3461 CVE-2014-3640 CVE-2014-7840 - CVE-2014-8106 CVE-2015-1779 CVE-2015-3209 CVE-2015-4037 CVE-2015-5154 - CVE-2015-5225 CVE-2015-5278 CVE-2015-5279 CVE-2015-5745 CVE-2015-6815 - CVE-2015-6855 CVE-2015-7295 CVE-2015-7512 CVE-2015-7549 CVE-2015-8345 - CVE-2015-8504 CVE-2015-8558 CVE-2015-8567 CVE-2015-8568 CVE-2015-8613 - CVE-2015-8619 CVE-2015-8743 CVE-2015-8744 CVE-2015-8745 CVE-2016-1568 - CVE-2016-1714 CVE-2016-1922 CVE-2016-1981 CVE-2016-2198 CVE-2016-3710 - CVE-2016-6490 CVE-2016-6833 CVE-2016-6888 CVE-2016-7116 CVE-2016-7155 - CVE-2016-7161 CVE-2016-9381 CVE-2016-9776 CVE-2016-9845 CVE-2016-9846 - CVE-2016-9907 CVE-2016-9908 CVE-2016-9911 CVE-2016-9912 CVE-2016-9913 - CVE-2016-9921 CVE-2016-9922 - -------------------------------------------------------------------- -Sat Nov 19 15:24:08 UTC 2016 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.7 -* Patches added: - 0069-roms-Makefile-pass-a-packaging-time.patch - -------------------------------------------------------------------- -Thu Nov 10 21:49:18 UTC 2016 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.7 -* Patches added: - 0041-vmsvga-correct-bitmap-and-pixmap-si.patch - 0042-scsi-mptconfig-fix-an-assert-expres.patch - 0043-scsi-mptconfig-fix-misuse-of-MPTSAS.patch - 0044-scsi-pvscsi-limit-loop-to-fetch-SG-.patch - 0045-usb-xhci-fix-memory-leak-in-usb_xhc.patch - 0046-scsi-mptsas-use-g_new0-to-allocate-.patch - 0047-scsi-pvscsi-limit-process-IO-loop-t.patch - 0048-virtio-add-check-for-descriptor-s-m.patch - 0049-net-mcf-limit-buffer-descriptor-cou.patch - 0050-usb-ehci-fix-memory-leak-in-ehci_pr.patch - 0051-xhci-limit-the-number-of-link-trbs-.patch - 0052-9pfs-allocate-space-for-guest-origi.patch - 0053-9pfs-fix-memory-leak-in-v9fs_link.patch - 0054-9pfs-fix-potential-host-memory-leak.patch - 0055-9pfs-fix-information-leak-in-xattr-.patch - 0056-9pfs-fix-memory-leak-in-v9fs_xattrc.patch - 0057-9pfs-fix-memory-leak-in-v9fs_write.patch - 0058-char-serial-check-divider-value-aga.patch - 0059-net-pcnet-check-rx-tx-descriptor-ri.patch - 0060-net-eepro100-fix-memory-leak-in-dev.patch - 0061-net-rocker-set-limit-to-DMA-buffer-.patch - 0062-net-vmxnet-initialise-local-tx-desc.patch - 0063-net-rtl8139-limit-processing-of-rin.patch - 0064-audio-intel-hda-check-stream-entry-.patch - 0065-virtio-gpu-fix-memory-leak-in-virti.patch - 0066-9pfs-fix-integer-overflow-issue-in-.patch - 0067-dma-rc4030-limit-interval-timer-rel.patch - 0068-net-imx-limit-buffer-descriptor-cou.patch - -------------------------------------------------------------------- -Mon Nov 7 16:14:20 UTC 2016 - afaerber@suse.de - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.7 -* Patch updated: - 0040-linux-user-skip-0-flag-from-proc-se.patch -> 0040-linux-user-remove-all-traces-of-qem.patch - -------------------------------------------------------------------- -Tue Sep 27 16:18:35 UTC 2016 - afaerber@suse.de - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.7 -* Fix issue with diffutils under qemu-ARCH-binfmt (schwab) - 0040-linux-user-skip-0-flag-from-proc-se.patch - -------------------------------------------------------------------- -Thu Sep 22 15:04:48 UTC 2016 - afaerber@suse.de - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.7 -* Fix ppc test failure - 0039-Fix-tlb_vaddr_to_host-with-CONFIG_U.patch - -------------------------------------------------------------------- -Wed Sep 21 13:55:35 UTC 2016 - afaerber@suse.de - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.7 -* Patches dropped: - 0034-build-link-with-libatomic-on-powerp.patch -* Patches renamed: - 0035-xen-SUSE-xenlinux-unplug-for-emulat.patch -> 0034-xen-SUSE-xenlinux-unplug-for-emulat.patch - 0036-qemu-bridge-helper-reduce-security-.patch -> 0035-qemu-bridge-helper-reduce-security-.patch - 0037-qemu-binfmt-conf-use-qemu-ARCH-binf.patch -> 0036-qemu-binfmt-conf-use-qemu-ARCH-binf.patch - 0038-configure-Fix-detection-of-seccomp-.patch -> 0037-configure-Fix-detection-of-seccomp-.patch - 0039-linux-user-properly-test-for-infini.patch -> 0038-linux-user-properly-test-for-infini.patch - -------------------------------------------------------------------- -Sat Sep 10 09:27:57 UTC 2016 - afaerber@suse.de - -- Updated to v2.7.0: See http://wiki.qemu-project.org/ChangeLog/2.7 -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.7 -- Properly test for infinite timeout in poll (schwab) - 0039-linux-user-properly-test-for-infini.patch - -------------------------------------------------------------------- -Wed Aug 31 13:40:20 UTC 2016 - afaerber@suse.de - -- Update to v2.7.0-rc5: See http://wiki.qemu-project.org/ChangeLog/2.7 - -------------------------------------------------------------------- -Tue Aug 23 16:04:11 UTC 2016 - afaerber@suse.de - -- Updated to v2.7.0-rc2: See http://wiki.qemu-project.org/ChangeLog/2.7 -* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.7 -* Patches dropped: - 0002-qemu-0.9.0.cvs-binfmt.patch (script rewritten upstream) - 0009-block-vmdk-Support-creation-of-SCSI.patch (deprecated) - 0014-linux-user-Ignore-broken-loop-ioctl.patch (implemented upstream) - 0024-linux-user-add-more-blk-ioctls.patch (more implemented upstream) - 0034-qtest-Increase-socket-timeout.patch (increased further upstream) - 0036-configure-Enable-libseccomp-for-ppc.patch (enabled upstream) - 0038-block-split-large-discard-requests-.patch - 0041-xen-introduce-dummy-system-device.patch - 0042-xen-write-information-about-support.patch - 0043-xen-add-pvUSB-backend.patch - 0044-xen-move-xen_sysdev-to-xen_backend..patch - 0045-vnc-add-configurable-keyboard-delay.patch - 0046-configure-add-echo_version-helper.patch - 0047-configure-support-vte-2.91.patch - 0048-hw-arm-virt-mark-the-PCIe-host-cont.patch - 0050-scsi-esp-fix-migration.patch - 0051-xen-when-removing-a-backend-don-t-r.patch - 0052-xen-drain-submit-queue-in-xen-usb-b.patch - 0053-qcow2-avoid-extra-flushes-in-qcow2.patch - 0055-xen-use-a-common-function-for-pv-an.patch -* Patches renamed: - 0010-linux-user-add-binfmt-wrapper-for-a.patch -> 0009-linux-user-add-binfmt-wrapper-for-a.patch - 0011-PPC-KVM-Disable-mmu-notifier-check.patch -> 0010-PPC-KVM-Disable-mmu-notifier-check.patch - 0012-linux-user-fix-segfault-deadlock.patch -> 0011-linux-user-fix-segfault-deadlock.patch - 0013-linux-user-binfmt-support-host-bina.patch -> 0012-linux-user-binfmt-support-host-bina.patch - 0015-linux-user-lock-tcg.patch -> 0013-linux-user-lock-tcg.patch - 0016-linux-user-Run-multi-threaded-code-.patch -> 0014-linux-user-Run-multi-threaded-code-.patch - 0017-linux-user-lock-tb-flushing-too.patch -> 0015-linux-user-lock-tb-flushing-too.patch - 0018-linux-user-Fake-proc-cpuinfo.patch -> 0016-linux-user-Fake-proc-cpuinfo.patch - 0019-linux-user-implement-FS_IOC_GETFLAG.patch -> 0017-linux-user-implement-FS_IOC_GETFLAG.patch - 0020-linux-user-implement-FS_IOC_SETFLAG.patch -> 0018-linux-user-implement-FS_IOC_SETFLAG.patch - 0021-linux-user-XXX-disable-fiemap.patch -> 0019-linux-user-XXX-disable-fiemap.patch - 0022-slirp-nooutgoing.patch -> 0020-slirp-nooutgoing.patch - 0023-vnc-password-file-and-incoming-conn.patch -> 0021-vnc-password-file-and-incoming-conn.patch - 0025-linux-user-use-target_ulong.patch -> 0022-linux-user-use-target_ulong.patch - 0026-block-Add-support-for-DictZip-enabl.patch -> 0023-block-Add-support-for-DictZip-enabl.patch - 0027-block-Add-tar-container-format.patch -> 0024-block-Add-tar-container-format.patch - 0028-Legacy-Patch-kvm-qemu-preXX-dictzip.patch -> 0025-Legacy-Patch-kvm-qemu-preXX-dictzip.patch - 0029-console-add-question-mark-escape-op.patch -> 0026-console-add-question-mark-escape-op.patch - 0030-Make-char-muxer-more-robust-wrt-sma.patch -> 0027-Make-char-muxer-more-robust-wrt-sma.patch - 0031-linux-user-lseek-explicitly-cast-no.patch -> 0028-linux-user-lseek-explicitly-cast-no.patch - 0032-virtfs-proxy-helper-Provide-__u64-f.patch -> 0029-virtfs-proxy-helper-Provide-__u64-f.patch - 0033-configure-Enable-PIE-for-ppc-and-pp.patch -> 0030-configure-Enable-PIE-for-ppc-and-pp.patch - 0035-AIO-Reduce-number-of-threads-for-32.patch -> 0031-AIO-Reduce-number-of-threads-for-32.patch - 0037-dictzip-Fix-on-big-endian-systems.patch -> 0032-dictzip-Fix-on-big-endian-systems.patch - 0039-xen_disk-Add-suse-specific-flush-di.patch -> 0033-xen_disk-Add-suse-specific-flush-di.patch - 0040-build-link-with-libatomic-on-powerp.patch -> 0034-build-link-with-libatomic-on-powerp.patch - 0049-xen-SUSE-xenlinux-unplug-for-emulat.patch -> 0035-xen-SUSE-xenlinux-unplug-for-emulat.patch - 0054-qemu-bridge-helper-reduce-security-.patch -> 0036-qemu-bridge-helper-reduce-security-.patch -* Patches added: - 0002-qemu-binfmt-conf-Modify-default-pat.patch -* Drop renamed trace-events-all file -* Use qemu-ARCH-binfmt again with the new qemu-binfmt-conf.sh (schwab) - 0037-qemu-binfmt-conf-use-qemu-ARCH-binf.patch -* Patches added: - 0038-configure-Fix-detection-of-seccomp-.patch - -------------------------------------------------------------------- -Wed Aug 17 20:25:13 UTC 2016 - brogers@suse.com - -- Update to v2.6.1 a stable, bug-fix-only release (fate#316228) -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.6 -* Patches dropped (upstreamed): - 0041-net-mipsnet-check-packet-length-aga.patch - 0042-i386-kvmvapic-initialise-imm32-vari.patch - 0043-esp-check-command-buffer-length-bef.patch - 0044-esp-check-dma-length-before-reading.patch - 0045-scsi-pvscsi-check-command-descripto.patch - 0046-scsi-mptsas-infinite-loop-while-fet.patch - 0047-vga-add-sr_vbe-register-set.patch - 0048-scsi-megasas-use-appropriate-proper.patch - 0049-scsi-megasas-check-read_queue_head-.patch - 0050-scsi-megasas-null-terminate-bios-ve.patch - 0051-vmsvga-move-fifo-sanity-checks-to-v.patch - 0052-vmsvga-don-t-process-more-than-1024.patch - 0053-block-iscsi-avoid-potential-overflo.patch - 0054-scsi-esp-check-TI-buffer-index-befo.patch - 0060-scsi-megasas-initialise-local-confi.patch - 0065-scsi-esp-check-buffer-length-before.patch - 0066-scsi-esp-respect-FIFO-invariant-aft.patch - 0067-pci-assign-Move-Invalid-ROM-error-m.patch - 0068-Xen-PCI-passthrough-fix-passthrough.patch - 0069-scsi-esp-make-cmdbuf-big-enough-for.patch - 0071-virtio-error-out-if-guest-exceeds-v.patch -* Patches renamed: - 0055-xen-introduce-dummy-system-device.patch - -> 0041-xen-introduce-dummy-system-device.patch - 0056-xen-write-information-about-support.patch - -> 0042-xen-write-information-about-support.patch - 0057-xen-add-pvUSB-backend.patch - -> 0043-xen-add-pvUSB-backend.patch - 0058-xen-move-xen_sysdev-to-xen_backend..patch - -> 0044-xen-move-xen_sysdev-to-xen_backend..patch - 0059-vnc-add-configurable-keyboard-delay.patch - -> 0045-vnc-add-configurable-keyboard-delay.patch - 0061-configure-add-echo_version-helper.patch - -> 0046-configure-add-echo_version-helper.patch - 0062-configure-support-vte-2.91.patch - -> 0047-configure-support-vte-2.91.patch - 0063-hw-arm-virt-mark-the-PCIe-host-cont.patch - -> 0048-hw-arm-virt-mark-the-PCIe-host-cont.patch - 0064-xen-SUSE-xenlinux-unplug-for-emulat.patch - -> 0049-xen-SUSE-xenlinux-unplug-for-emulat.patch - 0070-scsi-esp-fix-migration.patch - -> 0050-scsi-esp-fix-migration.patch - 0072-xen-when-removing-a-backend-don-t-r.patch - -> 0051-xen-when-removing-a-backend-don-t-r.patch - 0073-xen-drain-submit-queue-in-xen-usb-b.patch - -> 0052-xen-drain-submit-queue-in-xen-usb-b.patch - 0074-qcow2-avoid-extra-flushes-in-qcow2.patch - -> 0053-qcow2-avoid-extra-flushes-in-qcow2.patch - 0075-qemu-bridge-helper-reduce-security-.patch - -> 0054-qemu-bridge-helper-reduce-security-.patch - 0076-xen-use-a-common-function-for-pv-an.patch - -> 0055-xen-use-a-common-function-for-pv-an.patch - -------------------------------------------------------------------- -Wed Aug 3 17:09:11 UTC 2016 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.6 -* Patches dropped: - 0058-usb-Fix-conditions-that-xen-usb.c-i.patch -* Patches added: - 0058-xen-move-xen_sysdev-to-xen_backend..patch - -------------------------------------------------------------------- -Wed Aug 3 13:51:47 UTC 2016 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.6 -* Patches added: - 0064-xen-SUSE-xenlinux-unplug-for-emulat.patch - 0065-scsi-esp-check-buffer-length-before.patch - 0066-scsi-esp-respect-FIFO-invariant-aft.patch - 0067-pci-assign-Move-Invalid-ROM-error-m.patch - 0068-Xen-PCI-passthrough-fix-passthrough.patch - 0069-scsi-esp-make-cmdbuf-big-enough-for.patch - 0070-scsi-esp-fix-migration.patch - 0071-virtio-error-out-if-guest-exceeds-v.patch - 0072-xen-when-removing-a-backend-don-t-r.patch - 0073-xen-drain-submit-queue-in-xen-usb-b.patch - 0074-qcow2-avoid-extra-flushes-in-qcow2.patch - 0075-qemu-bridge-helper-reduce-security-.patch - 0076-xen-use-a-common-function-for-pv-an.patch - -------------------------------------------------------------------- -Thu Jul 28 10:53:18 UTC 2016 - agraf@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.6 -* Patches added: - 0063-hw-arm-virt-mark-the-PCIe-host-cont.patch - -------------------------------------------------------------------- -Thu Jul 14 19:38:39 UTC 2016 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.6 -* Patches added: - 0061-configure-add-echo_version-helper.patch - 0062-configure-support-vte-2.91.patch - -------------------------------------------------------------------- -Thu Jul 7 16:16:40 UTC 2016 - agraf@suse.com - -- Remove deprecated patch "work-around-SA_RESTART-race" (boo#982208) -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.6 -* Patches dropped: - 0002-XXX-work-around-SA_RESTART-race-wit.patch - 0003-qemu-0.9.0.cvs-binfmt.patch - 0004-qemu-cvs-alsa_bitfield.patch - 0005-qemu-cvs-alsa_ioctl.patch - 0006-qemu-cvs-alsa_mmap.patch - 0007-qemu-cvs-gettimeofday.patch - 0008-qemu-cvs-ioctl_debug.patch - 0009-qemu-cvs-ioctl_nodirection.patch - 0010-block-vmdk-Support-creation-of-SCSI.patch - 0011-linux-user-add-binfmt-wrapper-for-a.patch - 0012-PPC-KVM-Disable-mmu-notifier-check.patch - 0013-linux-user-fix-segfault-deadlock.patch - 0014-linux-user-binfmt-support-host-bina.patch - 0015-linux-user-Ignore-broken-loop-ioctl.patch - 0016-linux-user-lock-tcg.patch - 0017-linux-user-Run-multi-threaded-code-.patch - 0018-linux-user-lock-tb-flushing-too.patch - 0019-linux-user-Fake-proc-cpuinfo.patch - 0020-linux-user-implement-FS_IOC_GETFLAG.patch - 0021-linux-user-implement-FS_IOC_SETFLAG.patch - 0022-linux-user-XXX-disable-fiemap.patch - 0023-slirp-nooutgoing.patch - 0024-vnc-password-file-and-incoming-conn.patch - 0025-linux-user-add-more-blk-ioctls.patch - 0026-linux-user-use-target_ulong.patch - 0027-block-Add-support-for-DictZip-enabl.patch - 0028-block-Add-tar-container-format.patch - 0029-Legacy-Patch-kvm-qemu-preXX-dictzip.patch - 0030-console-add-question-mark-escape-op.patch - 0031-Make-char-muxer-more-robust-wrt-sma.patch - 0032-linux-user-lseek-explicitly-cast-no.patch - 0033-virtfs-proxy-helper-Provide-__u64-f.patch - 0034-configure-Enable-PIE-for-ppc-and-pp.patch - 0035-qtest-Increase-socket-timeout.patch - 0036-AIO-Reduce-number-of-threads-for-32.patch - 0037-configure-Enable-libseccomp-for-ppc.patch - 0038-dictzip-Fix-on-big-endian-systems.patch - 0039-block-split-large-discard-requests-.patch - 0040-xen_disk-Add-suse-specific-flush-di.patch - 0041-build-link-with-libatomic-on-powerp.patch - 0042-net-mipsnet-check-packet-length-aga.patch - 0043-i386-kvmvapic-initialise-imm32-vari.patch - 0044-esp-check-command-buffer-length-bef.patch - 0045-esp-check-dma-length-before-reading.patch - 0046-scsi-pvscsi-check-command-descripto.patch - 0047-scsi-mptsas-infinite-loop-while-fet.patch - 0048-vga-add-sr_vbe-register-set.patch - 0049-scsi-megasas-use-appropriate-proper.patch - 0050-scsi-megasas-check-read_queue_head-.patch - 0051-scsi-megasas-null-terminate-bios-ve.patch - 0052-vmsvga-move-fifo-sanity-checks-to-v.patch - 0053-vmsvga-don-t-process-more-than-1024.patch - 0054-block-iscsi-avoid-potential-overflo.patch - 0055-scsi-esp-check-TI-buffer-index-befo.patch - 0056-xen-introduce-dummy-system-device.patch - 0057-xen-write-information-about-support.patch - 0058-xen-add-pvUSB-backend.patch - 0059-usb-Fix-conditions-that-xen-usb.c-i.patch - 0060-vnc-add-configurable-keyboard-delay.patch - 0061-scsi-megasas-initialise-local-confi.patch -* Patches added: - 0002-qemu-0.9.0.cvs-binfmt.patch - 0003-qemu-cvs-alsa_bitfield.patch - 0004-qemu-cvs-alsa_ioctl.patch - 0005-qemu-cvs-alsa_mmap.patch - 0006-qemu-cvs-gettimeofday.patch - 0007-qemu-cvs-ioctl_debug.patch - 0008-qemu-cvs-ioctl_nodirection.patch - 0009-block-vmdk-Support-creation-of-SCSI.patch - 0010-linux-user-add-binfmt-wrapper-for-a.patch - 0011-PPC-KVM-Disable-mmu-notifier-check.patch - 0012-linux-user-fix-segfault-deadlock.patch - 0013-linux-user-binfmt-support-host-bina.patch - 0014-linux-user-Ignore-broken-loop-ioctl.patch - 0015-linux-user-lock-tcg.patch - 0016-linux-user-Run-multi-threaded-code-.patch - 0017-linux-user-lock-tb-flushing-too.patch - 0018-linux-user-Fake-proc-cpuinfo.patch - 0019-linux-user-implement-FS_IOC_GETFLAG.patch - 0020-linux-user-implement-FS_IOC_SETFLAG.patch - 0021-linux-user-XXX-disable-fiemap.patch - 0022-slirp-nooutgoing.patch - 0023-vnc-password-file-and-incoming-conn.patch - 0024-linux-user-add-more-blk-ioctls.patch - 0025-linux-user-use-target_ulong.patch - 0026-block-Add-support-for-DictZip-enabl.patch - 0027-block-Add-tar-container-format.patch - 0028-Legacy-Patch-kvm-qemu-preXX-dictzip.patch - 0029-console-add-question-mark-escape-op.patch - 0030-Make-char-muxer-more-robust-wrt-sma.patch - 0031-linux-user-lseek-explicitly-cast-no.patch - 0032-virtfs-proxy-helper-Provide-__u64-f.patch - 0033-configure-Enable-PIE-for-ppc-and-pp.patch - 0034-qtest-Increase-socket-timeout.patch - 0035-AIO-Reduce-number-of-threads-for-32.patch - 0036-configure-Enable-libseccomp-for-ppc.patch - 0037-dictzip-Fix-on-big-endian-systems.patch - 0038-block-split-large-discard-requests-.patch - 0039-xen_disk-Add-suse-specific-flush-di.patch - 0040-build-link-with-libatomic-on-powerp.patch - 0041-net-mipsnet-check-packet-length-aga.patch - 0042-i386-kvmvapic-initialise-imm32-vari.patch - 0043-esp-check-command-buffer-length-bef.patch - 0044-esp-check-dma-length-before-reading.patch - 0045-scsi-pvscsi-check-command-descripto.patch - 0046-scsi-mptsas-infinite-loop-while-fet.patch - 0047-vga-add-sr_vbe-register-set.patch - 0048-scsi-megasas-use-appropriate-proper.patch - 0049-scsi-megasas-check-read_queue_head-.patch - 0050-scsi-megasas-null-terminate-bios-ve.patch - 0051-vmsvga-move-fifo-sanity-checks-to-v.patch - 0052-vmsvga-don-t-process-more-than-1024.patch - 0053-block-iscsi-avoid-potential-overflo.patch - 0054-scsi-esp-check-TI-buffer-index-befo.patch - 0055-xen-introduce-dummy-system-device.patch - 0056-xen-write-information-about-support.patch - 0057-xen-add-pvUSB-backend.patch - 0058-usb-Fix-conditions-that-xen-usb.c-i.patch - 0059-vnc-add-configurable-keyboard-delay.patch - 0060-scsi-megasas-initialise-local-confi.patch - -------------------------------------------------------------------- -Fri Jun 10 20:25:33 UTC 2016 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.6 -* Patches added: - 0061-scsi-megasas-initialise-local-confi.patch - -------------------------------------------------------------------- -Fri Jun 10 13:35:11 UTC 2016 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.6 -* Patches added: - 0049-scsi-megasas-use-appropriate-proper.patch - 0050-scsi-megasas-check-read_queue_head-.patch - 0051-scsi-megasas-null-terminate-bios-ve.patch - 0052-vmsvga-move-fifo-sanity-checks-to-v.patch - 0053-vmsvga-don-t-process-more-than-1024.patch - 0054-block-iscsi-avoid-potential-overflo.patch - 0055-scsi-esp-check-TI-buffer-index-befo.patch - 0056-xen-introduce-dummy-system-device.patch - 0057-xen-write-information-about-support.patch - 0058-xen-add-pvUSB-backend.patch - 0059-usb-Fix-conditions-that-xen-usb.c-i.patch - 0060-vnc-add-configurable-keyboard-delay.patch - -------------------------------------------------------------------- -Thu May 26 16:23:33 UTC 2016 - brogers@suse.com - -- Address various security/stability issues -* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.6 -* Fix OOB access in MIPSnet emulated controller CVE-2016-4002 (bsc#975136) - 0042-net-mipsnet-check-packet-length-aga.patch -* Fix possible host data leakage to guest from TPR access - CVE-2016-4020 (bsc#975700) - 0043-i386-kvmvapic-initialise-imm32-vari.patch -* Avoid OOB access in 53C9X emulation CVE-2016-4439 (bsc#980711) - 0044-esp-check-command-buffer-length-bef.patch -* Avoid OOB access in 53C9X emulation CVE-2016-4441 (bsc#980723) - 0045-esp-check-dma-length-before-reading.patch -* Avoid OOB access in Vmware PV SCSI emulation CVE-2016-4952 (bsc#981266) - 0046-scsi-pvscsi-check-command-descripto.patch -* Avoid potential DoS in LSI SAS1068 emulation CVE-2016-4964 (bsc#981399) - 0047-scsi-mptsas-infinite-loop-while-fet.patch -* Fix regression in vga behavior - introduced in v2.6.0 CVE-2016-3712 (bsc#978160) - 0048-vga-add-sr_vbe-register-set.patch - -------------------------------------------------------------------- -Wed May 25 21:42:12 UTC 2016 - brogers@suse.com - -- Update to v2.6.0: See http://wiki.qemu-project.org/ChangeLog/2.6 - -------------------------------------------------------------------- -Thu Apr 28 15:21:54 UTC 2016 - afaerber@suse.de - -- Bump copyright in qemu-linux-user.spec.in - -------------------------------------------------------------------- -Fri Apr 22 16:37:37 UTC 2016 - afaerber@suse.de - -- Update to v2.6.0-rc3: See http://wiki.qemu-project.org/ChangeLog/2.6 -* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.6 -* Patches dropped: - 0041-tests-Use-correct-config-param-for-.patch -* Patches renamed: - 0042-build-link-with-libatomic-on-powerp.patch -> 0041-build-link-with-libatomic-on-powerp.patch - -------------------------------------------------------------------- -Fri Apr 1 11:13:07 UTC 2016 - olaf@aepfle.de - -- Update to v2.6.0-rc0: See http://wiki.qemu-project.org/ChangeLog/2.6 -* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.6 -* Accept every size in DISCARD request from a guest (bsc#964427) - 0039-block-split-large-discard-requests-.patch -* Recognize libxl flag to disable flush in block device (bsc#879425) - 0040-xen_disk-Add-suse-specific-flush-di.patch -* Use correct flag for crypto tests - 0041-tests-Use-correct-config-param-for-.patch -* Fix build on powerpc: - 0042-build-link-with-libatomic-on-powerp.patch -* Patches dropped (upstreamed): - seabios_checkrom_typo.patch - seabios_avoid_smbios_signature_string.patch - -------------------------------------------------------------------- -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 - -- 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:07 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:29 UTC 2015 - afaerber@suse.de - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.4 -* Fix aarch64 TCG: - 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:49 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:41 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:37 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:17 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:53 UTC 2015 - agraf@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3 -- Fix illegal instruction for s390x SLE12 guest binaries -* Patches added: - 0040-s390x-Add-interlocked-access-facili.patch - -------------------------------------------------------------------- -Mon May 11 12:21:16 UTC 2015 - afaerber@suse.de - -- Limit %check to architectures prepared for it - -------------------------------------------------------------------- -Sun May 10 14:55:31 UTC 2015 - afaerber@suse.de - -- Add %check executing /usr/bin/ls via qemu-HOSTARCH - -------------------------------------------------------------------- -Wed May 6 21:54:05 UTC 2015 - agraf@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3 -- Fix potential segmentation fault in - 0037-linux-user-Allocate-thunk-size-dyna.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:53 UTC 2015 - agraf@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3 -- Fix s390x stoc instructions - 0039-s390x-Fix-stoc-direction.patch - -------------------------------------------------------------------- -Tue Apr 14 16:06:43 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:39 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:51 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:36 UTC 2015 - afaerber@suse.de - -- Fix 64-bit TCG stores on 32-bit Big Endian hosts (ppc) - 0038-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch -* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3 - -------------------------------------------------------------------- -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:43 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:35 UTC 2015 - afaerber@suse.de - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3 -- Fix cpu_copy() not actually copying the CPU state - 0045-linux-user-fix-broken-cpu_copy.patch - -------------------------------------------------------------------- -Sat Mar 21 18:32:13 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:32 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:51:39 UTC 2015 - afaerber@suse.de - -- Update company name in spec file templates -- Fix splice syscall argument handling (by Andreas_Schwab) - 0038-linux-user-Fix-emulation-of-splice-.patch -* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.2 - -------------------------------------------------------------------- -Wed Jan 14 00:38:41 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:10 UTC 2015 - afaerber@suse.de - -- Update to v2.2.0: See http://wiki.qemu-project.org/ChangeLog/2.2 -* Don't re-package trace-events -- 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:03 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 -- Implement missing ioctl to fix parted properly - -------------------------------------------------------------------- -Thu Aug 21 16:14:37 UTC 2014 - afaerber@suse.de - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.1 -- Revert use of %{version} in Source line as it breaks update_git.sh - -------------------------------------------------------------------- -Wed Aug 6 17:29:09 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 13:00:22 UTC 2014 - dimstar@opensuse.org - -- Rename rpmlintrc to %{name}-rpmlintrc. - Follow the packaging guidelines. - -------------------------------------------------------------------- -Fri Jul 25 14:44:47 UTC 2014 - afaerber@suse.de - -- 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:41 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 -* 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 -* Updated update_git.sh accordingly - -------------------------------------------------------------------- -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 -* Dropped patches on rebase: - 0043-arm-translate.c-Fix-smlald-Instruct.patch - 0044-target-arm-A64-fix-unallocated-test.patch -* Package qemu-ppc64le binary -* Modified update_git.sh accordingly - -- Update to v2.1.0-rc1: http://wiki.qemu-project.org/ChangeLog/2.1 -* Modified update_git.sh accordingly - -------------------------------------------------------------------- -Tue May 13 08:17:18 UTC 2014 - afaerber@suse.de - -- ABI fixes for ppc64le TCG - 0045-tcg-ppc64-Support-the-ELFv2-ABI.patch - -------------------------------------------------------------------- -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 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 - -------------------------------------------------------------------- -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 - -------------------------------------------------------------------- -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 -* Drop 0012-linux-user-be-silent-about-capget-f.patch (implemented) -* Update qemu-config-binfmt.sh for aarch64 - -------------------------------------------------------------------- -Tue Apr 1 14:52:02 UTC 2014 - afaerber@suse.de - -- Fix update_git.sh script to not duplicate .patch in filename - -------------------------------------------------------------------- -Fri Mar 28 11:54:19 UTC 2014 - afaerber@suse.de - -- Improve update_git.sh script to use a user-agnostic git symlink - -------------------------------------------------------------------- -Mon Mar 24 15:45:00 UTC 2014 - brogers@suse.com - -- Improve update_git.sh to not change files in OBS if the file - remains unchanged - -------------------------------------------------------------------- -Mon Mar 24 09:41:42 UTC 2014 - afaerber@suse.de - -- Enable libvixl-based disassembler support for aarch64 - -------------------------------------------------------------------- -Tue Mar 18 12:38:28 UTC 2014 - afaerber@suse.de - -- Update to v2.0.0-rc0: Cf. http://wiki.qemu-project.org/ChangeLog/2.0 -* Update update_git.sh script accordingly -* Generate package version automatically from VERSION file -* Drop 0012-linux-user-Ignore-timer_create-sysc.patch (implemented) -* Package new qemu-aarch64 - -------------------------------------------------------------------- -Fri Jan 24 11:20:52 UTC 2014 - afaerber@suse.de - -- Synchronize syscall numbers from Linux v3.13 - 0041-linux-user-sync-syscall-numbers-upt.patch - -------------------------------------------------------------------- -Sat Jan 18 01:19:27 UTC 2014 - afaerber@suse.de - -- Added patch to implement BLKPG ioctl that broke kiwi image builds - 0040-linux-user-Implement-BLKPG-ioctl.pa.patch - -------------------------------------------------------------------- -Fri Jan 17 17:40:21 UTC 2014 - afaerber@suse.de - -- Bump copyright in qemu-linux-user.spec.in - -------------------------------------------------------------------- -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 - -------------------------------------------------------------------- -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) -- Drop patch "fix segmentation fault passing with g2h(x) != x" - It was a mismerge (pointed out by Peter Maydell), cf. - http://git.qemu.org/?p=qemu.git;a=commit;h=732f9e89a1c737f738c445ff24929a1bc137d1a9 - -------------------------------------------------------------------- -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 - -------------------------------------------------------------------- -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 -* Adapt update_git.sh script accordingly - -------------------------------------------------------------------- -Tue Jul 20 13:27:00 UTC 2013 - afaerber@suse.de - -- Clarify through spec file comments that the patch queue is - auto-generated through update_git.sh. - -------------------------------------------------------------------- -Tue Jul 16 02:48:53 UTC 2013 - agraf@suse.com - -- Fix seeking for negative SEEK_CUR seeks - -------------------------------------------------------------------- -Sat May 25 15:50:49 UTC 2013 - afaerber@suse.de - -- Amend licenses list with GPL-2.0 (adopted from kvm package) -- virtfs-proxy-helper.1 shouldn't be installed anymore - -------------------------------------------------------------------- -Fri May 24 19:57:35 UTC 2013 - afaerber@suse.de - -- Fix ppc builds by packaging /emul/ia32-linux (previously in qemu) - and /usr/share/qemu/qemu-i386 - -------------------------------------------------------------------- -Fri May 24 16:28:50 UTC 2013 - afaerber@suse.de - -- Drop unneeded dependencies: SDL, ALSA, bison, cURL, cyrus-sasl, - libaio, libcap, libcap-ng, libgnutls, libjpeg, libpcap, libpng, - pwdutils, timezone -* Reorder BuildRequires alphabetically -- Tidy up suppression of post-build-checks (requested by Adrian) - -------------------------------------------------------------------- -Fri May 24 12:33:23 UTC 2013 - afaerber@suse.de - -- Use %{?_smp_mflags} rather than %{?jobs:-j%jobs} - -------------------------------------------------------------------- -Tue May 21 21:13:25 UTC 2013 - afaerber@suse.de - -- Split off from qemu.spec.in -* Dropped some 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/qemu-linux-user.spec b/qemu-linux-user.spec deleted file mode 100644 index 5e97322..0000000 --- a/qemu-linux-user.spec +++ /dev/null @@ -1,369 +0,0 @@ -# -# spec file for package qemu-linux-user -# -# Copyright (c) 2019 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 https://bugs.opensuse.org/ -# - - -%define build_in_tree 1 - -%define srcname qemu -Name: qemu-linux-user -Url: https://www.qemu.org/ -Summary: CPU emulator for user space -License: BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND MIT -Group: System/Emulators/PC -%define qemuver 4.0.0 -%define srcver 4.0.0 -Version: %qemuver -Release: 0 -Source: https://wiki.qemu.org/download/%{srcname}-%{srcver}.tar.xz -Source99: https://wiki.qemu.org/download/%{srcname}-%{srcver}.tar.xz.sig -Source100: %{srcname}.keyring -Source400: update_git.sh -# Upstream First -- https://wiki.qemu.org/Contribute/SubmitAPatch -# This patch queue is auto-generated from https://github.com/openSUSE/qemu -Patch0001: 0001-XXX-dont-dump-core-on-sigabort.patch -Patch0002: 0002-qemu-binfmt-conf-Modify-default-pat.patch -Patch0003: 0003-qemu-cvs-gettimeofday.patch -Patch0004: 0004-qemu-cvs-ioctl_debug.patch -Patch0005: 0005-qemu-cvs-ioctl_nodirection.patch -Patch0006: 0006-linux-user-add-binfmt-wrapper-for-a.patch -Patch0007: 0007-PPC-KVM-Disable-mmu-notifier-check.patch -Patch0008: 0008-linux-user-binfmt-support-host-bina.patch -Patch0009: 0009-linux-user-Fake-proc-cpuinfo.patch -Patch0010: 0010-linux-user-use-target_ulong.patch -Patch0011: 0011-Make-char-muxer-more-robust-wrt-sma.patch -Patch0012: 0012-linux-user-lseek-explicitly-cast-no.patch -Patch0013: 0013-AIO-Reduce-number-of-threads-for-32.patch -Patch0014: 0014-xen_disk-Add-suse-specific-flush-di.patch -Patch0015: 0015-qemu-bridge-helper-reduce-security-.patch -Patch0016: 0016-qemu-binfmt-conf-use-qemu-ARCH-binf.patch -Patch0017: 0017-linux-user-properly-test-for-infini.patch -Patch0018: 0018-roms-Makefile-pass-a-packaging-time.patch -Patch0019: 0019-Raise-soft-address-space-limit-to-h.patch -Patch0020: 0020-increase-x86_64-physical-bits-to-42.patch -Patch0021: 0021-vga-Raise-VRAM-to-16-MiB-for-pc-0.1.patch -Patch0022: 0022-i8254-Fix-migration-from-SLE11-SP2.patch -Patch0023: 0023-acpi_piix4-Fix-migration-from-SLE11.patch -Patch0024: 0024-Switch-order-of-libraries-for-mpath.patch -Patch0025: 0025-Make-installed-scripts-explicitly-p.patch -Patch0026: 0026-hw-smbios-handle-both-file-formats-.patch -Patch0027: 0027-tests-test-thread-pool-is-racy-add-.patch -Patch0028: 0028-xen-add-block-resize-support-for-xe.patch -Patch0029: 0029-tests-qemu-iotests-Triple-timeout-o.patch -Patch0030: 0030-tests-block-io-test-130-needs-some-.patch -Patch0031: 0031-xen-ignore-live-parameter-from-xen-.patch -Patch0032: 0032-tests-Fix-Makefile-handling-of-chec.patch -Patch0033: 0033-Conditionalize-ui-bitmap-installati.patch -Patch0034: 0034-Revert-target-i386-kvm-add-VMX-migr.patch -Patch0035: 0035-tests-change-error-message-in-test-.patch -Patch0036: 0036-sockets-avoid-string-truncation-war.patch -Patch0037: 0037-hw-usb-hcd-xhci-Fix-GCC-9-build-war.patch -Patch0038: 0038-hw-usb-dev-mtp-Fix-GCC-9-build-warn.patch -Patch0039: 0039-linux-user-avoid-string-truncation-.patch -Patch0040: 0040-linux-user-elfload-Fix-GCC-9-build-.patch -Patch0041: 0041-qxl-avoid-unaligned-pointer-reads-w.patch -Patch0042: 0042-libvhost-user-fix-Waddress-of-packe.patch -Patch0043: 0043-target-i386-define-md-clear-bit.patch -Patch0044: 0044-hw-intc-exynos4210_gic-provide-more.patch -Patch0045: 0045-kbd-state-fix-autorepeat-handling.patch -Patch0046: 0046-target-ppc-ensure-we-get-null-termi.patch -Patch0047: 0047-configure-only-populate-roms-if-sof.patch -Patch0048: 0048-pc-bios-s390-ccw-net-avoid-warning-.patch -Patch0049: 0049-qxl-check-release-info-object.patch -Patch0050: 0050-qemu-bridge-helper-restrict-interfa.patch -Patch0051: 0051-linux-user-fix-to-handle-variably-s.patch -# Please do not add QEMU patches manually here. -# Run update_git.sh to regenerate this queue. -ExcludeArch: s390 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: e2fsprogs-devel -BuildRequires: fdupes -BuildRequires: gcc-c++ -BuildRequires: glib2-devel-static -BuildRequires: glibc-devel-static -BuildRequires: makeinfo -BuildRequires: pcre-devel-static -%if 0%{?suse_version} > 1320 -BuildRequires: python3-base -%else -BuildRequires: python-base -%endif -BuildRequires: zlib-devel-static -# we must not install the qemu-linux-user package when under QEMU build -%if 0%{?qemu_user_space_build:1} -#!BuildIgnore: post-build-checks -%endif - -%description -QEMU provides CPU emulation along with other related capabilities. This package -provides programs to run user space binaries and libraries meant for another -architecture. The syscall interface is intercepted and execution below the -syscall layer occurs on the native hardware and operating system. - -%prep -%setup -q -n %{srcname}-%{expand:%%(SV=%{srcver};echo ${SV%%%%+git*})} -%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 -%patch0041 -p1 -%patch0042 -p1 -%patch0043 -p1 -%patch0044 -p1 -%patch0045 -p1 -%patch0046 -p1 -%patch0047 -p1 -%patch0048 -p1 -%patch0049 -p1 -%patch0050 -p1 -%patch0051 -p1 - -%build -%define _lto_cflags %{nil} - -%if %build_in_tree -%define mybuilddir %{_builddir}/%buildsubdir -%else -%define mybuilddir %{_builddir}/mybuilddir -mkdir -p %mybuilddir -cd %mybuilddir -%endif - -%{_builddir}/%buildsubdir/configure \ - --prefix=%_prefix \ - --sysconfdir=%_sysconfdir \ - --libdir=%_libdir \ - --libexecdir=%_libexecdir \ - --localstatedir=%_localstatedir \ -%if 0%{?suse_version} > 1320 - --python=%_bindir/python3 \ -%else - --python=%_bindir/python2 \ -%endif - --extra-cflags="%{optflags}" \ - --disable-stack-protector \ - --disable-strip \ - --without-default-devices \ - --disable-system --enable-linux-user \ - --disable-tools --disable-guest-agent \ - --static \ - --disable-modules \ - --disable-pie \ - --disable-docs \ - --audio-drv-list="" \ - --enable-attr \ - --disable-auth-pam \ - --disable-blobs \ - --disable-bluez \ - --disable-bochs \ - --disable-brlapi \ - --disable-bzip2 \ - --disable-cap-ng \ - --disable-capstone \ - --disable-cloop \ - --enable-coroutine-pool \ - --disable-curl \ - --disable-curses \ - --disable-dmg \ - --disable-fdt \ - --disable-gcrypt \ - --disable-glusterfs \ - --disable-gnutls \ - --disable-gtk \ - --disable-hax \ - --disable-hvf \ - --disable-iconv \ - --disable-jemalloc \ - --disable-kvm \ - --disable-libiscsi \ - --disable-libnfs \ - --disable-libpmem \ - --disable-libssh2 \ - --disable-libusb \ - --disable-libxml2 \ - --disable-linux-aio \ - --disable-lzfse \ - --disable-lzo \ - --disable-malloc-trim \ - --enable-membarrier \ - --disable-mpath \ - --disable-netmap \ - --disable-nettle \ - --disable-numa \ - --disable-opengl \ - --disable-parallels \ - --disable-pvrdma \ - --disable-qcow1 \ - --disable-qed \ - --disable-rbd \ - --disable-rdma \ - --disable-replication \ - --disable-sanitizers \ - --disable-sdl \ - --disable-sdl-image \ - --disable-seccomp \ - --disable-sheepdog \ - --disable-slirp \ - --disable-smartcard \ - --disable-snappy \ - --disable-spice \ - --disable-tcmalloc \ - --disable-tpm \ - --disable-usb-redir \ - --disable-vde \ - --disable-vdi \ - --disable-vhost-crypto \ - --disable-vhost-kernel \ - --disable-vhost-net \ - --disable-vhost-scsi \ - --disable-vhost-user \ - --disable-vhost-vsock \ - --disable-virglrenderer \ - --disable-virtfs \ - --disable-vnc \ - --disable-vnc-jpeg \ - --disable-vnc-png \ - --disable-vnc-sasl \ - --disable-vte \ - --disable-vvfat \ - --enable-werror \ - --disable-whpx \ - --disable-xen \ - --disable-xen-pci-passthrough \ - --disable-xfsctl \ - -make %{?_smp_mflags} V=1 - -%ifarch %ix86 -%define qemu_arch i386 -%endif -%ifarch x86_64 -%define qemu_arch x86_64 -%endif -%ifarch %arm -%define qemu_arch arm -%endif -%ifarch aarch64 -%define qemu_arch aarch64 -%endif -%ifarch ppc -%define qemu_arch ppc -%endif -%ifarch ppc64 -%define qemu_arch ppc64 -%endif -%ifarch ppc64le -%define qemu_arch ppc64le -%endif -%ifarch s390x -%define qemu_arch s390x -%endif - -%ifarch %ix86 x86_64 %arm aarch64 ppc ppc64 ppc64le s390x -%check -cd %mybuilddir -%{qemu_arch}-linux-user/qemu-%{qemu_arch} %_bindir/ls > /dev/null -make %{?_smp_mflags} check-softfloat -%endif - -%install -cd %mybuilddir -make %{?_smp_mflags} install DESTDIR=%{buildroot} -rm -rf %{buildroot}%_datadir/qemu/keymaps -unlink %{buildroot}%_datadir/qemu/trace-events-all -install -d -m 755 %{buildroot}%_sbindir -install -m 755 scripts/qemu-binfmt-conf.sh %{buildroot}%_sbindir -%fdupes -s %{buildroot} - -%files -%defattr(-, root, root) -%doc Changelog README VERSION -%license COPYING COPYING.LIB LICENSE -%_bindir/qemu-aarch64 -%_bindir/qemu-aarch64_be -%_bindir/qemu-alpha -%_bindir/qemu-arm -%_bindir/qemu-armeb -%_bindir/qemu-cris -%_bindir/qemu-hppa -%_bindir/qemu-i386 -%_bindir/qemu-m68k -%_bindir/qemu-microblaze -%_bindir/qemu-microblazeel -%_bindir/qemu-mips -%_bindir/qemu-mipsel -%_bindir/qemu-mipsn32 -%_bindir/qemu-mipsn32el -%_bindir/qemu-mips64 -%_bindir/qemu-mips64el -%_bindir/qemu-nios2 -%_bindir/qemu-or1k -%_bindir/qemu-ppc64abi32 -%_bindir/qemu-ppc64 -%_bindir/qemu-ppc64le -%_bindir/qemu-ppc -%_bindir/qemu-riscv32 -%_bindir/qemu-riscv64 -%_bindir/qemu-s390x -%_bindir/qemu-sh4 -%_bindir/qemu-sh4eb -%_bindir/qemu-sparc32plus -%_bindir/qemu-sparc64 -%_bindir/qemu-sparc -%_bindir/qemu-tilegx -%_bindir/qemu-x86_64 -%_bindir/qemu-xtensa -%_bindir/qemu-xtensaeb -%_bindir/qemu-*-binfmt -%_sbindir/qemu-binfmt-conf.sh - -%changelog diff --git a/qemu-linux-user.spec.in b/qemu-linux-user.spec.in deleted file mode 100644 index 5bfeea4..0000000 --- a/qemu-linux-user.spec.in +++ /dev/null @@ -1,266 +0,0 @@ -# -# spec file for package qemu-linux-user -# -# Copyright (c) 2019 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 https://bugs.opensuse.org/ -# - - -%define build_in_tree 1 - -%define srcname qemu -Name: qemu-linux-user -Url: https://www.qemu.org/ -Summary: CPU emulator for user space -License: BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND MIT -Group: System/Emulators/PC -QEMU_VERSION -Release: 0 -Source: https://wiki.qemu.org/download/%{srcname}-%{srcver}.tar.xz -Source100: %{srcname}.keyring -Source400: update_git.sh -# Upstream First -- https://wiki.qemu.org/Contribute/SubmitAPatch -# This patch queue is auto-generated from https://github.com/openSUSE/qemu -PATCH_FILES -# Please do not add QEMU patches manually here. -# Run update_git.sh to regenerate this queue. -ExcludeArch: s390 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: e2fsprogs-devel -BuildRequires: fdupes -BuildRequires: gcc-c++ -BuildRequires: glib2-devel-static -BuildRequires: glibc-devel-static -BuildRequires: makeinfo -BuildRequires: pcre-devel-static -%if 0%{?suse_version} > 1320 -BuildRequires: python3-base -%else -BuildRequires: python-base -%endif -BuildRequires: zlib-devel-static -# we must not install the qemu-linux-user package when under QEMU build -%if 0%{?qemu_user_space_build:1} -#!BuildIgnore: post-build-checks -%endif - -%description -QEMU provides CPU emulation along with other related capabilities. This package -provides programs to run user space binaries and libraries meant for another -architecture. The syscall interface is intercepted and execution below the -syscall layer occurs on the native hardware and operating system. - -%prep -%setup -q -n %{srcname}-%{expand:%%(SV=%{srcver};echo ${SV%%%%+git*})} -PATCH_EXEC - -%build -%define _lto_cflags %{nil} - -%if %build_in_tree -%define mybuilddir %{_builddir}/%buildsubdir -%else -%define mybuilddir %{_builddir}/mybuilddir -mkdir -p %mybuilddir -cd %mybuilddir -%endif - -%{_builddir}/%buildsubdir/configure \ - --prefix=%_prefix \ - --sysconfdir=%_sysconfdir \ - --libdir=%_libdir \ - --libexecdir=%_libexecdir \ - --localstatedir=%_localstatedir \ -%if 0%{?suse_version} > 1320 - --python=%_bindir/python3 \ -%else - --python=%_bindir/python2 \ -%endif - --extra-cflags="%{optflags}" \ - --disable-stack-protector \ - --disable-strip \ - --without-default-devices \ - --disable-system --enable-linux-user \ - --disable-tools --disable-guest-agent \ - --static \ - --disable-modules \ - --disable-pie \ - --disable-docs \ - --audio-drv-list="" \ - --enable-attr \ - --disable-auth-pam \ - --disable-blobs \ - --disable-bluez \ - --disable-bochs \ - --disable-brlapi \ - --disable-bzip2 \ - --disable-cap-ng \ - --disable-capstone \ - --disable-cloop \ - --enable-coroutine-pool \ - --disable-curl \ - --disable-curses \ - --disable-dmg \ - --disable-fdt \ - --disable-gcrypt \ - --disable-glusterfs \ - --disable-gnutls \ - --disable-gtk \ - --disable-hax \ - --disable-hvf \ - --disable-iconv \ - --disable-jemalloc \ - --disable-kvm \ - --disable-libiscsi \ - --disable-libnfs \ - --disable-libpmem \ - --disable-libssh2 \ - --disable-libusb \ - --disable-libxml2 \ - --disable-linux-aio \ - --disable-lzfse \ - --disable-lzo \ - --disable-malloc-trim \ - --enable-membarrier \ - --disable-mpath \ - --disable-netmap \ - --disable-nettle \ - --disable-numa \ - --disable-opengl \ - --disable-parallels \ - --disable-pvrdma \ - --disable-qcow1 \ - --disable-qed \ - --disable-rbd \ - --disable-rdma \ - --disable-replication \ - --disable-sanitizers \ - --disable-sdl \ - --disable-sdl-image \ - --disable-seccomp \ - --disable-sheepdog \ - --disable-slirp \ - --disable-smartcard \ - --disable-snappy \ - --disable-spice \ - --disable-tcmalloc \ - --disable-tpm \ - --disable-usb-redir \ - --disable-vde \ - --disable-vdi \ - --disable-vhost-crypto \ - --disable-vhost-kernel \ - --disable-vhost-net \ - --disable-vhost-scsi \ - --disable-vhost-user \ - --disable-vhost-vsock \ - --disable-virglrenderer \ - --disable-virtfs \ - --disable-vnc \ - --disable-vnc-jpeg \ - --disable-vnc-png \ - --disable-vnc-sasl \ - --disable-vte \ - --disable-vvfat \ - --enable-werror \ - --disable-whpx \ - --disable-xen \ - --disable-xen-pci-passthrough \ - --disable-xfsctl \ - -make %{?_smp_mflags} V=1 - -%ifarch %ix86 -%define qemu_arch i386 -%endif -%ifarch x86_64 -%define qemu_arch x86_64 -%endif -%ifarch %arm -%define qemu_arch arm -%endif -%ifarch aarch64 -%define qemu_arch aarch64 -%endif -%ifarch ppc -%define qemu_arch ppc -%endif -%ifarch ppc64 -%define qemu_arch ppc64 -%endif -%ifarch ppc64le -%define qemu_arch ppc64le -%endif -%ifarch s390x -%define qemu_arch s390x -%endif - -%ifarch %ix86 x86_64 %arm aarch64 ppc ppc64 ppc64le s390x -%check -cd %mybuilddir -%{qemu_arch}-linux-user/qemu-%{qemu_arch} %_bindir/ls > /dev/null -make %{?_smp_mflags} check-softfloat -%endif - -%install -cd %mybuilddir -make %{?_smp_mflags} install DESTDIR=%{buildroot} -rm -rf %{buildroot}%_datadir/qemu/keymaps -unlink %{buildroot}%_datadir/qemu/trace-events-all -install -d -m 755 %{buildroot}%_sbindir -install -m 755 scripts/qemu-binfmt-conf.sh %{buildroot}%_sbindir -%fdupes -s %{buildroot} - -%files -%defattr(-, root, root) -%doc Changelog README VERSION -%license COPYING COPYING.LIB LICENSE -%_bindir/qemu-aarch64 -%_bindir/qemu-aarch64_be -%_bindir/qemu-alpha -%_bindir/qemu-arm -%_bindir/qemu-armeb -%_bindir/qemu-cris -%_bindir/qemu-hppa -%_bindir/qemu-i386 -%_bindir/qemu-m68k -%_bindir/qemu-microblaze -%_bindir/qemu-microblazeel -%_bindir/qemu-mips -%_bindir/qemu-mipsel -%_bindir/qemu-mipsn32 -%_bindir/qemu-mipsn32el -%_bindir/qemu-mips64 -%_bindir/qemu-mips64el -%_bindir/qemu-nios2 -%_bindir/qemu-or1k -%_bindir/qemu-ppc64abi32 -%_bindir/qemu-ppc64 -%_bindir/qemu-ppc64le -%_bindir/qemu-ppc -%_bindir/qemu-riscv32 -%_bindir/qemu-riscv64 -%_bindir/qemu-s390x -%_bindir/qemu-sh4 -%_bindir/qemu-sh4eb -%_bindir/qemu-sparc32plus -%_bindir/qemu-sparc64 -%_bindir/qemu-sparc -%_bindir/qemu-tilegx -%_bindir/qemu-x86_64 -%_bindir/qemu-xtensa -%_bindir/qemu-xtensaeb -%_bindir/qemu-*-binfmt -%_sbindir/qemu-binfmt-conf.sh - -%changelog diff --git a/qemu-testsuite.changes b/qemu-testsuite.changes deleted file mode 100644 index 0c76da8..0000000 --- a/qemu-testsuite.changes +++ /dev/null @@ -1,5359 +0,0 @@ -------------------------------------------------------------------- -Wed Aug 7 02:40:53 UTC 2019 - Liang Yan - -- Security fix for heap overflow in ip_reass on big packet input - (CVE-2019-14378, bsc#1143794) - slirp-fix-heap-overflow-in-ip_reass-on-big-packet-input.patch - -------------------------------------------------------------------- -Tue Aug 6 14:45:35 UTC 2019 - Bruce Rogers - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-4.0 -* Patches added: - 0051-linux-user-fix-to-handle-variably-s.patch - -------------------------------------------------------------------- -Mon Aug 5 20:03:11 UTC 2019 - Stefan Brüns - -- Make keycode-gen output reproducible (use SOURCE_DATE_EPOCH timestamp) - keycodemapdb-make-keycode-gen-output-reproducible.patch - -------------------------------------------------------------------- -Thu Jul 25 20:51:23 UTC 2019 - Liang Yan - -- Security fix for null pointer dereference while releasing spice resources - (CVE-2019-12155, bsc#1135902) - 0049-qxl-check-release-info-object.patch -- Security fix for qemu-bridge-helper ACL can be bypassed when names are too long - (CVE-2019-13164, bsc#1140402) - 0050-qemu-bridge-helper-restrict-interfa.patch -- Replace patch 0043 with an upstream version - 0043-target-i386-define-md-clear-bit.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-4.0 - -------------------------------------------------------------------- -Tue Jun 11 09:47:44 UTC 2019 - Christian Goll - -- fixed regression for ksm.service was (bsc#1112646) - -------------------------------------------------------------------- -Mon Jun 10 16:41:24 UTC 2019 - Bruce Rogers - -- Content of packaged %_docdir/%name/interop/_static/ dir depends - on python-Sphinx version, so lets just wildcard specifying - those files, rather than trying to manage a specific file list - -------------------------------------------------------------------- -Fri Jun 7 16:15:43 UTC 2019 - Bruce Rogers - -- Last change exposed that we still do rely on python2. Make - spec file adjustment - -------------------------------------------------------------------- -Fri Jun 7 12:37:44 UTC 2019 - Tomáš Chvátal - -- Switch from python-Sphinx to Sphinx from python variant we are - building with (new Sphinx is for python3 only) - -------------------------------------------------------------------- -Wed May 29 16:03:57 UTC 2019 - Bruce Rogers - -- Fix a number of compatibility issues with the stricter gcc9 checks -* Disable warning for taking address of packed structure members - 0048-pc-bios-s390-ccw-net-avoid-warning-.patch -* Fix case of strncpy where null terminated string not guaranteed - 0046-target-ppc-ensure-we-get-null-termi.patch -* Disable warning for taking address of packed structure members - and fix case of passing null pointer as "%s" format parameter - skiboot-gcc9-compat.patch -- Fix configure script which caused firmware to be built in - linux-user only build. - 0047-configure-only-populate-roms-if-sof.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-4.0 - -------------------------------------------------------------------- -Fri May 17 19:05:10 UTC 2019 - Bruce Rogers - -- Fix regression in autorepeat key handling - 0045-kbd-state-fix-autorepeat-handling.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-4.0 - -------------------------------------------------------------------- -Fri May 17 15:44:17 UTC 2019 - Andreas Schwab - -- Fix file list - -------------------------------------------------------------------- -Wed May 15 19:36:49 UTC 2019 - Bruce Rogers - -- Yet another gcc9 related code fix (bsc#1121464) - 0044-hw-intc-exynos4210_gic-provide-more.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-4.0 - -------------------------------------------------------------------- -Tue May 14 21:01:05 UTC 2019 - Bruce Rogers - -- Switch to now upstreamed version of patch and add one more - gcc9 related patch -* Patches renamed: - 0041-qxl-fix-Waddress-of-packed-member.patch - -> 0041-qxl-avoid-unaligned-pointer-reads-w.patch - 0042-libvhost-user-fix-Waddress-of-packe.patch -- Add x86 cpu feature "md-clear" (CVE-2018-12126 CVE-2018-12127 - CVE-2018-12130 CVE-2019-11091 bsc#1111331) - 0043-target-i386-define-md-clear-bit.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-4.0 - -------------------------------------------------------------------- -Sat May 11 14:58:50 UTC 2019 - Bruce Rogers - -- Correct logic of which ipxe patches get included based on - suse_version. We were wrongly excluding a gcc9 related patch for - example - -------------------------------------------------------------------- -Fri May 10 19:14:01 UTC 2019 - Bruce Rogers - -- Switch to now upstreamed version of some patches -* Patches renamed: - 0036-util-qemu-sockets-Fix-GCC-9-build-w.patch - -> 0036-sockets-avoid-string-truncation-war.patch - 0039-linux-user-uname-Fix-GCC-9-build-wa.patch - -> 0039-linux-user-avoid-string-truncation-.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-4.0 - -------------------------------------------------------------------- -Thu May 9 14:51:24 UTC 2019 - Bruce Rogers - -- Create /usr/share/qemu/firmware and /etc/qemu/firmware directories - in support of the firmware descriptor feature now in use as of - libvirt v5.2 - -------------------------------------------------------------------- -Mon May 6 21:36:24 UTC 2019 - Bruce Rogers - -- Disable LTO as suggested by Martin Liska (boo#1133281) -- Remove and obsolete qemu-oss-audio subpackage. OSS audio is very - old, and we didn't really even configure the package properly for - it for a very long time, so presumably there can't be any users - of it as far as qemu is concerned -- Avoid warnings which gcc9 complains about - 0036-util-qemu-sockets-Fix-GCC-9-build-w.patch - 0037-hw-usb-hcd-xhci-Fix-GCC-9-build-war.patch - 0038-hw-usb-dev-mtp-Fix-GCC-9-build-warn.patch - 0039-linux-user-uname-Fix-GCC-9-build-wa.patch - 0040-linux-user-elfload-Fix-GCC-9-build-.patch - 0041-qxl-fix-Waddress-of-packed-member.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-4.0 - -------------------------------------------------------------------- -Wed May 1 19:29:10 UTC 2019 - Bruce Rogers - -- Update to v4.0.0: See http://wiki.qemu.org/ChangeLog/4.0 - Take note that ongoing feature deprecation is tracked at both - http://wiki.qemu-project.org/Features/LegacyRemoval and in - Appendix B of the qemu-doc.* files installed with the qemu package - Some noteworthy changes: -* ARM: ARMv8+ extensions for SB, PredInv, HPD, LOR, FHM, AA32HPD, - PAuth, JSConv, CondM, FRINT, and BTI -* ARM: new emulation support for "Musca" and "MPS2" development boards -* ARM: virt: support for >255GB of RAM and u-boot "noload" image types -* ARM: improved emulation of ARM PMU -* HPPA: support for TLB protection IDs and TLB trace events -* MIPS: support for multi-threaded TCG emulation -* MIPS: emulation support for I7200 I6500 CPUs, QMP-base querying of - CPU types, and improved support for SAARI and SAAR configuration registers -* MIPS: improvements to Interthread Communication Unit, Fulong 2E - machine types, and end-user documentation. -* PowerPC: pseries/powernv: support for POWER9 large decrementer -* PowerPC: pseries: emulation support for XIVE interrupt controller -* PowerPC: pseries: support for hotplugging PCI host bridges (PHBs) -* PowerPC: pseries: Spectre/Meltdown mitigations enabled by default, - additional support for count-cache-flush mitigation -* RISC-V: virt: support for PCI and USB -* RISC-V: support for TSR, TW, and TVM fields of mstatus, FS field now - supports three stats (dirty, clean, and off) -* RISC-V: built-in gdbserver supports register lists via XML files -* s390: support for z14 GA 2 CPU model, Multiple-epoch and PTFF - features now enabled in z14 CPU model by default -* s390: vfio-ap: now supports hot plug/unplug, and no longer inhibits memory - ballooning -* s390: emulation support for floating-point extension facility and - vector support instructions -* x86: HAX accelerator now supported POSIX hosts other than Darwin, - including Linux and NetBSD -* x86: Q35: advertised PCIe root port speeds will now optimally default - to maximum link speed (16GT/s) and width (x32) provided by PCIe 4.0 for - QEMU 4.0+ machine types; older machine types will retain 2.5GT/x1 - defaults for compatibility. -* x86: Xen PVH images can now be booted with "-kernel" option -* Xtensa: xtfpga: improved SMP support for linux (interrupt - distributor, IPI, and runstall) and new SMP-capable test_mmuhifi_c3 - core configuration -* Xtensa: support for Flexible length instructions extension (FLIX) -* GUI: new '-display spice-app' to configure/launch a Spice client GUI with - a similar UI to QEMU GTK. VNC server now supports access controls via - tls-authz/sasl-authz options -* QMP: support for "out-of-band" command execution, can be useful for - postcopy migration recovery. Additional QMP commands for working with - block devices and dirty bitmaps -* VFIO: EDID interface for supported mdev (Intel vGPU for kernel 5.0+), - allows resolution setting via xres/yres options. -* Xen: new 'xen-disk' device which can create a Xen PV disk backend, - and performance improvements for Xen PV disk backend. -* Network Block Device: improved tracing and error diagnostics, improved - client compatibility with buggy NBD server implementations, new - --bitmap, --list, --tls-authz options for qemu-nbd -* virtio-blk now supports DISCARD and WRITE_ZEROES -* qemu-test-suite output is now in TAP format -* Sphinx now used for part of qemu documentation -* A few more configure features are enabled: iconv, lzfse (for openSUSE) -* Provide better logo icons -- Made these package building changes: -* Removed this token from spec file: #!BuildIgnore: gcc-PIE -* Created ability to build qemu source out-of-tree -* Added BSD-2-Clause license clause due to EDK II code inclusion -* Patches dropped (upstream unless otherwise noted): - 0010-Remove-problematic-evdev-86-key-fro.patch - 0025-Fix-tigervnc-long-press-issue.patch - 0026-string-input-visitor-Fix-uint64-par.patch - 0027-test-string-input-visitor-Add-int-t.patch - 0028-test-string-input-visitor-Add-uint6.patch - 0029-tests-Add-QOM-property-unit-tests.patch - 0030-tests-Add-scsi-disk-test.patch - 0033-smbios-Add-1-terminator-if-any-stri.patch (different approach used) - 0034-qemu-io-tests-comment-out-problemat.patch (not as needed) - 0039-xen_disk-Avoid-repeated-memory-allo.patch - 0041-vfio-ap-flag-as-compatible-with-bal.patch - 0042-hw-s390x-Fix-bad-mask-in-time2tod.patch - 0043-pcie-set-link-state-inactive-active.patch - 0044-pc-piix4-Update-smbus-I-O-space-aft.patch - 0045-hw-usb-fix-mistaken-de-initializati.patch - 0046-usb-mtp-use-O_NOFOLLOW-and-O_CLOEXE.patch - 0047-pvrdma-release-device-resources-in-.patch - 0048-rdma-check-num_sge-does-not-exceed-.patch - 0049-pvrdma-add-uar_read-routine.patch - 0050-pvrdma-check-number-of-pages-when-c.patch - 0051-pvrdma-check-return-value-from-pvrd.patch - 0052-pvrdma-release-ring-object-in-case-.patch - 0053-block-Fix-hangs-in-synchronous-APIs.patch - 0054-linux-user-make-pwrite64-pread64-fd.patch - 0055-xen-Add-xen-v4.12-based-xc_domain_c.patch - 0056-slirp-check-data-length-while-emula.patch - 0057-s390x-Return-specification-exceptio.patch - 0059-memory-Fix-the-memory-region-type-a.patch - 0060-target-i386-sev-Do-not-pin-the-ram-.patch - 0061-slirp-check-sscanf-result-when-emul.patch - 0062-ppc-add-host-serial-and-host-model-.patch - 0063-i2c-ddc-fix-oob-read.patch - 0064-device_tree.c-Don-t-use-load_image.patch - 0065-spapr-Simplify-handling-of-host-ser.patch - ipxe-efi-guard-strncpy-with-gcc-warning-ignore-pragma.patch - ipxe-fix-build.patch - skiboot-hdata-i2c.c-fix-building-with-gcc8.patch -* Patches renamed: - 0011-linux-user-use-target_ulong.patch - -> 0010-linux-user-use-target_ulong.patch - 0012-Make-char-muxer-more-robust-wrt-sma.patch - -> 0011-Make-char-muxer-more-robust-wrt-sma.patch - 0013-linux-user-lseek-explicitly-cast-no.patch - -> 0012-linux-user-lseek-explicitly-cast-no.patch - 0014-AIO-Reduce-number-of-threads-for-32.patch - -> 0013-AIO-Reduce-number-of-threads-for-32.patch - 0015-xen_disk-Add-suse-specific-flush-di.patch - -> 0014-xen_disk-Add-suse-specific-flush-di.patch - 0016-qemu-bridge-helper-reduce-security-.patch - -> 0015-qemu-bridge-helper-reduce-security-.patch - 0017-qemu-binfmt-conf-use-qemu-ARCH-binf.patch - -> 0016-qemu-binfmt-conf-use-qemu-ARCH-binf.patch - 0018-linux-user-properly-test-for-infini.patch - -> 0017-linux-user-properly-test-for-infini.patch - 0019-roms-Makefile-pass-a-packaging-time.patch - -> 0018-roms-Makefile-pass-a-packaging-time.patch - 0020-Raise-soft-address-space-limit-to-h.patch - -> 0019-Raise-soft-address-space-limit-to-h.patch - 0021-increase-x86_64-physical-bits-to-42.patch - -> 0020-increase-x86_64-physical-bits-to-42.patch - 0022-vga-Raise-VRAM-to-16-MiB-for-pc-0.1.patch - -> 0021-vga-Raise-VRAM-to-16-MiB-for-pc-0.1.patch - 0023-i8254-Fix-migration-from-SLE11-SP2.patch - -> 0022-i8254-Fix-migration-from-SLE11-SP2.patch - 0024-acpi_piix4-Fix-migration-from-SLE11.patch - -> 0023-acpi_piix4-Fix-migration-from-SLE11.patch - 0031-Switch-order-of-libraries-for-mpath.patch - -> 0024-Switch-order-of-libraries-for-mpath.patch - 0032-Make-installed-scripts-explicitly-p.patch - -> 0025-Make-installed-scripts-explicitly-p.patch - 0035-tests-test-thread-pool-is-racy-add-.patch - -> 0027-tests-test-thread-pool-is-racy-add-.patch - 0036-xen-add-block-resize-support-for-xe.patch - -> 0028-xen-add-block-resize-support-for-xe.patch - 0037-tests-qemu-iotests-Triple-timeout-o.patch - -> 0029-tests-qemu-iotests-Triple-timeout-o.patch - 0038-tests-block-io-test-130-needs-some-.patch - -> 0030-tests-block-io-test-130-needs-some-.patch - 0040-xen-ignore-live-parameter-from-xen-.patch - -> 0031-xen-ignore-live-parameter-from-xen-.patch - 0058-Revert-target-i386-kvm-add-VMX-migr.patch - -> 0034-Revert-target-i386-kvm-add-VMX-migr.patch -* Patches added: - 0026-hw-smbios-handle-both-file-formats-.patch - 0032-tests-Fix-Makefile-handling-of-chec.patch - 0033-Conditionalize-ui-bitmap-installati.patch - 0035-tests-change-error-message-in-test-.patch - ipxe-efi-Avoid-string-op-warning-with-cross-gcc-7-compile.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-4.0 - -------------------------------------------------------------------- -Fri Mar 29 13:13:57 UTC 2019 - Bruce Rogers - -- Adjust fix for CVE-2019-8934 (bsc#1126455) to match the latest - upstream adjustments for the same. Basically now the security fix - is to provide a dummy host-model and host-serial value, which - overrides getting that value from the host - 0065-spapr-Simplify-handling-of-host-ser.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-3.1 - -------------------------------------------------------------------- -Wed Mar 27 16:59:46 UTC 2019 - Bruce Rogers - -- Tweak last spec file change to guard new Requires with conditional -- Fix DOS possibility in device tree processing (CVE-2018-20815 - bsc#1130675) - 0064-device_tree.c-Don-t-use-load_image.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-3.1 - -------------------------------------------------------------------- -Mon Mar 25 20:45:08 UTC 2019 - Bruce Rogers - -- Remove an unneeded BuildRequires which impacts bsc#1119414 fix - Also add a corresponding Recommends for qemu-tools as part of - this packaging adjustment (bsc#1130484) -- Fix information leak in slirp (CVE-2019-9824 bsc#1129622) - 0061-slirp-check-sscanf-result-when-emul.patch -- Add method to specify whether or not to expose certain ppc64 host - information, which can be considered a security issue - (CVE-2019-8934 bsc#1126455) - 0062-ppc-add-host-serial-and-host-model-.patch -- Fix OOB memory access and information leak in virtual monitor - interface (CVE-2019-03812 bsc#1125721) - 0063-i2c-ddc-fix-oob-read.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-3.1 - -------------------------------------------------------------------- -Fri Mar 8 17:49:54 UTC 2019 - Bruce Rogers - -- Again address ipxe GCC 9 incompatibilities. Previously included - patch to disable unneeded warning got muffed somehow (bsc#1121464) - -------------------------------------------------------------------- -Fri Feb 22 08:52:45 UTC 2019 - Guillaume GARDET - -- Package and cross-build rom files for aarch64 from - SLE15/Leap15.0 to fix boo#1125964 -- Add patch to fix seabios cross-compilation: - * seabios-fix_cross_compilation.patch -- Add patch to fix sgabios cross-compilation: - * sgabios-fix-cross-build.patch - -------------------------------------------------------------------- -Thu Feb 21 14:07:37 UTC 2019 - Guillaume GARDET - -- Fix _constraints to include all architectures for disk size - (fix aarch64) - -------------------------------------------------------------------- -Fri Feb 15 22:49:24 UTC 2019 - Bruce Rogers - -- Revert upstream patch which declares x86 vmx feature a migration - blocker. Given the proliferation of using vm's with host features - passed through and the general knowledge that nested - virtualization has many usage caveats, but still gets put in use - in restricted scenarios, this patch did more harm than good, I - feel. So despite this relaxation, please consider yourself warned - that nested virtualization is not yet a supportable feature. - (bsc#1121604) - 0058-Revert-target-i386-kvm-add-VMX-migr.patch -- Fix SEV VM device assignment (bsc#1123205) - 0059-memory-Fix-the-memory-region-type-a.patch - 0060-target-i386-sev-Do-not-pin-the-ram-.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-3.1 - -------------------------------------------------------------------- -Mon Feb 11 15:41:02 UTC 2019 - Bruce Rogers - -- Remove 71-sev.rules, which modifies the default permissions of - /dev/sev by adding the kvm group as reader/writer. Upstream - decided to take a different approach for libvirt to manage SEV - due to security concerns which I agree overrides the convenience - of providing /dev/sev access to all the kvm group (bsc#1124842 - bsc#1102604) - -------------------------------------------------------------------- -Fri Feb 1 23:34:52 UTC 2019 - Bruce Rogers - -- Increase memory needed to build qemu-testsuite for ppc* arch's - in _constraints file - -------------------------------------------------------------------- -Wed Jan 30 15:54:30 UTC 2019 - Liang Yan - -- Return specification exception for unimplemented diag 308 subcodes - rather than a hardware error (bsc#1123179) -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-3.1 -* Patches added: - 0057-s390x-Return-specification-exceptio.patch - -------------------------------------------------------------------- -Fri Jan 25 19:20:59 UTC 2019 - Bruce Rogers - -- Fix OOB issue in slirp (CVE-2019-6778 bsc#1123156) - 0056-slirp-check-data-length-while-emula.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-3.1 -- Fix ipxe GCC 9 incompatibilities (bsc#1121464) - ipxe-efi-Simplify-diagnostic-for-NULL-handle.patch - ipxe-build-Disable-gcc-address-of-packed-member-warning.patch - -------------------------------------------------------------------- -Thu Jan 17 21:58:02 UTC 2019 - Bruce Rogers - -- Tweak Xen interface to be compatible with upcoming v4.12 Xen - 0055-xen-Add-xen-v4.12-based-xc_domain_c.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-3.1 - -------------------------------------------------------------------- -Tue Jan 15 13:58:25 UTC 2019 - Liang Yan - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-3.1 -* Patches added: - 0054-linux-user-make-pwrite64-pread64-fd.patch - (bsc#1121600) - -------------------------------------------------------------------- -Mon Jan 14 16:15:37 UTC 2019 - Bruce Rogers - -- Clarify that move to include v3.1.0 in qemu package corresponds - with fate#327089, which of course builds on v3.0.0 mentioned - previously, and that among other patches which this change - obsoletes (because functionality is included in base version) I - will mention one pointed out by reviewers: - 0094-s390x-cpumodels-add-z14-Model-ZR1.patch - -------------------------------------------------------------------- -Thu Jan 10 18:03:29 UTC 2019 - Bruce Rogers - -- include post v3.1.0 patches marked for next stable release: - 0041-vfio-ap-flag-as-compatible-with-bal.patch - 0042-hw-s390x-Fix-bad-mask-in-time2tod.patch - 0043-pcie-set-link-state-inactive-active.patch - 0044-pc-piix4-Update-smbus-I-O-space-aft.patch - 0045-hw-usb-fix-mistaken-de-initializati.patch -- Address various security/stability issues -* Fix host access vulnerability in usb-mtp infrastructure - (CVE-2018-16872 bsc#1119493) - 0046-usb-mtp-use-O_NOFOLLOW-and-O_CLOEXE.patch -* Fix DoS in pvrdma interface (CVE-2018-20123 bsc#1119437) - 0047-pvrdma-release-device-resources-in-.patch -* Fix OOB access issue in rdma backend (CVE-2018-20124 bsc#1119840) - 0048-rdma-check-num_sge-does-not-exceed-.patch -* Fix NULL pointer reference in pvrdma emulation (CVE-2018-20191 - bsc#1119979) - 0049-pvrdma-add-uar_read-routine.patch -* Fix DoS in pvrdma interface (CVE-2018-20125 bsc#1119989) - 0050-pvrdma-check-number-of-pages-when-c.patch -* Fix DoS in pvrdma interface (CVE-2018-20216 bsc#1119984) - 0051-pvrdma-check-return-value-from-pvrd.patch -* Fix DoS in pvrdma interface (CVE-2018-20126 bsc#1119991) - 0052-pvrdma-release-ring-object-in-case-.patch -- one more post v3.1.0 patches marked for next stable release: - 0053-block-Fix-hangs-in-synchronous-APIs.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-3.1 - -------------------------------------------------------------------- -Tue Jan 8 13:41:35 UTC 2019 - olaf@aepfle.de - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-3.1 -* Patches added: - 0040-xen-ignore-live-parameter-from-xen-.patch - (bsc#1079730, bsc#1101982, bsc#1063993) - -------------------------------------------------------------------- -Fri Jan 4 19:53:55 UTC 2019 - Bruce Rogers - -- Follow up on ideas prompted by last change: clean up the patches - generated by git workflow. There is no value to the first line - (mbox From line), or [PATCH] on subject line. Get rid of those -- Other minor fixes and improvements to update_git.sh - -------------------------------------------------------------------- -Thu Jan 3 14:12:56 UTC 2019 - olaf@aepfle.de - -- Modify update_git.sh script: - pass --zero-commit to format-patch - This removes needless noise in the buildservice when the same set - of patches is imported/exported at different times by different users. - pass --no-signature to format-patch - Remove sed call which used to remove the signature, use mv instead - -------------------------------------------------------------------- -Fri Dec 14 06:24:53 UTC 2018 - lma@suse.com - -- Use /bin/bash to echo value into sys fs for ksm control (bsc#1112646) - -------------------------------------------------------------------- -Wed Dec 12 21:33:13 UTC 2018 - Bruce Rogers - -- fix memory leak in xen_disk (bsc#1100408) - 0039-xen_disk-Avoid-repeated-memory-allo.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-3.1 - -------------------------------------------------------------------- -Wed Dec 12 09:31:20 UTC 2018 - olaf@aepfle.de - -- building against xen-devel requires the XC_* compat macros to be - set because this version of QEMU will be built against many - versions of Xen. configure will decide on the appropriate function - names it knows about today. To actually call these functions, - future versions of Xen may require XC_* to be set. - Furthermore, fix a bug in QEMU: xen_common.h undefines the XC_* - macros unconditionally. - -------------------------------------------------------------------- -Tue Dec 11 17:38:09 UTC 2018 - Bruce Rogers - -- Update to v3.1.0: See http://wiki.qemu.org/ChangeLog/3.1 - Take note that ongoing feature deprecation is tracked at both - http://wiki.qemu-project.org/Features/LegacyRemoval and in - Appendix B of the qemu-doc.* files installed with the qemu package - Some noteworthy changes: -* x86 IceLake-Server and IceLake-Client cpu models added -* Document recommendations for choosing cpu modesl for x86 guests -* Support for Hyper-V enlightened VMCS -* stdvga and bochs-display devices can expose EDID information to the - guest. stdvga xres and yres properties are exposed in the EDID information -* s390 improvements: vfio-ap crypto device support, max-cpu model added, - etoken support, huge page backing support -* ARM: ARMv6M architecture and Cortex-M0 cpu host support added, - Cortex-A72 cpu model added, GICv2 virtualization extensions, emulation - of AArch32 virtualization, Scalable Vector Extension implemented -* Support for AMD IOMMU interrupt remapping and guest virtual APIC mode -* Multithreaded TCG on x86 is considered supportable -* Add a patch to triple timeout of block io tests, since the obs - environment is fickle -* x86 save/restore and live migration is prohibited if Intel KVM nested - virtualization is enabled -* Patches dropped (upstream unless otherwise noted): - 0033-migration-warn-about-inconsistent-s.patch (shouldn't be needed anymore) - 0035-configure-Modify-python-used-for-io.patch (upstream now python3 friendly) - 0039-tests-boot-serial-test-Bump-timeout.patch - 0040-linux-headers-update.patch - 0041-s390x-kvm-add-etoken-facility.patch - 0042-seccomp-prefer-SCMP_ACT_KILL_PROCES.patch - 0043-configure-require-libseccomp-2.2.0.patch - 0044-seccomp-set-the-seccomp-filter-to-a.patch - 0045-sandbox-disable-sandbox-if-CONFIG_S.patch - 0046-seccomp-check-TSYNC-host-capability.patch - 0047-linux-user-init_guest_space-Try-to-.patch - 0048-ne2000-fix-possible-out-of-bound-ac.patch - 0049-rtl8139-fix-possible-out-of-bound-a.patch - 0050-pcnet-fix-possible-buffer-overflow.patch - 0051-net-ignore-packet-size-greater-than.patch - 0052-lsi53c895a-check-message-length-val.patch - 0053-nvme-fix-oob-access-issue-CVE-2018-.patch (fixed differently upstream) -* Patches renamed: - 0034-smbios-Add-1-terminator-if-any-stri.patch - -> 0033-smbios-Add-1-terminator-if-any-stri.patch - 0036-qemu-io-tests-comment-out-problemat.patch - -> 0034-qemu-io-tests-comment-out-problemat.patch - 0037-tests-test-thread-pool-is-racy-add-.patch - -> 0035-tests-test-thread-pool-is-racy-add-.patch - 0038-xen-add-block-resize-support-for-xe.patch - -> 0036-xen-add-block-resize-support-for-xe.patch -* Patches added: - 0037-tests-qemu-iotests-Triple-timeout-o.patch - 0038-tests-block-io-test-130-needs-some-.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-3.1 -- Update includes the following bug fixes: bsc#1108474, bsc#1117615 -- Update includes the following SLE requested functionality: FATE#324810, - FATE#325875, FATE#326369, FATE#326378, FATE#326379, FATE#326401, - FATE#326672, FATE#326829 -- Make the following packaging changes related to the new release -* Enable libpmem, pvrdma, vhost-crypto features and qemu-block-nfs - subpackage -* New roms available: vgabios-bochs-display.bin, vgabios-ramfb.bin -* New binary tool included (qemu-edid) for testing the new qemu edid - generator -- Tweaked patches we carry to pass qemu's checkpatch checker -- Modify update_git.sh script to enable packaging qemu from development - time sources, not just at release time -- Removed erroneous (and now useless) tests for tar and gzip formats -- Don't exclude s390x anymore from building the qemu-testsuite -- Based on current OBS building observations make changes to storage - and memory requires specified in the _constraints file - -------------------------------------------------------------------- -Thu Nov 8 17:42:55 UTC 2018 - Bruce Rogers - -- Re-sync openSUSE and SUSE SLE qemu packages. This changes file - is the openSUSE one with this entry providing the intervening - SLE CVE, FATE, and bugzilla references, which are still addressed - in this package, and not yet called out in this changes file. -* CVE-2018-10839 CVE-2018-16847 CVE-2018-17958 CVE-2018-17962 - CVE-2018-17963 CVE-2018-18849 -* bsc#1110910 bsc#1111006 bsc#1111010 bsc#1111013 bsc#1114422 - bsc#1114529 -* Patches added: - 0047-linux-user-init_guest_space-Try-to-.patch - 0048-ne2000-fix-possible-out-of-bound-ac.patch - 0049-rtl8139-fix-possible-out-of-bound-a.patch - 0050-pcnet-fix-possible-buffer-overflow.patch - 0051-net-ignore-packet-size-greater-than.patch - 0052-lsi53c895a-check-message-length-val.patch - 0053-nvme-fix-oob-access-issue-CVE-2018-.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-3.0 - -------------------------------------------------------------------- -Fri Oct 5 16:52:15 UTC 2018 - Larry Dewey -* Adding changes to mitigate seccomp vulnerability - (CVE-2018-15746 bsc#1106222) -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-3.0 -* Patches added: - 0042-seccomp-prefer-SCMP_ACT_KILL_PROCES.patch - 0043-configure-require-libseccomp-2.2.0.patch - 0044-seccomp-set-the-seccomp-filter-to-a.patch - 0045-sandbox-disable-sandbox-if-CONFIG_S.patch - 0046-seccomp-check-TSYNC-host-capability.patch - -------------------------------------------------------------------- -Mon Sep 24 21:25:37 UTC 2018 - Bruce Rogers - -- Do more misc spec file fixes: -* Be explicit in spec file about Version used for all subpackages - (again, to avoid subpackage ordering issues). Default Release - tag is also brought in by obs format_spec_file service -* Delete binary blob s390-netboot.img, which we rebuild -* Don't provide separate Url for qemu-kvm package - the main qemu - website provides easily findable link for kvm specifics -* Associate petalogix-ml605.dtb with qemu-extra instead of qemu-ppc -* More entry sorting - -------------------------------------------------------------------- -Fri Sep 21 19:35:23 UTC 2018 - Bruce Rogers - -- Correct some versioning as follows: -* Accurately reflect the qemu-ipxe package version value by adding - "+" at the end -* Don't overwrite seabios .version file, since now (for quite some - time actually) upstream tarball creation creates this file and - the value we are writing to it is actually wrong -- Make spec file improvements, including the following: -* Add qemu.keyring to enable package source verification -* Create srcname macro to identify source file name separately from - package name -* Create alternate to %version to avoid subpackage ordering - causing inadvertantly wrong %version value at point of use -* Sort some entries -* Be more consistent with macro syntax usage -* Minor file tweaks as done by osc format_spec_file service - -------------------------------------------------------------------- -Fri Sep 14 21:16:52 UTC 2018 - Bruce Rogers - -- Re-sync openSUSE and SUSE SLE qemu packages. This changes file - is the openSUSE one with this entry providing the intervening - SLE CVE, FATE, and bugzilla references, which are still addressed - in this package, and not yet called out in this changes file. -* CVE-2018-11806 CVE-2018-12617 CVE-2018-7550 CVE-2018-15746 -* fate#325467 -* bsc#1091695 bsc#1094725 bsc#1094913 bsc#1096223 bsc#1098735 - bsc#1103628 bsc#1105279 bsc#1106222 bsc#1106222 bsc#1107489 -* Patches added: -* only enable glusterfs for openSUSE - 0040-linux-headers-update.patch - 0041-s390x-kvm-add-etoken-facility.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-3.0 - -------------------------------------------------------------------- -Mon Aug 20 21:18:19 UTC 2018 - brogers@suse.com - -- Increase timeout for boot-serial-test, since we've hit the timeout - for armv7l arch in qemu-testsuite. - 0039-tests-boot-serial-test-Bump-timeout.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-3.0 - -------------------------------------------------------------------- -Wed Aug 15 14:27:34 UTC 2018 - brogers@suse.com - -- Drop legacy kvm_stat script and man page. We'll rely on the kvm_stat - package only going forward - kvm_stat - kvm_stat.1.gz -- Update SLE support documentation to match v3.0.0 release - -------------------------------------------------------------------- -Tue Aug 14 21:22:18 UTC 2018 - brogers@suse.com - -- Update to v3.0.0: See http://wiki.qemu.org/ChangeLog/3.0 - Don't read anything into the major version number update. It's - been decided to increase the major version number each year. - Take note that ongoing feature deprecation is tracked at both - http://wiki.qemu-project.org/Features/LegacyRemoval and in - Appendix B of the qemu-doc.* files installed with the qemu package. - Some noteworthy changes: -* Support for additional x86/AMD mitigations against Speculative - Store Bypass (Spectre Variant 4, CVE-2018-3639) -* Improved support for nested KVM guests running on Hyper-V -* Block device support for active disk-mirroring, which avoids - convergence issues which may arise when doing passive/background - mirroring of busy devices -* Improved support for AHCI emulation, SCSI emulation, and persistent - reservations / cluster management -* OpenGL ES support for SDL front-end, additional framebuffer - device options for early boot display without using legacy VGA - emulation -* Live migration support for TPM TIS devices, capping bandwidth - usage during post-copy migration, and recovering from a failed - post-copy migration -* Improved latency when using user-mode networking / SLIRP -* ARM: support for SMMUv3 IOMMU when using 'virt' machine type -* ARM: v8M extensions for VLLDM and VLSTM floating-point instructions, - and improved support for AArch64 v8.2 FP16 extensions -* ARM: support for Scalable Vector Extensions in linux-user mode -* Microblaze: support for 64-bit address sizes and translation bug - fixes -* PowerPC: PMU support for mac99 machine type and improvements for - Uninorth PCI host bridge emulation for Mac machine types -* PowerPC: preliminary support for emulating POWER9 hash MMU mode when - using powernv machine type -* RISC-V: improvement for privileged ISA emulation -* s390: support for z14 ZR1 CPU model -* s390: bpb/ppa15 Spectre mitigations enabled by default for z196 and - later CPU models -* s390: support for configuring consoles via -serial options - -* Patches dropped (upstream unless otherwise noted): - 0008-linux-user-fix-segfault-deadlock.patch (no longer needed) - 0039-blockjob-Fix-assertion-in-block_job.patch - 0041-seccomp-allow-sched_setscheduler-wi.patch - Make-installed-scripts-explicitly-python3.patch (we now make - python3 explicit in other patch) -* Patches renamed: - 0009-linux-user-binfmt-support-host-bina.patch - -> 0008-linux-user-binfmt-support-host-bina.patch - 0010-linux-user-Fake-proc-cpuinfo.patch - -> 0009-linux-user-Fake-proc-cpuinfo.patch - 0011-Remove-problematic-evdev-86-key-fro.patch - -> 0010-Remove-problematic-evdev-86-key-fro.patch - 0012-linux-user-use-target_ulong.patch - -> 0011-linux-user-use-target_ulong.patch - 0013-Make-char-muxer-more-robust-wrt-sma.patch - -> 0012-Make-char-muxer-more-robust-wrt-sma.patch - 0014-linux-user-lseek-explicitly-cast-no.patch - -> 0013-linux-user-lseek-explicitly-cast-no.patch - 0015-AIO-Reduce-number-of-threads-for-32.patch - -> 0014-AIO-Reduce-number-of-threads-for-32.patch - 0016-xen_disk-Add-suse-specific-flush-di.patch - -> 0015-xen_disk-Add-suse-specific-flush-di.patch - 0017-qemu-bridge-helper-reduce-security-.patch - -> 0016-qemu-bridge-helper-reduce-security-.patch - 0018-qemu-binfmt-conf-use-qemu-ARCH-binf.patch - -> 0017-qemu-binfmt-conf-use-qemu-ARCH-binf.patch - 0019-linux-user-properly-test-for-infini.patch - -> 0018-linux-user-properly-test-for-infini.patch - 0020-roms-Makefile-pass-a-packaging-time.patch - -> 0019-roms-Makefile-pass-a-packaging-time.patch - 0021-Raise-soft-address-space-limit-to-h.patch - -> 0020-Raise-soft-address-space-limit-to-h.patch - 0022-increase-x86_64-physical-bits-to-42.patch - -> 0021-increase-x86_64-physical-bits-to-42.patch - 0023-vga-Raise-VRAM-to-16-MiB-for-pc-0.1.patch - -> 0022-vga-Raise-VRAM-to-16-MiB-for-pc-0.1.patch - 0024-i8254-Fix-migration-from-SLE11-SP2.patch - -> 0023-i8254-Fix-migration-from-SLE11-SP2.patch - 0025-acpi_piix4-Fix-migration-from-SLE11.patch - -> 0024-acpi_piix4-Fix-migration-from-SLE11.patch - 0026-Fix-tigervnc-long-press-issue.patch - -> 0025-Fix-tigervnc-long-press-issue.patch - 0027-string-input-visitor-Fix-uint64-par.patch - -> 0026-string-input-visitor-Fix-uint64-par.patch - 0028-test-string-input-visitor-Add-int-t.patch - -> 0027-test-string-input-visitor-Add-int-t.patch - 0029-test-string-input-visitor-Add-uint6.patch - -> 0028-test-string-input-visitor-Add-uint6.patch - 0030-tests-Add-QOM-property-unit-tests.patch - -> 0029-tests-Add-QOM-property-unit-tests.patch - 0031-tests-Add-scsi-disk-test.patch - -> 0030-tests-Add-scsi-disk-test.patch - 0032-Switch-order-of-libraries-for-mpath.patch - -> 0031-Switch-order-of-libraries-for-mpath.patch - 0033-Make-installed-scripts-explicitly-p.patch - -> 0032-Make-installed-scripts-explicitly-p.patch (python2->python3) - 0034-migration-warn-about-inconsistent-s.patch - -> 0033-migration-warn-about-inconsistent-s.patch - 0035-smbios-Add-1-terminator-if-any-stri.patch - -> 0034-smbios-Add-1-terminator-if-any-stri.patch - 0036-configure-Modify-python-used-for-io.patch - -> 0035-configure-Modify-python-used-for-io.patch - 0037-qemu-io-tests-comment-out-problemat.patch - -> 0036-qemu-io-tests-comment-out-problemat.patch - 0038-tests-test-thread-pool-is-racy-add-.patch - -> 0037-tests-test-thread-pool-is-racy-add-.patch - 0040-xen-add-block-resize-support-for-xe.patch - -> 0038-xen-add-block-resize-support-for-xe.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-3.0 - -------------------------------------------------------------------- -Thu Aug 9 03:27:38 UTC 2018 - ldewey@suse.com - -- Update QEMU to allow kvm group access to /dev/sev (bsc#1102604). - 71-sev.rules - -------------------------------------------------------------------- -Fri Aug 3 14:05:49 UTC 2018 - brogers@suse.com - -- Update to v2.12.1, a stable, (mostly) bug-fix-only release -* This update contains new mitigation functionality for - CVE-2018-3639 (Speculative Store Bypass) in x86. There are also - bug fixes for migration, Intel IOMMU emulation, block layer/image - handling, ARM emulation, and various other areas. - (Note that a number of 2.12.1 patches were already included by us - previously) (CVE-2018-3639 bsc#1092885) - -* Patches dropped (subsumed by stable update): - 0039-device_tree-Increase-FDT_MAX_SIZE-t.patch - 0040-vnc-fix-use-after-free.patch - 0041-ccid-Fix-dwProtocols-advertisement-.patch - 0042-tcg-arm-Fix-memory-barrier-encoding.patch - 0043-s390-ccw-force-diag-308-subcode-to-.patch - 0044-nbd-client-fix-nbd_negotiate_simple.patch - 0045-migration-block-dirty-bitmap-fix-me.patch - 0046-nbd-client-Fix-error-messages-durin.patch - 0047-nbd-client-Relax-handling-of-large-.patch - 0048-qxl-fix-local-renderer-crash.patch - 0049-tcg-Limit-the-number-of-ops-in-a-TB.patch - 0050-target-arm-Clear-SVE-high-bits-for-.patch - 0051-cpus-tcg-fix-never-exiting-loop-on-.patch - 0052-s390x-css-disabled-subchannels-cann.patch - 0053-pc-bios-s390-ccw-struct-tpi_info-mu.patch - 0054-virtio-ccw-common-reset-handler.patch - 0055-s390x-ccw-make-sure-all-ccw-devices.patch - 0056-blockjob-expose-error-string-via-qu.patch - 0058-qemu-io-Use-purely-string-blockdev-.patch - 0059-qemu-img-Use-only-string-options-in.patch - 0060-nfs-Remove-processed-options-from-Q.patch - 0061-i386-define-the-ssbd-CPUID-feature-.patch - 0062-i386-Define-the-Virt-SSBD-MSR-and-h.patch - 0063-i386-define-the-AMD-virt-ssbd-CPUID.patch - 0064-ahci-fix-PxCI-register-race.patch - 0065-ccid-card-passthru-fix-regression-i.patch -* Patches renamed: - 0057-blockjob-Fix-assertion-in-block_job.patch - -> 0039-blockjob-Fix-assertion-in-block_job.patch - 0066-xen-add-block-resize-support-for-xe.patch - -> 0040-xen-add-block-resize-support-for-xe.patch - 0067-seccomp-allow-sched_setscheduler-wi.patch - -> 0041-seccomp-allow-sched_setscheduler-wi.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.12 - -------------------------------------------------------------------- -Wed Jul 25 22:26:16 UTC 2018 - ldewey@suse.com -- Fixing seccomp resourcecontrol defunct issue (bsc#1102627) -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.12 -* Patches added: - 0067-seccomp-allow-sched_setscheduler-wi.patch - -------------------------------------------------------------------- -Wed Jul 25 13:24:50 UTC 2018 - matz@suse.com - -- Add ipxe-fix-build.patch to not error out with - binutils >= 2.31 . - -------------------------------------------------------------------- -Thu Jul 5 21:31:58 UTC 2018 - brogers@suse.com - -- Remove linux-user patch which is no longer needed (bsc#1098056) -* Patches dropped: - 0011-linux-user-XXX-disable-fiemap.patch -* Patches renamed: - 0036-Remove-problematic-evdev-86-key-fro.patch - -> 0011-Remove-problematic-evdev-86-key-fro.patch - 0037-configure-Modify-python-used-for-io.patch - -> 0036-configure-Modify-python-used-for-io.patch - 0038-qemu-io-tests-comment-out-problemat.patch - -> 0037-qemu-io-tests-comment-out-problemat.patch - 0039-tests-test-thread-pool-is-racy-add-.patch - -> 0038-tests-test-thread-pool-is-racy-add-.patch - 0040-device_tree-Increase-FDT_MAX_SIZE-t.patch - -> 0039-device_tree-Increase-FDT_MAX_SIZE-t.patch - 0041-vnc-fix-use-after-free.patch - -> 0040-vnc-fix-use-after-free.patch - 0042-ccid-Fix-dwProtocols-advertisement-.patch - -> 0041-ccid-Fix-dwProtocols-advertisement-.patch - 0043-tcg-arm-Fix-memory-barrier-encoding.patch - -> 0042-tcg-arm-Fix-memory-barrier-encoding.patch - 0044-s390-ccw-force-diag-308-subcode-to-.patch - -> 0043-s390-ccw-force-diag-308-subcode-to-.patch - 0045-nbd-client-fix-nbd_negotiate_simple.patch - -> 0044-nbd-client-fix-nbd_negotiate_simple.patch - 0046-migration-block-dirty-bitmap-fix-me.patch - -> 0045-migration-block-dirty-bitmap-fix-me.patch - 0047-nbd-client-Fix-error-messages-durin.patch - -> 0046-nbd-client-Fix-error-messages-durin.patch - 0048-nbd-client-Relax-handling-of-large-.patch - -> 0047-nbd-client-Relax-handling-of-large-.patch - 0049-qxl-fix-local-renderer-crash.patch - -> 0048-qxl-fix-local-renderer-crash.patch - 0050-tcg-Limit-the-number-of-ops-in-a-TB.patch - -> 0049-tcg-Limit-the-number-of-ops-in-a-TB.patch - 0051-target-arm-Clear-SVE-high-bits-for-.patch - -> 0050-target-arm-Clear-SVE-high-bits-for-.patch - 0052-cpus-tcg-fix-never-exiting-loop-on-.patch - -> 0051-cpus-tcg-fix-never-exiting-loop-on-.patch - 0053-s390x-css-disabled-subchannels-cann.patch - -> 0052-s390x-css-disabled-subchannels-cann.patch - 0054-pc-bios-s390-ccw-struct-tpi_info-mu.patch - -> 0053-pc-bios-s390-ccw-struct-tpi_info-mu.patch - 0055-virtio-ccw-common-reset-handler.patch - -> 0054-virtio-ccw-common-reset-handler.patch - 0056-s390x-ccw-make-sure-all-ccw-devices.patch - -> 0055-s390x-ccw-make-sure-all-ccw-devices.patch - 0057-blockjob-expose-error-string-via-qu.patch - -> 0056-blockjob-expose-error-string-via-qu.patch - 0058-blockjob-Fix-assertion-in-block_job.patch - -> 0057-blockjob-Fix-assertion-in-block_job.patch - 0059-qemu-io-Use-purely-string-blockdev-.patch - -> 0058-qemu-io-Use-purely-string-blockdev-.patch - 0060-qemu-img-Use-only-string-options-in.patch - -> 0059-qemu-img-Use-only-string-options-in.patch - 0061-nfs-Remove-processed-options-from-Q.patch - -> 0060-nfs-Remove-processed-options-from-Q.patch - 0062-i386-define-the-ssbd-CPUID-feature-.patch - -> 0061-i386-define-the-ssbd-CPUID-feature-.patch - 0063-i386-Define-the-Virt-SSBD-MSR-and-h.patch - -> 0062-i386-Define-the-Virt-SSBD-MSR-and-h.patch - 0064-i386-define-the-AMD-virt-ssbd-CPUID.patch - -> 0063-i386-define-the-AMD-virt-ssbd-CPUID.patch - 0065-ahci-fix-PxCI-register-race.patch - -> 0064-ahci-fix-PxCI-register-race.patch - 0066-ccid-card-passthru-fix-regression-i.patch - -> 0065-ccid-card-passthru-fix-regression-i.patch - 0067-xen-add-block-resize-support-for-xe.patch - -> 0066-xen-add-block-resize-support-for-xe.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.12 - -------------------------------------------------------------------- -Thu Jul 5 17:21:43 UTC 2018 - brogers@suse.com - -- Fix build failure of skiboot with gcc8 compiler - skiboot-hdata-i2c.c-fix-building-with-gcc8.patch - -------------------------------------------------------------------- -Thu Jul 5 15:22:19 UTC 2018 - brogers@suse.com - -- Tweak build service constraints information to avoid failures - -------------------------------------------------------------------- -Fri Jun 8 20:28:37 UTC 2018 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.12 -* Patches added: - 0067-xen-add-block-resize-support-for-xe.patch - -------------------------------------------------------------------- -Thu Jun 7 14:57:31 UTC 2018 - brogers@suse.com - -- Tweak patch file generation to be more git version agnostic. - Also change update_git.sh to not reformat spec file by default. - -------------------------------------------------------------------- -Thu May 31 19:51:52 UTC 2018 - brogers@suse.com - -- Looks like the right fix for the AHCI issue has been identified - upstream. Turns out to also affect Linux guests as well. - (bsc#1094406) -* Patches dropped: - 0065-Revert-replay-don-t-process-async-e.patch - 0066-Revert-replay-avoid-recursive-call-.patch - 0067-Revert-replay-check-return-values-o.patch - 0068-Revert-replay-push-replay_mutex_loc.patch -* Patches added: - 0065-ahci-fix-PxCI-register-race.patch -- Fix a regresssion introduced in v2.12.0 for ccid-card-passthrough - (bsc#1095419) - 0066-ccid-card-passthru-fix-regression-i.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.12 - -------------------------------------------------------------------- -Tue May 29 10:44:23 UTC 2018 - lma@suse.com - -- Fix qemu-guest-agent service issue (bsc#1094898) - -------------------------------------------------------------------- -Fri May 25 15:13:16 UTC 2018 - brogers@suse.com - -- Spectre v4 vulnerability mitigation support for KVM guests. - High level description of vulnerability: Systems with microprocessors - utilizing speculative execution and speculative execution of memory - reads before the addresses of all prior memory writes are known may - allow unauthorized disclosure of information to an attacker with - local user access via a side-channel analysis. - This change permits the new x86 cpu feature flag named "ssbd" to be - presented to the guest, given that the host has this feature, and - KVM exposes it to the guest as well. - For this feature to be enabled, via adding it to the qemu commandline - (eg: -cpu ,+spec-ctrl,+ssbd), so the guest OS can take advantage - of the feature, spec-ctrl and ssbd support is also required in the host. - Another new x86 cpu feature flag named "virt-ssbd" is also added to - handle this vulnerability for AMD processors. - (CVE-2018-3639 bsc#1092885) - 0062-i386-define-the-ssbd-CPUID-feature-.patch - 0063-i386-Define-the-Virt-SSBD-MSR-and-h.patch - 0064-i386-define-the-AMD-virt-ssbd-CPUID.patch -- Replay code introduced an issue for AHCI emulation, where on Windows 10 - I/O would stop randomly, and Windows would then reset the AHCI device. - The issue is not yet fully identified, but reverting some of those - changes is at least for now a workaround. (bsc#1094406) - 0065-Revert-replay-don-t-process-async-e.patch - 0066-Revert-replay-avoid-recursive-call-.patch - 0067-Revert-replay-check-return-values-o.patch - 0068-Revert-replay-push-replay_mutex_loc.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.12 - -------------------------------------------------------------------- -Thu May 17 13:28:37 UTC 2018 - brogers@suse.com - -- Add some upstream fixes targeted for the next stable release - 0040-device_tree-Increase-FDT_MAX_SIZE-t.patch - 0041-vnc-fix-use-after-free.patch - 0042-ccid-Fix-dwProtocols-advertisement-.patch - 0043-tcg-arm-Fix-memory-barrier-encoding.patch - 0044-s390-ccw-force-diag-308-subcode-to-.patch - 0045-nbd-client-fix-nbd_negotiate_simple.patch - 0046-migration-block-dirty-bitmap-fix-me.patch - 0047-nbd-client-Fix-error-messages-durin.patch - 0048-nbd-client-Relax-handling-of-large-.patch - 0049-qxl-fix-local-renderer-crash.patch - 0050-tcg-Limit-the-number-of-ops-in-a-TB.patch - 0051-target-arm-Clear-SVE-high-bits-for-.patch - 0052-cpus-tcg-fix-never-exiting-loop-on-.patch - 0053-s390x-css-disabled-subchannels-cann.patch - 0054-pc-bios-s390-ccw-struct-tpi_info-mu.patch - 0055-virtio-ccw-common-reset-handler.patch - 0056-s390x-ccw-make-sure-all-ccw-devices.patch - 0057-blockjob-expose-error-string-via-qu.patch - 0058-blockjob-Fix-assertion-in-block_job.patch - 0059-qemu-io-Use-purely-string-blockdev-.patch - 0060-qemu-img-Use-only-string-options-in.patch - 0061-nfs-Remove-processed-options-from-Q.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.12 - -------------------------------------------------------------------- -Wed May 16 21:49:16 UTC 2018 - brogers@suse.com - -- Fix qemu-guest-agent uninstall (bsc#1093169) -- Minor tweak to qemu spec file - -------------------------------------------------------------------- -Fri Apr 27 20:54:01 UTC 2018 - brogers@suse.com - -- Update to v2.12.0: See http://wiki.qemu.org/ChangeLog/2.12 - Some noteworthy changes: - CLI options removed: -tdf, -no-kvm-pit, -drive boot, -net channel, - -net dump, -hdachs, -drive,if=scsi - HMP commands removed: usb_add, usb_del, host_net_add, host_net_remove - Q35 default nic now e1000e - AMD SEV support - -smbios supports setting data for type 11 tables - audio and display support split out as modules - -nic for simple creation of guest NIC and host back-end - QMP monitor "out-of-band" capability - lots of ARM and s390 improvements -- Include more of upstream's in-tree tests in the qemu-testsuite - package -* Patches dropped: - 0033-memfd-fix-configure-test.patch - 0034-qapi-use-items-values-intead-of-ite.patch - 0035-qapi-Use-OrderedDict-from-standard-.patch - 0036-qapi-adapt-to-moved-location-of-Str.patch - 0037-qapi-Adapt-to-moved-location-of-mak.patch - 0038-qapi-remove-q-arg-to-diff-when-comp.patch - 0039-qapi-ensure-stable-sort-ordering-wh.patch - 0040-qapi-force-a-UTF-8-locale-for-runni.patch - 0041-scripts-ensure-signrom-treats-data-.patch - 0042-configure-allow-use-of-python-3.patch - 0043-input-add-missing-JIS-keys-to-virti.patch - 0045-pc-fail-memory-hot-plug-unplug-with.patch - 0046-memattrs-add-debug-attribute.patch - 0047-exec-add-ram_debug_ops-support.patch - 0048-exec-add-debug-version-of-physical-.patch - 0049-monitor-i386-use-debug-APIs-when-ac.patch - 0050-machine-add-memory-encryption-prope.patch - 0051-kvm-update-kvm.h-to-include-memory-.patch - 0052-docs-add-AMD-Secure-Encrypted-Virtu.patch - 0053-target-i386-add-Secure-Encrypted-Vi.patch - 0054-qmp-add-query-sev-command.patch - 0055-sev-i386-add-command-to-initialize-.patch - 0056-qmp-populate-SevInfo-fields-with-SE.patch - 0057-sev-i386-register-the-guest-memory-.patch - 0058-kvm-introduce-memory-encryption-API.patch - 0059-hmp-add-info-sev-command.patch - 0060-sev-i386-add-command-to-create-laun.patch - 0061-sev-i386-add-command-to-encrypt-gue.patch - 0062-target-i386-encrypt-bios-rom.patch - 0063-sev-i386-add-support-to-LAUNCH_MEAS.patch - 0064-sev-i386-finalize-the-SEV-guest-lau.patch - 0065-hw-i386-set-ram_debug_ops-when-memo.patch - 0066-sev-i386-add-debug-encrypt-and-decr.patch - 0067-target-i386-clear-C-bit-when-walkin.patch - 0068-include-add-psp-sev.h-header-file.patch - 0069-sev-i386-add-support-to-query-PLATF.patch - 0070-sev-i386-add-support-to-KVM_SEV_GUE.patch - 0071-qmp-add-query-sev-launch-measure-co.patch - 0072-tests-qmp-test-blacklist-query-sev-.patch - 0073-sev-i386-add-migration-blocker.patch - 0074-cpu-i386-populate-CPUID-0x8000_001F.patch - 0075-migration-warn-about-inconsistent-s.patch - 0076-smbios-support-setting-OEM-strings-.patch - 0077-smbios-Add-1-terminator-if-any-stri.patch - 0078-Remove-problematic-evdev-86-key-fro.patch - 0079-tpm-lookup-cancel-path-under-tpm-de.patch - 0080-vga-fix-region-calculation.patch - skiboot-GCC7-fixes-for-Wimplicit-fallthr.patch - skiboot-libc-stdio-vsnprintf.c-add-expli.patch - skiboot-build-LDFLAGS-pass-pie-flag-explicitly-to-ld.patch - ui-keycodemapdb-Add-missing-QKeyCode-val.patch - ui-keycodemapdb-Fix-compat-with-py3-dict.patch -* Patches renamed: - 0044-Make-installed-scripts-explicitly-p.patch - -> 0033-Make-installed-scripts-explicitly-p.patch - 0075-migration-warn-about-inconsistent-s.patch - -> 0034-migration-warn-about-inconsistent-s.patch - 0077-smbios-Add-1-terminator-if-any-stri.patch - -> 0035-smbios-Add-1-terminator-if-any-stri.patch - 0078-Remove-problematic-evdev-86-key-fro.patch - -> 0036-Remove-problematic-evdev-86-key-fro.patch -* Patches added: - 0037-configure-Modify-python-used-for-io.patch - 0038-qemu-io-tests-comment-out-problemat.patch - 0039-tests-test-thread-pool-is-racy-add-.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.12 - -------------------------------------------------------------------- -Fri Apr 27 20:50:49 UTC 2018 - brogers@suse.com - -- Fix autoinstall of qemu-guest-agent by getting the modalias string - right (bsc#1091143) - -------------------------------------------------------------------- -Thu Apr 26 17:20:01 UTC 2018 - brogers@suse.com - -- Guard strncpy call with GCC pragma to disable warning about possible - incorrect usage, when in fact it is correct. This is for gcc 8 - compatibility (bsc#1090355) - ipxe-efi-guard-strncpy-with-gcc-warning-ignore-pragma.patch - -------------------------------------------------------------------- -Mon Apr 23 13:02:30 UTC 2018 - lma@suse.com - -- Add WantedBy for enable qemu-ga@.service auto start (bsc#1090369) - -------------------------------------------------------------------- -Tue Apr 10 10:50:31 UTC 2018 - kwalter@suse.com - -- fix qemu-ga service file name (bsc#1089067) - -------------------------------------------------------------------- -Thu Apr 5 21:33:37 UTC 2018 - brogers@suse.com - -- Fix OOB access in VGA emulation (CVE-2018-7858 bsc#1084604) - 0080-vga-fix-region-calculation.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.11 - -------------------------------------------------------------------- -Thu Apr 5 18:18:57 UTC 2018 - lyan@suse.com - -- Add new look up path "sys/class/tpm" for tpm cancel path based - on Linux 4.0 change (commit 313d21eeab9282e)(bsc#1070615) - 0079-tpm-lookup-cancel-path-under-tpm-de.patch - -------------------------------------------------------------------- -Wed Mar 14 18:41:48 UTC 2018 - brogers@suse.com - -- Fix issue with key codes in qemu v2.11 - 0078-Remove-problematic-evdev-86-key-fro.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.11 - -------------------------------------------------------------------- -Wed Mar 14 06:38:36 UTC 2018 - lma@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.11 -* Patches added: - 0077-smbios-Add-1-terminator-if-any-stri.patch - bsc#994082 and bsc#1084316 - -------------------------------------------------------------------- -Fri Mar 9 20:51:57 UTC 2018 - brogers@suse.com - -- Add support for setting OEM strings table (fate#323624) - 0076-smbios-support-setting-OEM-strings-.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.11 - -------------------------------------------------------------------- -Sat Mar 3 14:24:10 UTC 2018 - brogers@suse.com - -- SLE15 KVM (as targeted for RC1) now has the feature exposed. - Drop the patch. (bsc#1082276) - 0076-i386-Compensate-for-KVM-SPEC_CTRL-f.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.11 - -------------------------------------------------------------------- -Fri Mar 2 16:31:15 UTC 2018 - brogers@suse.com - -- Change example qemu-ifup script to not depend on bridge-utils. - Also update the paths used for ip binary. - -------------------------------------------------------------------- -Wed Feb 28 16:13:08 UTC 2018 - brogers@suse.com - -- Eliminate bogus use of CPUID_7_0_EDX_PRED_CMD which we've - carried since the initial Spectre v2 patch was added. EDX bit - 27 of CPUID Leaf 07H, Sub-leaf 0 provides status on STIBP, and - not the PRED_CMD MSR. Exposing the STIBP CPUID feature bit to the - guest is wrong in general, since the VM doesn't directly control - the scheduling of physical hyperthreads. This is left strictly to - the L0 hypervisor. - -------------------------------------------------------------------- -Thu Feb 22 12:01:21 UTC 2018 - brogers@suse.com - -- Update to v2.11.1, a stable, (mostly) bug-fix-only release - In addition to bug fixes, of necessity fixes are needed to - address the Spectre v2 vulnerability by passing along to the - guest new hardware features introduced by host microcode updates. - A January 2018 release of qemu initially addressed this issue - by exposing the feature for all x86 vcpu types, which was the - quick and dirty approach, but not the proper solution. We remove - that initial patch and now rely on the upstream solution. This - update instead defines spec_ctrl and ibpb cpu feature flags as - well as new cpu models which are clones of existing models with - either -IBRS or -IBPB added to the end of the model name. These - new vcpu models explicitly include the new feature(s), whereas - the feature flags can be added to the cpu parameter as with other - features. In short, for continued Spectre v2 protection, ensure - that either the appropriate cpu feature flag is added to the QEMU - command-line, or one of the new cpu models is used. Although - migration from older versions is supported, the new cpu features - won't be properly exposed to the guest until it is restarted with - the cpu features explicitly added. A reboot is insufficient. - A warning patch is added which attempts to detect a migration - from a qemu version which had the quick and dirty fix (it only - detects certain cases, but hopefully is helpful.) - s390x guest vulnerability to Spectre v2 is also addressed in this - update by including support for bpb and ppa/stfle.81 features. - (CVE-2017-5715 bsc#1068032) - For additional information on Spectre v2 as it relates to QEMU, - see: https://www.qemu.org/2018/02/14/qemu-2-11-1-and-spectre-update/ -- Unfortunately, it was found that our current KVM isn't correctly - indicating support for the spec-ctrl feature, so I've added a patch - to still detect that support within QEMU. This is of course a - temporary kludge until KVM gets fixed. (bsc#1082276) -- The SEV support patches are updated to the v9 series. -- Fix incompatibility with recent glibc (boo#1081154) -- Add Supplements tags for the guest agent package in an attempt to - auto-install for QEMU and Xen SUSE Linux guests (fate#323570) -* Patches dropped (subsumed by stable update, or reworked in v9): - 0033-i386-kvm-MSR_IA32_SPEC_CTRL-and-MSR.patch - 0050-target-i386-add-memory-encryption-f.patch - 0054-accel-add-Secure-Encrypted-Virtuliz.patch - 0072-sev-Fix-build-for-non-x86-hosts.patch -* Patches added: - 0033-memfd-fix-configure-test.patch - 0053-target-i386-add-Secure-Encrypted-Vi.patch - 0056-qmp-populate-SevInfo-fields-with-SE.patch - 0072-tests-qmp-test-blacklist-query-sev-.patch - 0073-sev-i386-add-migration-blocker.patch - 0074-cpu-i386-populate-CPUID-0x8000_001F.patch - 0075-migration-warn-about-inconsistent-s.patch - 0076-i386-Compensate-for-KVM-SPEC_CTRL-f.patch -* Patches renamed (plus some minor code changes): - 0051-machine-add-memory-encryption-prope.patch - -> 0050-machine-add-memory-encryption-prope.patch - 0052-kvm-update-kvm.h-to-include-memory-.patch - -> 0051-kvm-update-kvm.h-to-include-memory-.patch - 0053-docs-add-AMD-Secure-Encrypted-Virtu.patch - -> 0052-docs-add-AMD-Secure-Encrypted-Virtu.patch - 0055-sev-add-command-to-initialize-the-m.patch - -> 0055-sev-i386-add-command-to-initialize-.patch - 0056-sev-register-the-guest-memory-range.patch - -> 0057-sev-i386-register-the-guest-memory-.patch - 0057-kvm-introduce-memory-encryption-API.patch - -> 0058-kvm-introduce-memory-encryption-API.patch - 0058-qmp-add-query-sev-command.patch - -> 0054-qmp-add-query-sev-command.patch - 0060-sev-add-command-to-create-launch-me.patch - -> 0060-sev-i386-add-command-to-create-laun.patch - 0061-sev-add-command-to-encrypt-guest-me.patch - -> 0061-sev-i386-add-command-to-encrypt-gue.patch - 0063-sev-add-support-to-LAUNCH_MEASURE-c.patch - -> 0063-sev-i386-add-support-to-LAUNCH_MEAS.patch - 0064-sev-Finalize-the-SEV-guest-launch-f.patch - -> 0064-sev-i386-finalize-the-SEV-guest-lau.patch - 0066-sev-add-debug-encrypt-and-decrypt-c.patch - -> 0066-sev-i386-add-debug-encrypt-and-decr.patch - 0069-sev-add-support-to-query-PLATFORM_S.patch - -> 0069-sev-i386-add-support-to-query-PLATF.patch - 0070-sev-add-support-to-KVM_SEV_GUEST_ST.patch - -> 0070-sev-i386-add-support-to-KVM_SEV_GUE.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.11 - -------------------------------------------------------------------- -Thu Feb 8 18:29:30 UTC 2018 - brogers@suse.com - -- Add AMD SEV (Secure Encrypted Virtualization) support by taking - the v7 series of the patches posted to qemu ml. (fate#322124) - 0046-memattrs-add-debug-attribute.patch - 0047-exec-add-ram_debug_ops-support.patch - 0048-exec-add-debug-version-of-physical-.patch - 0049-monitor-i386-use-debug-APIs-when-ac.patch - 0050-target-i386-add-memory-encryption-f.patch - 0051-machine-add-memory-encryption-prope.patch - 0052-kvm-update-kvm.h-to-include-memory-.patch - 0053-docs-add-AMD-Secure-Encrypted-Virtu.patch - 0054-accel-add-Secure-Encrypted-Virtuliz.patch - 0055-sev-add-command-to-initialize-the-m.patch - 0056-sev-register-the-guest-memory-range.patch - 0057-kvm-introduce-memory-encryption-API.patch - 0058-qmp-add-query-sev-command.patch - 0059-hmp-add-info-sev-command.patch - 0060-sev-add-command-to-create-launch-me.patch - 0061-sev-add-command-to-encrypt-guest-me.patch - 0062-target-i386-encrypt-bios-rom.patch - 0063-sev-add-support-to-LAUNCH_MEASURE-c.patch - 0064-sev-Finalize-the-SEV-guest-launch-f.patch - 0065-hw-i386-set-ram_debug_ops-when-memo.patch - 0066-sev-add-debug-encrypt-and-decrypt-c.patch - 0067-target-i386-clear-C-bit-when-walkin.patch - 0068-include-add-psp-sev.h-header-file.patch - 0069-sev-add-support-to-query-PLATFORM_S.patch - 0070-sev-add-support-to-KVM_SEV_GUEST_ST.patch - 0071-qmp-add-query-sev-launch-measure-co.patch - 0072-sev-Fix-build-for-non-x86-hosts.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.11 - -------------------------------------------------------------------- -Thu Feb 8 15:24:44 UTC 2018 - brogers@suse.com - -- Update python3 related patches now that they are upstream - -------------------------------------------------------------------- -Thu Feb 8 00:12:14 UTC 2018 - jfehlig@suse.com - -- guest agent: change service file to a template so it can be - used by Xen as well. Adjust udev rule accordingly. - FATE#324963 - -------------------------------------------------------------------- -Mon Jan 29 21:51:17 UTC 2018 - brogers@suse.com - -- Fix machine inconsistency with -no-acpi and nvdimm (bsc#1077823) - 0045-pc-fail-memory-hot-plug-unplug-with.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.11 - -------------------------------------------------------------------- -Fri Jan 26 11:49:03 UTC 2018 - brogers@suse.com - -- Modify BuildRequires python references -- seabios also needed tweaks for python2 vs python3 -* Patches added: - seabios-use-python2-explicitly-as-needed.patch - seabios-switch-to-python3-as-needed.patch - -------------------------------------------------------------------- -Thu Jan 25 22:52:06 UTC 2018 - brogers@suse.com - -- Try to get our story right wrt python2 vs python3 (bsc#1077564) -* Get rid of use of #!/usr/bin/env python in scripts we install -* include proposed upstream build system changes needed for building - with python2 or python3 -* Patches dropped: - 0032-scripts-avoid-usr-bin-python-refere.patch -* Patches renamed: - 0033-Switch-order-of-libraries-for-mpath.patch - -> 0032-Switch-order-of-libraries-for-mpath.patch - 0034-i386-kvm-MSR_IA32_SPEC_CTRL-and-MSR.patch - -> 0033-i386-kvm-MSR_IA32_SPEC_CTRL-and-MSR.patch -* Patches added: - 0034-qapi-use-items-values-intead-of-ite.patch - 0035-qapi-Use-OrderedDict-from-standard-.patch - 0036-qapi-adapt-to-moved-location-of-Str.patch - 0037-qapi-Adapt-to-moved-location-of-mak.patch - 0038-qapi-remove-q-arg-to-diff-when-comp.patch - 0039-qapi-ensure-stable-sort-ordering-wh.patch - 0040-qapi-force-a-UTF-8-locale-for-runni.patch - 0041-scripts-ensure-signrom-treats-data-.patch - 0042-configure-allow-use-of-python-3.patch - 0043-input-add-missing-JIS-keys-to-virti.patch - 0044-Make-installed-scripts-explicitly-p.patch - Make-installed-scripts-explicitly-python3.patch - ui-keycodemapdb-Add-missing-QKeyCode-val.patch - ui-keycodemapdb-Fix-compat-with-py3-dict.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.11 - -------------------------------------------------------------------- -Fri Jan 12 23:05:17 UTC 2018 - brogers@suse.com - -- Fix packaging dependencies (coreutils) for qemu-ksm package - (bsc#1040202) - -------------------------------------------------------------------- -Thu Jan 4 16:19:27 UTC 2018 - brogers@suse.com - -- Pass through to guest info related to x86 security vulnerability - (CVE-2017-5715 bsc#1068032) - 0034-i386-kvm-MSR_IA32_SPEC_CTRL-and-MSR.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.11 - -------------------------------------------------------------------- -Wed Dec 13 20:56:09 UTC 2017 - brogers@suse.com - -- Update to v2.11.0: See http://wiki.qemu.org/ChangeLog/2.11 - Some noteworthy changes: - -nodefconfig is now deprecated - legacy pci-assignment code removed - qemu-pr-helper added for handling guest persistant reservations (bsc#891066, - bsc#910704, bsc#943807) - qemu-keymap tool added for generating keymap files - throttle block filter driver added - support for a TPM emulator - qcow2 image shrink support - better support for >=64 vcpus for Windows guests - nested KVM related improvements - s390 pgste handling now done better - EPYC cpu model added (bsc#1052825) - improvements in qcow2 buffer handling - vhost-user resume issue fixed - migration hardening - ARMv8-M security extension support - more seccomp/sandboxing options available - s390 cpu hot-plug improvements - misc. virtfs improvements - nbd improvements - MTTCG improvements - misc. TCG improvements - scsi correctness improvements - SEABIOS now has serial output option -* Includes fixes for CVE-2017-15118 bsc#1070147, CVE-2017-15119 bsc#1070144 -* Adds KASLR support (fate#323473, bsc#1070281) -* Update SLE support docs to match this release -* simplify spec file to expect at least sle_version >= 1315 -* Patches dropped (upstream): - 0013-console-add-question-mark-escape-op.patch - 0020-configure-Fix-detection-of-seccomp-.patch - 0034-target-i386-cpu-Add-new-EPYC-CPU-mo.patch - 0035-chardev-baum-fix-baum-that-releases.patch - 0036-io-fix-temp-directory-used-by-test-.patch - 0037-io-fix-check-for-handshake-completi.patch - 0038-crypto-fix-test-cert-generation-to-.patch - 0039-vhost-user-disable-the-broken-subpr.patch - 0040-io-monitor-encoutput-buffer-size-fr.patch - 0041-cirrus-fix-oob-access-in-mode4and5-.patch - 0042-9pfs-use-g_malloc0-to-allocate-spac.patch -* Patches renamed: - 0014-Make-char-muxer-more-robust-wrt-sma.patch - -> 0013-Make-char-muxer-more-robust-wrt-sma.patch - 0015-linux-user-lseek-explicitly-cast-no.patch - -> 0014-linux-user-lseek-explicitly-cast-no.patch - 0016-AIO-Reduce-number-of-threads-for-32.patch - -> 0015-AIO-Reduce-number-of-threads-for-32.patch - 0017-xen_disk-Add-suse-specific-flush-di.patch - -> 0016-xen_disk-Add-suse-specific-flush-di.patch - 0018-qemu-bridge-helper-reduce-security-.patch - -> 0017-qemu-bridge-helper-reduce-security-.patch - 0019-qemu-binfmt-conf-use-qemu-ARCH-binf.patch - -> 0018-qemu-binfmt-conf-use-qemu-ARCH-binf.patch - 0021-linux-user-properly-test-for-infini.patch - -> 0019-linux-user-properly-test-for-infini.patch - 0022-roms-Makefile-pass-a-packaging-time.patch - -> 0020-roms-Makefile-pass-a-packaging-time.patch - 0023-Raise-soft-address-space-limit-to-h.patch - -> 0021-Raise-soft-address-space-limit-to-h.patch - 0024-increase-x86_64-physical-bits-to-42.patch - -> 0022-increase-x86_64-physical-bits-to-42.patch - 0025-vga-Raise-VRAM-to-16-MiB-for-pc-0.1.patch - -> 0023-vga-Raise-VRAM-to-16-MiB-for-pc-0.1.patch - 0026-i8254-Fix-migration-from-SLE11-SP2.patch - -> 0024-i8254-Fix-migration-from-SLE11-SP2.patch - 0027-acpi_piix4-Fix-migration-from-SLE11.patch - -> 0025-acpi_piix4-Fix-migration-from-SLE11.patch - 0028-Fix-tigervnc-long-press-issue.patch - -> 0026-Fix-tigervnc-long-press-issue.patch - 0029-string-input-visitor-Fix-uint64-par.patch - -> 0027-string-input-visitor-Fix-uint64-par.patch - 0030-test-string-input-visitor-Add-int-t.patch - -> 0028-test-string-input-visitor-Add-int-t.patch - 0031-test-string-input-visitor-Add-uint6.patch - -> 0029-test-string-input-visitor-Add-uint6.patch - 0032-tests-Add-QOM-property-unit-tests.patch - -> 0030-tests-Add-QOM-property-unit-tests.patch - 0033-tests-Add-scsi-disk-test.patch - -> 0031-tests-Add-scsi-disk-test.patch - 0043-scripts-avoid-usr-bin-python-refere.patch - -> 0032-scripts-avoid-usr-bin-python-refere.patch -* We need the multipath libraries link order switched - 0033-Switch-order-of-libraries-for-mpath.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.11 - -------------------------------------------------------------------- -Wed Nov 29 17:31:26 UTC 2017 - brogers@suse.com - -- Avoid ref to /usr/bin/python in vmstate-static-checker.py script - 0043-scripts-avoid-usr-bin-python-refere.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.10 - -------------------------------------------------------------------- -Tue Nov 28 17:55:42 UTC 2017 - brogers@suse.com - -- For SLE15, it's been decided to stop providing SDL based graphics - due to packaging constraints. Long ago GTK became the default, - and there is little benefit to providing both. For now, keep it - enabled for openSUSE (Tumblweed and Leap), but consider it marked - deprecated there and if no one complains it will be removed for - openSUSE as well in the near future. (fate#324465) -- Fix problem building skiboot.lid - skiboot-build-LDFLAGS-pass-pie-flag-explicitly-to-ld.patch - -------------------------------------------------------------------- -Thu Oct 26 15:25:01 UTC 2017 - lyan@suse.com - -- Wrap analyze-migration and vmstate-static-checker into tools from - qemu scripts folder, also changed introduction of qemu-tools in - spec file -- Move supportplugin position in spec file - -------------------------------------------------------------------- -Thu Oct 19 21:57:57 UTC 2017 - brogers@suse.com - -- Add announcement in support docs about qed storage format no - longer being supported in next major SLE release (SLE15) - (fate#324200) -- Address various security/stability issues -* Fix DoS in I/O channel websockets (CVE-2017-15268 bsc#1062942) - 0040-io-monitor-encoutput-buffer-size-fr.patch -* Fix OOB access in cirrus vga device emulation (CVE-2017-15289 - bsc#1063122) - 0041-cirrus-fix-oob-access-in-mode4and5-.patch -* Fix information leak in 9pfs interface (CVE-2017-15038 bsc#1062069) - 0042-9pfs-use-g_malloc0-to-allocate-spac.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.10 - -------------------------------------------------------------------- -Mon Oct 16 14:50:03 UTC 2017 - brogers@suse.com - -- Don't tie glusterfs support to specific arch -- Build skiboot firmware (OPAL), particularly since it's fairly - easy to do so - skiboot-GCC7-fixes-for-Wimplicit-fallthr.patch - skiboot-libc-stdio-vsnprintf.c-add-expli.patch - -------------------------------------------------------------------- -Fri Oct 13 10:57:49 UTC 2017 - henrik.kuhn@origenis.de - -- Added the global macro 'with_glusterfs' in order to re-enable - glusterfs support. The macro enable easier future adjustments - for various ARCH/targets/requiremnets. - At first glusterfs support is enabled for openSUSE Leap 42.x and - Factory for ARCH x86_64. - -------------------------------------------------------------------- -Wed Oct 4 16:21:04 UTC 2017 - brogers@suse.com - -- Add dependencies on ovmf (uefi) for the qemu-x86 and qemu-arm - packages -- Fix s390-netboot.img to be included with qemu-s390 package, not - qemu-ppc - -------------------------------------------------------------------- -Tue Oct 3 21:07:26 UTC 2017 - brogers@suse.com - -- Update to v2.10.1, a stable, bug-fix-only release -* fixes bsc#1056386 CVE-2017-13673, bsc#1056334 CVE-2017-13672, - bsc#1057585 CVE-2017-14167 -* Patches dropped (upstream): - 0034-slirp-fix-clearing-ifq_so-from-pend.patch - 0035-s390-ccw-Fix-alignment-for-CCW1.patch - 0038-s390x-ais-for-2.10-stable-disable-a.patch - 0039-s390x-cpumodel-remove-ais-from-z14-.patch -* Patches renamed: - 0036-target-i386-cpu-Add-new-EPYC-CPU-mo.patch - -> 0034-target-i386-cpu-Add-new-EPYC-CPU-mo.patch - 0037-chardev-baum-fix-baum-that-releases.patch - -> 0035-chardev-baum-fix-baum-that-releases.patch - 0040-io-fix-temp-directory-used-by-test-.patch - -> 0036-io-fix-temp-directory-used-by-test-.patch - 0041-io-fix-check-for-handshake-completi.patch - -> 0037-io-fix-check-for-handshake-completi.patch - 0042-crypto-fix-test-cert-generation-to-.patch - -> 0038-crypto-fix-test-cert-generation-to-.patch - 0043-vhost-user-disable-the-broken-subpr.patch - -> 0039-vhost-user-disable-the-broken-subpr.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.10 - -------------------------------------------------------------------- -Mon Oct 2 20:26:13 UTC 2017 - brogers@suse.com - -- Fix failures and potential failures in qemu-testsuite - 0040-io-fix-temp-directory-used-by-test-.patch - 0041-io-fix-check-for-handshake-completi.patch - 0042-crypto-fix-test-cert-generation-to-.patch - 0043-vhost-user-disable-the-broken-subpr.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.10 - -------------------------------------------------------------------- -Thu Sep 28 21:56:44 UTC 2017 - brogers@suse.com - -- Fix migration issue on s390 - 0038-s390x-ais-for-2.10-stable-disable-a.patch - 0039-s390x-cpumodel-remove-ais-from-z14-.patch -- Fix case of not being able to build from rpm sources due to - undefined macro (boo#1057966) -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.10 - -------------------------------------------------------------------- -Thu Sep 28 17:31:33 UTC 2017 - lyan@suse.com - -- Fix baum that release brlapi twice (bsc#1060045) - 0037-chardev-baum-fix-baum-that-releases.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.10 - -------------------------------------------------------------------- -Thu Sep 21 21:41:05 UTC 2017 - brogers@suse.com - -- For SLE15 pre-release testing, add support for the EPYC processor. - This will be officially supported once it is included in the v2.11 - release. (bsc#1052825) - 0036-target-i386-cpu-Add-new-EPYC-CPU-mo.patch -- Fix some support statements in our SLE support documents. - -------------------------------------------------------------------- -Thu Aug 31 18:48:22 UTC 2017 - brogers@suse.com - -- Update BuildRequires packages libibverbs-devel and librdmacm-devel - to the more correct rdma-core-devel -- Enable seccomp for s390x, aarch64, and ppc64le -- Fix OOB issue (use after free) in slirp network stack (CVE-2017-13711 - bsc#1056291) - 0034-slirp-fix-clearing-ifq_so-from-pend.patch -- Fix a misalignment in the s390 ccw firmware (bsc#1056680) - 0035-s390-ccw-Fix-alignment-for-CCW1.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.10 - -------------------------------------------------------------------- -Thu Aug 31 18:34:27 UTC 2017 - jfehlig@suse.com - -- Add a supportconfig plugin - qemu-supportconfig - FATE#323661 - -------------------------------------------------------------------- -Wed Aug 30 19:52:26 UTC 2017 - brogers@suse.com - -- Update to v2.10.0: See http://wiki.qemu.org/ChangeLog/2.10 -- Dropped internal only patches used to support SUSE Studio - Testdrive as well as other miscellaneous patches deemed unused - and not worth carrying (bsc#1046783, bsc#1055125, bsc#1055127) -- Update SLE support statements in anticipation of SLE15 -- disable SAN boot capability from virtio pxe rom used in v1.4 and - older pc machine types due to rom size requirements. Hopefully - a better solution can be found which doesn't impact functionality -* Patches added: - ipxe-stub-out-the-SAN-req-s-in-int13.patch -* Patches renamed: - 0006-qemu-cvs-gettimeofday.patch -> 0003-qemu-cvs-gettimeofday.patch - 0007-qemu-cvs-ioctl_debug.patch -> 0004-qemu-cvs-ioctl_debug.patch - 0008-qemu-cvs-ioctl_nodirection.patch -> 0005-qemu-cvs-ioctl_nodirection.patch - 0009-linux-user-add-binfmt-wrapper-for-a.patch -> 0006-linux-user-add-binfmt-wrapper-for-a.patch - 0010-PPC-KVM-Disable-mmu-notifier-check.patch -> 0007-PPC-KVM-Disable-mmu-notifier-check.patch - 0011-linux-user-fix-segfault-deadlock.patch -> 0008-linux-user-fix-segfault-deadlock.patch - 0012-linux-user-binfmt-support-host-bina.patch -> 0009-linux-user-binfmt-support-host-bina.patch - 0013-linux-user-Fake-proc-cpuinfo.patch -> 0010-linux-user-Fake-proc-cpuinfo.patch - 0014-linux-user-XXX-disable-fiemap.patch -> 0011-linux-user-XXX-disable-fiemap.patch - 0017-linux-user-use-target_ulong.patch -> 0012-linux-user-use-target_ulong.patch - 0021-console-add-question-mark-escape-op.patch -> 0013-console-add-question-mark-escape-op.patch - 0022-Make-char-muxer-more-robust-wrt-sma.patch -> 0014-Make-char-muxer-more-robust-wrt-sma.patch - 0023-linux-user-lseek-explicitly-cast-no.patch -> 0015-linux-user-lseek-explicitly-cast-no.patch - 0025-AIO-Reduce-number-of-threads-for-32.patch -> 0016-AIO-Reduce-number-of-threads-for-32.patch - 0027-xen_disk-Add-suse-specific-flush-di.patch -> 0017-xen_disk-Add-suse-specific-flush-di.patch - 0028-qemu-bridge-helper-reduce-security-.patch -> 0018-qemu-bridge-helper-reduce-security-.patch - 0029-qemu-binfmt-conf-use-qemu-ARCH-binf.patch -> 0019-qemu-binfmt-conf-use-qemu-ARCH-binf.patch - 0030-configure-Fix-detection-of-seccomp-.patch -> 0020-configure-Fix-detection-of-seccomp-.patch - 0031-linux-user-properly-test-for-infini.patch -> 0020-linux-user-properly-test-for-infini.patch - 0033-roms-Makefile-pass-a-packaging-time.patch -> 0022-roms-Makefile-pass-a-packaging-time.patch - 0034-Raise-soft-address-space-limit-to-h.patch -> 0023-Raise-soft-address-space-limit-to-h.patch - 0035-increase-x86_64-physical-bits-to-42.patch -> 0024-increase-x86_64-physical-bits-to-42.patch - 0036-vga-Raise-VRAM-to-16-MiB-for-pc-0.1.patch -> 0025-vga-Raise-VRAM-to-16-MiB-for-pc-0.1.patch - 0037-i8254-Fix-migration-from-SLE11-SP2.patch -> 0026-i8254-Fix-migration-from-SLE11-SP2.patch - 0038-acpi_piix4-Fix-migration-from-SLE11.patch -> 0027-acpi_piix4-Fix-migration-from-SLE11.patch - 0039-Fix-tigervnc-long-press-issue.patch -> 0028-Fix-tigervnc-long-press-issue.patch - 0041-string-input-visitor-Fix-uint64-par.patch -> 0029-string-input-visitor-Fix-uint64-par.patch - 0042-test-string-input-visitor-Add-int-t.patch -> 0030-test-string-input-visitor-Add-int-t.patch - 0043-test-string-input-visitor-Add-uint6.patch -> 0031-test-string-input-visitor-Add-uint6.patch - 0044-tests-Add-QOM-property-unit-tests.patch -> 0032-tests-Add-QOM-property-unit-tests.patch - 0045-tests-Add-scsi-disk-test.patch -> 0033-tests-Add-scsi-disk-test.patch -* Patches dropped (upstream unless otherwise noted): - 0003-qemu-cvs-alsa_bitfield.patch (deemed not needed) - 0004-qemu-cvs-alsa_ioctl.patch (deemed not needed) - 0005-qemu-cvs-alsa_mmap.patch (deemed not needed) - 0015-slirp-nooutgoing.patch (bsc#1055125) - 0016-vnc-password-file-and-incoming-conn.patch (bsc#1055127) - 0018-block-Add-support-for-DictZip-enabl.patch (bsc#1046783) - 0019-block-Add-tar-container-format.patch (bsc#1046783) - 0020-Legacy-Patch-kvm-qemu-preXX-dictzip.patch (bsc#1046783) - 0024-configure-Enable-PIE-for-ppc-and-pp.patch (obsolete) - 0026-dictzip-Fix-on-big-endian-systems.patch (bsc#1046783) - 0032-linux-user-remove-all-traces-of-qem.patch - 0040-fix-xen-hvm-direct-kernel-boot.patch (bsc#970791) - 0046-RFC-update-Linux-headers-from-irqs-.patch - 0047-ARM-KVM-Enable-in-kernel-timers-wit.patch - 0048-input-Add-trace-event-for-empty-key.patch - 0049-ACPI-don-t-call-acpi_pcihp_device_p.patch - 0050-i386-Allow-cpuid-bit-override.patch (was for testing only) - 0051-input-limit-kbd-queue-depth.patch - 0052-audio-release-capture-buffers.patch - 0053-scsi-avoid-an-off-by-one-error-in-m.patch - 0054-vmw_pvscsi-check-message-ring-page-.patch - 0055-9pfs-local-forbid-client-access-to-.patch - 0056-jazz_led-fix-bad-snprintf.patch - 0057-slirp-smb-Replace-constant-strings-.patch - 0058-altera_timer-fix-incorrect-memset.patch - 0059-Hacks-for-building-on-gcc-7-Fedora-.patch - 0060-9pfs-local-fix-unlink-of-alien-file.patch - 0061-megasas-do-not-read-DCMD-opcode-mor.patch - 0062-megasas-always-store-SCSIRequest-in.patch - 0063-nbd-Fully-initialize-client-in-case.patch - 0064-9pfs-local-remove-use-correct-path-.patch - 0065-hid-Reset-kbd-modifiers-on-reset.patch - 0066-input-Decrement-queue-count-on-kbd-.patch - 0067-xhci-only-update-dequeue-ptr-on-com.patch - 0068-vnc-Set-default-kbd-delay-to-10ms.patch - 0069-qemu-nbd-Ignore-SIGPIPE.patch - 0070-usb-redir-fix-stack-overflow-in-usb.patch - 0072-slirp-check-len-against-dhcp-option.patch - 0071-exec-use-qemu_ram_ptr_length-to-acc.patch - 0073-xen-mapcache-store-dma-information-.patch - 0074-exec-Add-lock-parameter-to-qemu_ram.patch - 0075-Replace-struct-ucontext-with-uconte.patch - ipxe-build-Avoid-implicit-fallthrough-warnings-on-GCC-7.patch - ipxe-iscsi-Always-send-FirstBurstLength-parameter.patch - ipxe-ath-Add-missing-break-statements.patch - ipxe-mucurses-Fix-erroneous-__nonnull-attribute.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.10 - -------------------------------------------------------------------- -Thu Aug 24 18:52:40 UTC 2017 - brogers@suse.com - -- Fix package build failure as of glibc v2.26 update in Factory - (boo#1055587) - 0075-Replace-struct-ucontext-with-uconte.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.9 - -------------------------------------------------------------------- -Mon Aug 21 08:10:38 UTC 2017 - schwab@suse.de - -- Remove redundant prerequire for pwdutils - -------------------------------------------------------------------- -Fri Aug 18 15:35:54 UTC 2017 - brogers@suse.com - -- Postrequire acl for setfacl - -------------------------------------------------------------------- -Wed Aug 16 10:52:58 UTC 2017 - schwab@suse.de - -- Prerequire shadow for groupadd - -------------------------------------------------------------------- -Tue Aug 15 19:30:11 UTC 2017 - brogers@suse.com - -- The recent security fix for CVE-2017-11334 adversely affects Xen. - Include two additional patches to make sure Xen is going to be OK. - 0073-xen-mapcache-store-dma-information-.patch - 0074-exec-Add-lock-parameter-to-qemu_ram.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.9 - -------------------------------------------------------------------- -Wed Aug 9 12:54:23 UTC 2017 - lyan@suse.com - -- Pre-add group kvm for qemu-tools (bsc#1011144) - -------------------------------------------------------------------- -Mon Aug 7 17:11:59 UTC 2017 - brogers@suse.com - -- Fixed a few more inaccuracies in the support docs. - -------------------------------------------------------------------- -Tue Jul 25 19:36:55 UTC 2017 - brogers@suse.com - -- Address various security/stability issues -* Fix DOS vulnerability in qemu-nbd (bsc#1046636 CVE-2017-10664) - 0069-qemu-nbd-Ignore-SIGPIPE.patch -* Fix DOS from stack overflow in debug messages of usb redirection - support (bsc#1047674 CVE-2017-10806) - 0070-usb-redir-fix-stack-overflow-in-usb.patch -* Fix OOB access during DMA operation (CVE-2017-11334 bsc#1048902) - 0071-exec-use-qemu_ram_ptr_length-to-acc.patch -* Fix OOB access parsing dhcp slirp options (CVE-2017-11434 bsc#1049381) - 0072-slirp-check-len-against-dhcp-option.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.9 - -------------------------------------------------------------------- -Tue Jul 25 16:51:20 UTC 2017 - brogers@suse.com - -- Fix support docs to indicate ARM64 is now fully L3 supported in - SLES 12 SP3. Apply a few additional clarifications in the support - docs. (bsc#1050268) -- Adjust to libvdeplug-devel package naming changes. - -------------------------------------------------------------------- -Tue Jul 18 19:51:45 UTC 2017 - brogers@suse.com - -- Fix migration with xhci (bsc#1048296) - 0067-xhci-only-update-dequeue-ptr-on-com.patch -- Increase VNC delay to fix missing keyboard input events (bsc#1031692) - 0068-vnc-Set-default-kbd-delay-to-10ms.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.9 - -------------------------------------------------------------------- -Thu Jun 29 10:58:13 UTC 2017 - lyan@suse.com - -- Remove build dependency package iasl used for seabios - -------------------------------------------------------------------- -Mon Jun 26 08:51:21 UTC 2017 - brogers@suse.com - -- Fixed stuck state during usb keyboard reset (bsc#1044936) - 0065-hid-Reset-kbd-modifiers-on-reset.patch -- Fixed keyboard events getting lost (bsc#1044936) - 0066-input-Decrement-queue-count-on-kbd-.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.9 - -------------------------------------------------------------------- -Tue Jun 20 14:14:14 UTC 2017 - brogers@suse.com - -- Use most recent compiler to build size-critical firmware, instead - of hard-coding gcc6 for all target versions (bsc#1043390) -* A few upstream ipxe patches were needed for gcc7 compatibility: - ipxe-ath-Add-missing-break-statements.patch - ipxe-mucurses-Fix-erroneous-__nonnull-attribute.patch -- Add --no-renames to the git format-patch command in the git - workflow script for better patch compatibility -- Address various security/stability issues -* Fix potential privilege escalation in virtfs (CVE-2016-9602 - bsc#1020427) - 0060-9pfs-local-fix-unlink-of-alien-file.patch -* Fix DOS in megasas device emulation (CVE-2017-9503 bsc#1043296) - 0061-megasas-do-not-read-DCMD-opcode-mor.patch - 0062-megasas-always-store-SCSIRequest-in.patch -* Fix DOS in qemu-nbd server (CVE-2017-9524 bsc#1043808) - 0063-nbd-Fully-initialize-client-in-case.patch -* Fix regression introduced by recent virtfs security fixes (bsc#1045035) - 0064-9pfs-local-remove-use-correct-path-.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.9 - -------------------------------------------------------------------- -Tue Jun 6 21:21:53 UTC 2017 - lyan@suse.com - -- Backport ipxe to support FirstBurstLength (bsc#1040476) - ipxe-iscsi-Always-send-FirstBurstLength-parameter.patch - -------------------------------------------------------------------- -Mon May 22 23:52:12 UTC 2017 - brogers@suse.com - -- Fixes for gcc7 compatability (bsc#1040228) (in behalf of Liang Yan) - 0056-jazz_led-fix-bad-snprintf.patch - 0057-slirp-smb-Replace-constant-strings-.patch - 0058-altera_timer-fix-incorrect-memset.patch - 0059-Hacks-for-building-on-gcc-7-Fedora-.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.9 - -------------------------------------------------------------------- -Mon May 22 19:06:22 UTC 2017 - brogers@suse.com - -- Protect access to metadata in virtio-9pfs (CVE-2017-7493 bsc#1039495) - 0055-9pfs-local-forbid-client-access-to-.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.9 - -------------------------------------------------------------------- -Thu May 11 20:55:57 UTC 2017 - brogers@suse.com - -- Address various security/stability issues -* Fix DOS potential in vnc interface (CVE-2017-8379 bsc#1037334) - 0051-input-limit-kbd-queue-depth.patch -* Fix DOS potential in vnc interface (CVE-2017-8309 bsc#1037242) - 0052-audio-release-capture-buffers.patch -* Fix OOB access in megasas device emulation (CVE-2017-8380 - bsc#1037336) - 0053-scsi-avoid-an-off-by-one-error-in-m.patch -* Fix DOS in Vmware pv scsi emulation (CVE-2017-8112 bsc#1036211) - 0054-vmw_pvscsi-check-message-ring-page-.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.9 - -------------------------------------------------------------------- -Thu May 4 20:14:25 UTC 2017 - brogers@suse.com - -- Fix building packages for some older distros. -- Further refine our handling of building firmware (or not) for - the various arch's and distro versions we build for. Note that - if we don't build x86 firmware, (eg: x86 Leap 42.1) the upstream - binary blobs are used, which may have migration incompatibilities - with previous versions of qemu provided. - -------------------------------------------------------------------- -Thu Apr 27 20:09:38 UTC 2017 - brogers@suse.com - -- Fix issue in shipping qemu v2.9.0, where pci-passthrough for Xen - HVM guests got broken (bsc#1034131) - 0049-ACPI-don-t-call-acpi_pcihp_device_p.patch -- Include experimental, unsupported feature to assist in some - performance analysis work. - 0050-i386-Allow-cpuid-bit-override.patch - -------------------------------------------------------------------- -Thu Apr 20 16:30:38 UTC 2017 - brogers@suse.com - -- Updated to v2.9.0: See http://wiki.qemu-project.org/ChangeLog/2.9 -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.9 - -------------------------------------------------------------------- -Tue Apr 18 18:03:16 UTC 2017 - brogers@suse.com - -- Updated to v2.9.0-rc5: See http://wiki.qemu-project.org/ChangeLog/2.9 -* Includes fix for CVE-2017-7471, a virtfs security issue. -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.9 - -------------------------------------------------------------------- -Wed Apr 12 15:15:25 UTC 2017 - brogers@suse.com - -- Add empty keyboard queue tracepoint to help openQA testing work - better (bsc#1031692) - 0048-input-Add-trace-event-for-empty-key.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.9 - -------------------------------------------------------------------- -Tue Apr 11 19:32:00 UTC 2017 - brogers@suse.com - -- Updated to v2.9.0-rc4: See http://wiki.qemu-project.org/ChangeLog/2.9 -- Enable ceph/rbd support for s390x (bsc#1030068) -- Enable ceph/rbd support for ppc* as available -- Update ARM in-kernel-timers patch (bsc#1033416) -* Patches renamed: - 0041-ARM-KVM-Enable-in-kernel-timers-wit.patch -> 0047-ARM-KVM-Enable-in-kernel-timers-wit.patch - 0042-string-input-visitor-Fix-uint64-par.patch -> 0041-string-input-visitor-Fix-uint64-par.patch - 0043-test-string-input-visitor-Add-int-t.patch -> 0042-test-string-input-visitor-Add-int-t.patch - 0044-test-string-input-visitor-Add-uint6.patch -> 0043-test-string-input-visitor-Add-uint6.patch - 0045-tests-Add-QOM-property-unit-tests.patch -> 0044-tests-Add-QOM-property-unit-tests.patch - 0046-tests-Add-scsi-disk-test.patch -> 0045-tests-Add-scsi-disk-test.patch -* Patches added (support patch): - 0046-RFC-update-Linux-headers-from-irqs-.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.9 - -------------------------------------------------------------------- -Wed Apr 5 16:50:48 UTC 2017 - brogers@suse.com - -- Updated to v2.9.0-rc3: See http://wiki.qemu-project.org/ChangeLog/2.9 -* Patches dropped (included in upstream source archive): - 0047-hw-intc-arm_gicv3_kvm-Check-KVM_DEV.patch - 0048-i386-Replace-uint32_t-with-FeatureW.patch - 0049-i386-Don-t-override-cpu-options-on-.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.9 -- Added additional documentation provided with v2.9.0 -- Fix build failure with gcc7 (bsc#1031340) - ipxe-build-Avoid-implicit-fallthrough-warnings-on-GCC-7.patch -- Made miscellaneous spec file refinements - -------------------------------------------------------------------- -Thu Mar 30 22:46:43 UTC 2017 - brogers@suse.com - -- The support documents included are now fairly accurate for the - arm and s390 world, and the x86 version also received a few - tweaks. Also included in those docs is a url reference to upstream - qemu deprecation plans and discussions. - (fate#321146) -- Add post v2.9.0-rc2 upstream patches which fix -cpu host and -cpu - max feature overrides for libvirt compatability. - 0048-i386-Replace-uint32_t-with-FeatureW.patch - 0049-i386-Don-t-override-cpu-options-on-.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.9 - -------------------------------------------------------------------- -Tue Mar 28 22:12:52 UTC 2017 - brogers@suse.com - -- Updated to v2.9.0-rc2: See http://wiki.qemu-project.org/ChangeLog/2.9 -* Includes fix for in guest privilege escalation when using TCG - (bsc#1030624) -* Patches dropped (equivalent included in upstream source archive): - 0047-linux-user-exclude-cpu-model-code-w.patch -- Fix failure booting SLE12-SP2 Aarch64 guest (bsc#1031384) - 0047-hw-intc-arm_gicv3_kvm-Check-KVM_DEV.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.9 - -------------------------------------------------------------------- -Tue Mar 21 20:53:47 UTC 2017 - brogers@suse.com - -- Updated to v2.9.0-rc1: See http://wiki.qemu-project.org/ChangeLog/2.9 -* Patches dropped (no longer needed based on what we now build for): - 0024-virtfs-proxy-helper-Provide-__u64-f.patch -* Patches dropped (included in upstream source archive): - 0034-dma-rc4030-limit-interval-timer-rel.patch -* Patches renamed: - 0025-configure-Enable-PIE-for-ppc-and-pp.patch -> 0024-configure-Enable-PIE-for-ppc-and-pp.patch - 0026-AIO-Reduce-number-of-threads-for-32.patch -> 0025-AIO-Reduce-number-of-threads-for-32.patch - 0027-dictzip-Fix-on-big-endian-systems.patch -> 0026-dictzip-Fix-on-big-endian-systems.patch - 0028-xen_disk-Add-suse-specific-flush-di.patch -> 0027-xen_disk-Add-suse-specific-flush-di.patch - 0029-qemu-bridge-helper-reduce-security-.patch -> 0028-qemu-bridge-helper-reduce-security-.patch - 0030-qemu-binfmt-conf-use-qemu-ARCH-binf.patch -> 0029-qemu-binfmt-conf-use-qemu-ARCH-binf.patch - 0031-configure-Fix-detection-of-seccomp-.patch -> 0030-configure-Fix-detection-of-seccomp-.patch - 0032-linux-user-properly-test-for-infini.patch -> 0031-linux-user-properly-test-for-infini.patch - 0033-linux-user-remove-all-traces-of-qem.patch -> 0032-linux-user-remove-all-traces-of-qem.patch - 0035-roms-Makefile-pass-a-packaging-time.patch -> 0033-roms-Makefile-pass-a-packaging-time.patch - 0036-Raise-soft-address-space-limit-to-h.patch -> 0034-Raise-soft-address-space-limit-to-h.patch - 0037-increase-x86_64-physical-bits-to-42.patch -> 0035-increase-x86_64-physical-bits-to-42.patch - 0038-vga-Raise-VRAM-to-16-MiB-for-pc-0.1.patch -> 0036-vga-Raise-VRAM-to-16-MiB-for-pc-0.1.patch - 0039-i8254-Fix-migration-from-SLE11-SP2.patch -> 0037-i8254-Fix-migration-from-SLE11-SP2.patch - 0040-acpi_piix4-Fix-migration-from-SLE11.patch -> 0038-acpi_piix4-Fix-migration-from-SLE11.patch - 0041-Fix-tigervnc-long-press-issue.patch -> 0039-Fix-tigervnc-long-press-issue.patch - 0042-fix-xen-hvm-direct-kernel-boot.patch -> 0040-fix-xen-hvm-direct-kernel-boot.patch - 0043-ARM-KVM-Enable-in-kernel-timers-wit.patch -> 0041-ARM-KVM-Enable-in-kernel-timers-wit.patch - 0044-string-input-visitor-Fix-uint64-par.patch -> 0042-string-input-visitor-Fix-uint64-par.patch - 0045-test-string-input-visitor-Add-int-t.patch -> 0043-test-string-input-visitor-Add-int-t.patch - 0046-test-string-input-visitor-Add-uint6.patch -> 0044-test-string-input-visitor-Add-uint6.patch - 0047-tests-Add-QOM-property-unit-tests.patch -> 0045-tests-Add-QOM-property-unit-tests.patch - 0048-tests-Add-scsi-disk-test.patch -> 0046-tests-Add-scsi-disk-test.patch - 0049-linux-user-exclude-cpu-model-code-w.patch -> 0047-linux-user-exclude-cpu-model-code-w.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.9 - -------------------------------------------------------------------- -Mon Mar 20 22:02:08 UTC 2017 - brogers@suse.com - -- Updated to v2.9.0-rc0: See http://wiki.qemu-project.org/ChangeLog/2.9 -* Updated version carries fixes for the following reported issues: - CVE-2016-9602 bsc#1020427, CVE-2016-9923 bsc#1014703, - CVE-2017-2630 bsc#1025396, CVE-2017-2633 bsc#1026612, - CVE-2017-5579 bsc#1021741, CVE-2017-5931 bsc#1024114, - CVE-2017-5973 bsc#1025109, CVE-2017-5987 bsc#1025311, - CVE-2017-6058 bsc#1025837, CVE-2017-6505 bsc#1028184 -* Patches dropped: - seabios_128kb.patch (no longer required) -* Patches dropped (included in upstream source archive): - 0035-net-imx-limit-buffer-descriptor-cou.patch - 0045-virtio-gpu-call-cleanup-mapping-fun.patch - 0051-virtio-gpu-fix-information-leak-in-.patch - 0052-display-cirrus-ignore-source-pitch-.patch - 0053-s390x-kvm-fix-small-race-reboot-vs..patch - 0054-target-s390x-use-qemu-cpu-model-in-.patch - 0056-tests-check-path-to-avoid-a-failing.patch - 0057-display-virtio-gpu-3d-check-virgl-c.patch - 0058-watchdog-6300esb-add-exit-function.patch - 0059-virtio-gpu-3d-fix-memory-leak-in-re.patch - 0060-virtio-gpu-fix-memory-leak-in-resou.patch - 0061-virtio-fix-vq-inuse-recalc-after-mi.patch - 0062-audio-es1370-add-exit-function.patch - 0063-audio-ac97-add-exit-function.patch - 0064-megasas-fix-guest-triggered-memory-.patch - 0065-cirrus-handle-negative-pitch-in-cir.patch - 0066-cirrus-fix-blit-address-mask-handli.patch - 0067-cirrus-fix-oob-access-issue-CVE-201.patch - 0068-usb-ccid-check-ccid-apdu-length.patch - 0069-sd-sdhci-check-data-length-during-d.patch - 0070-virtio-gpu-fix-resource-leak-in-vir.patch - 0071-cirrus-fix-patterncopy-checks.patch - 0072-cirrus-add-blit_is_unsafe-call-to-c.patch -* Patches renamed: - 0036-roms-Makefile-pass-a-packaging-time.patch -> 0035-roms-Makefile-pass-a-packaging-time.patch - 0037-Raise-soft-address-space-limit-to-h.patch -> 0036-Raise-soft-address-space-limit-to-h.patch - 0038-increase-x86_64-physical-bits-to-42.patch -> 0037-increase-x86_64-physical-bits-to-42.patch - 0039-vga-Raise-VRAM-to-16-MiB-for-pc-0.1.patch -> 0038-vga-Raise-VRAM-to-16-MiB-for-pc-0.1.patch - 0040-i8254-Fix-migration-from-SLE11-SP2.patch -> 0039-i8254-Fix-migration-from-SLE11-SP2.patch - 0041-acpi_piix4-Fix-migration-from-SLE11.patch -> 0040-acpi_piix4-Fix-migration-from-SLE11.patch - 0042-Fix-tigervnc-long-press-issue.patch -> 0041-Fix-tigervnc-long-press-issue.patch - 0043-fix-xen-hvm-direct-kernel-boot.patch -> 0042-fix-xen-hvm-direct-kernel-boot.patch - 0044-ARM-KVM-Enable-in-kernel-timers-wit.patch -> 0043-ARM-KVM-Enable-in-kernel-timers-wit.patch - 0046-string-input-visitor-Fix-uint64-par.patch -> 0044-string-input-visitor-Fix-uint64-par.patch - 0047-test-string-input-visitor-Add-int-t.patch -> 0045-test-string-input-visitor-Add-int-t.patch - 0048-test-string-input-visitor-Add-uint6.patch -> 0046-test-string-input-visitor-Add-uint6.patch - 0049-tests-Add-QOM-property-unit-tests.patch -> 0047-tests-Add-QOM-property-unit-tests.patch - 0050-tests-Add-scsi-disk-test.patch -> 0048-tests-Add-scsi-disk-test.patch - 0055-linux-user-exclude-cpu-model-code-w.patch -> 0049-linux-user-exclude-cpu-model-code-w.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.9 - -------------------------------------------------------------------- -Wed Mar 1 12:26:56 UTC 2017 - brogers@suse.com - -- Buildignore for the global gcc-PIE, as this package enables PIE - on its own and has troubles if all use it. (meissner@suse.com) - -------------------------------------------------------------------- -Wed Mar 1 03:08:27 UTC 2017 - brogers@suse.com - -- Address various security/stability issues -* Fix OOB access in virito-gpu-3d (CVE-2016-10028 bsc#1017084 - bsc#1016503) - 0057-display-virtio-gpu-3d-check-virgl-c.patch -* Fix DOS in Intel 6300ESB device emulation (CVE-2016-10155 bsc#1021129) - 0058-watchdog-6300esb-add-exit-function.patch -* Fix DOS in virtio-gpu-3d (CVE-2017-5552 bsc#1021195) - 0059-virtio-gpu-3d-fix-memory-leak-in-re.patch -* Fix DOS in virtio-gpu (CVE-2017-5578 bsc#1021481) - 0060-virtio-gpu-fix-memory-leak-in-resou.patch -* Fix cause of infrequent migration failures from bad virtio device - state. (bsc#1020928) - 0061-virtio-fix-vq-inuse-recalc-after-mi.patch -* Fix DOS in es1370 emulated audio device (CVE-2017-5526 bsc#1020589) - 0062-audio-es1370-add-exit-function.patch -* Fix DOS in ac97 emulated audio device (CVE-2017-5525 bsc#1020491) - 0063-audio-ac97-add-exit-function.patch -* Fix DOS in megasas device emulation (CVE-2017-5856 bsc#1023053) - 0064-megasas-fix-guest-triggered-memory-.patch -* Fix various inaccuracies in cirrus vga device emulation - 0065-cirrus-handle-negative-pitch-in-cir.patch - 0066-cirrus-fix-blit-address-mask-handli.patch -* Fix OOB access in cirrus vga emulation (CVE-2017-2615 bsc#1023004) - 0067-cirrus-fix-oob-access-issue-CVE-201.patch -* Fix DOS in usb CCID card device emulator (CVE-2017-5898 bsc#1023907) - 0068-usb-ccid-check-ccid-apdu-length.patch -* Fix OOB access in SDHCI device emulation (CVE-2017-5667 bsc#1022541) - 0069-sd-sdhci-check-data-length-during-d.patch -* Fix DOS in virtio-gpu-3d (CVE-2017-5857 bsc#1023073) - 0070-virtio-gpu-fix-resource-leak-in-vir.patch -* Fix cirrus patterncopy checks - 0071-cirrus-fix-patterncopy-checks.patch -* Fix OOB access in cirrus vga emulation (CVE-2017-2620 bsc#1024972) - 0072-cirrus-add-blit_is_unsafe-call-to-c.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.8 - -------------------------------------------------------------------- -Thu Feb 23 18:27:35 UTC 2017 - brogers@suse.com - -- Fix name of s390x specific sysctl configuration file to end with - .conf (bsc#1026583) - -------------------------------------------------------------------- -Fri Feb 17 22:05:51 UTC 2017 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.8 -* Check that sysfs path exists before running test which requires - it. This allows qemu-testsuite to succeed in local build service - chroot based package build. - 0056-tests-check-path-to-avoid-a-failing.patch - -------------------------------------------------------------------- -Wed Feb 15 18:31:11 UTC 2017 - brogers@suse.com - -- Factory and SLE12-SP3 got a name change in the dtc devel package: - libfdt1-devel -> libfdt-devel. Adjust our spec file accordingly. - -------------------------------------------------------------------- -Tue Feb 14 17:39:00 UTC 2017 - brogers@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.8 -* Patches added: - 0055-linux-user-exclude-cpu-model-code-w.patch - -------------------------------------------------------------------- -Thu Feb 2 16:41:55 UTC 2017 - brogers@suse.com - -- Make sure qemu guest agent is usable as soon as qemu-guest-agent - package is installed. The previous post script was still not - doing the job. -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.8 -* Fix potential hang/crash rebooting s390x guest - 0053-s390x-kvm-fix-small-race-reboot-vs..patch -* Fix s390x linux-user failure since v2.8.0 update - 0054-target-s390x-use-qemu-cpu-model-in-.patch - -------------------------------------------------------------------- -Wed Jan 25 20:57:29 UTC 2017 - brogers@suse.com - -- Merge qemu packages from openSUSE and SUSE SLE releases together - for the v2.8 qemu update. The qemu.changes file is the openSUSE - version with this entry providing CVE, FATE, and bugzilla - references from the SUSE SLE qemu package to date (see below) -- Updated to v2.8.0: See http://wiki.qemu-project.org/ChangeLog/2.8 -* For SUSE SLE-12-SP3, update relates to fate#319684, fate#321331, - fate#321335, fate#321339, fate#321349, fate#321857 -* For best compatibility, qemu-ifup and kvm_stat scripts now owned - by qemu package -* Build ipxe roms with gcc6 to maintain SLE legacy migration - compatibility requirements -* qmp-commands.txt file removed, to resurface in future doc reorganization -* qemu-tech.html file merged into other existing doc -* trace-events renamed to trace-events-all -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.8 -* Patches dropped (upstream): - 0013-linux-user-lock-tcg.patch - 0014-linux-user-Run-multi-threaded-code-.patch - 0015-linux-user-lock-tb-flushing-too.patch - 0017-linux-user-implement-FS_IOC_GETFLAG.patch - 0018-linux-user-implement-FS_IOC_SETFLAG.patch - 0034-xen-SUSE-xenlinux-unplug-for-emulat.patch - 0039-Fix-tlb_vaddr_to_host-with-CONFIG_U.patch - 0041-vmsvga-correct-bitmap-and-pixmap-si.patch - 0042-scsi-mptconfig-fix-an-assert-expres.patch - 0043-scsi-mptconfig-fix-misuse-of-MPTSAS.patch - 0044-scsi-pvscsi-limit-loop-to-fetch-SG-.patch - 0045-usb-xhci-fix-memory-leak-in-usb_xhc.patch - 0046-scsi-mptsas-use-g_new0-to-allocate-.patch - 0047-scsi-pvscsi-limit-process-IO-loop-t.patch - 0048-virtio-add-check-for-descriptor-s-m.patch - 0049-net-mcf-limit-buffer-descriptor-cou.patch - 0050-usb-ehci-fix-memory-leak-in-ehci_pr.patch - 0051-xhci-limit-the-number-of-link-trbs-.patch - 0052-9pfs-allocate-space-for-guest-origi.patch - 0053-9pfs-fix-memory-leak-in-v9fs_link.patch - 0054-9pfs-fix-potential-host-memory-leak.patch - 0055-9pfs-fix-information-leak-in-xattr-.patch - 0056-9pfs-fix-memory-leak-in-v9fs_xattrc.patch - 0057-9pfs-fix-memory-leak-in-v9fs_write.patch - 0058-char-serial-check-divider-value-aga.patch - 0059-net-pcnet-check-rx-tx-descriptor-ri.patch - 0060-net-eepro100-fix-memory-leak-in-dev.patch - 0061-net-rocker-set-limit-to-DMA-buffer-.patch - 0062-net-vmxnet-initialise-local-tx-desc.patch - 0063-net-rtl8139-limit-processing-of-rin.patch - 0064-audio-intel-hda-check-stream-entry-.patch - 0065-virtio-gpu-fix-memory-leak-in-virti.patch - 0066-9pfs-fix-integer-overflow-issue-in-.patch - slof_xhci.patch -* Patches renamed: - 0016-linux-user-Fake-proc-cpuinfo.patch -> 0013-linux-user-Fake-proc-cpuinfo.patch - 0019-linux-user-XXX-disable-fiemap.patch -> 0014-linux-user-XXX-disable-fiemap.patch - 0020-slirp-nooutgoing.patch -> 0015-slirp-nooutgoing.patch - 0021-vnc-password-file-and-incoming-conn.patch -> 0016-vnc-password-file-and-incoming-conn.patch - 0022-linux-user-use-target_ulong.patch -> 0017-linux-user-use-target_ulong.patch - 0023-block-Add-support-for-DictZip-enabl.patch -> 0018-block-Add-support-for-DictZip-enabl.patch - 0024-block-Add-tar-container-format.patch -> 0019-block-Add-tar-container-format.patch - 0025-Legacy-Patch-kvm-qemu-preXX-dictzip.patch -> 0020-Legacy-Patch-kvm-qemu-preXX-dictzip.patch - 0026-console-add-question-mark-escape-op.patch -> 0021-console-add-question-mark-escape-op.patch - 0027-Make-char-muxer-more-robust-wrt-sma.patch -> 0022-Make-char-muxer-more-robust-wrt-sma.patch - 0028-linux-user-lseek-explicitly-cast-no.patch -> 0023-linux-user-lseek-explicitly-cast-no.patch - 0029-virtfs-proxy-helper-Provide-__u64-f.patch -> 0024-virtfs-proxy-helper-Provide-__u64-f.patch - 0030-configure-Enable-PIE-for-ppc-and-pp.patch -> 0025-configure-Enable-PIE-for-ppc-and-pp.patch - 0031-AIO-Reduce-number-of-threads-for-32.patch -> 0026-AIO-Reduce-number-of-threads-for-32.patch - 0032-dictzip-Fix-on-big-endian-systems.patch -> 0027-dictzip-Fix-on-big-endian-systems.patch - 0033-xen_disk-Add-suse-specific-flush-di.patch -> 0028-xen_disk-Add-suse-specific-flush-di.patch - 0035-qemu-bridge-helper-reduce-security-.patch -> 0029-qemu-bridge-helper-reduce-security-.patch - 0036-qemu-binfmt-conf-use-qemu-ARCH-binf.patch -> 0030-qemu-binfmt-conf-use-qemu-ARCH-binf.patch - 0037-configure-Fix-detection-of-seccomp-.patch -> 0031-configure-Fix-detection-of-seccomp-.patch - 0038-linux-user-properly-test-for-infini.patch -> 0032-linux-user-properly-test-for-infini.patch - 0040-linux-user-remove-all-traces-of-qem.patch -> 0033-linux-user-remove-all-traces-of-qem.patch - 0067-dma-rc4030-limit-interval-timer-rel.patch -> 0034-dma-rc4030-limit-interval-timer-rel.patch - 0068-net-imx-limit-buffer-descriptor-cou.patch -> 0035-net-imx-limit-buffer-descriptor-cou.patch - 0069-roms-Makefile-pass-a-packaging-time.patch -> 0036-roms-Makefile-pass-a-packaging-time.patch -* Patches added: - 0037-Raise-soft-address-space-limit-to-h.patch - 0038-increase-x86_64-physical-bits-to-42.patch - 0039-vga-Raise-VRAM-to-16-MiB-for-pc-0.1.patch - 0040-i8254-Fix-migration-from-SLE11-SP2.patch - 0041-acpi_piix4-Fix-migration-from-SLE11.patch - 0042-Fix-tigervnc-long-press-issue.patch - 0043-fix-xen-hvm-direct-kernel-boot.patch - 0044-ARM-KVM-Enable-in-kernel-timers-wit.patch - 0045-virtio-gpu-call-cleanup-mapping-fun.patch - 0046-string-input-visitor-Fix-uint64-par.patch - 0047-test-string-input-visitor-Add-int-t.patch - 0048-test-string-input-visitor-Add-uint6.patch - 0049-tests-Add-QOM-property-unit-tests.patch - 0050-tests-Add-scsi-disk-test.patch - 0051-virtio-gpu-fix-information-leak-in-.patch - 0052-display-cirrus-ignore-source-pitch-.patch - ipxe-use-gcc6-for-more-compact-code.patch -* SLE patches dropped (accounted for in above listed changes): - 0002-qemu-0.9.0.cvs-binfmt.patch - 0009-block-vmdk-Support-creation-of-SCSI.patch - 0010-linux-user-add-binfmt-wrapper-for-a.patch - 0011-PPC-KVM-Disable-mmu-notifier-check.patch - 0012-linux-user-fix-segfault-deadlock.patch - 0013-linux-user-binfmt-support-host-bina.patch - 0014-linux-user-Ignore-broken-loop-ioctl.patch - 0015-linux-user-lock-tcg.patch - 0016-linux-user-Run-multi-threaded-code-.patch - 0017-linux-user-lock-tb-flushing-too.patch - 0018-linux-user-Fake-proc-cpuinfo.patch - 0019-linux-user-implement-FS_IOC_GETFLAG.patch - 0020-linux-user-implement-FS_IOC_SETFLAG.patch - 0021-linux-user-XXX-disable-fiemap.patch - 0022-slirp-nooutgoing.patch - 0023-vnc-password-file-and-incoming-conn.patch - 0024-linux-user-add-more-blk-ioctls.patch - 0025-linux-user-use-target_ulong.patch - 0026-block-Add-support-for-DictZip-enabl.patch - 0027-block-Add-tar-container-format.patch - 0028-Legacy-Patch-kvm-qemu-preXX-dictzip.patch - 0029-console-add-question-mark-escape-op.patch - 0030-Make-char-muxer-more-robust-wrt-sma.patch - 0031-linux-user-lseek-explicitly-cast-no.patch - 0032-virtfs-proxy-helper-Provide-_u64-f.patch - 0033-configure-Enable-PIE-for-ppc-and-pp.patch - 0034-Raise-soft-address-space-limit-to-h.patch - 0035-increase-x86_64-physical-bits-to-42.patch - 0036-vnc-provide-fake-color-map.patch - 0037-vga-Raise-VRAM-to-16-MiB-for-pc-0.1.patch - 0038-i8254-Fix-migration-from-SLE11-SP2.patch - 0039-acpi_piix4-Fix-migration-from-SLE11.patch - 0040-qtest-Increase-socket-timeout-to-ac.patch - 0041-dictzip-Fix-on-big-endian-systems.patch - 0043-xen_disk-Add-suse-specific-flush-di.patch - 0044-Split-large-discard-requests-from-b.patch - 0045-fix-xen-hvm-direct-kernel-boot.patch - 0046-xen-introduce-dummy-system-device.patch - 0047-xen-write-information-about-support.patch - 0048-xen-add-pvUSB-backend.patch - 0049-xen-move-xen_sysdev-to-xen_backend..patch - 0050-vnc-add-configurable-keyboard-delay.patch - 0051-xen-SUSE-xenlinux-unplug-for-emulat.patch - 0052-configure-add-echo_version-helper.patch - 0053-configure-support-vte-2.91.patch - 0054-scsi-esp-fix-migration.patch - 0055-hw-arm-virt-mark-the-PCIe-host-cont.patch - 0056-xen-when-removing-a-backend-don-t-r.patch - 0057-xen-drain-submit-queue-in-xen-usb-b.patch - 0058-qcow2-avoid-extra-flushes-in-qcow2.patch - 0059-qemu-bridge-helper-reduce-security-.patch - 0060-xen-use-a-common-function-for-pv-an.patch - 0061-xen_platform-unplug-also-SCSI-disks.patch - 0062-virtio-check-vring-descriptor-buffe.patch - 0063-net-vmxnet3-check-for-device_active.patch - 0064-net-vmxnet-initialise-local-tx-desc.patch - 0065-scsi-pvscsi-avoid-infinite-loop-whi.patch - 0066-ARM-KVM-Enable-in-kernel-timers-wit.patch - 0067-hw-net-Fix-a-heap-overflow-in-xlnx..patch - 0068-vmsvga-correct-bitmap-and-pixmap-si.patch - 0069-usb-xhci-fix-memory-leak-in-usb_xhc.patch - 0070-virtio-add-check-for-descriptor-s-m.patch - 0071-net-mcf-limit-buffer-descriptor-cou.patch - 0072-usb-ehci-fix-memory-leak-in-ehci_pr.patch - 0073-xhci-limit-the-number-of-link-trbs-.patch - 0074-9pfs-allocate-space-for-guest-origi.patch - 0075-9pfs-fix-memory-leak-in-v9fs_link.patch - 0076-9pfs-fix-potential-host-memory-leak.patch - 0077-9pfs-fix-memory-leak-in-v9fs_write.patch - 0078-char-serial-check-divider-value-aga.patch - 0079-net-pcnet-check-rx-tx-descriptor-ri.patch - 0080-net-eepro100-fix-memory-leak-in-dev.patch - 0081-net-rocker-set-limit-to-DMA-buffer-.patch - 0082-net-rtl8139-limit-processing-of-rin.patch - 0083-audio-intel-hda-check-stream-entry-.patch - 0084-virtio-gpu-fix-memory-leak-in-virti.patch - 0085-9pfs-fix-integer-overflow-issue-in-.patch - 0086-dma-rc4030-limit-interval-timer-rel.patch - 0087-net-imx-limit-buffer-descriptor-cou.patch - 0088-target-i386-Implement-CPUID-0xB-Ext.patch - 0089-target-i386-present-virtual-L3-cach.patch - 0090-migration-fix-inability-to-save-VM-.patch - 0091-ui-gtk-Fix-a-runtime-warning-on-vte.patch - 0092-gtk-don-t-leak-the-GtkBorder-with-V.patch - 0093-xen-fix-ioreq-handling.patch - 0094-macio-Use-blk_drain-instead-of-blk_.patch - 0095-rbd-Switch-rbd_start_aio-to-byte-ba.patch - 0096-virtio-blk-Release-s-rq-queue-at-sy.patch - 0097-virtio-blk-Remove-stale-comment-abo.patch - 0098-block-reintroduce-bdrv_flush_all.patch - 0099-qemu-use-bdrv_flush_all-for-vm_stop.patch - 0100-block-backend-remove-blkflush_all.patch - 0101-char-fix-missing-return-in-error-pa.patch - 0102-rbd-shift-byte-count-as-a-64-bit-va.patch - 0103-mirror-use-bdrv_drained_begin-bdrv_.patch - 0104-block-curl-Use-BDRV_SECTOR_SIZE.patch - 0105-block-curl-Fix-return-value-from-cu.patch - 0106-block-curl-Remember-all-sockets.patch - 0107-block-curl-Do-not-wait-for-data-bey.patch - 0108-virtio-allow-per-device-class-legac.patch - 0109-virtio-net-mark-VIRTIO_NET_F_GSO-as.patch - 0110-vhost-adapt-vhost_verify_ring_mappi.patch - 0111-ivshmem-Fix-64-bit-memory-bar-confi.patch - 0112-intel_iommu-fix-incorrect-device-in.patch - 0113-9pfs-fix-information-leak-in-xattr-.patch - 0114-9pfs-fix-memory-leak-in-v9fs_xattrc.patch - 0115-net-mcf-check-receive-buffer-size-r.patch - 0116-virtio-gpu-fix-memory-leak-in-updat.patch - 0117-virtio-gpu-fix-information-leak-in-.patch - 0118-9pfs-adjust-the-order-of-resource-c.patch - 0119-9pfs-add-cleanup-operation-in-FileO.patch - 0120-9pfs-add-cleanup-operation-for-hand.patch - 0121-9pfs-add-cleanup-operation-for-prox.patch - 0122-virtio-gpu-call-cleanup-mapping-fun.patch - 0123-string-input-visitor-Fix-uint64-par.patch - 0124-test-string-input-visitor-Add-int-t.patch - 0125-test-string-input-visitor-Add-uint6.patch - 0126-tests-Add-QOM-property-unit-tests.patch - 0127-tests-Add-scsi-disk-test.patch - 0128-usb-ehci-fix-memory-leak-in-ehci_in.patch - 0129-usbredir-free-vm_change_state_handl.patch - 0130-virtio-gpu-fix-information-leak-in-.patch - ipxe-ath9k-Fix-buffer-overrun-for-ar9287.patch - ipxe-ath-Fix-building-with-GCC-6.patch - ipxe-efi-fix-garbage-bytes-in-device-path.patch - ipxe-efi-fix-uninitialised-data-in-HII.patch - ipxe-legacy-Fix-building-with-GCC-6.patch - ipxe-mucurses-Fix-GCC-6-nonnull-compare-errors.patch - ipxe-sis190-Fix-building-with-GCC-6.patch - ipxe-skge-Fix-building-with-GCC-6.patch - ipxe-util-v5.24-perl-errors-on-redeclare.patch -- SLE CVE, FATE, and bugzilla references not otherwise listed in - this changelog file. The intent of this list is to indicate that - the fix or feature continues the line of inheritance in the - development stream of this package. The list is intended to - satisfy searches only - refer to the SLE-12-SP2 changelog file - for additional details. -* fate#314468 fate#314497 fate#315125 fate#315467 fate#317015 - fate#317741 fate#317763 fate#318349 fate#319660 fate#319979 - fate#321010 -* bnc#812983 bnc#869026 bnc#869746 bnc#874413 bnc#875582 bnc#875870 - bnc#877642 bnc#877645 bnc#878541 bsc#882405 bsc#886378 bnc#893339 - bnc#893892 bnc#895369 bnc#896726 bnc#897654 bnc#905097 bnc#907805 - bnc#908380 bnc#914521 bsc#924018 bsc#929339 bsc#932267 bsc#932770 - bsc#933981 bsc#936537 bsc#937125 bsc#938344 bsc#940929 bsc#942845 - bsc#943446 bsc#944697 bsc#945404 bsc#945987 bsc#945989 bsc#946020 - bsc#947159 bnc#953518 bsc#954864 bsc#956829 bsc#957162 bsc#958491 - bsc#958917 bsc#959005 bsc#959386 bsc#960334 bsc#960708 bsc#960725 - bsc#960835 bsc#961333 bsc#961556 bsc#961691 bsc#962320 bsc#963782 - bsc#964413 bsc#970791 bsc#974141 bsc#978158 bsc#979473 bsc#982365 - bsc#989655 bsc#991466 bsc#994771 bsc#994774 bsc#996441 bsc#997858 - bsc#999212 - bsc#1001151 bsc#1002116 bsc#1005353 boo#1007263 bsc#1007769 - bsc#1008519 bsc#1009109 bsc#1013285 bsc#1013341 bsc#1013764 - bsc#1013767 bsc#1014109 bsc#1014110 bsc#1014111 bsc#1014112 - bsc#1014256 bsc#1014514 bsc#1014702 bsc#1015169 bsc#1016779 -* CVE-2014-0222 CVE-2014-0223 CVE-2014-3461 CVE-2014-3640 CVE-2014-7840 - CVE-2014-8106 CVE-2015-1779 CVE-2015-3209 CVE-2015-4037 CVE-2015-5154 - CVE-2015-5225 CVE-2015-5278 CVE-2015-5279 CVE-2015-5745 CVE-2015-6815 - CVE-2015-6855 CVE-2015-7295 CVE-2015-7512 CVE-2015-7549 CVE-2015-8345 - CVE-2015-8504 CVE-2015-8558 CVE-2015-8567 CVE-2015-8568 CVE-2015-8613 - CVE-2015-8619 CVE-2015-8743 CVE-2015-8744 CVE-2015-8745 CVE-2016-1568 - CVE-2016-1714 CVE-2016-1922 CVE-2016-1981 CVE-2016-2198 CVE-2016-3710 - CVE-2016-6490 CVE-2016-6833 CVE-2016-6888 CVE-2016-7116 CVE-2016-7155 - CVE-2016-7161 CVE-2016-9381 CVE-2016-9776 CVE-2016-9845 CVE-2016-9846 - CVE-2016-9907 CVE-2016-9908 CVE-2016-9911 CVE-2016-9912 CVE-2016-9913 - CVE-2016-9921 CVE-2016-9922 - -------------------------------------------------------------------- -Fri Jan 13 17:21:25 UTC 2017 - brogers@suse.com - -- Despite the previous entry about re-enabling ceph on Nov 19, 2016 - the change wasn't actually done. Do it now. - -------------------------------------------------------------------- -Wed Jan 11 17:36:17 UTC 2017 - afaerber@suse.de - -- sgabios-stable-buildid.patch: Use geeko@buildhost - -------------------------------------------------------------------- -Mon Nov 28 20:21:27 UTC 2016 - afaerber@suse.de - -- slof_xhci.patch: XHCI fixes (boo#977027) - -------------------------------------------------------------------- -Mon Nov 28 18:18:56 UTC 2016 - afaerber@suse.de - -- Recommend x86 ROMs for emulated PCI cards on ppc, arm, others - (bsc#1005869, michals) - -------------------------------------------------------------------- -Tue Nov 22 14:44:51 UTC 2016 - afaerber@suse.de - -- Tidy SLOF patch boilerplate (michals) - -------------------------------------------------------------------- -Mon Nov 21 17:26:36 UTC 2016 - afaerber@suse.de - -- Build with spice on all archs. (boo#1009438, michals) - -------------------------------------------------------------------- -Sat Nov 19 15:24:03 UTC 2016 - brogers@suse.com - -- Refine the approach to producing stable builds in our ROM based - packages. All built roms which have hostname or date calls now - produce consistent results build to build via patch changes, so - remove the hostname and date call workarounds. (bsc#1011213) -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.7 -* Patches added: - 0069-roms-Makefile-pass-a-packaging-time.patch - sgabios-stable-buildid.patch - -------------------------------------------------------------------- -Sat Nov 19 15:15:03 UTC 2016 - brogers@suse.com - -- Re-enable ceph (rbd) functionality in OBS builds as we've been told - the issues which prompted us to disable it are resolved - -- Address various security/stability issues -* Fix OOB access in VMware SVGA emulation (CVE-2016-7170 bsc#998516) - 0041-vmsvga-correct-bitmap-and-pixmap-si.patch -* Fix DOS in LSI SAS1068 emulation (CVE-2016-7157 bsc#997860) - 0042-scsi-mptconfig-fix-an-assert-expres.patch - 0043-scsi-mptconfig-fix-misuse-of-MPTSAS.patch -* Fix DOS in Vmware pv scsi interface (CVE-2016-7156 bsc#997859) - 0044-scsi-pvscsi-limit-loop-to-fetch-SG-.patch -* Fix DOS in USB xHCI emulation (CVE-2016-7466 bsc#1000345) - 0045-usb-xhci-fix-memory-leak-in-usb_xhc.patch -* Fix OOB access in LSI SAS1068 emulation (CVE-2016-7423 bsc#1000397) - 0046-scsi-mptsas-use-g_new0-to-allocate-.patch -* Fix DOS in Vmware pv scsi interface (CVE-2016-7421 bsc#999661) - 0047-scsi-pvscsi-limit-process-IO-loop-t.patch -* Fix NULL pointer dereference in virtio processing - (CVE-2016-7422 bsc#1000346) - 0048-virtio-add-check-for-descriptor-s-m.patch -* Fix DOS in ColdFire Fast Ethernet Controller emulation - (CVE-2016-7908 bsc#1002550) - 0049-net-mcf-limit-buffer-descriptor-cou.patch -* Fix DOS in USB EHCI emulation (CVE-2016-7995 bsc#1003612) - 0050-usb-ehci-fix-memory-leak-in-ehci_pr.patch -* Fix DOS in USB xHCI emulation (CVE-2016-8576 bsc#1003878) - 0051-xhci-limit-the-number-of-link-trbs-.patch -* Fix DOS in virtio-9pfs (CVE-2016-8578 bsc#1003894) - 0052-9pfs-allocate-space-for-guest-origi.patch -* Fix DOS in virtio-9pfs (CVE-2016-9105 bsc#1007494) - 0053-9pfs-fix-memory-leak-in-v9fs_link.patch -* Fix DOS in virtio-9pfs (CVE-2016-8577 bsc#1003893) - 0054-9pfs-fix-potential-host-memory-leak.patch -* Plug data leak in virtio-9pfs interface (CVE-2016-9103 bsc#1007454) - 0055-9pfs-fix-information-leak-in-xattr-.patch -* Fix DOS in virtio-9pfs interface (CVE-2016-9102 bsc#1007450) - 0056-9pfs-fix-memory-leak-in-v9fs_xattrc.patch -* Fix DOS in virtio-9pfs (CVE-2016-9106 bsc#1007495) - 0057-9pfs-fix-memory-leak-in-v9fs_write.patch -* Fix DOS in 16550A UART emulation (CVE-2016-8669 bsc#1004707) - 0058-char-serial-check-divider-value-aga.patch -* Fix DOS in PC-Net II emulation (CVE-2016-7909 bsc#1002557) - 0059-net-pcnet-check-rx-tx-descriptor-ri.patch -* Fix DOS in PRO100 emulation (CVE-2016-9101 bsc#1007391) - 0060-net-eepro100-fix-memory-leak-in-dev.patch -* Fix OOB access in Rocker switch emulation (CVE-2016-8668 bsc#1004706) - 0061-net-rocker-set-limit-to-DMA-buffer-.patch -* Plug data leak in vmxnet3 emulation (CVE-2016-6836 bsc#994760) - 0062-net-vmxnet-initialise-local-tx-desc.patch -* Fix DOS in RTL8139 emulation (CVE-2016-8910 bsc#1006538) - 0063-net-rtl8139-limit-processing-of-rin.patch -* Fix DOS in Intel HDA controller emulation (CVE-2016-8909 bsc#1006536) - 0064-audio-intel-hda-check-stream-entry-.patch -* Fix DOS in virtio-gpu (CVE-2016-7994 bsc#1003613) - 0065-virtio-gpu-fix-memory-leak-in-virti.patch -* Fix DOS in virtio-9pfs (CVE-2016-9104 bsc#1007493) - 0066-9pfs-fix-integer-overflow-issue-in-.patch -* Fix DOS in JAZZ RC4030 emulation (CVE-2016-8667 bsc#1004702) - 0067-dma-rc4030-limit-interval-timer-rel.patch -* Fix DOS in i.MX NIC emulation (CVE-2016-7907 bsc#1002549) - 0068-net-imx-limit-buffer-descriptor-cou.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.7 - -------------------------------------------------------------------- -Fri Nov 11 11:11:11 UTC 2016 - ohering@suse.de - -- Use fixed timestamps and stable build_id in ipxe and other ROMs -* Patches added: - ipxe-stable-buildid.patch - -------------------------------------------------------------------- -Mon Nov 7 16:14:15 UTC 2016 - afaerber@suse.de - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.7 -* Patch updated: - 0040-linux-user-skip-0-flag-from-proc-se.patch -> 0040-linux-user-remove-all-traces-of-qem.patch - -------------------------------------------------------------------- -Tue Sep 27 16:18:31 UTC 2016 - afaerber@suse.de - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.7 -* Patches added: - 0040-linux-user-skip-0-flag-from-proc-se.patch - -------------------------------------------------------------------- -Thu Sep 22 15:04:43 UTC 2016 - afaerber@suse.de - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.7 -* Patches added: - 0039-Fix-tlb_vaddr_to_host-with-CONFIG_U.patch - -------------------------------------------------------------------- -Wed Sep 21 13:24:20 UTC 2016 - afaerber@suse.de - -- Document two new options, but leave jemalloc disabled for now -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.7 -* Patches dropped: - 0034-build-link-with-libatomic-on-powerp.patch -* Patches renamed: - 0035-xen-SUSE-xenlinux-unplug-for-emulat.patch -> 0034-xen-SUSE-xenlinux-unplug-for-emulat.patch - 0036-qemu-bridge-helper-reduce-security-.patch -> 0035-qemu-bridge-helper-reduce-security-.patch - 0037-qemu-binfmt-conf-use-qemu-ARCH-binf.patch -> 0036-qemu-binfmt-conf-use-qemu-ARCH-binf.patch - 0038-configure-Fix-detection-of-seccomp-.patch -> 0037-configure-Fix-detection-of-seccomp-.patch - 0039-linux-user-properly-test-for-infini.patch -> 0038-linux-user-properly-test-for-infini.patch - -------------------------------------------------------------------- -Sat Sep 10 09:27:57 UTC 2016 - afaerber@suse.de - -- Updated to v2.7.0: See http://wiki.qemu-project.org/ChangeLog/2.7 -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.7 -* Patches added: - 0039-linux-user-properly-test-for-infini.patch - -------------------------------------------------------------------- -Tue Sep 6 17:05:06 UTC 2016 - brogers@suse.com - -- Use new kvm_stat package where available, else provide updated - kvm_stat script. - -------------------------------------------------------------------- -Wed Aug 31 13:40:20 UTC 2016 - afaerber@suse.de - -- Update to v2.7.0-rc5: See http://wiki.qemu-project.org/ChangeLog/2.7 - -------------------------------------------------------------------- -Tue Aug 23 16:04:11 UTC 2016 - afaerber@suse.de - -- Updated to v2.7.0-rc2: See http://wiki.qemu-project.org/ChangeLog/2.7 -* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.7 -* Patches dropped: - 0002-qemu-0.9.0.cvs-binfmt.patch (script rewritten upstream) - 0009-block-vmdk-Support-creation-of-SCSI.patch (deprecated) - 0014-linux-user-Ignore-broken-loop-ioctl.patch (implemented upstream) - 0024-linux-user-add-more-blk-ioctls.patch (more implemented upstream) - 0034-qtest-Increase-socket-timeout.patch (increased further upstream) - 0036-configure-Enable-libseccomp-for-ppc.patch (enabled upstream) - 0038-block-split-large-discard-requests-.patch - 0041-xen-introduce-dummy-system-device.patch - 0042-xen-write-information-about-support.patch - 0043-xen-add-pvUSB-backend.patch - 0044-xen-move-xen_sysdev-to-xen_backend..patch - 0045-vnc-add-configurable-keyboard-delay.patch - 0046-configure-add-echo_version-helper.patch - 0047-configure-support-vte-2.91.patch - 0048-hw-arm-virt-mark-the-PCIe-host-cont.patch - 0050-scsi-esp-fix-migration.patch - 0051-xen-when-removing-a-backend-don-t-r.patch - 0052-xen-drain-submit-queue-in-xen-usb-b.patch - 0053-qcow2-avoid-extra-flushes-in-qcow2.patch - 0055-xen-use-a-common-function-for-pv-an.patch - ipxe-ath9k-Fix-buffer-overrun-for-ar9287.patch - ipxe-mucurses-Fix-GCC-6-nonnull-compare-errors.patch - ipxe-sis190-Fix-building-with-GCC-6.patch - ipxe-skge-Fix-building-with-GCC-6.patch - ipxe-ath-Fix-building-with-GCC-6.patch - ipxe-legacy-Fix-building-with-GCC-6.patch - ipxe-util-v5.24-perl-errors-on-redeclare.patch - ipxe-efi-fix-garbage-bytes-in-device-path.patch - ipxe-efi-fix-uninitialised-data-in-HII.patch -* Patches renamed: - 0010-linux-user-add-binfmt-wrapper-for-a.patch -> 0009-linux-user-add-binfmt-wrapper-for-a.patch - 0011-PPC-KVM-Disable-mmu-notifier-check.patch -> 0010-PPC-KVM-Disable-mmu-notifier-check.patch - 0012-linux-user-fix-segfault-deadlock.patch -> 0011-linux-user-fix-segfault-deadlock.patch - 0013-linux-user-binfmt-support-host-bina.patch -> 0012-linux-user-binfmt-support-host-bina.patch - 0015-linux-user-lock-tcg.patch -> 0013-linux-user-lock-tcg.patch - 0016-linux-user-Run-multi-threaded-code-.patch -> 0014-linux-user-Run-multi-threaded-code-.patch - 0017-linux-user-lock-tb-flushing-too.patch -> 0015-linux-user-lock-tb-flushing-too.patch - 0018-linux-user-Fake-proc-cpuinfo.patch -> 0016-linux-user-Fake-proc-cpuinfo.patch - 0019-linux-user-implement-FS_IOC_GETFLAG.patch -> 0017-linux-user-implement-FS_IOC_GETFLAG.patch - 0020-linux-user-implement-FS_IOC_SETFLAG.patch -> 0018-linux-user-implement-FS_IOC_SETFLAG.patch - 0021-linux-user-XXX-disable-fiemap.patch -> 0019-linux-user-XXX-disable-fiemap.patch - 0022-slirp-nooutgoing.patch -> 0020-slirp-nooutgoing.patch - 0023-vnc-password-file-and-incoming-conn.patch -> 0021-vnc-password-file-and-incoming-conn.patch - 0025-linux-user-use-target_ulong.patch -> 0022-linux-user-use-target_ulong.patch - 0026-block-Add-support-for-DictZip-enabl.patch -> 0023-block-Add-support-for-DictZip-enabl.patch - 0027-block-Add-tar-container-format.patch -> 0024-block-Add-tar-container-format.patch - 0028-Legacy-Patch-kvm-qemu-preXX-dictzip.patch -> 0025-Legacy-Patch-kvm-qemu-preXX-dictzip.patch - 0029-console-add-question-mark-escape-op.patch -> 0026-console-add-question-mark-escape-op.patch - 0030-Make-char-muxer-more-robust-wrt-sma.patch -> 0027-Make-char-muxer-more-robust-wrt-sma.patch - 0031-linux-user-lseek-explicitly-cast-no.patch -> 0028-linux-user-lseek-explicitly-cast-no.patch - 0032-virtfs-proxy-helper-Provide-__u64-f.patch -> 0029-virtfs-proxy-helper-Provide-__u64-f.patch - 0033-configure-Enable-PIE-for-ppc-and-pp.patch -> 0030-configure-Enable-PIE-for-ppc-and-pp.patch - 0035-AIO-Reduce-number-of-threads-for-32.patch -> 0031-AIO-Reduce-number-of-threads-for-32.patch - 0037-dictzip-Fix-on-big-endian-systems.patch -> 0032-dictzip-Fix-on-big-endian-systems.patch - 0039-xen_disk-Add-suse-specific-flush-di.patch -> 0033-xen_disk-Add-suse-specific-flush-di.patch - 0040-build-link-with-libatomic-on-powerp.patch -> 0034-build-link-with-libatomic-on-powerp.patch - 0049-xen-SUSE-xenlinux-unplug-for-emulat.patch -> 0035-xen-SUSE-xenlinux-unplug-for-emulat.patch - 0054-qemu-bridge-helper-reduce-security-.patch -> 0036-qemu-bridge-helper-reduce-security-.patch -* Patches added: - 0002-qemu-binfmt-conf-Modify-default-pat.patch - 0037-qemu-binfmt-conf-use-qemu-ARCH-binf.patch -* Package renamed trace-events-all file and linuxboot_dma.bin -* Handle building and packaging roms for e1000e and vmxnet3 (Bruce) -* Remove ipxe patches which are now enabled upstream (Bruce) -* Enable seccomp for s390x (Mark Post): - 0038-configure-Fix-detection-of-seccomp-.patch - -------------------------------------------------------------------- -Wed Aug 17 20:25:13 UTC 2016 - brogers@suse.com - -- Update to v2.6.1 a stable, bug-fix-only release (fate#316228) -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.6 -* Patches dropped (upstreamed): - 0041-net-mipsnet-check-packet-length-aga.patch - 0042-i386-kvmvapic-initialise-imm32-vari.patch - 0043-esp-check-command-buffer-length-bef.patch - 0044-esp-check-dma-length-before-reading.patch - 0045-scsi-pvscsi-check-command-descripto.patch - 0046-scsi-mptsas-infinite-loop-while-fet.patch - 0047-vga-add-sr_vbe-register-set.patch - 0048-scsi-megasas-use-appropriate-proper.patch - 0049-scsi-megasas-check-read_queue_head-.patch - 0050-scsi-megasas-null-terminate-bios-ve.patch - 0051-vmsvga-move-fifo-sanity-checks-to-v.patch - 0052-vmsvga-don-t-process-more-than-1024.patch - 0053-block-iscsi-avoid-potential-overflo.patch - 0054-scsi-esp-check-TI-buffer-index-befo.patch - 0060-scsi-megasas-initialise-local-confi.patch - 0065-scsi-esp-check-buffer-length-before.patch - 0066-scsi-esp-respect-FIFO-invariant-aft.patch - 0067-pci-assign-Move-Invalid-ROM-error-m.patch - 0068-Xen-PCI-passthrough-fix-passthrough.patch - 0069-scsi-esp-make-cmdbuf-big-enough-for.patch - 0071-virtio-error-out-if-guest-exceeds-v.patch -* Patches renamed: - 0055-xen-introduce-dummy-system-device.patch - -> 0041-xen-introduce-dummy-system-device.patch - 0056-xen-write-information-about-support.patch - -> 0042-xen-write-information-about-support.patch - 0057-xen-add-pvUSB-backend.patch - -> 0043-xen-add-pvUSB-backend.patch - 0058-xen-move-xen_sysdev-to-xen_backend..patch - -> 0044-xen-move-xen_sysdev-to-xen_backend..patch - 0059-vnc-add-configurable-keyboard-delay.patch - -> 0045-vnc-add-configurable-keyboard-delay.patch - 0061-configure-add-echo_version-helper.patch - -> 0046-configure-add-echo_version-helper.patch - 0062-configure-support-vte-2.91.patch - -> 0047-configure-support-vte-2.91.patch - 0063-hw-arm-virt-mark-the-PCIe-host-cont.patch - -> 0048-hw-arm-virt-mark-the-PCIe-host-cont.patch - 0064-xen-SUSE-xenlinux-unplug-for-emulat.patch - -> 0049-xen-SUSE-xenlinux-unplug-for-emulat.patch - 0070-scsi-esp-fix-migration.patch - -> 0050-scsi-esp-fix-migration.patch - 0072-xen-when-removing-a-backend-don-t-r.patch - -> 0051-xen-when-removing-a-backend-don-t-r.patch - 0073-xen-drain-submit-queue-in-xen-usb-b.patch - -> 0052-xen-drain-submit-queue-in-xen-usb-b.patch - 0074-qcow2-avoid-extra-flushes-in-qcow2.patch - -> 0053-qcow2-avoid-extra-flushes-in-qcow2.patch - 0075-qemu-bridge-helper-reduce-security-.patch - -> 0054-qemu-bridge-helper-reduce-security-.patch - 0076-xen-use-a-common-function-for-pv-an.patch - -> 0055-xen-use-a-common-function-for-pv-an.patch - -------------------------------------------------------------------- -Wed Aug 3 21:36:14 UTC 2016 - brogers@suse.com - -- Temporarily disable ceph (rbd) functionality in OBS due to staging - issues. - -------------------------------------------------------------------- -Wed Aug 3 17:09:05 UTC 2016 - brogers@suse.com - -- use upstream solution for building xen-usb.c correctly -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.6 -* Patches dropped: - 0058-usb-Fix-conditions-that-xen-usb.c-i.patch -* Patches added: - 0058-xen-move-xen_sysdev-to-xen_backend..patch - -------------------------------------------------------------------- -Wed Aug 3 13:51:42 UTC 2016 - brogers@suse.com - -- Incorporate patch carried in Xen's qemu to get same support - as Xen switches to use the qemu package (bsc#953339, bsc#953362, - bsc#953518, bsc#984981) - 0064-xen-SUSE-xenlinux-unplug-for-emulat.patch -- Fix more potential OOB accesses in 53C9X emulation - (CVE-2016-5238 bsc#982959) - 0065-scsi-esp-check-buffer-length-before.patch - 0066-scsi-esp-respect-FIFO-invariant-aft.patch -- Avoid "Invalid ROM" error message when it is not appropriate - (bsc#982927) - 0067-pci-assign-Move-Invalid-ROM-error-m.patch -- Fix failure in Xen HVM PCI passthrough (bsc#981925, bsc#989250) - 0068-Xen-PCI-passthrough-fix-passthrough.patch -- Fix OOB access in 53C9X emulation (CVE-2016-6351 bsc#990835) - 0069-scsi-esp-make-cmdbuf-big-enough-for.patch - 0070-scsi-esp-fix-migration.patch -- Avoid potential for guest initiated OOM condition in qemu through - virtio interface (CVE-2016-5403 bsc#991080) - 0071-virtio-error-out-if-guest-exceeds-v.patch -- Fix potential crashes in qemu from pvusb bugs (bsc#986156) - 0072-xen-when-removing-a-backend-don-t-r.patch - 0073-xen-drain-submit-queue-in-xen-usb-b.patch -- Avoid unneeded flushes in qcow2 which impact performance (bsc#991296) - 0074-qcow2-avoid-extra-flushes-in-qcow2.patch -- Finally get qemu-bridge-helper the permissions it needs for non- - root usage. The kvm group is leveraged to control access. (boo#988279) - 0075-qemu-bridge-helper-reduce-security-.patch -- Fix pvusb not working for HVM guests (bsc#991785) - 0076-xen-use-a-common-function-for-pv-an.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.6 -- Minor spec file formatting fixes - -------------------------------------------------------------------- -Thu Jul 28 10:53:14 UTC 2016 - agraf@suse.com - -- Fix ARM PCIe DMA coherency bug (bsc#991034) -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.6 -* Patches added: - 0063-hw-arm-virt-mark-the-PCIe-host-cont.patch - -------------------------------------------------------------------- -Tue Jul 19 20:57:17 UTC 2016 - afaerber@suse.de - -- Clean up the udev ifdeffery to cover systemd as well (boo#860275) -- Trigger udev rules also under systemd (boo#989655) -- Suppress s390x sysctl in chroot -- Ignore s390x sysctl failures (agraf) - -------------------------------------------------------------------- -Thu Jul 14 19:38:39 UTC 2016 - brogers@suse.com - -- Build SLOF for SLE12 now that we have gcc fix (bsc#949000) -- Add script for loading kvm module on s390x -- Enable seccomp and iscsi support in more configurations -- Enable more support for virtio-gpu -- Fix /dev/kvm permissions problem with package install and no - reboot (bnc#867867) -- Remove libtool dependency -- Disable more aggressive stack protector for performance reasons -- Enable vte to be used again in more configurations (bsc#988855) -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.6 -* Patches added: - 0061-configure-add-echo_version-helper.patch - 0062-configure-support-vte-2.91.patch - -------------------------------------------------------------------- -Thu Jul 14 14:59:37 UTC 2016 - agraf@suse.com - -- Remove deprecated patch "work-around-SA_RESTART-race" (boo#982208) -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.6 -* Patches dropped: - 0002-XXX-work-around-SA_RESTART-race-wit.patch - 0003-qemu-0.9.0.cvs-binfmt.patch - 0004-qemu-cvs-alsa_bitfield.patch - 0005-qemu-cvs-alsa_ioctl.patch - 0006-qemu-cvs-alsa_mmap.patch - 0007-qemu-cvs-gettimeofday.patch - 0008-qemu-cvs-ioctl_debug.patch - 0009-qemu-cvs-ioctl_nodirection.patch - 0010-block-vmdk-Support-creation-of-SCSI.patch - 0011-linux-user-add-binfmt-wrapper-for-a.patch - 0012-PPC-KVM-Disable-mmu-notifier-check.patch - 0013-linux-user-fix-segfault-deadlock.patch - 0014-linux-user-binfmt-support-host-bina.patch - 0015-linux-user-Ignore-broken-loop-ioctl.patch - 0016-linux-user-lock-tcg.patch - 0017-linux-user-Run-multi-threaded-code-.patch - 0018-linux-user-lock-tb-flushing-too.patch - 0019-linux-user-Fake-proc-cpuinfo.patch - 0020-linux-user-implement-FS_IOC_GETFLAG.patch - 0021-linux-user-implement-FS_IOC_SETFLAG.patch - 0022-linux-user-XXX-disable-fiemap.patch - 0023-slirp-nooutgoing.patch - 0024-vnc-password-file-and-incoming-conn.patch - 0025-linux-user-add-more-blk-ioctls.patch - 0026-linux-user-use-target_ulong.patch - 0027-block-Add-support-for-DictZip-enabl.patch - 0028-block-Add-tar-container-format.patch - 0029-Legacy-Patch-kvm-qemu-preXX-dictzip.patch - 0030-console-add-question-mark-escape-op.patch - 0031-Make-char-muxer-more-robust-wrt-sma.patch - 0032-linux-user-lseek-explicitly-cast-no.patch - 0033-virtfs-proxy-helper-Provide-__u64-f.patch - 0034-configure-Enable-PIE-for-ppc-and-pp.patch - 0035-qtest-Increase-socket-timeout.patch - 0036-AIO-Reduce-number-of-threads-for-32.patch - 0037-configure-Enable-libseccomp-for-ppc.patch - 0038-dictzip-Fix-on-big-endian-systems.patch - 0039-block-split-large-discard-requests-.patch - 0040-xen_disk-Add-suse-specific-flush-di.patch - 0041-build-link-with-libatomic-on-powerp.patch - 0042-net-mipsnet-check-packet-length-aga.patch - 0043-i386-kvmvapic-initialise-imm32-vari.patch - 0044-esp-check-command-buffer-length-bef.patch - 0045-esp-check-dma-length-before-reading.patch - 0046-scsi-pvscsi-check-command-descripto.patch - 0047-scsi-mptsas-infinite-loop-while-fet.patch - 0048-vga-add-sr_vbe-register-set.patch - 0049-scsi-megasas-use-appropriate-proper.patch - 0050-scsi-megasas-check-read_queue_head-.patch - 0051-scsi-megasas-null-terminate-bios-ve.patch - 0052-vmsvga-move-fifo-sanity-checks-to-v.patch - 0053-vmsvga-don-t-process-more-than-1024.patch - 0054-block-iscsi-avoid-potential-overflo.patch - 0055-scsi-esp-check-TI-buffer-index-befo.patch - 0056-xen-introduce-dummy-system-device.patch - 0057-xen-write-information-about-support.patch - 0058-xen-add-pvUSB-backend.patch - 0059-usb-Fix-conditions-that-xen-usb.c-i.patch - 0060-vnc-add-configurable-keyboard-delay.patch - 0061-scsi-megasas-initialise-local-confi.patch -* Patches added: - 0002-qemu-0.9.0.cvs-binfmt.patch - 0003-qemu-cvs-alsa_bitfield.patch - 0004-qemu-cvs-alsa_ioctl.patch - 0005-qemu-cvs-alsa_mmap.patch - 0006-qemu-cvs-gettimeofday.patch - 0007-qemu-cvs-ioctl_debug.patch - 0008-qemu-cvs-ioctl_nodirection.patch - 0009-block-vmdk-Support-creation-of-SCSI.patch - 0010-linux-user-add-binfmt-wrapper-for-a.patch - 0011-PPC-KVM-Disable-mmu-notifier-check.patch - 0012-linux-user-fix-segfault-deadlock.patch - 0013-linux-user-binfmt-support-host-bina.patch - 0014-linux-user-Ignore-broken-loop-ioctl.patch - 0015-linux-user-lock-tcg.patch - 0016-linux-user-Run-multi-threaded-code-.patch - 0017-linux-user-lock-tb-flushing-too.patch - 0018-linux-user-Fake-proc-cpuinfo.patch - 0019-linux-user-implement-FS_IOC_GETFLAG.patch - 0020-linux-user-implement-FS_IOC_SETFLAG.patch - 0021-linux-user-XXX-disable-fiemap.patch - 0022-slirp-nooutgoing.patch - 0023-vnc-password-file-and-incoming-conn.patch - 0024-linux-user-add-more-blk-ioctls.patch - 0025-linux-user-use-target_ulong.patch - 0026-block-Add-support-for-DictZip-enabl.patch - 0027-block-Add-tar-container-format.patch - 0028-Legacy-Patch-kvm-qemu-preXX-dictzip.patch - 0029-console-add-question-mark-escape-op.patch - 0030-Make-char-muxer-more-robust-wrt-sma.patch - 0031-linux-user-lseek-explicitly-cast-no.patch - 0032-virtfs-proxy-helper-Provide-__u64-f.patch - 0033-configure-Enable-PIE-for-ppc-and-pp.patch - 0034-qtest-Increase-socket-timeout.patch - 0035-AIO-Reduce-number-of-threads-for-32.patch - 0036-configure-Enable-libseccomp-for-ppc.patch - 0037-dictzip-Fix-on-big-endian-systems.patch - 0038-block-split-large-discard-requests-.patch - 0039-xen_disk-Add-suse-specific-flush-di.patch - 0040-build-link-with-libatomic-on-powerp.patch - 0041-net-mipsnet-check-packet-length-aga.patch - 0042-i386-kvmvapic-initialise-imm32-vari.patch - 0043-esp-check-command-buffer-length-bef.patch - 0044-esp-check-dma-length-before-reading.patch - 0045-scsi-pvscsi-check-command-descripto.patch - 0046-scsi-mptsas-infinite-loop-while-fet.patch - 0047-vga-add-sr_vbe-register-set.patch - 0048-scsi-megasas-use-appropriate-proper.patch - 0049-scsi-megasas-check-read_queue_head-.patch - 0050-scsi-megasas-null-terminate-bios-ve.patch - 0051-vmsvga-move-fifo-sanity-checks-to-v.patch - 0052-vmsvga-don-t-process-more-than-1024.patch - 0053-block-iscsi-avoid-potential-overflo.patch - 0054-scsi-esp-check-TI-buffer-index-befo.patch - 0055-xen-introduce-dummy-system-device.patch - 0056-xen-write-information-about-support.patch - 0057-xen-add-pvUSB-backend.patch - 0058-usb-Fix-conditions-that-xen-usb.c-i.patch - 0059-vnc-add-configurable-keyboard-delay.patch - 0060-scsi-megasas-initialise-local-confi.patch -- Enable ceph (rbd) support for aarch64 - -------------------------------------------------------------------- -Tue Jul 12 18:20:24 UTC 2016 - brogers@suse.com - -- Enable ceph (rbd) support - -------------------------------------------------------------------- -Mon Jul 4 06:20:16 UTC 2016 - glin@suse.com - -- Fix OVMF iPXE network menu (bsc#986033, boo#987488) - ipxe-efi-fix-garbage-bytes-in-device-path.patch - ipxe-efi-fix-uninitialised-data-in-HII.patch - -------------------------------------------------------------------- -Fri Jun 10 20:25:21 UTC 2016 - brogers@suse.com - -- Fix host information leak to guest in MegaRAID SAS 8708EM2 Host - Bus AdapterMegaRAID SAS 8708EM2 Host Bus Adapter emulation support - (CVE-2016-5105 bsc#982017) -*Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.6 - 0061-scsi-megasas-initialise-local-confi.patch - -------------------------------------------------------------------- -Fri Jun 10 13:35:06 UTC 2016 - brogers@suse.com - -- Address various security/stability issues -* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.6 -* Fix OOB access in megasas emulated device (CVE-2016-5106 bsc#982018) - 0049-scsi-megasas-use-appropriate-proper.patch -* Fix OOB access in megasas emulated device (CVE-2016-5107 bsc#982019) - 0050-scsi-megasas-check-read_queue_head-.patch -* Fix OOB access in megasas emulated device (CVE-2016-5337 bsc#983961) - 0051-scsi-megasas-null-terminate-bios-ve.patch -* Correct the vmvga fifo access checks (CVE-2016-4454 bsc#982222) - 0052-vmsvga-move-fifo-sanity-checks-to-v.patch -* Fix potential DoS issue in vmvga processing (CVE-2016-4453 bsc#982223) - 0053-vmsvga-don-t-process-more-than-1024.patch -* Fix heap buffer overflow flaw when iscsi protocol is used - (CVE-2016-5126 bsc#982285) - 0054-block-iscsi-avoid-potential-overflo.patch -* Fix OOB access in 53C9X emulation (CVE-2016-5338 bsc#983982) - 0055-scsi-esp-check-TI-buffer-index-befo.patch -- Add support to qemu for pv-usb under Xen (fate#316612) - 0056-xen-introduce-dummy-system-device.patch - 0057-xen-write-information-about-support.patch - 0058-xen-add-pvUSB-backend.patch - 0059-usb-Fix-conditions-that-xen-usb.c-i.patch -- Provide ability to rate limit keyboard events from the vnc server. - This is part of the solution to an issue affecting openQA testing, - where characters are lost, resulting in unexpected failures - (bsc#974914) - 0060-vnc-add-configurable-keyboard-delay.patch - -------------------------------------------------------------------- -Fri Jun 3 17:29:41 UTC 2016 - brogers@suse.com - -- Adjust to parallel changes in virglrenderer packages - no longer - "BuildRequires" virglrenderer directly, just the devel package. - -------------------------------------------------------------------- -Wed Jun 1 17:14:40 UTC 2016 - brogers@suse.com - -- Fix build compatibility with gcc6 wrt ipxe rom where compiler - warnings are treated as errors. - ipxe-ath9k-Fix-buffer-overrun-for-ar9287.patch - ipxe-mucurses-Fix-GCC-6-nonnull-compare-errors.patch - ipxe-sis190-Fix-building-with-GCC-6.patch - ipxe-skge-Fix-building-with-GCC-6.patch - ipxe-ath-Fix-building-with-GCC-6.patch - ipxe-legacy-Fix-building-with-GCC-6.patch -- Fix ipxe build script which fails under perl v5.24 - ipxe-util-v5.24-perl-errors-on-redeclare.patch -- Specify build time disk space requirements for ppc64 and ppc64le - -------------------------------------------------------------------- -Wed Jun 1 14:31:51 UTC 2016 - agraf@suse.com - -- Add sysctl script and %post on s390x to allow kvm usage (bsc#975331) - -------------------------------------------------------------------- -Thu May 26 16:23:33 UTC 2016 - brogers@suse.com - -- Address various security/stability issues -* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.6 -* Fix OOB access in MIPSnet emulated controller CVE-2016-4002 (bsc#975136) - 0042-net-mipsnet-check-packet-length-aga.patch -* Fix possible host data leakage to guest from TPR access - CVE-2016-4020 (bsc#975700) - 0043-i386-kvmvapic-initialise-imm32-vari.patch -* Avoid OOB access in 53C9X emulation CVE-2016-4439 (bsc#980711) - 0044-esp-check-command-buffer-length-bef.patch -* Avoid OOB access in 53C9X emulation CVE-2016-4441 (bsc#980723) - 0045-esp-check-dma-length-before-reading.patch -* Avoid OOB access in Vmware PV SCSI emulation CVE-2016-4952 (bsc#981266) - 0046-scsi-pvscsi-check-command-descripto.patch -* Avoid potential DoS in LSI SAS1068 emulation CVE-2016-4964 (bsc#981399) - 0047-scsi-mptsas-infinite-loop-while-fet.patch -* Fix regression in vga behavior - introduced in v2.6.0 CVE-2016-3712 (bsc#978160) - 0048-vga-add-sr_vbe-register-set.patch - -------------------------------------------------------------------- -Wed May 25 21:42:12 UTC 2016 - brogers@suse.com - -- Update to v2.6.0: See http://wiki.qemu-project.org/ChangeLog/2.6 -- Enable SDL2, virglrenderer (for use with virtio-gpu), xfsctl, and - tracing using default log backend -- Build efi pxe roms on x86_64 - -------------------------------------------------------------------- -Thu Apr 28 16:37:10 UTC 2016 - afaerber@suse.de - -- Check modules for conflicting release versions -- Suggest recently added block modules - -------------------------------------------------------------------- -Thu Apr 28 15:12:18 UTC 2016 - afaerber@suse.de - -- Bump copyright in qemu.spec.in -- Enable libiscsi for Factory -- Enable seccomp for ppc64le as well - -------------------------------------------------------------------- -Fri Apr 22 16:37:33 UTC 2016 - afaerber@suse.de - -- Update to v2.6.0-rc3: See http://wiki.qemu-project.org/ChangeLog/2.6 -* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.6 -* Patches dropped (upstreamed): - 0041-tests-Use-correct-config-param-for-.patch -* Patches renamed: - 0042-build-link-with-libatomic-on-powerp.patch -> 0041-build-link-with-libatomic-on-powerp.patch - -------------------------------------------------------------------- -Wed Apr 20 16:38:00 UTC 2016 - afaerber@suse.de - -- Partially revert the last change's cleanup -- Indicate SUSE version - -------------------------------------------------------------------- -Fri Apr 1 11:13:07 UTC 2016 - olaf@aepfle.de - -- Update to v2.6.0-rc0: See http://wiki.qemu-project.org/ChangeLog/2.6 -* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.6 -* Accept every size in DISCARD request from a guest (bsc#964427) - 0039-block-split-large-discard-requests-.patch -* Recognize libxl flag to disable flush in block device (bsc#879425) - 0040-xen_disk-Add-suse-specific-flush-di.patch -* Use correct flag for crypto tests - 0041-tests-Use-correct-config-param-for-.patch -* Fix build on powerpc: - 0042-build-link-with-libatomic-on-powerp.patch -* Patches dropped (upstreamed): - seabios_checkrom_typo.patch - seabios_avoid_smbios_signature_string.patch - -------------------------------------------------------------------- -Tue Feb 9 17:08:21 UTC 2016 - afaerber@suse.de - -- Disable vte for Leap, fixing build - -------------------------------------------------------------------- -Wed Jan 27 15:10:02 UTC 2016 - afaerber@suse.de - -- Don't drop u-boot.e500 yet - breaks testsuite - -------------------------------------------------------------------- -Thu Jan 21 18:02:04 UTC 2016 - afaerber@suse.de - -- Re-enable libcacard support -- Clean up configured features - -------------------------------------------------------------------- -Thu Jan 21 16:07:16 UTC 2016 - afaerber@suse.de - -- Clean up qemu-tools libcacard Provides/Obsoletes - separate again -- Drop u-boot.e500 - being packaged as u-boot-ppce500 - -------------------------------------------------------------------- -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 - -- Fix build on openSUSE 13.2 - -------------------------------------------------------------------- -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 - -- Add systemd unit file and udev rules for qemu guest agent - - taken from the SLE12 / Leap package, see boo#955707 - -------------------------------------------------------------------- -Wed Oct 28 18:53:37 UTC 2015 - afaerber@suse.de - -- Add _constraints file (based on work by kenljohnson) - -------------------------------------------------------------------- -Tue Oct 20 15:57:05 UTC 2015 - afaerber@suse.de - -- Enable SLOF build for ppc64le, too, now (bsc#949000, bsc#949016) - -------------------------------------------------------------------- -Mon Oct 12 16:05:28 UTC 2015 - afaerber@suse.de - -- Allow building SLOF on ppc64le (bsc#949016) - SLOF_ppc64le.patch -- Add two checks for DictZip and tar qemu-img behavior (bsc#945778) -* Clean up qemu-testsuite build/installation - -------------------------------------------------------------------- -Thu Oct 8 16:29:28 UTC 2015 - afaerber@suse.de - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.4 -* Fix endianness issues in DictZip block driver (bsc#937572, bsc#945778) - 0027-block-Add-support-for-DictZip-enabl.patch - 0028-block-Add-tar-container-format.patch - 0040-dictzip-Fix-on-big-endian-systems.patch - -------------------------------------------------------------------- -Thu Oct 8 14:35:03 UTC 2015 - afaerber@suse.de - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.4 -* Fix qemu-testsuite for glib2-2.46.0 by assuring uniqueness of paths - 0039-tests-Unique-test-path-for-string-v.patch - -------------------------------------------------------------------- -Thu Oct 8 13:11:07 UTC 2015 - afaerber@suse.de - -- Build SLOF on ppc64 (bsc#949016, thanks to k0da) -* Simplify x86 fw logic while at it -- No need to enable KVM for armv6hl -- Add notice about pre_checkin.sh to update_git.sh - -------------------------------------------------------------------- -Thu Sep 3 16:57:25 UTC 2015 - afaerber@suse.de - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.4 -* Fix aarch64 TCG: - 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 -* Provide qemu-img symlink instead of passing QTEST_QEMU_IMG - -------------------------------------------------------------------- -Fri Jul 17 13:36:45 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 -* Package new vgabios-virtio.bin -* target-x86_64.conf was dropped -* Add qemu-block-dmg module sub-package -* Set QTEST_QEMU_IMG variable for ahci-test -* --enable-quorum and --enable-vnc-ws are no longer available - -------------------------------------------------------------------- -Mon Jul 13 16:10:13 UTC 2015 - agraf@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3 -- Fix -kernel boot for AArch64 -* Patches added: - 0044-hw-arm-boot-Increase-fdt-alignment.patch - -------------------------------------------------------------------- -Sat Jul 4 18:14:27 UTC 2015 - crrodriguez@opensuse.org - -- Use libusb-1_0-devel as buildrequires, not the old - unused compatibility layer in libusb-devel - -------------------------------------------------------------------- -Mon Jun 1 21:52:37 UTC 2015 - agraf@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3 -- Fix qemu2 cow caching (bsc#933132) -* Patches added: - 0043-qcow2-Set-MIN_L2_CACHE_SIZE-to-2.patch - -------------------------------------------------------------------- -Tue May 26 18:11:31 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 - gcc5-ipxe-add-missing-const-qualifiers.patch - gcc5-ipxe-ath9k-Remove-confusing-logic-inversion-in-an-ANI-var.patch - -------------------------------------------------------------------- -Thu May 14 17:21:13 UTC 2015 - afaerber@suse.de - -- Fix CVE-2015-3456 (boo#929339) - 0041-fdc-force-the-fifo-access-to-be-in-.patch -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3 - -------------------------------------------------------------------- -Tue May 12 22:43:49 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 -- Disable dependency on libnuma for s390x (not available in SLE12) - -------------------------------------------------------------------- -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 -- Disable iotests for now - -------------------------------------------------------------------- -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 - -------------------------------------------------------------------- -Mon Apr 20 16:43:58 UTC 2015 - afaerber@suse.de - -- Update seabios_avoid_smbios_signature_string.patch with version - applied upstream - -------------------------------------------------------------------- -Wed Apr 15 00:34:50 UTC 2015 - agraf@suse.com - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3 -- Fix s390x stoc instructions - 0039-s390x-Fix-stoc-direction.patch - -------------------------------------------------------------------- -Tue Apr 14 16:06:39 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 -* Revert -rc3 change to disable seccomp on non-x86 architectures - 0038-Revert-Revert-seccomp-tests-that-al.patch - -------------------------------------------------------------------- -Tue Apr 14 15:19:36 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:47 UTC 2015 - afaerber@suse.de - -- Split off qemu-testsuite.spec -* Package check-report.html and check-report.xml -* Enable quick iotests -- Dropped 0030-net-Warn-about-default-MAC-address.patch - The warning is relevant only for bridged setups, not for the - default SLIRP based -net user / -netdev user setup, - and it breaks output expectations of some iotests. -* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3 -* 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 -- Re-enable glusterfs on Factory (updated from v3.6.1 to v3.6.2) -- Re-enable seccomp for armv7l (libseccomp submission pending) - -------------------------------------------------------------------- -Fri Apr 10 08:59:34 UTC 2015 - afaerber@suse.de - -- Suppress seccomp for Factory armv7l (broken in libseccomp v2.2.0) -- Disable glusterfs explicitly on Factory, SLE12 and before 13.1 - -------------------------------------------------------------------- -Thu Apr 9 15:13:44 UTC 2015 - afaerber@suse.de - -- Enable glusterfs and package as qemu-block-gluster - glusterfs post-v3.5.3 and v3.6.1/v3.6.2 have switched the - glusterfs-api.pc version incompatibly, so only 13.1+13.2 for now -- Use macro for module Conflicts - -------------------------------------------------------------------- -Thu Apr 9 12:21:07 UTC 2015 - afaerber@suse.de - -- Tidy configure options: -* Move --enable-modules to build options -* Sort libusb alphabetically -* Explicitly enable attr, bluez, fdt, lzo, tpm, vhdx, vhost-net, - vnc, xen-pci-passthrough -* Enable bzip2 -* Enable libssh2 where possible and package as qemu-block-ssh -* Enable numa where a compatible numactl is available -* Enable quorum where a compatible gnutls is available -* Enable snappy where possible -* Prepare to enable glusterfs -* Explicitly enable the nop tracing backend (to be revisited) -* Explicitly disable Archipelago, as we don't have libxseg and it's - incompatibly GPL-3.0+ -* Explicitly disable libiscsi, libnfs, netmap and rbd - as we don't have packages -* Drop deprecated --enable-virtio-blk-data-plane (now default) - -------------------------------------------------------------------- -Wed Apr 8 20:47:32 UTC 2015 - afaerber@suse.de - -- Fix 64-bit TCG stores on 32-bit Big Endian hosts (ppc) - 0038-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch -* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3 - -------------------------------------------------------------------- -Wed Apr 8 13:10:26 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 (upstreamed): - 0038-fw_cfg-test-Fix-test-path-to-includ.patch - 0039-rcu-tests-fix-compilation-on-32-bit.patch - -------------------------------------------------------------------- -Sat Mar 28 00:13:05 UTC 2015 - brogers@suse.com - -- make check was failing due to a bogus SMBIOS signature being - encountered within SeaBIOS. Avoid having that signature stored - randomly within the SeaBIOS image. -* seabios_avoid_smbios_signature_string.patch - -------------------------------------------------------------------- -Thu Mar 26 14:49:43 UTC 2015 - afaerber@suse.de - -- Build x86 firmware only from 13.1 on (11.4 was broken, surpassing 128 KB) -- 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:31 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 16:07:28 UTC 2015 - afaerber@suse.de - -- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3 -* Make test path for fw_cfg-test unique (including architecture) - 0043-fw_cfg-test-Fix-test-path-to-includ.patch -* Fix rcu tests build on ppc (undefined reference to `__sync_fetch_and_add_8') - 0044-rcu-tests-fix-compilation-on-32-bit.patch -- Fix typo in SeaBIOS size check - seabios_checkrom_typo.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 -* Updated update_git.sh accordingly -* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3 -* seabios_128kb.patch: Added patch to squeeze SeaBIOS into 128 KB - with our gcc 4.8.3 (brogers@suse.com) -- Renamed 0030-Legacy-Patch-kvm-qemu-preXX-report-.patch to - 0030-net-Warn-about-default-MAC-address.patch: - Suppress warning for accel=qtest, to sanitize make check results. -- Added patches to fix ahci-test: - 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:44 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 - -------------------------------------------------------------------- -Sun Feb 22 15:59:23 UTC 2015 - mpluskal@suse.com - -- Add user kvm when installing guest-agent. -- Use macro to update udev_rules when available - -------------------------------------------------------------------- -Wed Feb 11 17:56:26 UTC 2015 - afaerber@suse.de - -- Fix packaging of e500 U-Boot -- Don't rely on wildcard with explicit excludes - -------------------------------------------------------------------- -Wed Jan 14 00:38:38 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:06 UTC 2015 - afaerber@suse.de - -- Update to v2.2.0: See http://wiki.qemu-project.org/ChangeLog/2.2 -* Updated DictZip and Tar block backends accordingly -- 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 - -------------------------------------------------------------------- -Mon Sep 1 16:10:38 UTC 2014 - afaerber@suse.de - -- Enable RDMA support for SLE12 and later - -------------------------------------------------------------------- -Thu Aug 28 12:53:19 UTC 2014 - afaerber@suse.de - -- Copy the freshly built s390-ccw.img over to the location - from which it is installed (bnc#893535) - -------------------------------------------------------------------- -Fri Aug 22 10:37:00 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 -- Revert use of %{version} in Source line as it breaks update_git.sh - -------------------------------------------------------------------- -Thu Aug 7 11:12:48 UTC 2014 - coolo@suse.com - -- build libcaca from a different spec file to avoid cycles with - spice - -------------------------------------------------------------------- -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/qemu-testsuite.spec b/qemu-testsuite.spec deleted file mode 100644 index 99f6190..0000000 --- a/qemu-testsuite.spec +++ /dev/null @@ -1,1881 +0,0 @@ -# -# spec file for package qemu-testsuite -# -# Copyright (c) 2019 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 https://bugs.opensuse.org/ -# - - -%define build_in_tree 1 -%define build_x86_firmware_from_source 0 -%define build_skiboot_from_source 0 -%define build_slof_from_source 0 -%define kvm_available 0 -%define legacy_qemu_kvm 0 -%define force_fit_virtio_pxe_rom 1 - -%if 0%{?suse_version} > 1315 -# cross-x86_64-gcc7 is available from SLE15/Leap15.0 -%define build_rom_arch %ix86 x86_64 aarch64 -%else -%define build_rom_arch %ix86 x86_64 -%endif - -%if "%{?distribution}" == "" -%define distro private-build -%else -%define distro %{distribution} -%endif - -%ifarch %{build_rom_arch} -# choice of building all from source or using provided binary x86 blobs -%if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) -%define build_x86_firmware_from_source 1 -%endif -%endif - -%ifarch ppc64 -%define build_skiboot_from_source 1 -%define build_slof_from_source 1 -%endif - -%ifarch ppc64le -%if 0%{?suse_version} > 1320 || 0%{?suse_version} == 1315 -%define build_skiboot_from_source 1 -%define build_slof_from_source 1 -%endif -%endif - -%ifarch %ix86 x86_64 ppc ppc64 ppc64le s390x armv7hl aarch64 -%define kvm_available 1 -%endif - -%ifarch %ix86 x86_64 s390x -%define legacy_qemu_kvm 1 -%endif - -%if 0%{?suse_version} >= 1315 && 0%{?is_opensuse} -%define with_glusterfs 1 -%endif - -%ifarch x86_64 -%if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && ( 0%{?is_opensuse} == 0 || 0%{?sle_version} > 120100 ) ) -%define with_rbd 1 -%endif -%endif - -%ifarch aarch64 -%if 0%{?suse_version} > 1320 || ( 0%{?is_opensuse} == 0 && 0%{?sle_version} > 120100 ) -%define with_rbd 1 -%endif -%endif - -%ifarch ppc64le -%if 0%{?suse_version} > 1320 || ( 0%{?is_opensuse} == 0 && 0%{?sle_version} > 120200 ) -%define with_rbd 1 -%endif -%endif - -%ifarch s390x -%if 0%{?is_opensuse} == 0 && 0%{?sle_version} > 120200 -%define with_rbd 1 -%endif -%endif - -%ifarch ppc64 -%if 0%{?is_opensuse} && 0%{?sle_version} > 120200 -%define with_rbd 1 -%endif -%endif - -%if 0%{?suse_version} > 1320 -%define with_seccomp 1 -%endif - -%ifarch %ix86 x86_64 s390x aarch64 ppc64le -%define with_seccomp 1 -%endif - -%if 0%( pkg-config --exists 'udev > 190' && echo '1' ) == 01 -%define _udevrulesdir /usr/lib/udev/rules.d -%else -%define _udevrulesdir /lib/udev/rules.d -%endif - -%define srcname qemu -Name: qemu-testsuite -Url: https://www.qemu.org/ -Summary: Machine emulator and virtualizer -License: BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND MIT -Group: System/Emulators/PC -%define qemuver 4.0.0 -%define srcver 4.0.0 -Version: %qemuver -Release: 0 -Source: https://wiki.qemu.org/download/%{srcname}-%{srcver}.tar.xz -Source99: https://wiki.qemu.org/download/%{srcname}-%{srcver}.tar.xz.sig -Source100: %{srcname}.keyring -Source1: 80-kvm.rules -Source2: kvm.conf -Source3: qemu-ifup -Source4: bridge.conf -Source5: qemu-kvm.1.gz -Source6: ksm.service -Source7: qemu-ga@.service -Source8: 80-qemu-ga.rules -Source9: qemu-supportconfig -Source10: supported.arm.txt -Source11: supported.ppc.txt -Source12: supported.x86.txt -Source13: supported.s390.txt -# this is to make lint happy -Source300: qemu-rpmlintrc -Source301: ipxe-stub-out-the-SAN-req-s-in-int13.patch -Source400: update_git.sh -# Upstream First -- https://wiki.qemu.org/Contribute/SubmitAPatch -# This patch queue is auto-generated from https://github.com/openSUSE/qemu -Patch0001: 0001-XXX-dont-dump-core-on-sigabort.patch -Patch0002: 0002-qemu-binfmt-conf-Modify-default-pat.patch -Patch0003: 0003-qemu-cvs-gettimeofday.patch -Patch0004: 0004-qemu-cvs-ioctl_debug.patch -Patch0005: 0005-qemu-cvs-ioctl_nodirection.patch -Patch0006: 0006-linux-user-add-binfmt-wrapper-for-a.patch -Patch0007: 0007-PPC-KVM-Disable-mmu-notifier-check.patch -Patch0008: 0008-linux-user-binfmt-support-host-bina.patch -Patch0009: 0009-linux-user-Fake-proc-cpuinfo.patch -Patch0010: 0010-linux-user-use-target_ulong.patch -Patch0011: 0011-Make-char-muxer-more-robust-wrt-sma.patch -Patch0012: 0012-linux-user-lseek-explicitly-cast-no.patch -Patch0013: 0013-AIO-Reduce-number-of-threads-for-32.patch -Patch0014: 0014-xen_disk-Add-suse-specific-flush-di.patch -Patch0015: 0015-qemu-bridge-helper-reduce-security-.patch -Patch0016: 0016-qemu-binfmt-conf-use-qemu-ARCH-binf.patch -Patch0017: 0017-linux-user-properly-test-for-infini.patch -Patch0018: 0018-roms-Makefile-pass-a-packaging-time.patch -Patch0019: 0019-Raise-soft-address-space-limit-to-h.patch -Patch0020: 0020-increase-x86_64-physical-bits-to-42.patch -Patch0021: 0021-vga-Raise-VRAM-to-16-MiB-for-pc-0.1.patch -Patch0022: 0022-i8254-Fix-migration-from-SLE11-SP2.patch -Patch0023: 0023-acpi_piix4-Fix-migration-from-SLE11.patch -Patch0024: 0024-Switch-order-of-libraries-for-mpath.patch -Patch0025: 0025-Make-installed-scripts-explicitly-p.patch -Patch0026: 0026-hw-smbios-handle-both-file-formats-.patch -Patch0027: 0027-tests-test-thread-pool-is-racy-add-.patch -Patch0028: 0028-xen-add-block-resize-support-for-xe.patch -Patch0029: 0029-tests-qemu-iotests-Triple-timeout-o.patch -Patch0030: 0030-tests-block-io-test-130-needs-some-.patch -Patch0031: 0031-xen-ignore-live-parameter-from-xen-.patch -Patch0032: 0032-tests-Fix-Makefile-handling-of-chec.patch -Patch0033: 0033-Conditionalize-ui-bitmap-installati.patch -Patch0034: 0034-Revert-target-i386-kvm-add-VMX-migr.patch -Patch0035: 0035-tests-change-error-message-in-test-.patch -Patch0036: 0036-sockets-avoid-string-truncation-war.patch -Patch0037: 0037-hw-usb-hcd-xhci-Fix-GCC-9-build-war.patch -Patch0038: 0038-hw-usb-dev-mtp-Fix-GCC-9-build-warn.patch -Patch0039: 0039-linux-user-avoid-string-truncation-.patch -Patch0040: 0040-linux-user-elfload-Fix-GCC-9-build-.patch -Patch0041: 0041-qxl-avoid-unaligned-pointer-reads-w.patch -Patch0042: 0042-libvhost-user-fix-Waddress-of-packe.patch -Patch0043: 0043-target-i386-define-md-clear-bit.patch -Patch0044: 0044-hw-intc-exynos4210_gic-provide-more.patch -Patch0045: 0045-kbd-state-fix-autorepeat-handling.patch -Patch0046: 0046-target-ppc-ensure-we-get-null-termi.patch -Patch0047: 0047-configure-only-populate-roms-if-sof.patch -Patch0048: 0048-pc-bios-s390-ccw-net-avoid-warning-.patch -Patch0049: 0049-qxl-check-release-info-object.patch -Patch0050: 0050-qemu-bridge-helper-restrict-interfa.patch -Patch0051: 0051-linux-user-fix-to-handle-variably-s.patch -# Please do not add QEMU patches manually here. -# Run update_git.sh to regenerate this queue. - -# SeaBIOS / SeaVGABIOS - path: roms/seabios (patch range 1100-1199) -Patch1100: seabios-use-python2-explicitly-as-needed.patch -Patch1101: seabios-switch-to-python3-as-needed.patch -Patch1102: seabios-fix_cross_compilation.patch - -# ipxe - path: roms/ipxe (patch range 1200-1299) -Patch1200: ipxe-stable-buildid.patch -Patch1201: ipxe-use-gcc6-for-more-compact-code.patch -Patch1202: ipxe-efi-Simplify-diagnostic-for-NULL-handle.patch -Patch1203: ipxe-build-Disable-gcc-address-of-packed-member-warning.patch -Patch1204: ipxe-efi-Avoid-string-op-warning-with-cross-gcc-7-compile.patch - -# sgabios - path: roms/sgabios (patch range 1300-1399) -Patch1300: sgabios-stable-buildid.patch -Patch1301: sgabios-fix-cross-build.patch - -# SLOF - path: roms/SLOF (patch range 1400-1499) (Currently no patches) - -# skiboot - path: roms/skiboot (patch range 1500-1599) (Currently no patches) -Patch1500: skiboot-gcc9-compat.patch - -# keycodemapdb - path: ui/keycodemapdb (patch range 1600-1699) (Currently no patches) -Patch1600: keycodemapdb-make-keycode-gen-output-reproducible.patch - -# openBIOS - path: roms/openbios (patch range 1700-1799) (Currently no patches) - -# slirp - patch: slirp/ (patch range 1800-1899) -Patch1800: slirp-fix-heap-overflow-in-ip_reass-on-big-packet-input.patch - -# If for any reason we have any QEMU patches which are conditionally applied, -# "manually" include them here: - -ExcludeArch: s390 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if %{build_x86_firmware_from_source} -BuildRequires: acpica -%endif -BuildRequires: alsa-devel -%if %{build_x86_firmware_from_source} -BuildRequires: binutils-devel -%endif -BuildRequires: bison -BuildRequires: bluez-devel -BuildRequires: brlapi-devel -%if %{build_x86_firmware_from_source} -%ifnarch %{ix86} x86_64 -# We must cross-compile on non-x86* -BuildRequires: cross-x86_64-binutils -BuildRequires: cross-x86_64-gcc7 -%endif -%endif -BuildRequires: curl-devel -BuildRequires: cyrus-sasl-devel -BuildRequires: e2fsprogs-devel -BuildRequires: fdupes -BuildRequires: flex -BuildRequires: gcc-c++ -%if %{build_x86_firmware_from_source} -%if 0%{?suse_version} <= 1320 -BuildRequires: gcc6 -%endif -%endif -BuildRequires: glib2-devel -%if 0%{?with_glusterfs} -BuildRequires: glusterfs-devel -%endif -BuildRequires: gtk3-devel -BuildRequires: libaio-devel -BuildRequires: libattr-devel -BuildRequires: libbz2-devel -%if 0%{?is_opensuse} -BuildRequires: libcacard-devel -%endif -BuildRequires: libcap-devel -BuildRequires: libcap-ng-devel -BuildRequires: libdrm-devel -%if 0%{?suse_version} >= 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) -BuildRequires: libepoxy-devel -%endif -%if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120200 ) -BuildRequires: libfdt-devel -%else -BuildRequires: libfdt1-devel -%endif -BuildRequires: libgbm-devel -BuildRequires: libgcrypt-devel -BuildRequires: libgnutls-devel -%if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) -BuildRequires: libiscsi-devel -%endif -BuildRequires: libjpeg-devel -%if 0%{?is_opensuse} -BuildRequires: libnfs-devel -%endif -%ifarch %ix86 x86_64 -%if 0%{?suse_version} > 1320 || 0%{?suse_version} == 1315 -BuildRequires: libnuma-devel -%endif -%else -%ifarch aarch64 -%if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) -BuildRequires: libnuma-devel -%endif -%endif -%else -%ifnarch %arm s390x -BuildRequires: libnuma-devel -%endif -%endif -BuildRequires: libpcap-devel -BuildRequires: libpixman-1-0-devel -%ifarch x86_64 -BuildRequires: libpmem-devel -%endif -BuildRequires: libpng-devel -BuildRequires: libpulse-devel -%if 0%{?with_rbd} -%if 0%{?is_opensuse} || 0%{?sle_version} > 120100 -BuildRequires: librbd-devel -%else -BuildRequires: ceph-devel -%endif -%endif -%if 0%{?suse_version} >= 1320 && 0%{?is_opensuse} -BuildRequires: libSDL2-devel -BuildRequires: libSDL2_image-devel -%endif -%if 0%{?with_seccomp} -BuildRequires: libseccomp-devel -%endif -BuildRequires: libspice-server-devel -BuildRequires: libssh2-devel -BuildRequires: libudev-devel -BuildRequires: libusb-1_0-devel -%if 0%{?suse_version} > 1320 -BuildRequires: libvdeplug-devel -%else -BuildRequires: libvdeplug3-devel -%endif -%if 0%{?is_opensuse} -BuildRequires: lzfse-devel -%endif -BuildRequires: Mesa-devel -BuildRequires: libxkbcommon-devel -BuildRequires: lzo-devel -BuildRequires: makeinfo -%if 0%{?suse_version} > 1320 -BuildRequires: multipath-tools-devel -%endif -BuildRequires: ncurses-devel -BuildRequires: pkgconfig -BuildRequires: pwdutils -%if 0%{?suse_version} > 1320 -BuildRequires: python3-Sphinx -BuildRequires: python3-base -%else -BuildRequires: python-Sphinx -%endif -BuildRequires: python-base -%if 0%{?suse_version} >= 1315 -BuildRequires: rdma-core-devel -%endif -BuildRequires: snappy-devel -BuildRequires: spice-protocol-devel -BuildRequires: systemd -%{?systemd_requires} -%if %{kvm_available} -BuildRequires: pkgconfig(udev) -%endif -BuildRequires: usbredir-devel -%if 0%{?suse_version} >= 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) -BuildRequires: virglrenderer-devel >= 0.4.1 -%endif -BuildRequires: vte-devel -%ifarch x86_64 -BuildRequires: xen-devel -%endif -BuildRequires: xfsprogs-devel -%if %{build_x86_firmware_from_source} -BuildRequires: xz-devel -%endif -BuildRequires: zlib-devel -%if "%{name}" == "qemu-testsuite" -%if 0%{?suse_version} > 1320 -BuildRequires: python-base -%endif -BuildRequires: bc -BuildRequires: qemu-arm = %{qemuver} -BuildRequires: qemu-audio-alsa = %{qemuver} -BuildRequires: qemu-audio-pa = %{qemuver} -%if 0%{?suse_version} >= 1320 && 0%{?is_opensuse} -BuildRequires: qemu-audio-sdl = %{qemuver} -%endif -BuildRequires: qemu-block-curl = %{qemuver} -BuildRequires: qemu-block-dmg = %{qemuver} -%if 0%{?with_glusterfs} -BuildRequires: qemu-block-gluster = %{qemuver} -%endif -%if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) -BuildRequires: qemu-block-iscsi = %{qemuver} -%endif -%if 0%{?is_opensuse} -BuildRequires: qemu-block-nfs = %{qemuver} -%endif -%if 0%{?with_rbd} -BuildRequires: qemu-block-rbd = %{qemuver} -%endif -BuildRequires: qemu-block-ssh = %{qemuver} -BuildRequires: qemu-extra = %{qemuver} -BuildRequires: qemu-guest-agent = %{qemuver} -BuildRequires: qemu-ipxe = 1.0.0+ -%if 0%{?is_opensuse} -BuildRequires: qemu-ksm = %{qemuver} -%endif -BuildRequires: qemu-lang = %{qemuver} -BuildRequires: qemu-ppc = %{qemuver} -BuildRequires: qemu-s390 = %{qemuver} -BuildRequires: qemu-seabios = 1.12.1 -BuildRequires: qemu-sgabios = 8 -BuildRequires: qemu-tools = %{qemuver} -BuildRequires: qemu-ui-curses = %{qemuver} -BuildRequires: qemu-ui-gtk = %{qemuver} -%if 0%{?suse_version} >= 1320 && 0%{?is_opensuse} -BuildRequires: qemu-ui-sdl = %{qemuver} -%endif -BuildRequires: qemu-vgabios = 1.12.1 -BuildRequires: qemu-x86 = %{qemuver} -%endif -Requires(pre): shadow -Requires(post): coreutils -%if %{kvm_available} -Requires(post): acl -Requires(post): udev -%ifarch s390x -Requires(post): procps -%endif -Recommends: kvm_stat -%endif -Recommends: qemu-block-curl -Recommends: qemu-tools -Recommends: qemu-ui-curses -Recommends: qemu-ui-gtk -%if 0%{?suse_version} >= 1320 && 0%{?is_opensuse} -Recommends: qemu-ui-sdl -%endif -Recommends: qemu-x86 -%ifarch ppc ppc64 ppc64le -Recommends: qemu-ppc -%else -Suggests: qemu-ppc -%endif -%ifarch s390x -Recommends: qemu-s390 -%else -Suggests: qemu-s390 -%endif -%ifarch %arm aarch64 -Recommends: qemu-arm -%else -Suggests: qemu-arm -%endif -Suggests: qemu-block-dmg -%if 0%{?with_glusterfs} -Suggests: qemu-block-gluster -%endif -%if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) -Suggests: qemu-block-iscsi -%endif -%if 0%{?is_opensuse} -Suggests: qemu-block-nfs -%endif -%if 0%{?with_rbd} -Suggests: qemu-block-rbd -%endif -Suggests: qemu-block-ssh -Suggests: qemu-extra -Suggests: qemu-lang -%if 0%{?is_opensuse} -Recommends: qemu-ksm = %{qemuver} -%endif -Provides: qemu-audio-oss = %{qemuver} -Obsoletes: qemu-audio-oss < %{qemuver} - -# for the record, this set of firmware files is installed, but we don't -# build (yet): bamboo.dtb canyonlands.dtb hppa-firmware.img openbios-ppc openbios-sparc32 -# openbios-sparc64 palcode-clipper petalogix-ml605.dtb petalogix-s3adsp1800.dtb ppc_rom.bin -# QEMU,cgthree.bin QEMU,tcx.bin qemu_vga.ndrv u-boot.e500 u-boot-sam460-20100605.bin - -# This first list group isn't specific to what this instance builds -%define ppc_default_firmware {%nil} -%define ppc_extra_firmware {skiboot.lid slof.bin} -%define ppc64_only_default_firmware {spapr-rtas.bin} -%define ppc64_only_extra_firmware {%nil} -%define s390x_default_firmware {s390-ccw.img s390-netboot.img} -%define s390x_extra_firmware {%nil} -%define x86_default_firmware {linuxboot.bin linuxboot_dma.bin multiboot.bin \ -kvmvapic.bin pvh.bin} -%define x86_extra_firmware {bios.bin bios-256k.bin pxe-e1000.rom pxe-eepro100.rom \ -pxe-ne2k_pci.rom pxe-pcnet.rom pxe-rtl8139.rom pxe-virtio.rom sgabios.bin \ -vgabios-bochs-display.bin vgabios.bin vgabios-cirrus.bin vgabios-qxl.bin \ -vgabios-ramfb.bin vgabios-stdvga.bin vgabios-virtio.bin vgabios-vmware.bin} -%define x86_64_only_default_firmware {%nil} -%define x86_64_only_extra_firmware {efi-e1000.rom efi-e1000e.rom efi-eepro100.rom \ -efi-ne2k_pci.rom efi-pcnet.rom efi-rtl8139.rom efi-virtio.rom efi-vmxnet3.rom} - -%define firmware { \ -%{?ppc_default_firmware} %{?ppc_extra_firmware} \ -%{?ppc64_only_default_firmware} %{?ppc64_only_extra_firmware} \ -%{?s390x_default_firmware} %{?s390x_extra_firmware} \ -%{?x86_default_firmware} %{?x86_extra_firmware} \ -%{?x86_64_only_default_firmware} %{?x86_64_only_extra_firmware} } - -# This second list group is specific to what this instance builds -%define ppc_default_built_firmware %{ppc_default_firmware} -%if %{build_skiboot_from_source} && %{build_slof_from_source} -%define ppc_extra_built_firmware %{ppc_extra_firmware} -%else -%if %{build_skiboot_from_source} -%define ppc_extra_built_firmware {skiboot.lid} -%endif -%if %{build_slof_from_source} -%define ppc_extra_built_firmware {slof.bin} -%endif -%endif - -%ifarch ppc64 -%define ppc64_only_default_built_firmware %{ppc64_only_default_firmware} -%define ppc64_only_extra_built_firmware %{ppc64_only_extra_firmware} -%endif - -%ifarch s390x -%define s390x_default_built_firmware %{s390x_default_firmware} -%define s390x_extra_built_firmware %{s390x_extra_firmware} -%endif - -%ifarch %ix86 x86_64 -%define x86_default_built_firmware %{x86_default_firmware} -%ifarch x86_64 -%define x86_64_only_default_built_firmware %{x86_64_only_default_firmware} -%endif -%endif - -%if %{build_x86_firmware_from_source} -%define x86_extra_built_firmware %{x86_extra_firmware} -%ifarch x86_64 -%define x86_64_only_extra_built_firmware %{x86_64_only_extra_firmware} -%endif -%endif - -%define built_firmware { \ -%{?ppc_default_built_firmware} %{?ppc_extra_built_firmware} \ -%{?ppc64_only_default_built_firmware} %{?ppc64_only_extra_built_firmware} \ -%{?s390x_default_built_firmware} %{?s390x_extra_built_firmware} \ -%{?x86_default_built_firmware} %{?x86_extra_built_firmware} \ -%{?x86_64_only_default_built_firmware} %{?x86_64_only_extra_built_firmware} } - -%description -QEMU provides full machine emulation and cross architecture usage. It closely -integrates with KVM and Xen virtualization, allowing for excellent performance. -Many options are available for defining the emulated environment, including -traditional devices, direct host device access, and interfaces specific to -virtualization. - -This package acts as an umbrella package to the other QEMU sub-packages. - -%if "%{name}" != "qemu-testsuite" - -%package x86 -Summary: Machine emulator and virtualizer for x86 architectures -Group: System/Emulators/PC -Version: %{qemuver} -Release: 0 -Requires: %name = %{qemuver} -Requires: qemu-ipxe -Requires: qemu-seabios -Requires: qemu-sgabios -Requires: qemu-vgabios -Recommends: ovmf -Recommends: qemu-ovmf-x86_64 - -%description x86 -QEMU provides full machine emulation and cross architecture usage. It closely -integrates with KVM and Xen virtualization, allowing for excellent performance. -Many options are available for defining the emulated environment, including -traditional devices, direct host device access, and interfaces specific to -virtualization. - -This package provides i386 and x86_64 emulation. - -%package ppc -Summary: Machine emulator and virtualizer for Power architectures -Group: System/Emulators/PC -Version: %{qemuver} -Release: 0 -Requires: %name = %{qemuver} -Recommends: qemu-ipxe -Recommends: qemu-vgabios - -%description ppc -QEMU provides full machine emulation and cross architecture usage. It closely -integrates with KVM and Xen virtualization, allowing for excellent performance. -Many options are available for defining the emulated environment, including -traditional devices, direct host device access, and interfaces specific to -virtualization. - -This package provides ppc and ppc64 emulation. - -%package s390 -Summary: Machine emulator and virtualizer for S/390 architectures -Group: System/Emulators/PC -Version: %{qemuver} -Release: 0 -Requires: %name = %{qemuver} - -%description s390 -QEMU provides full machine emulation and cross architecture usage. It closely -integrates with KVM and Xen virtualization, allowing for excellent performance. -Many options are available for defining the emulated environment, including -traditional devices, direct host device access, and interfaces specific to -virtualization. - -This package provides s390x emulation. - -%package arm -Summary: Machine emulator and virtualizer for ARM architectures -Group: System/Emulators/PC -Version: %{qemuver} -Release: 0 -Requires: %name = %{qemuver} -Recommends: qemu-ipxe -Recommends: qemu-vgabios -Recommends: ovmf -Recommends: qemu-uefi-aarch64 - -%description arm -QEMU provides full machine emulation and cross architecture usage. It closely -integrates with KVM and Xen virtualization, allowing for excellent performance. -Many options are available for defining the emulated environment, including -traditional devices, direct host device access, and interfaces specific to -virtualization. - -This package provides arm emulation. - -%package extra -Summary: Machine emulator and virtualizer for "extra" architectures -Group: System/Emulators/PC -Version: %{qemuver} -Release: 0 -Requires: %name = %{qemuver} -Recommends: qemu-ipxe -Recommends: qemu-vgabios - -%description extra -QEMU provides full machine emulation and cross architecture usage. It closely -integrates with KVM and Xen virtualization, allowing for excellent performance. -Many options are available for defining the emulated environment, including -traditional devices, direct host device access, and interfaces specific to -virtualization. - -This package provides some lesser used emulations, including alpha, m68k, -mips, moxie, sparc, and xtensa. (The term "extra" is juxtapositioned against -more popular QEMU packages which are dedicated to a single architecture.) - -%if %{legacy_qemu_kvm} -%package kvm -Summary: Wrapper to enable KVM acceleration under QEMU -Group: System/Emulators/PC -Version: %{qemuver} -Release: 0 -%ifarch %ix86 x86_64 -Requires: qemu-x86 = %{qemuver} -%endif -%ifarch s390x -Requires: qemu-s390 = %{qemuver} -%endif -Provides: kvm = %{qemuver} -Obsoletes: kvm < %{qemuver} - -%description kvm -QEMU provides full machine emulation and cross architecture usage. It closely -integrates with KVM and Xen virtualization, allowing for excellent performance. -Many options are available for defining the emulated environment, including -traditional devices, direct host device access, and interfaces specific to -virtualization. - -This package simply provides a shell script wrapper for the QEMU program which -does the actual machine emulation and virtualization for this architecture. The -wrapper simply adds command-line parameters to ensure that the KVM accelerator -is invoked. It provides no additional benefit, and is considered deprecated. -%endif - -%package lang -Summary: Translations for QEMU -Group: System/Emulators/PC -Version: %{qemuver} -Release: 0 - -%description lang -This package contains a few language translations, particularly for the -graphical user interface components that come with QEMU. The bulk of strings -in QEMU are not localized. - -# Modules need to match {qemu-system-*,qemu-img} version. -# We cannot have qemu and qemu-tools require them in the right version, -# as that would drag in the dependencies the modules are supposed to avoid. -# Nor can we have modules require the right version of qemu and qemu-tools -# as Xen reuses our qemu-tools but does not want our qemu and qemu-x86. -%define qemu_module_conflicts \ -Conflicts: %name < %{qemuver}-%{release} \ -Conflicts: %name > %{qemuver}-%{release} \ -Conflicts: qemu-tools < %{qemuver}-%{release} \ -Conflicts: qemu-tools > %{qemuver}-%{release} - -%package block-curl -Summary: cURL block support for QEMU -Group: System/Emulators/PC -Version: %{qemuver} -Release: 0 -Provides: %name:%_libdir/%name/block-curl.so -%{qemu_module_conflicts} - -%description block-curl -This package contains a module for accessing network-based image files over -a network connection from qemu-img tool and QEMU system emulation. - -%package block-dmg -Summary: DMG block support for QEMU -Group: System/Emulators/PC -Version: %{qemuver} -Release: 0 -%{qemu_module_conflicts} - -%description block-dmg -This package contains a module for accessing Mac OS X image files from -qemu-img tool and QEMU system emulation. - -%if 0%{?with_glusterfs} -%package block-gluster -Summary: GlusterFS block support for QEMU -Group: System/Emulators/PC -Version: %{qemuver} -Release: 0 -%{qemu_module_conflicts} - -%description block-gluster -This package contains a module for accessing network-based image files over a -GlusterFS network connection from qemu-img tool and QEMU system emulation. -%endif - -%if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) -%package block-iscsi -Summary: iSCSI block support for QEMU -Group: System/Emulators/PC -Version: %{qemuver} -Release: 0 -%{qemu_module_conflicts} - -%description block-iscsi -This package contains a module for accessing network-based image files over an -iSCSI network connection from qemu-img tool and QEMU system emulation. -%endif - -%if 0%{?is_opensuse} -%package block-nfs -Summary: direct Network File System support for QEMU -Group: System/Emulators/PC -Version: %{qemuver} -Release: 0 -%{qemu_module_conflicts} - -%description block-nfs -This package contains a module for directly accessing nfs based image files. -%endif - -%if 0%{?with_rbd} -%package block-rbd -Summary: Rados Block Device (Ceph) support for QEMU -Group: System/Emulators/PC -Version: %{qemuver} -Release: 0 -%{qemu_module_conflicts} - -%description block-rbd -This package contains a module for accessing ceph (rbd,rados) image files. -%endif - -%package block-ssh -Summary: SSH (SFTP) block support for QEMU -Group: System/Emulators/PC -Version: %{qemuver} -Release: 0 -%{qemu_module_conflicts} - -%description block-ssh -This package contains a module for accessing network-based image files over an -SSH network connection from qemu-img tool and QEMU system emulation. - -%package ui-curses -Summary: Curses based UI support for QEMU -Group: System/Emulators/PC -Version: %{qemuver} -Release: 0 -%{qemu_module_conflicts} - -%description ui-curses -This package contains a module for doing curses based UI for QEMU. - -%package ui-gtk -Summary: GTK based UI support for QEMU -Group: System/Emulators/PC -Version: %{qemuver} -Release: 0 -%{qemu_module_conflicts} - -%description ui-gtk -This package contains a module for doing GTK based UI for QEMU. - -%if 0%{?suse_version} >= 1320 && 0%{?is_opensuse} -%package ui-sdl -Summary: SDL based UI support for QEMU -Group: System/Emulators/PC -Version: %{qemuver} -Release: 0 -%{qemu_module_conflicts} - -%description ui-sdl -This package contains a module for doing SDL based UI for QEMU. -%endif - -%package audio-alsa -Summary: ALSA based audio support for QEMU -Group: System/Emulators/PC -Version: %{qemuver} -Release: 0 -%{qemu_module_conflicts} - -%description audio-alsa -This package contains a module for ALSA based audio support for QEMU. - -%package audio-pa -Summary: Pulse Audio based audio support for QEMU -Group: System/Emulators/PC -Version: %{qemuver} -Release: 0 -%{qemu_module_conflicts} - -%description audio-pa -This package contains a module for Pulse Audio based audio support for QEMU. - -%if 0%{?suse_version} >= 1320 && 0%{?is_opensuse} -%package audio-sdl -Summary: SDL based audio support for QEMU -Group: System/Emulators/PC -Version: %{qemuver} -Release: 0 -%{qemu_module_conflicts} - -%description audio-sdl -This package contains a module for SDL based audio support for QEMU. -%endif - -%package tools -Summary: Tools for QEMU -Group: System/Emulators/PC -Version: %{qemuver} -Release: 0 -Provides: %name:%_libexecdir/qemu-bridge-helper -Requires(pre): permissions -Requires(pre): shadow -%if 0%{?suse_version} > 1320 -Recommends: multipath-tools -%endif -Recommends: qemu-block-curl -%if 0%{?with_rbd} -Recommends: qemu-block-rbd -%endif - -%description tools -This package contains various QEMU related tools, including a bridge helper, -a virtfs helper, ivshmem, disk utilities and scripts for various purposes. - -%package guest-agent -Summary: Guest agent for QEMU -Group: System/Emulators/PC -Version: %{qemuver} -Release: 0 -Provides: %name:%_bindir/qemu-ga -Requires(pre): shadow -Requires(post): udev -Supplements: modalias(acpi*:QEMU0002%3A*) -Supplements: modalias(pci:v0000FFFDd00000101sv*sd*bc*sc*i*) -Supplements: modalias(pci:v00005853d00000001sv*sd*bc*sc*i*) -%{?systemd_requires} - -%description guest-agent -This package contains the QEMU guest agent. It is installed in the linux guest -to provide information and control at the guest OS level. - -%ifarch %{build_rom_arch} -%package seabios -Summary: x86 Legacy BIOS for QEMU -Group: System/Emulators/PC -Version: 1.12.1 -Release: 0 -BuildArch: noarch -Conflicts: %name < 1.6.0 - -%description seabios -SeaBIOS is an open source implementation of a 16bit x86 BIOS. SeaBIOS -is the default and legacy BIOS for QEMU. - -%package vgabios -Summary: VGA BIOSes for QEMU -Group: System/Emulators/PC -Version: 1.12.1 -Release: 0 -BuildArch: noarch -Conflicts: %name < 1.6.0 - -%description vgabios -VGABIOS provides the video ROM BIOSes for the following variants of VGA -emulated devices: Std VGA, QXL, Cirrus CLGD 5446 and VMware emulated -video card. - -%package sgabios -Summary: Serial Graphics Adapter BIOS for QEMU -Group: System/Emulators/PC -Version: 8 -Release: 0 -BuildArch: noarch -Conflicts: %name < 1.6.0 - -%description sgabios -The Google Serial Graphics Adapter BIOS or SGABIOS provides a means for legacy -x86 software to communicate with an attached serial console as if a video card -were attached. - -%package ipxe -Summary: PXE ROMs for QEMU NICs -Group: System/Emulators/PC -Version: 1.0.0+ -Release: 0 -BuildArch: noarch -Conflicts: %name < 1.6.0 - -%description ipxe -Provides Preboot Execution Environment (PXE) ROM support for various emulated -network adapters available with QEMU. -%endif - -%if 0%{?is_opensuse} -%package ksm -Summary: Kernel Samepage Merging services -Group: System/Emulators/PC -Version: %{qemuver} -Release: 0 -Requires(pre): coreutils -Requires(post): coreutils - -%description ksm -Kernel Samepage Merging (KSM) is a memory-saving de-duplication feature, that -merges anonymous (private) pages (not pagecache ones). - -This package provides a service file for starting and stopping KSM. -%endif - -%endif # !qemu-testsuite - -%prep -%setup -q -n %{srcname}-%{expand:%%(SV=%{srcver};echo ${SV%%%%+git*})} -%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 -%patch0041 -p1 -%patch0042 -p1 -%patch0043 -p1 -%patch0044 -p1 -%patch0045 -p1 -%patch0046 -p1 -%patch0047 -p1 -%patch0048 -p1 -%patch0049 -p1 -%patch0050 -p1 -%patch0051 -p1 - -pushd roms/seabios -%patch1100 -p1 -%if 0%{?suse_version} > 1320 -%patch1101 -p1 -%endif -%patch1102 -p1 -popd - -pushd roms/ipxe -%patch1200 -p1 -%if 0%{?suse_version} <= 1320 -%patch1201 -p1 -%endif -%patch1202 -p1 -%patch1203 -p1 -%ifarch aarch64 -%patch1204 -p1 -%endif -popd - -pushd roms/sgabios -%patch1300 -p1 -%patch1301 -p1 -popd - -pushd roms/SLOF -popd - -pushd roms/skiboot -%patch1500 -p1 -popd - -pushd ui/keycodemapdb -%patch1600 -p1 -popd - -pushd roms/openbios -popd - -pushd slirp/ -%patch1800 -p1 -popd - -%if "%{name}" != "qemu-testsuite" -# delete the firmware files that we intend to build -for i in %built_firmware -%else -# delete the firmware files that we intend to link from built packages -for i in %firmware -%endif -do - unlink pc-bios/$i -done - -%build -%define _lto_cflags %{nil} - -%if %build_in_tree -%define mybuilddir %{_builddir}/%buildsubdir -%else -%define mybuilddir %{_builddir}/mybuilddir -mkdir -p %mybuilddir -cd %mybuilddir -%endif - -%{_builddir}/%buildsubdir/configure \ - --prefix=%_prefix \ - --sysconfdir=%_sysconfdir \ - --libdir=%_libdir \ - --libexecdir=%_libexecdir \ - --localstatedir=%_localstatedir \ - --docdir=%_docdir/%name \ - --firmwarepath=%_datadir/%name \ -%if 0%{?suse_version} > 1320 - --python=%_bindir/python3 \ -%else - --python=%_bindir/python2 \ -%endif - --extra-cflags="%{optflags}" \ - --disable-stack-protector \ - --disable-strip \ - --with-pkgversion="%(echo '%{distro}' | sed 's/ (.*)//')" \ - --with-default-devices \ - --enable-system --disable-linux-user \ - --enable-tools --enable-guest-agent \ - --enable-modules \ - --enable-pie \ - --enable-docs \ -%if 0%{?suse_version} >= 1320 && 0%{?is_opensuse} - --audio-drv-list="pa alsa sdl" \ -%else - --audio-drv-list="pa alsa" \ -%endif - --enable-attr \ - --disable-auth-pam \ - --enable-bluez \ - --enable-bochs \ - --enable-brlapi \ - --enable-bzip2 \ - --enable-cap-ng \ - --disable-capstone \ - --enable-cloop \ - --enable-coroutine-pool \ - --disable-crypto-afalg \ - --enable-curl \ - --enable-curses \ - --enable-dmg \ - --enable-fdt \ - --enable-gcrypt \ -%if 0%{?with_glusterfs} - --enable-glusterfs \ -%else - --disable-glusterfs \ -%endif - --enable-gnutls \ - --enable-gtk \ - --disable-hax \ - --disable-hvf \ - --enable-iconv \ - --disable-jemalloc \ -%if %{kvm_available} - --enable-kvm \ -%else - --disable-kvm \ -%endif -%if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) - --enable-libiscsi \ -%else - --disable-libiscsi \ -%endif -%if 0%{?is_opensuse} - --enable-libnfs \ -%else - --disable-libnfs \ -%endif -%ifarch x86_64 - --enable-libpmem \ -%else - --disable-libpmem \ -%endif - --enable-libssh2 \ - --enable-libusb \ - --disable-libxml2 \ - --enable-linux-aio \ -%if 0%{?is_opensuse} - --enable-lzfse \ -%else - --disable-lzfse \ -%endif - --enable-lzo \ - --disable-malloc-trim \ - --enable-membarrier \ -%if 0%{?suse_version} > 1320 - --enable-mpath \ -%else - --disable-mpath \ -%endif - --disable-netmap \ - --disable-nettle \ -%ifarch %ix86 x86_64 -%if 0%{?suse_version} > 1320 || 0%{?suse_version} == 1315 - --enable-numa \ -%else - --disable-numa \ -%endif -%else -%ifarch aarch64 -%if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) - --enable-numa \ -%endif -%else - --disable-numa \ -%endif -%else -%ifarch %arm s390x - --disable-numa \ -%else - --enable-numa \ -%endif -%endif -%if 0%{?suse_version} >= 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) - --enable-opengl \ -%endif - --enable-parallels \ -%if 0%{?suse_version} >= 1315 - --enable-pvrdma \ -%else - --disable-pvrdma \ -%endif - --enable-qcow1 \ - --enable-qed \ -%if 0%{?with_rbd} - --enable-rbd \ -%else - --disable-rbd \ -%endif -%if 0%{?suse_version} >= 1315 - --enable-rdma \ -%else - --disable-rdma \ -%endif - --enable-replication \ - --disable-sanitizers \ -%if 0%{?suse_version} >= 1320 && 0%{?is_opensuse} - --enable-sdl \ - --enable-sdl-image \ -%else - --disable-sdl \ - --disable-sdl-image \ -%endif -%if 0%{?with_seccomp} - --enable-seccomp \ -%else - --disable-seccomp \ -%endif - --enable-sheepdog \ -%if 0%{?is_opensuse} - --enable-smartcard \ -%else - --disable-smartcard \ -%endif - --enable-snappy \ - --enable-spice \ - --disable-tcmalloc \ - --enable-tpm \ - --enable-usb-redir \ - --enable-vde \ - --enable-vdi \ - --enable-vhost-crypto \ - --enable-vhost-kernel \ - --enable-vhost-net \ - --enable-vhost-scsi \ - --enable-vhost-user \ - --enable-vhost-vsock \ -%if 0%{?suse_version} >= 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) - --enable-virglrenderer \ -%endif - --enable-virtfs \ - --enable-vnc \ - --enable-vnc-jpeg \ - --enable-vnc-png \ - --enable-vnc-sasl \ -%if 0%{?suse_version} == 1320 - --disable-vte \ -%else - --enable-vte \ -%endif - --enable-vvfat \ - --enable-werror \ - --disable-whpx \ -%ifarch x86_64 - --enable-xen \ - --enable-xen-pci-passthrough \ -%else - --disable-xen \ -%endif - --enable-xfsctl \ - -%if "%{name}" != "qemu-testsuite" - -make %{?_smp_mflags} V=1 - -# Firmware - -%ifarch s390x -for i in %s390x_default_built_firmware -do - cp pc-bios/s390-ccw/$i %{_builddir}/%buildsubdir/pc-bios/ -done -%endif - -%ifarch ppc64 -for i in %ppc64_only_default_built_firmware -do - cp pc-bios/spapr-rtas/$i %{_builddir}/%buildsubdir/pc-bios/ -done -%endif - -%ifarch %ix86 x86_64 -for i in %x86_default_built_firmware -do - cp pc-bios/optionrom/$i %{_builddir}/%buildsubdir/pc-bios/ -done -%ifarch x86_64 -for i in %x86_64_only_default_built_firmware -do - cp pc-bios/optionrom/$i %{_builddir}/%buildsubdir/pc-bios/ -done -%endif -%endif - -%if %{build_x86_firmware_from_source} -%ifnarch %{ix86} x86_64 -export CC=x86_64-suse-linux-gcc -export LD=x86_64-suse-linux-ld -%endif - -make %{?_smp_mflags} -C %{_builddir}/%buildsubdir/roms bios \ -%ifnarch %ix86 x86_64 - HOSTCC=cc \ -%endif - -make %{?_smp_mflags} -C %{_builddir}/%buildsubdir/roms seavgabios \ -%ifnarch %ix86 x86_64 - HOSTCC=cc \ -%endif - -make %{?_smp_mflags} -C %{_builddir}/%buildsubdir/roms pxerom - -%ifnarch %ix86 -make %{?_smp_mflags} -C %{_builddir}/%buildsubdir/roms efirom \ - EDK2_BASETOOLS_OPTFLAGS='-fPIE' -%endif - -make -C %{_builddir}/%buildsubdir/roms sgabios \ - HOSTCC=cc - -%if %{force_fit_virtio_pxe_rom} -pushd %{_builddir}/%buildsubdir/roms/ipxe -patch -p1 < %{SOURCE301} -popd -make %{?_smp_mflags} -C %{_builddir}/%buildsubdir/roms pxerom_variants=virtio pxerom_targets=1af41000 pxerom -%endif - -# enforce pxe rom sizes for migration compatability from SLE 11 SP3 forward -# the following need to be > 64K -%define supported_nics_large {e1000 rtl8139} -# the following need to be <= 64K -%define supported_nics_small {virtio} -# Though not required, make unsupported pxe roms migration compatable as well -%define unsupported_nics {eepro100 ne2k_pci pcnet} - -for i in %supported_nics_large %unsupported_nics - do - if test "`stat -c '%s' %{_builddir}/%buildsubdir/pc-bios/pxe-$i.rom`" -gt "131072" ; then - echo "pxe rom is too large" - exit 1 - fi - if test "`stat -c '%s' %{_builddir}/%buildsubdir/pc-bios/pxe-$i.rom`" -le "65536" ; then - ./%{_builddir}/%buildsubdir/roms/ipxe/src/util/padimg.pl %{_builddir}/%buildsubdir/pc-bios/pxe-$i.rom -s 65536 -b 255 - echo -ne "SEGMENT OVERAGE\0" >> %{_builddir}/%buildsubdir/pc-bios/pxe-$i.rom - fi -done -for i in %supported_nics_small - do - if test "`stat -c '%s' %{_builddir}/%buildsubdir/pc-bios/pxe-$i.rom`" -gt "65536" ; then - echo "pxe rom is too large" - exit 1 - fi -done -%ifnarch %{ix86} x86_64 -unset CC -unset LD -%endif -%endif - -%if %{build_skiboot_from_source} -make %{?_smp_mflags} -C %{_builddir}/%buildsubdir/roms skiboot CROSS= -%endif - -%if %{build_slof_from_source} -make %{?_smp_mflags} -C %{_builddir}/%buildsubdir/roms slof -%endif - -%else # qemu-testsuite - -ln -s %_bindir/qemu-img qemu-img -ln -s %_bindir/qemu-ga qemu-ga -ln -s %_bindir/qemu-io qemu-io -# And what about these binaries: qemu-nbd, elf2dmp, ivshmem-client, ivshmem-server, qemu-edid, qemu-keymap, qemu-pr-helper, virtfs-proxy-helper - -for i in %firmware -do - ln -s %_datadir/%name/$i pc-bios/$i -done - -for conf in %{_builddir}/%buildsubdir/default-configs/*-softmmu.mak; do - arch=`echo "$conf" | sed -e 's|%{_builddir}/%buildsubdir/default-configs/\(.*\)-softmmu.mak|\1|g'` - ln -s %_bindir/qemu-system-$arch $arch-softmmu/qemu-system-$arch -done - -# Compile the QOM test binary first, so that ... -touch -r config-host.mak pc-bios -make %{?_smp_mflags} tests/qom-test %{?_smp_mflags} V=1 -# ... make comes in fresh and has lots of address space (needed for 32bit, bsc#957379) -make %{?_smp_mflags} check-report.tap V=1 - -%endif - -%check -cd %mybuilddir -%if "%{name}" == "qemu-testsuite" - -export QEMU_PROG=%_bindir/qemu-system-x86_64 -export QEMU_IMG_PROG=%_bindir/qemu-img -export QEMU_IO_PROG=%_bindir/qemu-io -export QEMU_NBD_PROG=%_bindir/qemu-nbd -make %{?_smp_mflags} check-block V=1 - -%endif # qemu-testsuite - -%install -cd %mybuilddir -%if "%{name}" != "qemu-testsuite" - -make %{?_smp_mflags} install DESTDIR=%{buildroot} -%ifnarch %{build_rom_arch} -for f in %{x86_extra_firmware} \ - %{x86_64_only_extra_firmware}; do - unlink %{buildroot}%_datadir/%name/$f -done -%endif -%find_lang %name -install -d -m 0755 %{buildroot}%_datadir/%name/firmware -install -d -m 0755 %{buildroot}%_libexecdir/supportconfig/plugins -install -d -m 0755 %{buildroot}%_sysconfdir/%name/firmware -install -D -m 0644 %{SOURCE4} %{buildroot}%_sysconfdir/%name/bridge.conf -install -D -m 0755 %{SOURCE3} %{buildroot}%_datadir/%name/qemu-ifup -install -D -p -m 0644 %{SOURCE8} %{buildroot}%{_udevrulesdir}/80-qemu-ga.rules -install -D -m 0755 scripts/analyze-migration.py %{buildroot}%_bindir/analyze-migration.py -install -D -m 0755 scripts/vmstate-static-checker.py %{buildroot}%_bindir/vmstate-static-checker.py -install -D -m 0755 %{SOURCE9} %{buildroot}%_libexecdir/supportconfig/plugins/%name -%if 0%{?is_opensuse} == 0 -install -D -m 0644 %{SOURCE10} %{buildroot}%_docdir/qemu-arm/supported.txt -install -D -m 0644 %{SOURCE11} %{buildroot}%_docdir/qemu-ppc/supported.txt -install -D -m 0644 %{SOURCE12} %{buildroot}%_docdir/qemu-x86/supported.txt -install -D -m 0644 %{SOURCE13} %{buildroot}%_docdir/qemu-s390/supported.txt -%endif -%if %{legacy_qemu_kvm} -cat > %{buildroot}%_bindir/qemu-kvm << 'EOF' -#!/bin/sh - -%ifarch s390x -exec %_bindir/qemu-system-s390x -machine accel=kvm "$@" -%else -exec %_bindir/qemu-system-x86_64 -machine accel=kvm "$@" -%endif -EOF -chmod 755 %{buildroot}%_bindir/qemu-kvm -install -D -m 0644 %{SOURCE5} %{buildroot}%_mandir/man1/qemu-kvm.1.gz -%if 0%{?is_opensuse} == 0 -install -d %{buildroot}%_docdir/qemu-kvm -%ifarch s390x -ln -s ../qemu-s390/supported.txt %{buildroot}%_docdir/qemu-kvm/kvm-supported.txt -%else -ln -s ../qemu-x86/supported.txt %{buildroot}%_docdir/qemu-kvm/kvm-supported.txt -%endif -%endif -%endif -%if %{kvm_available} -install -D -m 0644 %{SOURCE1} %{buildroot}%{_udevrulesdir}/80-kvm.rules -%endif -install -D -p -m 0644 %{SOURCE7} %{buildroot}%{_unitdir}/qemu-ga@.service -%if 0%{?is_opensuse} -install -D -p -m 0644 %{SOURCE6} %{buildroot}%{_unitdir}/ksm.service -%endif -%ifarch s390x -install -D -m 0644 %{SOURCE2} %{buildroot}%_libexecdir/modules-load.d/kvm.conf -%endif -%fdupes -s %{buildroot} - -%else # qemu-testsuite - -install -D -m 0644 check-report.tap %{buildroot}%_datadir/qemu/check-report.tap - -%endif - -%if "%{name}" != "qemu-testsuite" - -%pre -%_bindir/getent group kvm >/dev/null || %_sbindir/groupadd -r kvm -%_bindir/getent group qemu >/dev/null || %_sbindir/groupadd -r qemu -%_bindir/getent passwd qemu >/dev/null || - %_sbindir/useradd -r -g qemu -G kvm -d / -s /sbin/nologin \ - -c "qemu user" qemu - -%if %{kvm_available} -%post -# Do not execute operations affecting host devices while running in a chroot -if [ $(stat -L -c "%i" /proc/1/root/) = $(stat -L -c "%i" /) ]; then - setfacl --remove-all /dev/kvm &> /dev/null || : -%ifarch s390x - if [ -c /dev/kvm ]; then - %_bindir/chmod 0666 /dev/kvm - %_bindir/chgrp kvm /dev/kvm - fi -%endif - %udev_rules_update - %_bindir/udevadm trigger -y kvm || : -%ifarch s390x - sysctl vm.allocate_pgste=1 || : -%endif -fi -%endif - -%pre tools -%_bindir/getent group kvm >/dev/null || %_sbindir/groupadd -r kvm -%post tools -%set_permissions %_libexecdir/qemu-bridge-helper - -%verifyscript tools -%verify_permissions %_libexecdir/qemu-bridge-helper - -%pre guest-agent -%_bindir/getent group kvm >/dev/null || %_sbindir/groupadd -r kvm -%service_add_pre qemu-ga@.service - -%post guest-agent -%service_add_post qemu-ga@.service -if [ -e /dev/virtio-ports/org.qemu.guest_agent.0 ]; then - /usr/bin/systemctl start qemu-ga@virtio\\x2dports-org.qemu.guest_agent.0.service || : -fi - -%preun guest-agent -if [ -e /dev/virtio-ports/org.qemu.guest_agent.0 ]; then - /usr/bin/systemctl stop qemu-ga@virtio\\x2dports-org.qemu.guest_agent.0.service || : -fi - -%postun guest-agent -%service_del_postun qemu-ga@.service - -%if 0%{?is_opensuse} -%pre ksm -%service_add_pre ksm.service - -%post ksm -%service_add_post ksm.service - -%preun ksm -%service_del_preun ksm.service - -%postun ksm -%service_del_postun ksm.service -%endif - -%endif # !qemu-testsuite - -%files -%defattr(-, root, root) -%if "%{name}" != "qemu-testsuite" -%doc Changelog README VERSION -%license COPYING COPYING.LIB LICENSE -%dir %_docdir/%name/interop -%dir %_docdir/%name/interop/_static -%_docdir/%name/interop/.buildinfo -%_docdir/%name/interop/_static/* -%_docdir/%name/interop/bitmaps.html -%_docdir/%name/interop/genindex.html -%_docdir/%name/interop/index.html -%_docdir/%name/interop/live-block-operations.html -%_docdir/%name/interop/objects.inv -%_docdir/%name/interop/pr-helper.html -%_docdir/%name/interop/search.html -%_docdir/%name/interop/searchindex.js -%_docdir/%name/qemu-doc.txt -%_docdir/%name/qemu-doc.html -%_docdir/%name/qemu-qmp-ref.txt -%_docdir/%name/qemu-qmp-ref.html -%_docdir/%name/qemu-ga-ref.txt -%_docdir/%name/qemu-ga-ref.html -%_mandir/man1/%name.1.gz -%_mandir/man7/qemu-block-drivers.7.gz -%_mandir/man7/qemu-cpu-models.7.gz -%_mandir/man7/qemu-qmp-ref.7.gz -%_mandir/man7/qemu-ga-ref.7.gz -%dir %_datadir/%name -%dir %_datadir/%name/firmware -%_datadir/%name/keymaps -%_datadir/%name/trace-events-all -%dir %_sysconfdir/%name -%dir %_sysconfdir/%name/firmware -%_datadir/%name/qemu-ifup -%dir %_libexecdir/supportconfig -%dir %_libexecdir/supportconfig/plugins -%_libexecdir/supportconfig/plugins/%name -%if %{kvm_available} -%{_udevrulesdir}/80-kvm.rules -%ifarch s390x -%_libexecdir/modules-load.d/kvm.conf -%endif -%endif -%dir %_datadir/icons/hicolor -%dir %_datadir/icons/hicolor/*/ -%dir %_datadir/icons/hicolor/*/apps -%_datadir/icons/hicolor/16x16/apps/qemu.png -%_datadir/icons/hicolor/24x24/apps/qemu.png -%_datadir/icons/hicolor/32x32/apps/qemu.bmp -%_datadir/icons/hicolor/32x32/apps/qemu.png -%_datadir/icons/hicolor/48x48/apps/qemu.png -%_datadir/icons/hicolor/64x64/apps/qemu.png -%_datadir/icons/hicolor/128x128/apps/qemu.png -%_datadir/icons/hicolor/256x256/apps/qemu.png -%_datadir/icons/hicolor/512x512/apps/qemu.png -%_datadir/icons/hicolor/scalable/apps/qemu.svg -%_datadir/applications/qemu.desktop - -%files x86 -%defattr(-, root, root) -%_bindir/qemu-system-i386 -%_bindir/qemu-system-x86_64 -%_datadir/%name/kvmvapic.bin -%_datadir/%name/linuxboot.bin -%_datadir/%name/linuxboot_dma.bin -%_datadir/%name/multiboot.bin -%_datadir/%name/pvh.bin -%if 0%{?is_opensuse} == 0 -%dir %_docdir/qemu-x86 -%_docdir/qemu-x86/supported.txt -%endif - -%files ppc -%defattr(-, root, root) -%_bindir/qemu-system-ppc -%_bindir/qemu-system-ppc64 -%_datadir/%name/bamboo.dtb -%_datadir/%name/canyonlands.dtb -%_datadir/%name/openbios-ppc -%_datadir/%name/ppc_rom.bin -%_datadir/%name/qemu_vga.ndrv -%_datadir/%name/skiboot.lid -%_datadir/%name/slof.bin -%_datadir/%name/spapr-rtas.bin -%_datadir/%name/u-boot.e500 -%_datadir/%name/u-boot-sam460-20100605.bin -%if 0%{?is_opensuse} == 0 -%dir %_docdir/qemu-ppc -%_docdir/qemu-ppc/supported.txt -%endif - -%files s390 -%defattr(-, root, root) -%_bindir/qemu-system-s390x -%_datadir/%name/s390-ccw.img -%_datadir/%name/s390-netboot.img -%if 0%{?is_opensuse} == 0 -%dir %_docdir/qemu-s390 -%_docdir/qemu-s390/supported.txt -%endif - -%files arm -%defattr(-, root, root) -%_bindir/qemu-system-arm -%_bindir/qemu-system-aarch64 -%if 0%{?is_opensuse} == 0 -%dir %_docdir/qemu-arm -%_docdir/qemu-arm/supported.txt -%endif - -%files extra -%defattr(-, root, root) -%_bindir/qemu-system-alpha -%_bindir/qemu-system-cris -%_bindir/qemu-system-hppa -%_bindir/qemu-system-lm32 -%_bindir/qemu-system-m68k -%_bindir/qemu-system-microblaze -%_bindir/qemu-system-microblazeel -%_bindir/qemu-system-mips -%_bindir/qemu-system-mipsel -%_bindir/qemu-system-mips64 -%_bindir/qemu-system-mips64el -%_bindir/qemu-system-moxie -%_bindir/qemu-system-nios2 -%_bindir/qemu-system-or1k -%_bindir/qemu-system-riscv32 -%_bindir/qemu-system-riscv64 -%_bindir/qemu-system-sh4 -%_bindir/qemu-system-sh4eb -%_bindir/qemu-system-sparc -%_bindir/qemu-system-sparc64 -%_bindir/qemu-system-tricore -%_bindir/qemu-system-unicore32 -%_bindir/qemu-system-xtensa -%_bindir/qemu-system-xtensaeb -%_datadir/%name/hppa-firmware.img -%_datadir/%name/openbios-sparc32 -%_datadir/%name/openbios-sparc64 -%_datadir/%name/palcode-clipper -%_datadir/%name/petalogix-ml605.dtb -%_datadir/%name/petalogix-s3adsp1800.dtb -%_datadir/%name/QEMU,cgthree.bin -%_datadir/%name/QEMU,tcx.bin - -%if %{legacy_qemu_kvm} -%files kvm -%defattr(-,root,root) -%_bindir/qemu-kvm -%_mandir/man1/qemu-kvm.1.gz -%if 0%{?is_opensuse} == 0 -%dir %_docdir/qemu-kvm -%_docdir/qemu-kvm/kvm-supported.txt -%endif -%endif - -%files block-curl -%defattr(-, root, root) -%dir %_libdir/%name -%_libdir/%name/block-curl.so - -%files block-dmg -%defattr(-, root, root) -%dir %_libdir/%name -%_libdir/%name/block-dmg-bz2.so -%if 0%{?is_opensuse} -%_libdir/%name/block-dmg-lzfse.so -%endif - -%if 0%{?with_glusterfs} -%files block-gluster -%defattr(-, root, root) -%dir %_libdir/%name -%_libdir/%name/block-gluster.so -%endif - -%if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) -%files block-iscsi -%defattr(-, root, root) -%dir %_libdir/%name -%_libdir/%name/block-iscsi.so -%endif - -%if 0%{?is_opensuse} -%files block-nfs -%defattr(-, root, root) -%dir %_libdir/%name -%_libdir/%name/block-nfs.so -%endif - -%if 0%{?with_rbd} -%files block-rbd -%defattr(-, root, root) -%dir %_libdir/%name -%_libdir/%name/block-rbd.so -%endif - -%files block-ssh -%defattr(-, root, root) -%dir %_libdir/%name -%_libdir/%name/block-ssh.so - -%files ui-curses -%defattr(-, root, root) -%dir %_libdir/%name -%_libdir/%name/ui-curses.so - -%files ui-gtk -%defattr(-, root, root) -%dir %_libdir/%name -%_libdir/%name/ui-gtk.so - -%if 0%{?suse_version} >= 1320 && 0%{?is_opensuse} -%files ui-sdl -%defattr(-, root, root) -%dir %_libdir/%name -%_libdir/%name/ui-sdl.so -%endif - -%files audio-alsa -%defattr(-, root, root) -%dir %_libdir/%name -%_libdir/%name/audio-alsa.so - -%files audio-pa -%defattr(-, root, root) -%dir %_libdir/%name -%_libdir/%name/audio-pa.so - -%if 0%{?suse_version} >= 1320 && 0%{?is_opensuse} -%files audio-sdl -%defattr(-, root, root) -%dir %_libdir/%name -%_libdir/%name/audio-sdl.so -%endif - -%files lang -f %mybuilddir/%name.lang -%defattr(-, root, root) - -%ifarch %{build_rom_arch} -%files seabios -%defattr(-, root, root) -%dir %_datadir/%name -%_datadir/%name/bios.bin -%_datadir/%name/bios-256k.bin - -%files vgabios -%defattr(-, root, root) -%dir %_datadir/%name -%_datadir/%name/vgabios.bin -%_datadir/%name/vgabios-cirrus.bin -%_datadir/%name/vgabios-qxl.bin -%_datadir/%name/vgabios-stdvga.bin -%_datadir/%name/vgabios-virtio.bin -%_datadir/%name/vgabios-vmware.bin -%_datadir/%name/vgabios-bochs-display.bin -%_datadir/%name/vgabios-ramfb.bin - -%files sgabios -%defattr(-, root, root) -%dir %_datadir/%name -%_datadir/%name/sgabios.bin - -%files ipxe -%defattr(-, root, root) -%dir %_datadir/%name -%_datadir/%name/pxe-e1000.rom -%_datadir/%name/pxe-eepro100.rom -%_datadir/%name/pxe-ne2k_pci.rom -%_datadir/%name/pxe-pcnet.rom -%_datadir/%name/pxe-rtl8139.rom -%_datadir/%name/pxe-virtio.rom -%_datadir/%name/efi-e1000.rom -%_datadir/%name/efi-e1000e.rom -%_datadir/%name/efi-eepro100.rom -%_datadir/%name/efi-ne2k_pci.rom -%_datadir/%name/efi-pcnet.rom -%_datadir/%name/efi-rtl8139.rom -%_datadir/%name/efi-virtio.rom -%_datadir/%name/efi-vmxnet3.rom -%endif - -%files tools -%defattr(-, root, root) -%_mandir/man1/qemu-img.1.gz -%_mandir/man1/virtfs-proxy-helper.1.gz -%_mandir/man8/qemu-nbd.8.gz -%_bindir/elf2dmp -%_bindir/ivshmem-client -%_bindir/ivshmem-server -%_bindir/qemu-edid -%_bindir/qemu-io -%_bindir/qemu-img -%_bindir/qemu-keymap -%_bindir/qemu-nbd -%_bindir/qemu-pr-helper -%_bindir/virtfs-proxy-helper -%verify(not mode) %attr(4750,root,kvm) %_libexecdir/qemu-bridge-helper -%dir %_sysconfdir/%name -%config %_sysconfdir/%name/bridge.conf -%_bindir/analyze-migration.py -%_bindir/vmstate-static-checker.py - -%files guest-agent -%defattr(-, root, root) -%_mandir/man8/qemu-ga.8.gz -%attr(0755,root,kvm) %_bindir/qemu-ga -%{_unitdir}/qemu-ga@.service -%{_udevrulesdir}/80-qemu-ga.rules - -%if 0%{?is_opensuse} -%files ksm -%defattr(-, root, root) -%{_unitdir}/ksm.service -%endif - -%else # qemu-testsuite -%_datadir/qemu/check-report.tap -%endif - -%changelog diff --git a/qemu.changes b/qemu.changes index 0c76da8..36e2669 100644 --- a/qemu.changes +++ b/qemu.changes @@ -1,3 +1,195 @@ +------------------------------------------------------------------- +Wed Sep 11 14:31:26 UTC 2019 - Bruce Rogers + +- Include more tweaks to our packaging workflow scripts +- Produce qemu-linux-user and qemu-testsuite via the build service + multibuild capability, instead of duplicating the spec file and + using package link in build service +* combine qemu-linux-user spec file into main qemu spec file. Since + this model uses a single changelog, here are some historicial + mentions from the now unused qemu-linux-user.changes (delta from + qemu's was quite minimal): + - Adjust to a v5.2 linux kernel change regarding SIOCGSTAMP + - Fix pwrite64/pread64 to return 0 over -1 for a + zero length NULL buffer in qemu (bsc#1121600) + * bsc#1112499 +* Since qemu-testsuite.spec and qemu-testsuite.changes were just + copies of the main qemu version nothing needs to be done there + +------------------------------------------------------------------- +Fri Sep 6 16:10:18 UTC 2019 - Bruce Rogers + +- Build opensbi from source on riscv64 + +------------------------------------------------------------------- +Fri Sep 6 16:04:15 UTC 2019 - Bruce Rogers + +- Update to v4.1.0: See http://wiki.qemu.org/ChangeLog/4.1 + Take note that ongoing feature deprecation is tracked at both + http://wiki.qemu-project.org/Features/LegacyRemoval and in + Appendix B of the qemu-doc.* files installed with the qemu package + Some noteworthy changes: +* x86: CPU models are now versioned +* x86: CPU die topology can now be configured +* x86: New Hygon Dhyana and Intel Snowridge CPU models +* s390: The bios now supports IPL (boot) from ECKD DASD assigned + to the guest via vfio-ccw +* s390: The bios now tolerates the presence of bootmap signature + entries written by zipl +* PowerPC: pseries machine now supports KVM acceleration + (kernel_irqchip=on) of the XIVE interrupt controller +* PowerPC: pseries now supports hot-plug of PCI bridges and hot-plug + and unplug of devices under PCI bridges +* ARM: QEMU now supports emulating an FPU for Cortex-M CPUs, and the + Cortex-M4 and Cortex-M33 now provide the FP +* Python 2 support is deprecated +* UEFI platform firmware binaries, and matching variable store + templates are now installed +* Now it's possible to specify memory-less NUMA node when using + "-numa node,memdev" options +* Possible to trigger self announcement on specific network interfaces +* Default memory distribution between NUMA nodes is now deprecated +* Fallback to normal RAM allocation if QEMU is not able to allocate + from the "-mem-path" provided file/filesystem is now deprecated +* virtio-gpu 2d/3d rendering may now be offloaded to an external + vhost-user process, such as QEMU vhost-user-gpu +* QEMU will automatically try to use the MAP_SYNC mmap flag for memory + backends configured with pmem=on,share=on +* Additional SeaVGABIOS patches added for vga-ati compatibility +- Drop attempt at build compatibility with SLE12 +- New sub-packages: qemu-edk2, qemu-vhost-user-gpu +- Conditionalize building of qemu-edk2 (and leave unbuilt for now) +- Implement new packaging workflow, includes no longer numbering + patches, and having the "current git repo" stored with the package + in the form of git bundles +* Patches dropped (upstream unless otherwise noted): + 0027-tests-test-thread-pool-is-racy-add-.patch + 0032-tests-Fix-Makefile-handling-of-chec.patch + 0034-Revert-target-i386-kvm-add-VMX-migr.patch + 0036-sockets-avoid-string-truncation-war.patch + 0039-linux-user-avoid-string-truncation-.patch + 0040-linux-user-elfload-Fix-GCC-9-build-.patch + 0041-qxl-avoid-unaligned-pointer-reads-w.patch + 0042-libvhost-user-fix-Waddress-of-packe.patch + 0043-target-i386-define-md-clear-bit.patch + 0045-kbd-state-fix-autorepeat-handling.patch + 0046-target-ppc-ensure-we-get-null-termi.patch + 0049-qxl-check-release-info-object.patch + 0050-qemu-bridge-helper-restrict-interfa.patch + 0051-linux-user-fix-to-handle-variably-s.patch + ipxe-use-gcc6-for-more-compact-code.patch (no longer needed) + (the next three are replaced by the upstream equivalent) + ipxe-efi-Simplify-diagnostic-for-NULL-handle.patch + ipxe-build-Disable-gcc-address-of-packed-member-warning.patch + ipxe-efi-Avoid-string-op-warning-with-cross-gcc-7-compile.patch + slirp-fix-heap-overflow-in-ip_reass-on-big-packet-input.patch +* Patches renamed: + 0001-XXX-dont-dump-core-on-sigabort.patch + -> XXX-dont-dump-core-on-sigabort.patch + 0002-qemu-binfmt-conf-Modify-default-pat.patch + -> qemu-binfmt-conf-Modify-default-path.patch + 0003-qemu-cvs-gettimeofday.patch + -> qemu-cvs-gettimeofday.patch + 0004-qemu-cvs-ioctl_debug.patch + -> qemu-cvs-ioctl_debug.patch + 0005-qemu-cvs-ioctl_nodirection.patch + -> qemu-cvs-ioctl_nodirection.patch + 0006-linux-user-add-binfmt-wrapper-for-a.patch + -> linux-user-add-binfmt-wrapper-for-argv-0.patch + 0007-PPC-KVM-Disable-mmu-notifier-check.patch + -> PPC-KVM-Disable-mmu-notifier-check.patch + 0008-linux-user-binfmt-support-host-bina.patch + -> linux-user-binfmt-support-host-binaries.patch + 0009-linux-user-Fake-proc-cpuinfo.patch + -> linux-user-Fake-proc-cpuinfo.patch + 0010-linux-user-use-target_ulong.patch + -> linux-user-use-target_ulong.patch + 0011-Make-char-muxer-more-robust-wrt-sma.patch + -> Make-char-muxer-more-robust-wrt-small-FI.patch + 0012-linux-user-lseek-explicitly-cast-no.patch + -> linux-user-lseek-explicitly-cast-non-set.patch + 0013-AIO-Reduce-number-of-threads-for-32.patch + -> AIO-Reduce-number-of-threads-for-32bit-h.patch + 0014-xen_disk-Add-suse-specific-flush-di.patch + -> xen_disk-Add-suse-specific-flush-disable.patch + 0015-qemu-bridge-helper-reduce-security-.patch + -> qemu-bridge-helper-reduce-security-profi.patch + 0016-qemu-binfmt-conf-use-qemu-ARCH-binf.patch + -> qemu-binfmt-conf-use-qemu-ARCH-binfmt.patch + 0017-linux-user-properly-test-for-infini.patch + -> linux-user-properly-test-for-infinite-ti.patch + 0018-roms-Makefile-pass-a-packaging-time.patch + -> roms-Makefile-pass-a-packaging-timestamp.patch + 0019-Raise-soft-address-space-limit-to-h.patch + -> Raise-soft-address-space-limit-to-hard-l.patch + 0020-increase-x86_64-physical-bits-to-42.patch + -> increase-x86_64-physical-bits-to-42.patch + 0021-vga-Raise-VRAM-to-16-MiB-for-pc-0.1.patch + -> vga-Raise-VRAM-to-16-MiB-for-pc-0.15-and.patch + 0022-i8254-Fix-migration-from-SLE11-SP2.patch + -> i8254-Fix-migration-from-SLE11-SP2.patch + 0023-acpi_piix4-Fix-migration-from-SLE11.patch + -> acpi_piix4-Fix-migration-from-SLE11-SP2.patch + 0024-Switch-order-of-libraries-for-mpath.patch + -> Switch-order-of-libraries-for-mpath-supp.patch + 0025-Make-installed-scripts-explicitly-p.patch + -> Make-installed-scripts-explicitly-python.patch + 0026-hw-smbios-handle-both-file-formats-.patch + -> hw-smbios-handle-both-file-formats-regar.patch + 0028-xen-add-block-resize-support-for-xe.patch + -> xen-add-block-resize-support-for-xen-dis.patch + 0029-tests-qemu-iotests-Triple-timeout-o.patch + -> tests-qemu-iotests-Triple-timeout-of-i-o.patch + 0030-tests-block-io-test-130-needs-some-.patch + -> tests-block-io-test-130-needs-some-delay.patch + 0031-xen-ignore-live-parameter-from-xen-.patch + -> xen-ignore-live-parameter-from-xen-save-.patch + 0033-Conditionalize-ui-bitmap-installati.patch + -> Conditionalize-ui-bitmap-installation-be.patch + 0035-tests-change-error-message-in-test-.patch + -> tests-change-error-message-in-test-162.patch + 0037-hw-usb-hcd-xhci-Fix-GCC-9-build-war.patch + -> hw-usb-hcd-xhci-Fix-GCC-9-build-warning.patch + 0038-hw-usb-dev-mtp-Fix-GCC-9-build-warn.patch + -> hw-usb-dev-mtp-Fix-GCC-9-build-warning.patch + 0044-hw-intc-exynos4210_gic-provide-more.patch + -> hw-intc-exynos4210_gic-provide-more-room.patch + 0047-configure-only-populate-roms-if-sof.patch + -> configure-only-populate-roms-if-softmmu.patch + 0048-pc-bios-s390-ccw-net-avoid-warning-.patch + -> pc-bios-s390-ccw-net-avoid-warning-about.patch +* Patches added: + roms-change-cross-compiler-naming-to-be-.patch + roms-Makefile.edk2-don-t-invoke-git-sinc.patch + vga-move-modelist-from-bochsvga.c-to-new.patch + vga-make-memcpy_high-public.patch + vga-add-atiext-driver.patch + vga-add-ati-bios-tables.patch + vbe-add-edid-support.patch + ati-add-edid-support.patch + ati-vga-make-less-verbose.patch + ati-vga-fix-ati_read.patch + ati-vga-make-i2c-register-and-bits-confi.patch + ati-vga-try-vga-ddc-first.patch + ati-vga-add-rage128-edid-support.patch + enable-cross-compilation-on-ARM.patch + Fix-s-directive-argument-is-null-error.patch + Workaround-compilation-error-with-gcc-9..patch + Do-not-apply-WORKAROUND_CFLAGS-for-host-.patch + roms-sgabios-Fix-csum8-to-be-built-by-ho.patch + Disable-Waddress-of-packed-member-for-GC.patch + hdata-vpd-fix-printing-char-0x00.patch + +- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-4.1 + +------------------------------------------------------------------- +Fri Aug 9 14:04:52 UTC 2019 - Bruce Rogers + +- Since we build seabios, take advantage of ability to add our own + identifying version info by changing SEABIOS_EXTRAVERSION from + "-prebuilt.qemu.org" to "-rebuilt.suse.com" (or + "-rebuilt.opensuse.org for openSUSE releases) + ------------------------------------------------------------------- Wed Aug 7 02:40:53 UTC 2019 - Liang Yan diff --git a/qemu.spec b/qemu.spec index 7da4639..b7ecddd 100644 --- a/qemu.spec +++ b/qemu.spec @@ -16,20 +16,19 @@ # +# !! IMPORTANT !! See README.PACKAGING before modifying package in any way + %define build_in_tree 1 %define build_x86_firmware_from_source 0 %define build_skiboot_from_source 0 %define build_slof_from_source 0 +%define build_opensbi_from_source 0 %define kvm_available 0 %define legacy_qemu_kvm 0 %define force_fit_virtio_pxe_rom 1 +%define provide_edk2_firmware 0 -%if 0%{?suse_version} > 1315 -# cross-x86_64-gcc7 is available from SLE15/Leap15.0 %define build_rom_arch %ix86 x86_64 aarch64 -%else -%define build_rom_arch %ix86 x86_64 -%endif %if "%{?distribution}" == "" %define distro private-build @@ -39,10 +38,8 @@ %ifarch %{build_rom_arch} # choice of building all from source or using provided binary x86 blobs -%if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) %define build_x86_firmware_from_source 1 %endif -%endif %ifarch ppc64 %define build_skiboot_from_source 1 @@ -50,10 +47,12 @@ %endif %ifarch ppc64le -%if 0%{?suse_version} > 1320 || 0%{?suse_version} == 1315 %define build_skiboot_from_source 1 %define build_slof_from_source 1 %endif + +%ifarch riscv64 +%define build_opensbi_from_source 1 %endif %ifarch %ix86 x86_64 ppc ppc64 ppc64le s390x armv7hl aarch64 @@ -64,67 +63,43 @@ %define legacy_qemu_kvm 1 %endif -%if 0%{?suse_version} >= 1315 && 0%{?is_opensuse} +%if 0%{?is_opensuse} %define with_glusterfs 1 %endif -%ifarch x86_64 -%if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && ( 0%{?is_opensuse} == 0 || 0%{?sle_version} > 120100 ) ) +%ifarch x86_64 aarch64 ppc64le s390x %define with_rbd 1 %endif -%endif -%ifarch aarch64 -%if 0%{?suse_version} > 1320 || ( 0%{?is_opensuse} == 0 && 0%{?sle_version} > 120100 ) -%define with_rbd 1 -%endif -%endif - -%ifarch ppc64le -%if 0%{?suse_version} > 1320 || ( 0%{?is_opensuse} == 0 && 0%{?sle_version} > 120200 ) -%define with_rbd 1 -%endif -%endif - -%ifarch s390x -%if 0%{?is_opensuse} == 0 && 0%{?sle_version} > 120200 -%define with_rbd 1 -%endif -%endif - -%ifarch ppc64 -%if 0%{?is_opensuse} && 0%{?sle_version} > 120200 -%define with_rbd 1 -%endif -%endif - -%if 0%{?suse_version} > 1320 -%define with_seccomp 1 -%endif - -%ifarch %ix86 x86_64 s390x aarch64 ppc64le -%define with_seccomp 1 -%endif - -%if 0%( pkg-config --exists 'udev > 190' && echo '1' ) == 01 %define _udevrulesdir /usr/lib/udev/rules.d + +# qemu, qemu-linux-user, and qemu-testsuite "flavors" enabled via OBS Multibuild +%define flavor @BUILD_FLAVOR@%{nil} +%if "%flavor" == "" +%define name_suffix %{nil} %else -%define _udevrulesdir /lib/udev/rules.d +%define name_suffix -%flavor +%endif + +%if "%flavor" == "linux-user" +%define summary_string CPU emulator for user space +%else +%define summary_string Machine emulator and virtualizer %endif %define srcname qemu -Name: qemu +Name: qemu%{name_suffix} Url: https://www.qemu.org/ -Summary: Machine emulator and virtualizer +Summary: %{summary_string} License: BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND MIT Group: System/Emulators/PC -%define qemuver 4.0.0 -%define srcver 4.0.0 +%define qemuver 4.1.0 +%define srcver 4.1.0 Version: %qemuver Release: 0 Source: https://wiki.qemu.org/download/%{srcname}-%{srcver}.tar.xz -Source99: https://wiki.qemu.org/download/%{srcname}-%{srcver}.tar.xz.sig Source100: %{srcname}.keyring +%if "%{name}" != "qemu-linux-user" Source1: 80-kvm.rules Source2: kvm.conf Source3: qemu-ifup @@ -140,98 +115,102 @@ Source12: supported.x86.txt Source13: supported.s390.txt # this is to make lint happy Source300: qemu-rpmlintrc -Source301: ipxe-stub-out-the-SAN-req-s-in-int13.patch +%endif # ! qemu-linux-user Source400: update_git.sh # Upstream First -- https://wiki.qemu.org/Contribute/SubmitAPatch -# This patch queue is auto-generated from https://github.com/openSUSE/qemu -Patch0001: 0001-XXX-dont-dump-core-on-sigabort.patch -Patch0002: 0002-qemu-binfmt-conf-Modify-default-pat.patch -Patch0003: 0003-qemu-cvs-gettimeofday.patch -Patch0004: 0004-qemu-cvs-ioctl_debug.patch -Patch0005: 0005-qemu-cvs-ioctl_nodirection.patch -Patch0006: 0006-linux-user-add-binfmt-wrapper-for-a.patch -Patch0007: 0007-PPC-KVM-Disable-mmu-notifier-check.patch -Patch0008: 0008-linux-user-binfmt-support-host-bina.patch -Patch0009: 0009-linux-user-Fake-proc-cpuinfo.patch -Patch0010: 0010-linux-user-use-target_ulong.patch -Patch0011: 0011-Make-char-muxer-more-robust-wrt-sma.patch -Patch0012: 0012-linux-user-lseek-explicitly-cast-no.patch -Patch0013: 0013-AIO-Reduce-number-of-threads-for-32.patch -Patch0014: 0014-xen_disk-Add-suse-specific-flush-di.patch -Patch0015: 0015-qemu-bridge-helper-reduce-security-.patch -Patch0016: 0016-qemu-binfmt-conf-use-qemu-ARCH-binf.patch -Patch0017: 0017-linux-user-properly-test-for-infini.patch -Patch0018: 0018-roms-Makefile-pass-a-packaging-time.patch -Patch0019: 0019-Raise-soft-address-space-limit-to-h.patch -Patch0020: 0020-increase-x86_64-physical-bits-to-42.patch -Patch0021: 0021-vga-Raise-VRAM-to-16-MiB-for-pc-0.1.patch -Patch0022: 0022-i8254-Fix-migration-from-SLE11-SP2.patch -Patch0023: 0023-acpi_piix4-Fix-migration-from-SLE11.patch -Patch0024: 0024-Switch-order-of-libraries-for-mpath.patch -Patch0025: 0025-Make-installed-scripts-explicitly-p.patch -Patch0026: 0026-hw-smbios-handle-both-file-formats-.patch -Patch0027: 0027-tests-test-thread-pool-is-racy-add-.patch -Patch0028: 0028-xen-add-block-resize-support-for-xe.patch -Patch0029: 0029-tests-qemu-iotests-Triple-timeout-o.patch -Patch0030: 0030-tests-block-io-test-130-needs-some-.patch -Patch0031: 0031-xen-ignore-live-parameter-from-xen-.patch -Patch0032: 0032-tests-Fix-Makefile-handling-of-chec.patch -Patch0033: 0033-Conditionalize-ui-bitmap-installati.patch -Patch0034: 0034-Revert-target-i386-kvm-add-VMX-migr.patch -Patch0035: 0035-tests-change-error-message-in-test-.patch -Patch0036: 0036-sockets-avoid-string-truncation-war.patch -Patch0037: 0037-hw-usb-hcd-xhci-Fix-GCC-9-build-war.patch -Patch0038: 0038-hw-usb-dev-mtp-Fix-GCC-9-build-warn.patch -Patch0039: 0039-linux-user-avoid-string-truncation-.patch -Patch0040: 0040-linux-user-elfload-Fix-GCC-9-build-.patch -Patch0041: 0041-qxl-avoid-unaligned-pointer-reads-w.patch -Patch0042: 0042-libvhost-user-fix-Waddress-of-packe.patch -Patch0043: 0043-target-i386-define-md-clear-bit.patch -Patch0044: 0044-hw-intc-exynos4210_gic-provide-more.patch -Patch0045: 0045-kbd-state-fix-autorepeat-handling.patch -Patch0046: 0046-target-ppc-ensure-we-get-null-termi.patch -Patch0047: 0047-configure-only-populate-roms-if-sof.patch -Patch0048: 0048-pc-bios-s390-ccw-net-avoid-warning-.patch -Patch0049: 0049-qxl-check-release-info-object.patch -Patch0050: 0050-qemu-bridge-helper-restrict-interfa.patch -Patch0051: 0051-linux-user-fix-to-handle-variably-s.patch -# Please do not add QEMU patches manually here. -# Run update_git.sh to regenerate this queue. +# This patch queue is auto-generated - see README.PACKAGING for process -# SeaBIOS / SeaVGABIOS - path: roms/seabios (patch range 1100-1199) -Patch1100: seabios-use-python2-explicitly-as-needed.patch -Patch1101: seabios-switch-to-python3-as-needed.patch -Patch1102: seabios-fix_cross_compilation.patch +# Patches applied in base project: +Patch00000: XXX-dont-dump-core-on-sigabort.patch +Patch00001: qemu-binfmt-conf-Modify-default-path.patch +Patch00002: qemu-cvs-gettimeofday.patch +Patch00003: qemu-cvs-ioctl_debug.patch +Patch00004: qemu-cvs-ioctl_nodirection.patch +Patch00005: linux-user-add-binfmt-wrapper-for-argv-0.patch +Patch00006: PPC-KVM-Disable-mmu-notifier-check.patch +Patch00007: linux-user-binfmt-support-host-binaries.patch +Patch00008: linux-user-Fake-proc-cpuinfo.patch +Patch00009: linux-user-use-target_ulong.patch +Patch00010: Make-char-muxer-more-robust-wrt-small-FI.patch +Patch00011: linux-user-lseek-explicitly-cast-non-set.patch +Patch00012: AIO-Reduce-number-of-threads-for-32bit-h.patch +Patch00013: xen_disk-Add-suse-specific-flush-disable.patch +Patch00014: qemu-bridge-helper-reduce-security-profi.patch +Patch00015: qemu-binfmt-conf-use-qemu-ARCH-binfmt.patch +Patch00016: linux-user-properly-test-for-infinite-ti.patch +Patch00017: roms-Makefile-pass-a-packaging-timestamp.patch +Patch00018: Raise-soft-address-space-limit-to-hard-l.patch +Patch00019: increase-x86_64-physical-bits-to-42.patch +Patch00020: vga-Raise-VRAM-to-16-MiB-for-pc-0.15-and.patch +Patch00021: i8254-Fix-migration-from-SLE11-SP2.patch +Patch00022: acpi_piix4-Fix-migration-from-SLE11-SP2.patch +Patch00023: Switch-order-of-libraries-for-mpath-supp.patch +Patch00024: Make-installed-scripts-explicitly-python.patch +Patch00025: hw-smbios-handle-both-file-formats-regar.patch +Patch00026: xen-add-block-resize-support-for-xen-dis.patch +Patch00027: tests-qemu-iotests-Triple-timeout-of-i-o.patch +Patch00028: tests-block-io-test-130-needs-some-delay.patch +Patch00029: xen-ignore-live-parameter-from-xen-save-.patch +Patch00030: Conditionalize-ui-bitmap-installation-be.patch +Patch00031: tests-change-error-message-in-test-162.patch +Patch00032: hw-usb-hcd-xhci-Fix-GCC-9-build-warning.patch +Patch00033: hw-usb-dev-mtp-Fix-GCC-9-build-warning.patch +Patch00034: hw-intc-exynos4210_gic-provide-more-room.patch +Patch00035: configure-only-populate-roms-if-softmmu.patch +Patch00036: pc-bios-s390-ccw-net-avoid-warning-about.patch +Patch00037: roms-change-cross-compiler-naming-to-be-.patch +Patch00038: roms-Makefile.edk2-don-t-invoke-git-sinc.patch +# Patches applied in roms/seabios/: +Patch01000: seabios-use-python2-explicitly-as-needed.patch +Patch01001: seabios-switch-to-python3-as-needed.patch +Patch01002: enable-cross-compilation-on-ARM.patch +Patch01003: vga-move-modelist-from-bochsvga.c-to-new.patch +Patch01004: vga-make-memcpy_high-public.patch +Patch01005: vga-add-atiext-driver.patch +Patch01006: vga-add-ati-bios-tables.patch +Patch01007: vbe-add-edid-support.patch +Patch01008: ati-add-edid-support.patch +Patch01009: ati-vga-make-less-verbose.patch +Patch01010: ati-vga-fix-ati_read.patch +Patch01011: ati-vga-make-i2c-register-and-bits-confi.patch +Patch01012: ati-vga-try-vga-ddc-first.patch +Patch01013: ati-vga-add-rage128-edid-support.patch +# Patches applied in roms/ipxe/: +Patch02000: stub-out-the-SAN-req-s-in-int13.patch +Patch02001: ipxe-Makefile-fix-issues-of-build-reprod.patch +Patch02002: Fix-s-directive-argument-is-null-error.patch +Patch02003: Workaround-compilation-error-with-gcc-9..patch +Patch02004: Do-not-apply-WORKAROUND_CFLAGS-for-host-.patch +# Patches applied in roms/sgabios/: +Patch03000: sgabios-Makefile-fix-issues-of-build-rep.patch +Patch03001: roms-sgabios-Fix-csum8-to-be-built-by-ho.patch +# Patches applied in roms/skiboot/: +Patch05000: Disable-Waddress-of-packed-member-for-GC.patch +Patch05001: hdata-vpd-fix-printing-char-0x00.patch +# Patches applied in ui/keycodemapdb/: +Patch08000: Make-keycode-gen-output-reproducible-use.patch -# ipxe - path: roms/ipxe (patch range 1200-1299) -Patch1200: ipxe-stable-buildid.patch -Patch1201: ipxe-use-gcc6-for-more-compact-code.patch -Patch1202: ipxe-efi-Simplify-diagnostic-for-NULL-handle.patch -Patch1203: ipxe-build-Disable-gcc-address-of-packed-member-warning.patch -Patch1204: ipxe-efi-Avoid-string-op-warning-with-cross-gcc-7-compile.patch - -# sgabios - path: roms/sgabios (patch range 1300-1399) -Patch1300: sgabios-stable-buildid.patch -Patch1301: sgabios-fix-cross-build.patch - -# SLOF - path: roms/SLOF (patch range 1400-1499) (Currently no patches) - -# skiboot - path: roms/skiboot (patch range 1500-1599) (Currently no patches) -Patch1500: skiboot-gcc9-compat.patch - -# keycodemapdb - path: ui/keycodemapdb (patch range 1600-1699) (Currently no patches) -Patch1600: keycodemapdb-make-keycode-gen-output-reproducible.patch - -# openBIOS - path: roms/openbios (patch range 1700-1799) (Currently no patches) - -# slirp - patch: slirp/ (patch range 1800-1899) -Patch1800: slirp-fix-heap-overflow-in-ip_reass-on-big-packet-input.patch - -# If for any reason we have any QEMU patches which are conditionally applied, -# "manually" include them here: +# Please do not add patches manually here. ExcludeArch: s390 BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%if "%{name}" == "qemu-linux-user" +BuildRequires: e2fsprogs-devel +BuildRequires: fdupes +BuildRequires: gcc-c++ +BuildRequires: glib2-devel-static +BuildRequires: glibc-devel-static +BuildRequires: makeinfo +BuildRequires: pcre-devel-static +BuildRequires: python3-base +BuildRequires: zlib-devel-static +# we must not install the qemu-linux-user package when under QEMU build +%if 0%{?qemu_user_space_build:1} +#!BuildIgnore: post-build-checks +%endif +# ------------------------------------------------------------------------ +%else # ! qemu-linux-user %if %{build_x86_firmware_from_source} BuildRequires: acpica %endif @@ -242,24 +221,48 @@ BuildRequires: binutils-devel BuildRequires: bison BuildRequires: bluez-devel BuildRequires: brlapi-devel +%ifnarch %{ix86} aarch64 +BuildRequires: cross-aarch64-binutils +%if 0%{?is_opensuse} +%ifarch riscv64 +BuildRequires: cross-aarch64-gcc8 +%else +BuildRequires: cross-aarch64-gcc9 +%endif +%else +BuildRequires: cross-aarch64-gcc7 +%endif +%endif +%ifnarch %{ix86} armv7hl +BuildRequires: cross-arm-binutils +%if 0%{?is_opensuse} +%ifarch riscv64 +BuildRequires: cross-arm-gcc8 +%else +BuildRequires: cross-arm-gcc9 +%endif +%else +BuildRequires: cross-arm-gcc7 +%endif +%endif %if %{build_x86_firmware_from_source} %ifnarch %{ix86} x86_64 # We must cross-compile on non-x86* +BuildRequires: cross-i386-binutils +BuildRequires: cross-i386-gcc9 BuildRequires: cross-x86_64-binutils -BuildRequires: cross-x86_64-gcc7 +BuildRequires: cross-x86_64-gcc9 %endif %endif BuildRequires: curl-devel BuildRequires: cyrus-sasl-devel +%if build_x86_firmware_from_source +BuildRequires: dos2unix +%endif BuildRequires: e2fsprogs-devel BuildRequires: fdupes BuildRequires: flex BuildRequires: gcc-c++ -%if %{build_x86_firmware_from_source} -%if 0%{?suse_version} <= 1320 -BuildRequires: gcc6 -%endif -%endif BuildRequires: glib2-devel %if 0%{?with_glusterfs} BuildRequires: glusterfs-devel @@ -274,39 +277,19 @@ BuildRequires: libcacard-devel BuildRequires: libcap-devel BuildRequires: libcap-ng-devel BuildRequires: libdrm-devel -%if 0%{?suse_version} >= 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) BuildRequires: libepoxy-devel -%endif -%if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120200 ) BuildRequires: libfdt-devel -%else -BuildRequires: libfdt1-devel -%endif BuildRequires: libgbm-devel BuildRequires: libgcrypt-devel BuildRequires: libgnutls-devel -%if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) BuildRequires: libiscsi-devel -%endif BuildRequires: libjpeg-devel %if 0%{?is_opensuse} BuildRequires: libnfs-devel %endif -%ifarch %ix86 x86_64 -%if 0%{?suse_version} > 1320 || 0%{?suse_version} == 1315 -BuildRequires: libnuma-devel -%endif -%else -%ifarch aarch64 -%if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) -BuildRequires: libnuma-devel -%endif -%endif -%else %ifnarch %arm s390x BuildRequires: libnuma-devel %endif -%endif BuildRequires: libpcap-devel BuildRequires: libpixman-1-0-devel %ifarch x86_64 @@ -315,28 +298,18 @@ BuildRequires: libpmem-devel BuildRequires: libpng-devel BuildRequires: libpulse-devel %if 0%{?with_rbd} -%if 0%{?is_opensuse} || 0%{?sle_version} > 120100 BuildRequires: librbd-devel -%else -BuildRequires: ceph-devel %endif -%endif -%if 0%{?suse_version} >= 1320 && 0%{?is_opensuse} +%if 0%{?is_opensuse} BuildRequires: libSDL2-devel BuildRequires: libSDL2_image-devel %endif -%if 0%{?with_seccomp} BuildRequires: libseccomp-devel -%endif BuildRequires: libspice-server-devel -BuildRequires: libssh2-devel +BuildRequires: libssh-devel BuildRequires: libudev-devel BuildRequires: libusb-1_0-devel -%if 0%{?suse_version} > 1320 BuildRequires: libvdeplug-devel -%else -BuildRequires: libvdeplug3-devel -%endif %if 0%{?is_opensuse} BuildRequires: lzfse-devel %endif @@ -344,22 +317,17 @@ BuildRequires: Mesa-devel BuildRequires: libxkbcommon-devel BuildRequires: lzo-devel BuildRequires: makeinfo -%if 0%{?suse_version} > 1320 BuildRequires: multipath-tools-devel +%if build_x86_firmware_from_source +BuildRequires: nasm %endif BuildRequires: ncurses-devel BuildRequires: pkgconfig BuildRequires: pwdutils -%if 0%{?suse_version} > 1320 +BuildRequires: python-base BuildRequires: python3-Sphinx BuildRequires: python3-base -%else -BuildRequires: python-Sphinx -%endif -BuildRequires: python-base -%if 0%{?suse_version} >= 1315 BuildRequires: rdma-core-devel -%endif BuildRequires: snappy-devel BuildRequires: spice-protocol-devel BuildRequires: systemd @@ -368,9 +336,7 @@ BuildRequires: systemd BuildRequires: pkgconfig(udev) %endif BuildRequires: usbredir-devel -%if 0%{?suse_version} >= 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) BuildRequires: virglrenderer-devel >= 0.4.1 -%endif BuildRequires: vte-devel %ifarch x86_64 BuildRequires: xen-devel @@ -381,14 +347,12 @@ BuildRequires: xz-devel %endif BuildRequires: zlib-devel %if "%{name}" == "qemu-testsuite" -%if 0%{?suse_version} > 1320 -BuildRequires: python-base -%endif BuildRequires: bc +BuildRequires: python-base BuildRequires: qemu-arm = %{qemuver} BuildRequires: qemu-audio-alsa = %{qemuver} BuildRequires: qemu-audio-pa = %{qemuver} -%if 0%{?suse_version} >= 1320 && 0%{?is_opensuse} +%if 0%{?is_opensuse} BuildRequires: qemu-audio-sdl = %{qemuver} %endif BuildRequires: qemu-block-curl = %{qemuver} @@ -396,9 +360,7 @@ BuildRequires: qemu-block-dmg = %{qemuver} %if 0%{?with_glusterfs} BuildRequires: qemu-block-gluster = %{qemuver} %endif -%if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) BuildRequires: qemu-block-iscsi = %{qemuver} -%endif %if 0%{?is_opensuse} BuildRequires: qemu-block-nfs = %{qemuver} %endif @@ -406,6 +368,9 @@ BuildRequires: qemu-block-nfs = %{qemuver} BuildRequires: qemu-block-rbd = %{qemuver} %endif BuildRequires: qemu-block-ssh = %{qemuver} +%if %{provide_edk2_firmware} +BuildRequires: qemu-edk2 = %{qemuver} +%endif BuildRequires: qemu-extra = %{qemuver} BuildRequires: qemu-guest-agent = %{qemuver} BuildRequires: qemu-ipxe = 1.0.0+ @@ -420,7 +385,7 @@ BuildRequires: qemu-sgabios = 8 BuildRequires: qemu-tools = %{qemuver} BuildRequires: qemu-ui-curses = %{qemuver} BuildRequires: qemu-ui-gtk = %{qemuver} -%if 0%{?suse_version} >= 1320 && 0%{?is_opensuse} +%if 0%{?is_opensuse} BuildRequires: qemu-ui-sdl = %{qemuver} %endif BuildRequires: qemu-vgabios = 1.12.1 @@ -440,7 +405,7 @@ Recommends: qemu-block-curl Recommends: qemu-tools Recommends: qemu-ui-curses Recommends: qemu-ui-gtk -%if 0%{?suse_version} >= 1320 && 0%{?is_opensuse} +%if 0%{?is_opensuse} Recommends: qemu-ui-sdl %endif Recommends: qemu-x86 @@ -463,9 +428,7 @@ Suggests: qemu-block-dmg %if 0%{?with_glusterfs} Suggests: qemu-block-gluster %endif -%if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) Suggests: qemu-block-iscsi -%endif %if 0%{?is_opensuse} Suggests: qemu-block-nfs %endif @@ -478,6 +441,7 @@ Suggests: qemu-lang %if 0%{?is_opensuse} Recommends: qemu-ksm = %{qemuver} %endif +Suggests: qemu-vhost-user-gpu Provides: qemu-audio-oss = %{qemuver} Obsoletes: qemu-audio-oss < %{qemuver} @@ -485,27 +449,35 @@ Obsoletes: qemu-audio-oss < %{qemuver} # build (yet): bamboo.dtb canyonlands.dtb hppa-firmware.img openbios-ppc openbios-sparc32 # openbios-sparc64 palcode-clipper petalogix-ml605.dtb petalogix-s3adsp1800.dtb ppc_rom.bin # QEMU,cgthree.bin QEMU,tcx.bin qemu_vga.ndrv u-boot.e500 u-boot-sam460-20100605.bin +# opensbi-riscv32-virt-fw_jump.bin # This first list group isn't specific to what this instance builds %define ppc_default_firmware {%nil} %define ppc_extra_firmware {skiboot.lid slof.bin} %define ppc64_only_default_firmware {spapr-rtas.bin} %define ppc64_only_extra_firmware {%nil} +%define riscv64_default_firmware {opensbi-riscv64-sifive_u-fw_jump.bin opensbi-riscv64-virt-fw_jump.bin} +%define riscv64_extra_firmware {%nil} %define s390x_default_firmware {s390-ccw.img s390-netboot.img} %define s390x_extra_firmware {%nil} %define x86_default_firmware {linuxboot.bin linuxboot_dma.bin multiboot.bin \ kvmvapic.bin pvh.bin} -%define x86_extra_firmware {bios.bin bios-256k.bin pxe-e1000.rom pxe-eepro100.rom \ -pxe-ne2k_pci.rom pxe-pcnet.rom pxe-rtl8139.rom pxe-virtio.rom sgabios.bin \ -vgabios-bochs-display.bin vgabios.bin vgabios-cirrus.bin vgabios-qxl.bin \ -vgabios-ramfb.bin vgabios-stdvga.bin vgabios-virtio.bin vgabios-vmware.bin} +%define x86_extra_firmware {bios.bin bios-256k.bin pxe-e1000.rom \ +pxe-eepro100.rom pxe-ne2k_pci.rom pxe-pcnet.rom pxe-rtl8139.rom pxe-virtio.rom \ +sgabios.bin vgabios-ati.bin vgabios-bochs-display.bin vgabios.bin \ +vgabios-cirrus.bin vgabios-qxl.bin vgabios-ramfb.bin vgabios-stdvga.bin \ +vgabios-virtio.bin vgabios-vmware.bin} %define x86_64_only_default_firmware {%nil} -%define x86_64_only_extra_firmware {efi-e1000.rom efi-e1000e.rom efi-eepro100.rom \ +%define x86_64_only_extra_firmware {edk2-aarch64-code.fd.bz2 \ +edk2-arm-code.fd.bz2 edk2-arm-vars.fd.bz2 edk2-i386-code.fd.bz2 \ +edk2-i386-secure-code.fd.bz2 edk2-i386-vars.fd.bz2 edk2-x86_64-code.fd.bz2 \ +edk2-x86_64-secure-code.fd.bz2 efi-e1000.rom efi-e1000e.rom efi-eepro100.rom \ efi-ne2k_pci.rom efi-pcnet.rom efi-rtl8139.rom efi-virtio.rom efi-vmxnet3.rom} %define firmware { \ %{?ppc_default_firmware} %{?ppc_extra_firmware} \ %{?ppc64_only_default_firmware} %{?ppc64_only_extra_firmware} \ +%{?riscv64_default_firmware} %{?riscv64_extra_firmware} \ %{?s390x_default_firmware} %{?s390x_extra_firmware} \ %{?x86_default_firmware} %{?x86_extra_firmware} \ %{?x86_64_only_default_firmware} %{?x86_64_only_extra_firmware} } @@ -528,6 +500,11 @@ efi-ne2k_pci.rom efi-pcnet.rom efi-rtl8139.rom efi-virtio.rom efi-vmxnet3.rom} %define ppc64_only_extra_built_firmware %{ppc64_only_extra_firmware} %endif +%ifarch riscv64 +%define riscv64_default_built_firmware %{riscv64_default_firmware} +%define riscv64_extra_built_firmware %{riscv64_extra_firmware} +%endif + %ifarch s390x %define s390x_default_built_firmware %{s390x_default_firmware} %define s390x_extra_built_firmware %{s390x_extra_firmware} @@ -550,10 +527,15 @@ efi-ne2k_pci.rom efi-pcnet.rom efi-rtl8139.rom efi-virtio.rom efi-vmxnet3.rom} %define built_firmware { \ %{?ppc_default_built_firmware} %{?ppc_extra_built_firmware} \ %{?ppc64_only_default_built_firmware} %{?ppc64_only_extra_built_firmware} \ +%{?riscv64_default_built_firmware} %{?riscv64_extra_built_firmware} \ %{?s390x_default_built_firmware} %{?s390x_extra_built_firmware} \ %{?x86_default_built_firmware} %{?x86_extra_built_firmware} \ %{?x86_64_only_default_built_firmware} %{?x86_64_only_extra_built_firmware} } +%endif # ! qemu-linux-user +# ------------------------------------------------------------------------ +%if "%{name}" != "qemu-linux-user" + %description QEMU provides full machine emulation and cross architecture usage. It closely integrates with KVM and Xen virtualization, allowing for excellent performance. @@ -747,7 +729,6 @@ This package contains a module for accessing network-based image files over a GlusterFS network connection from qemu-img tool and QEMU system emulation. %endif -%if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) %package block-iscsi Summary: iSCSI block support for QEMU Group: System/Emulators/PC @@ -758,7 +739,6 @@ Release: 0 %description block-iscsi This package contains a module for accessing network-based image files over an iSCSI network connection from qemu-img tool and QEMU system emulation. -%endif %if 0%{?is_opensuse} %package block-nfs @@ -815,7 +795,7 @@ Release: 0 %description ui-gtk This package contains a module for doing GTK based UI for QEMU. -%if 0%{?suse_version} >= 1320 && 0%{?is_opensuse} +%if 0%{?is_opensuse} %package ui-sdl Summary: SDL based UI support for QEMU Group: System/Emulators/PC @@ -847,7 +827,7 @@ Release: 0 %description audio-pa This package contains a module for Pulse Audio based audio support for QEMU. -%if 0%{?suse_version} >= 1320 && 0%{?is_opensuse} +%if 0%{?is_opensuse} %package audio-sdl Summary: SDL based audio support for QEMU Group: System/Emulators/PC @@ -859,6 +839,16 @@ Release: 0 This package contains a module for SDL based audio support for QEMU. %endif +%package vhost-user-gpu +Summary: Vhost user mode virtio-gpu 2D/3D rendering backend for QEMU +Group: System/Emulators/PC +Version: %{qemuver} +Release: 0 +%{qemu_module_conflicts} + +%description vhost-user-gpu +This package contains a vhost user mode virtio-gpu 2D/3D rendering backend for QEMU + %package tools Summary: Tools for QEMU Group: System/Emulators/PC @@ -867,9 +857,7 @@ Release: 0 Provides: %name:%_libexecdir/qemu-bridge-helper Requires(pre): permissions Requires(pre): shadow -%if 0%{?suse_version} > 1320 Recommends: multipath-tools -%endif Recommends: qemu-block-curl %if 0%{?with_rbd} Recommends: qemu-block-rbd @@ -948,6 +936,18 @@ Provides Preboot Execution Environment (PXE) ROM support for various emulated network adapters available with QEMU. %endif +%if %{provide_edk2_firmware} +%package edk2 +Summary: EDK II based firmware +Group: System/Emulators/PC +Version: %{qemuver} +Release: 0 +BuildArch: noarch + +%description edk2 +Provides EDK II based firmware. +%endif + %if 0%{?is_opensuse} %package ksm Summary: Kernel Samepage Merging services @@ -964,116 +964,116 @@ merges anonymous (private) pages (not pagecache ones). This package provides a service file for starting and stopping KSM. %endif -%endif # !qemu-testsuite +%endif # ! qemu-testsuite +# ------------------------------------------------------------------------ +%else # qemu-linux-user + +%description +QEMU provides CPU emulation along with other related capabilities. This package +provides programs to run user space binaries and libraries meant for another +architecture. The syscall interface is intercepted and execution below the +syscall layer occurs on the native hardware and operating system. + +%endif # qemu-linux-user + +# ======================================================================== %prep %setup -q -n %{srcname}-%{expand:%%(SV=%{srcver};echo ${SV%%%%+git*})} -%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 -%patch0041 -p1 -%patch0042 -p1 -%patch0043 -p1 -%patch0044 -p1 -%patch0045 -p1 -%patch0046 -p1 -%patch0047 -p1 -%patch0048 -p1 -%patch0049 -p1 -%patch0050 -p1 -%patch0051 -p1 - -pushd roms/seabios -%patch1100 -p1 -%if 0%{?suse_version} > 1320 -%patch1101 -p1 +%patch00000 -p1 +%patch00001 -p1 +%patch00002 -p1 +%patch00003 -p1 +%patch00004 -p1 +%patch00005 -p1 +%patch00006 -p1 +%patch00007 -p1 +%patch00008 -p1 +%patch00009 -p1 +%patch00010 -p1 +%patch00011 -p1 +%patch00012 -p1 +%patch00013 -p1 +%patch00014 -p1 +%patch00015 -p1 +%patch00016 -p1 +%patch00017 -p1 +%patch00018 -p1 +%patch00019 -p1 +%patch00020 -p1 +%patch00021 -p1 +%patch00022 -p1 +%patch00023 -p1 +%patch00024 -p1 +%patch00025 -p1 +%patch00026 -p1 +%patch00027 -p1 +%patch00028 -p1 +%patch00029 -p1 +%patch00030 -p1 +%patch00031 -p1 +%patch00032 -p1 +%patch00033 -p1 +%patch00034 -p1 +%patch00035 -p1 +%patch00036 -p1 +%patch00037 -p1 +%patch00038 -p1 +%patch01000 -p1 +%patch01001 -p1 +%patch01002 -p1 +%patch01003 -p1 +%patch01004 -p1 +%patch01005 -p1 +%patch01006 -p1 +%patch01007 -p1 +%patch01008 -p1 +%patch01009 -p1 +%patch01010 -p1 +%patch01011 -p1 +%patch01012 -p1 +%patch01013 -p1 +%if 0%{?patch-possibly-applied-elsewhere} +%patch02000 -p1 %endif -%patch1102 -p1 -popd - -pushd roms/ipxe -%patch1200 -p1 -%if 0%{?suse_version} <= 1320 -%patch1201 -p1 -%endif -%patch1202 -p1 -%patch1203 -p1 +%patch02001 -p1 +%patch02002 -p1 +%patch02003 -p1 %ifarch aarch64 -%patch1204 -p1 +%patch02004 -p1 %endif -popd - -pushd roms/sgabios -%patch1300 -p1 -%patch1301 -p1 -popd - -pushd roms/SLOF -popd - -pushd roms/skiboot -%patch1500 -p1 -popd - -pushd ui/keycodemapdb -%patch1600 -p1 -popd - -pushd roms/openbios -popd - -pushd slirp/ -%patch1800 -p1 -popd +%patch03000 -p1 +%patch03001 -p1 +%patch05000 -p1 +%patch05001 -p1 +%patch08000 -p1 +%if "%{name}" != "qemu-linux-user" %if "%{name}" != "qemu-testsuite" + # delete the firmware files that we intend to build for i in %built_firmware -%else -# delete the firmware files that we intend to link from built packages -for i in %firmware -%endif do unlink pc-bios/$i done +# ------------------------------------------------------------------------ +%else # qemu-testsuite + +# delete the firmware files that we intend to link from built packages +for i in %firmware +do + if [[ $i =~ .*[.]bz2 ]]; then + echo "Skipping %i" + else + unlink pc-bios/$i + fi +done + +%endif # qemu-testsuite +%endif # ! qemu-linux-user + +# ======================================================================== %build %define _lto_cflags %{nil} @@ -1093,14 +1093,11 @@ cd %mybuilddir --localstatedir=%_localstatedir \ --docdir=%_docdir/%name \ --firmwarepath=%_datadir/%name \ -%if 0%{?suse_version} > 1320 --python=%_bindir/python3 \ -%else - --python=%_bindir/python2 \ -%endif --extra-cflags="%{optflags}" \ --disable-stack-protector \ --disable-strip \ +%if "%{name}" != "qemu-linux-user" --with-pkgversion="%(echo '%{distro}' | sed 's/ (.*)//')" \ --with-default-devices \ --enable-system --disable-linux-user \ @@ -1108,7 +1105,7 @@ cd %mybuilddir --enable-modules \ --enable-pie \ --enable-docs \ -%if 0%{?suse_version} >= 1320 && 0%{?is_opensuse} +%if 0%{?is_opensuse} --audio-drv-list="pa alsa sdl" \ %else --audio-drv-list="pa alsa" \ @@ -1145,11 +1142,7 @@ cd %mybuilddir %else --disable-kvm \ %endif -%if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) --enable-libiscsi \ -%else - --disable-libiscsi \ -%endif %if 0%{?is_opensuse} --enable-libnfs \ %else @@ -1160,7 +1153,7 @@ cd %mybuilddir %else --disable-libpmem \ %endif - --enable-libssh2 \ + --enable-libssh \ --enable-libusb \ --disable-libxml2 \ --enable-linux-aio \ @@ -1172,43 +1165,17 @@ cd %mybuilddir --enable-lzo \ --disable-malloc-trim \ --enable-membarrier \ -%if 0%{?suse_version} > 1320 --enable-mpath \ -%else - --disable-mpath \ -%endif --disable-netmap \ --disable-nettle \ -%ifarch %ix86 x86_64 -%if 0%{?suse_version} > 1320 || 0%{?suse_version} == 1315 - --enable-numa \ -%else - --disable-numa \ -%endif -%else -%ifarch aarch64 -%if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) - --enable-numa \ -%endif -%else - --disable-numa \ -%endif -%else %ifarch %arm s390x --disable-numa \ %else --enable-numa \ %endif -%endif -%if 0%{?suse_version} >= 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) --enable-opengl \ -%endif --enable-parallels \ -%if 0%{?suse_version} >= 1315 --enable-pvrdma \ -%else - --disable-pvrdma \ -%endif --enable-qcow1 \ --enable-qed \ %if 0%{?with_rbd} @@ -1216,25 +1183,17 @@ cd %mybuilddir %else --disable-rbd \ %endif -%if 0%{?suse_version} >= 1315 --enable-rdma \ -%else - --disable-rdma \ -%endif --enable-replication \ --disable-sanitizers \ -%if 0%{?suse_version} >= 1320 && 0%{?is_opensuse} +%if 0%{?is_opensuse} --enable-sdl \ --enable-sdl-image \ %else --disable-sdl \ --disable-sdl-image \ %endif -%if 0%{?with_seccomp} --enable-seccomp \ -%else - --disable-seccomp \ -%endif --enable-sheepdog \ %if 0%{?is_opensuse} --enable-smartcard \ @@ -1254,19 +1213,13 @@ cd %mybuilddir --enable-vhost-scsi \ --enable-vhost-user \ --enable-vhost-vsock \ -%if 0%{?suse_version} >= 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) --enable-virglrenderer \ -%endif --enable-virtfs \ --enable-vnc \ --enable-vnc-jpeg \ --enable-vnc-png \ --enable-vnc-sasl \ -%if 0%{?suse_version} == 1320 - --disable-vte \ -%else --enable-vte \ -%endif --enable-vvfat \ --enable-werror \ --disable-whpx \ @@ -1277,8 +1230,46 @@ cd %mybuilddir --disable-xen \ %endif --enable-xfsctl \ +# ------------------------------------------------------------------------ +%else # qemu-linux-user + --without-default-devices \ + --disable-system --enable-linux-user \ + --disable-tools --disable-guest-agent \ + --static \ + --disable-modules \ + --disable-pie \ + --disable-docs \ + --audio-drv-list="" \ + --disable-blobs \ + --disable-bochs \ + --disable-capstone \ + --disable-cloop \ + --enable-coroutine-pool \ + --disable-dmg \ + --disable-fdt \ + --disable-iconv \ + --disable-kvm \ + --disable-malloc-trim \ + --enable-membarrier \ + --disable-parallels \ + --disable-qcow1 \ + --disable-qed \ + --disable-replication \ + --disable-sheepdog \ + --disable-slirp \ + --disable-tpm \ + --disable-vdi \ + --disable-vhost-crypto \ + --disable-vhost-kernel \ + --disable-vhost-net \ + --disable-vhost-scsi \ + --disable-vhost-user \ + --disable-vhost-vsock \ + --disable-vnc \ + --disable-vvfat \ +%endif # qemu-linux-user -%if "%{name}" != "qemu-testsuite" +%if "%{name}" == "qemu" make %{?_smp_mflags} V=1 @@ -1318,15 +1309,32 @@ export LD=x86_64-suse-linux-ld %endif make %{?_smp_mflags} -C %{_builddir}/%buildsubdir/roms bios \ +%if 0%{?is_opensuse} == 0 + SEABIOS_EXTRAVERSION="-rebuilt.suse.com" \ +%else + SEABIOS_EXTRAVERSION="-rebuilt.opensuse.org" \ +%endif %ifnarch %ix86 x86_64 HOSTCC=cc \ %endif +%ifnarch %ix86 +%if %{provide_edk2_firmware} +make %{?_smp_mflags} -C %{_builddir}/%buildsubdir/roms efi \ + EDK2_BASETOOLS_OPTFLAGS='-fPIE' +%endif +%endif + make %{?_smp_mflags} -C %{_builddir}/%buildsubdir/roms seavgabios \ %ifnarch %ix86 x86_64 HOSTCC=cc \ %endif +make %{?_smp_mflags} -C %{_builddir}/%buildsubdir/roms seavgabios-ati \ +%ifnarch %ix86 x86_64 + HOSTCC=cc \ +%endif + make %{?_smp_mflags} -C %{_builddir}/%buildsubdir/roms pxerom %ifnarch %ix86 @@ -1338,9 +1346,7 @@ make -C %{_builddir}/%buildsubdir/roms sgabios \ HOSTCC=cc %if %{force_fit_virtio_pxe_rom} -pushd %{_builddir}/%buildsubdir/roms/ipxe -patch -p1 < %{SOURCE301} -popd +patch -p1 < %_sourcedir/stub-out-the-SAN-req-s-in-int13.patch make %{?_smp_mflags} -C %{_builddir}/%buildsubdir/roms pxerom_variants=virtio pxerom_targets=1af41000 pxerom %endif @@ -1384,7 +1390,14 @@ make %{?_smp_mflags} -C %{_builddir}/%buildsubdir/roms skiboot CROSS= make %{?_smp_mflags} -C %{_builddir}/%buildsubdir/roms slof %endif -%else # qemu-testsuite +%if %{build_opensbi_from_source} +make %{?_smp_mflags} -C %{_builddir}/%buildsubdir/roms opensbi64-virt CROSS_COMPILE= +make %{?_smp_mflags} -C %{_builddir}/%buildsubdir/roms opensbi64-sifive_u CROSS_COMPILE= +%endif + +%endif # qemu +# ------------------------------------------------------------------------ +%if "%{name}" == "qemu-testsuite" ln -s %_bindir/qemu-img qemu-img ln -s %_bindir/qemu-ga qemu-ga @@ -1393,7 +1406,11 @@ ln -s %_bindir/qemu-io qemu-io for i in %firmware do - ln -s %_datadir/%name/$i pc-bios/$i + if [[ $i =~ .*[.]bz2 ]]; then + echo "Skipping $i" + else + ln -s %_datadir/qemu/$i pc-bios/$i + fi done for conf in %{_builddir}/%buildsubdir/default-configs/*-softmmu.mak; do @@ -1407,8 +1424,40 @@ make %{?_smp_mflags} tests/qom-test %{?_smp_mflags} V=1 # ... make comes in fresh and has lots of address space (needed for 32bit, bsc#957379) make %{?_smp_mflags} check-report.tap V=1 +%endif # qemu +# ------------------------------------------------------------------------ +%if "%{name}" == "qemu-linux-user" + +make %{?_smp_mflags} V=1 + +%ifarch %ix86 +%define qemu_arch i386 +%endif +%ifarch x86_64 +%define qemu_arch x86_64 +%endif +%ifarch %arm +%define qemu_arch arm +%endif +%ifarch aarch64 +%define qemu_arch aarch64 +%endif +%ifarch ppc +%define qemu_arch ppc +%endif +%ifarch ppc64 +%define qemu_arch ppc64 +%endif +%ifarch ppc64le +%define qemu_arch ppc64le +%endif +%ifarch s390x +%define qemu_arch s390x %endif +%endif # qemu-linux-user + +# ======================================================================== %check cd %mybuilddir %if "%{name}" == "qemu-testsuite" @@ -1420,17 +1469,50 @@ export QEMU_NBD_PROG=%_bindir/qemu-nbd make %{?_smp_mflags} check-block V=1 %endif # qemu-testsuite +# ------------------------------------------------------------------------ +%if "%{name}" == "qemu-linux-user" +%ifarch %ix86 x86_64 %arm aarch64 ppc ppc64 ppc64le s390x +%{qemu_arch}-linux-user/qemu-%{qemu_arch} %_bindir/ls > /dev/null +make %{?_smp_mflags} check-softfloat +%endif + +%endif # qemu-linux-user + +# ======================================================================== %install cd %mybuilddir -%if "%{name}" != "qemu-testsuite" + +%if "%{name}" == "qemu" make %{?_smp_mflags} install DESTDIR=%{buildroot} %ifnarch %{build_rom_arch} for f in %{x86_extra_firmware} \ %{x86_64_only_extra_firmware}; do - unlink %{buildroot}%_datadir/%name/$f + unlink %{buildroot}%_datadir/%name/${f%.bz2} done +%define do_more_edk2_unlinks 1 +%else +%ifarch %ix86 aarch64 +unlink %{buildroot}%_datadir/%name/edk2-aarch64-code.fd +unlink %{buildroot}%_datadir/%name/edk2-arm-code.fd +unlink %{buildroot}%_datadir/%name/edk2-arm-vars.fd +unlink %{buildroot}%_datadir/%name/edk2-i386-code.fd +unlink %{buildroot}%_datadir/%name/edk2-i386-secure-code.fd +unlink %{buildroot}%_datadir/%name/edk2-i386-vars.fd +unlink %{buildroot}%_datadir/%name/edk2-licenses.txt || true +unlink %{buildroot}%_datadir/%name/edk2-x86_64-code.fd +unlink %{buildroot}%_datadir/%name/edk2-x86_64-secure-code.fd +%endif +%endif +%if 0%{?do_more_edk2_unlinks} || %{provide_edk2_firmware} == 0 +unlink %{buildroot}%_datadir/%name/edk2-licenses.txt || true +unlink %{buildroot}%_datadir/%name/firmware/50-edk2-i386-secure.json +unlink %{buildroot}%_datadir/%name/firmware/50-edk2-x86_64-secure.json +unlink %{buildroot}%_datadir/%name/firmware/60-edk2-aarch64.json +unlink %{buildroot}%_datadir/%name/firmware/60-edk2-arm.json +unlink %{buildroot}%_datadir/%name/firmware/60-edk2-i386.json +unlink %{buildroot}%_datadir/%name/firmware/60-edk2-x86_64.json %endif %find_lang %name install -d -m 0755 %{buildroot}%_datadir/%name/firmware @@ -1481,13 +1563,27 @@ install -D -m 0644 %{SOURCE2} %{buildroot}%_libexecdir/modules-load.d/kvm.conf %endif %fdupes -s %{buildroot} -%else # qemu-testsuite +%endif # qemu +# ------------------------------------------------------------------------ +%if "%{name}" == "qemu-testsuite" install -D -m 0644 check-report.tap %{buildroot}%_datadir/qemu/check-report.tap -%endif +%endif # qemu-testsuite +# ------------------------------------------------------------------------ +%if "%{name}" == "qemu-linux-user" -%if "%{name}" != "qemu-testsuite" +make %{?_smp_mflags} install DESTDIR=%{buildroot} +rm -rf %{buildroot}%_datadir/qemu/keymaps +unlink %{buildroot}%_datadir/qemu/trace-events-all +install -d -m 755 %{buildroot}%_sbindir +install -m 755 scripts/qemu-binfmt-conf.sh %{buildroot}%_sbindir +%fdupes -s %{buildroot} + +%endif # qemu-linux-user + +# ======================================================================== +%if "%{name}" == "qemu" %pre %_bindir/getent group kvm >/dev/null || %_sbindir/groupadd -r kvm @@ -1555,15 +1651,18 @@ fi %service_del_postun ksm.service %endif -%endif # !qemu-testsuite +%endif # qemu +# ======================================================================== %files %defattr(-, root, root) -%if "%{name}" != "qemu-testsuite" +%if "%{name}" == "qemu" %doc Changelog README VERSION %license COPYING COPYING.LIB LICENSE %dir %_docdir/%name/interop %dir %_docdir/%name/interop/_static +%dir %_docdir/%name/specs +%dir %_docdir/%name/specs/_static %_docdir/%name/interop/.buildinfo %_docdir/%name/interop/_static/* %_docdir/%name/interop/bitmaps.html @@ -1574,6 +1673,17 @@ fi %_docdir/%name/interop/pr-helper.html %_docdir/%name/interop/search.html %_docdir/%name/interop/searchindex.js +%_docdir/%name/interop/vhost-user.html +%_docdir/%name/interop/.buildinfo +%_docdir/%name/specs/.buildinfo +%_docdir/%name/specs/_static/* +%_docdir/%name/specs/genindex.html +%_docdir/%name/specs/index.html +%_docdir/%name/specs/objects.inv +%_docdir/%name/specs/ppc-spapr-xive.html +%_docdir/%name/specs/ppc-xive.html +%_docdir/%name/specs/search.html +%_docdir/%name/specs/searchindex.js %_docdir/%name/qemu-doc.txt %_docdir/%name/qemu-doc.html %_docdir/%name/qemu-qmp-ref.txt @@ -1588,6 +1698,7 @@ fi %dir %_datadir/%name %dir %_datadir/%name/firmware %_datadir/%name/keymaps +%_datadir/%name/qemu-nsis.bmp %_datadir/%name/trace-events-all %dir %_sysconfdir/%name %dir %_sysconfdir/%name/firmware @@ -1695,6 +1806,9 @@ fi %_bindir/qemu-system-xtensa %_bindir/qemu-system-xtensaeb %_datadir/%name/hppa-firmware.img +%_datadir/%name/opensbi-riscv32-virt-fw_jump.bin +%_datadir/%name/opensbi-riscv64-sifive_u-fw_jump.bin +%_datadir/%name/opensbi-riscv64-virt-fw_jump.bin %_datadir/%name/openbios-sparc32 %_datadir/%name/openbios-sparc64 %_datadir/%name/palcode-clipper @@ -1734,12 +1848,10 @@ fi %_libdir/%name/block-gluster.so %endif -%if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) %files block-iscsi %defattr(-, root, root) %dir %_libdir/%name %_libdir/%name/block-iscsi.so -%endif %if 0%{?is_opensuse} %files block-nfs @@ -1770,7 +1882,7 @@ fi %dir %_libdir/%name %_libdir/%name/ui-gtk.so -%if 0%{?suse_version} >= 1320 && 0%{?is_opensuse} +%if 0%{?is_opensuse} %files ui-sdl %defattr(-, root, root) %dir %_libdir/%name @@ -1787,7 +1899,7 @@ fi %dir %_libdir/%name %_libdir/%name/audio-pa.so -%if 0%{?suse_version} >= 1320 && 0%{?is_opensuse} +%if 0%{?is_opensuse} %files audio-sdl %defattr(-, root, root) %dir %_libdir/%name @@ -1808,13 +1920,14 @@ fi %defattr(-, root, root) %dir %_datadir/%name %_datadir/%name/vgabios.bin +%_datadir/%name/vgabios-ati.bin +%_datadir/%name/vgabios-bochs-display.bin %_datadir/%name/vgabios-cirrus.bin %_datadir/%name/vgabios-qxl.bin +%_datadir/%name/vgabios-ramfb.bin %_datadir/%name/vgabios-stdvga.bin %_datadir/%name/vgabios-virtio.bin %_datadir/%name/vgabios-vmware.bin -%_datadir/%name/vgabios-bochs-display.bin -%_datadir/%name/vgabios-ramfb.bin %files sgabios %defattr(-, root, root) @@ -1838,7 +1951,36 @@ fi %_datadir/%name/efi-rtl8139.rom %_datadir/%name/efi-virtio.rom %_datadir/%name/efi-vmxnet3.rom + +%if %{provide_edk2_firmware} + +%files edk2 +%dir %_datadir/%name +%dir %_datadir/%name/firmware +%_datadir/%name/edk2-aarch64-code.fd +%_datadir/%name/edk2-arm-code.fd +%_datadir/%name/edk2-arm-vars.fd +%_datadir/%name/edk2-i386-code.fd +%_datadir/%name/edk2-i386-secure-code.fd +%_datadir/%name/edk2-i386-vars.fd +%_datadir/%name/edk2-licenses.txt +%_datadir/%name/edk2-x86_64-code.fd +%_datadir/%name/edk2-x86_64-secure-code.fd +%_datadir/%name/firmware/50-edk2-i386-secure.json +%_datadir/%name/firmware/50-edk2-x86_64-secure.json +%_datadir/%name/firmware/60-edk2-aarch64.json +%_datadir/%name/firmware/60-edk2-arm.json +%_datadir/%name/firmware/60-edk2-i386.json +%_datadir/%name/firmware/60-edk2-x86_64.json %endif +%endif + +%files vhost-user-gpu +%defattr(-, root, root) +%_libexecdir/vhost-user-gpu +%_docdir/%name/interop/vhost-user-gpu.html +%dir %_datadir/%name/vhost-user +%_datadir/%name/vhost-user/50-qemu-gpu.json %files tools %defattr(-, root, root) @@ -1874,8 +2016,56 @@ fi %{_unitdir}/ksm.service %endif -%else # qemu-testsuite +%endif # qemu +# ------------------------------------------------------------------------ +%if "%{name}" == "qemu-testsuite" + %_datadir/qemu/check-report.tap -%endif + +%endif # qemu-testsuite +# ------------------------------------------------------------------------ +%if "%{name}" == "qemu-linux-user" + +%doc Changelog README VERSION +%license COPYING COPYING.LIB LICENSE +%_bindir/qemu-aarch64 +%_bindir/qemu-aarch64_be +%_bindir/qemu-alpha +%_bindir/qemu-arm +%_bindir/qemu-armeb +%_bindir/qemu-cris +%_bindir/qemu-hppa +%_bindir/qemu-i386 +%_bindir/qemu-m68k +%_bindir/qemu-microblaze +%_bindir/qemu-microblazeel +%_bindir/qemu-mips +%_bindir/qemu-mipsel +%_bindir/qemu-mipsn32 +%_bindir/qemu-mipsn32el +%_bindir/qemu-mips64 +%_bindir/qemu-mips64el +%_bindir/qemu-nios2 +%_bindir/qemu-or1k +%_bindir/qemu-ppc64abi32 +%_bindir/qemu-ppc64 +%_bindir/qemu-ppc64le +%_bindir/qemu-ppc +%_bindir/qemu-riscv32 +%_bindir/qemu-riscv64 +%_bindir/qemu-s390x +%_bindir/qemu-sh4 +%_bindir/qemu-sh4eb +%_bindir/qemu-sparc32plus +%_bindir/qemu-sparc64 +%_bindir/qemu-sparc +%_bindir/qemu-tilegx +%_bindir/qemu-x86_64 +%_bindir/qemu-xtensa +%_bindir/qemu-xtensaeb +%_bindir/qemu-*-binfmt +%_sbindir/qemu-binfmt-conf.sh + +%endif # qemu-linux-user %changelog diff --git a/qemu.spec.in b/qemu.spec.in index f5ada61..87d0a1a 100644 --- a/qemu.spec.in +++ b/qemu.spec.in @@ -16,20 +16,19 @@ # +# !! IMPORTANT !! See README.PACKAGING before modifying package in any way + %define build_in_tree 1 %define build_x86_firmware_from_source 0 %define build_skiboot_from_source 0 %define build_slof_from_source 0 +%define build_opensbi_from_source 0 %define kvm_available 0 %define legacy_qemu_kvm 0 %define force_fit_virtio_pxe_rom 1 +%define provide_edk2_firmware 0 -%if 0%{?suse_version} > 1315 -# cross-x86_64-gcc7 is available from SLE15/Leap15.0 %define build_rom_arch %ix86 x86_64 aarch64 -%else -%define build_rom_arch %ix86 x86_64 -%endif %if "%{?distribution}" == "" %define distro private-build @@ -39,10 +38,8 @@ %ifarch %{build_rom_arch} # choice of building all from source or using provided binary x86 blobs -%if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) %define build_x86_firmware_from_source 1 %endif -%endif %ifarch ppc64 %define build_skiboot_from_source 1 @@ -50,10 +47,12 @@ %endif %ifarch ppc64le -%if 0%{?suse_version} > 1320 || 0%{?suse_version} == 1315 %define build_skiboot_from_source 1 %define build_slof_from_source 1 %endif + +%ifarch riscv64 +%define build_opensbi_from_source 1 %endif %ifarch %ix86 x86_64 ppc ppc64 ppc64le s390x armv7hl aarch64 @@ -64,64 +63,41 @@ %define legacy_qemu_kvm 1 %endif -%if 0%{?suse_version} >= 1315 && 0%{?is_opensuse} +%if 0%{?is_opensuse} %define with_glusterfs 1 %endif -%ifarch x86_64 -%if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && ( 0%{?is_opensuse} == 0 || 0%{?sle_version} > 120100 ) ) +%ifarch x86_64 aarch64 ppc64le s390x %define with_rbd 1 %endif -%endif -%ifarch aarch64 -%if 0%{?suse_version} > 1320 || ( 0%{?is_opensuse} == 0 && 0%{?sle_version} > 120100 ) -%define with_rbd 1 -%endif -%endif - -%ifarch ppc64le -%if 0%{?suse_version} > 1320 || ( 0%{?is_opensuse} == 0 && 0%{?sle_version} > 120200 ) -%define with_rbd 1 -%endif -%endif - -%ifarch s390x -%if 0%{?is_opensuse} == 0 && 0%{?sle_version} > 120200 -%define with_rbd 1 -%endif -%endif - -%ifarch ppc64 -%if 0%{?is_opensuse} && 0%{?sle_version} > 120200 -%define with_rbd 1 -%endif -%endif - -%if 0%{?suse_version} > 1320 -%define with_seccomp 1 -%endif - -%ifarch %ix86 x86_64 s390x aarch64 ppc64le -%define with_seccomp 1 -%endif - -%if 0%( pkg-config --exists 'udev > 190' && echo '1' ) == 01 %define _udevrulesdir /usr/lib/udev/rules.d + +# qemu, qemu-linux-user, and qemu-testsuite "flavors" enabled via OBS Multibuild +%define flavor @BUILD_FLAVOR@%{nil} +%if "%flavor" == "" +%define name_suffix %{nil} %else -%define _udevrulesdir /lib/udev/rules.d +%define name_suffix -%flavor +%endif + +%if "%flavor" == "linux-user" +%define summary_string CPU emulator for user space +%else +%define summary_string Machine emulator and virtualizer %endif %define srcname qemu -Name: qemu +Name: qemu%{name_suffix} Url: https://www.qemu.org/ -Summary: Machine emulator and virtualizer +Summary: %{summary_string} License: BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND MIT Group: System/Emulators/PC QEMU_VERSION Release: 0 Source: https://wiki.qemu.org/download/%{srcname}-%{srcver}.tar.xz Source100: %{srcname}.keyring +%if "%{name}" != "qemu-linux-user" Source1: 80-kvm.rules Source2: kvm.conf Source3: qemu-ifup @@ -137,48 +113,34 @@ Source12: supported.x86.txt Source13: supported.s390.txt # this is to make lint happy Source300: qemu-rpmlintrc -Source301: ipxe-stub-out-the-SAN-req-s-in-int13.patch +%endif # ! qemu-linux-user Source400: update_git.sh # Upstream First -- https://wiki.qemu.org/Contribute/SubmitAPatch -# This patch queue is auto-generated from https://github.com/openSUSE/qemu +# This patch queue is auto-generated - see README.PACKAGING for process + PATCH_FILES -# Please do not add QEMU patches manually here. -# Run update_git.sh to regenerate this queue. -# SeaBIOS / SeaVGABIOS - path: roms/seabios (patch range 1100-1199) -Patch1100: seabios-use-python2-explicitly-as-needed.patch -Patch1101: seabios-switch-to-python3-as-needed.patch -Patch1102: seabios-fix_cross_compilation.patch - -# ipxe - path: roms/ipxe (patch range 1200-1299) -Patch1200: ipxe-stable-buildid.patch -Patch1201: ipxe-use-gcc6-for-more-compact-code.patch -Patch1202: ipxe-efi-Simplify-diagnostic-for-NULL-handle.patch -Patch1203: ipxe-build-Disable-gcc-address-of-packed-member-warning.patch -Patch1204: ipxe-efi-Avoid-string-op-warning-with-cross-gcc-7-compile.patch - -# sgabios - path: roms/sgabios (patch range 1300-1399) -Patch1300: sgabios-stable-buildid.patch -Patch1301: sgabios-fix-cross-build.patch - -# SLOF - path: roms/SLOF (patch range 1400-1499) (Currently no patches) - -# skiboot - path: roms/skiboot (patch range 1500-1599) (Currently no patches) -Patch1500: skiboot-gcc9-compat.patch - -# keycodemapdb - path: ui/keycodemapdb (patch range 1600-1699) (Currently no patches) -Patch1600: keycodemapdb-make-keycode-gen-output-reproducible.patch - -# openBIOS - path: roms/openbios (patch range 1700-1799) (Currently no patches) - -# slirp - patch: slirp/ (patch range 1800-1899) -Patch1800: slirp-fix-heap-overflow-in-ip_reass-on-big-packet-input.patch - -# If for any reason we have any QEMU patches which are conditionally applied, -# "manually" include them here: +# Please do not add patches manually here. ExcludeArch: s390 BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%if "%{name}" == "qemu-linux-user" +BuildRequires: e2fsprogs-devel +BuildRequires: fdupes +BuildRequires: gcc-c++ +BuildRequires: glib2-devel-static +BuildRequires: glibc-devel-static +BuildRequires: makeinfo +BuildRequires: pcre-devel-static +BuildRequires: python3-base +BuildRequires: zlib-devel-static +# we must not install the qemu-linux-user package when under QEMU build +%if 0%{?qemu_user_space_build:1} +#!BuildIgnore: post-build-checks +%endif +# ------------------------------------------------------------------------ +%else # ! qemu-linux-user %if %{build_x86_firmware_from_source} BuildRequires: acpica %endif @@ -189,24 +151,48 @@ BuildRequires: binutils-devel BuildRequires: bison BuildRequires: bluez-devel BuildRequires: brlapi-devel +%ifnarch %{ix86} aarch64 +BuildRequires: cross-aarch64-binutils +%if 0%{?is_opensuse} +%ifarch riscv64 +BuildRequires: cross-aarch64-gcc8 +%else +BuildRequires: cross-aarch64-gcc9 +%endif +%else +BuildRequires: cross-aarch64-gcc7 +%endif +%endif +%ifnarch %{ix86} armv7hl +BuildRequires: cross-arm-binutils +%if 0%{?is_opensuse} +%ifarch riscv64 +BuildRequires: cross-arm-gcc8 +%else +BuildRequires: cross-arm-gcc9 +%endif +%else +BuildRequires: cross-arm-gcc7 +%endif +%endif %if %{build_x86_firmware_from_source} %ifnarch %{ix86} x86_64 # We must cross-compile on non-x86* +BuildRequires: cross-i386-binutils +BuildRequires: cross-i386-gcc9 BuildRequires: cross-x86_64-binutils -BuildRequires: cross-x86_64-gcc7 +BuildRequires: cross-x86_64-gcc9 %endif %endif BuildRequires: curl-devel BuildRequires: cyrus-sasl-devel +%if build_x86_firmware_from_source +BuildRequires: dos2unix +%endif BuildRequires: e2fsprogs-devel BuildRequires: fdupes BuildRequires: flex BuildRequires: gcc-c++ -%if %{build_x86_firmware_from_source} -%if 0%{?suse_version} <= 1320 -BuildRequires: gcc6 -%endif -%endif BuildRequires: glib2-devel %if 0%{?with_glusterfs} BuildRequires: glusterfs-devel @@ -221,39 +207,19 @@ BuildRequires: libcacard-devel BuildRequires: libcap-devel BuildRequires: libcap-ng-devel BuildRequires: libdrm-devel -%if 0%{?suse_version} >= 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) BuildRequires: libepoxy-devel -%endif -%if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120200 ) BuildRequires: libfdt-devel -%else -BuildRequires: libfdt1-devel -%endif BuildRequires: libgbm-devel BuildRequires: libgcrypt-devel BuildRequires: libgnutls-devel -%if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) BuildRequires: libiscsi-devel -%endif BuildRequires: libjpeg-devel %if 0%{?is_opensuse} BuildRequires: libnfs-devel %endif -%ifarch %ix86 x86_64 -%if 0%{?suse_version} > 1320 || 0%{?suse_version} == 1315 -BuildRequires: libnuma-devel -%endif -%else -%ifarch aarch64 -%if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) -BuildRequires: libnuma-devel -%endif -%endif -%else %ifnarch %arm s390x BuildRequires: libnuma-devel %endif -%endif BuildRequires: libpcap-devel BuildRequires: libpixman-1-0-devel %ifarch x86_64 @@ -262,28 +228,18 @@ BuildRequires: libpmem-devel BuildRequires: libpng-devel BuildRequires: libpulse-devel %if 0%{?with_rbd} -%if 0%{?is_opensuse} || 0%{?sle_version} > 120100 BuildRequires: librbd-devel -%else -BuildRequires: ceph-devel %endif -%endif -%if 0%{?suse_version} >= 1320 && 0%{?is_opensuse} +%if 0%{?is_opensuse} BuildRequires: libSDL2-devel BuildRequires: libSDL2_image-devel %endif -%if 0%{?with_seccomp} BuildRequires: libseccomp-devel -%endif BuildRequires: libspice-server-devel -BuildRequires: libssh2-devel +BuildRequires: libssh-devel BuildRequires: libudev-devel BuildRequires: libusb-1_0-devel -%if 0%{?suse_version} > 1320 BuildRequires: libvdeplug-devel -%else -BuildRequires: libvdeplug3-devel -%endif %if 0%{?is_opensuse} BuildRequires: lzfse-devel %endif @@ -291,22 +247,17 @@ BuildRequires: Mesa-devel BuildRequires: libxkbcommon-devel BuildRequires: lzo-devel BuildRequires: makeinfo -%if 0%{?suse_version} > 1320 BuildRequires: multipath-tools-devel +%if build_x86_firmware_from_source +BuildRequires: nasm %endif BuildRequires: ncurses-devel BuildRequires: pkgconfig BuildRequires: pwdutils -%if 0%{?suse_version} > 1320 +BuildRequires: python-base BuildRequires: python3-Sphinx BuildRequires: python3-base -%else -BuildRequires: python-Sphinx -%endif -BuildRequires: python-base -%if 0%{?suse_version} >= 1315 BuildRequires: rdma-core-devel -%endif BuildRequires: snappy-devel BuildRequires: spice-protocol-devel BuildRequires: systemd @@ -315,9 +266,7 @@ BuildRequires: systemd BuildRequires: pkgconfig(udev) %endif BuildRequires: usbredir-devel -%if 0%{?suse_version} >= 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) BuildRequires: virglrenderer-devel >= 0.4.1 -%endif BuildRequires: vte-devel %ifarch x86_64 BuildRequires: xen-devel @@ -328,14 +277,12 @@ BuildRequires: xz-devel %endif BuildRequires: zlib-devel %if "%{name}" == "qemu-testsuite" -%if 0%{?suse_version} > 1320 -BuildRequires: python-base -%endif BuildRequires: bc +BuildRequires: python-base BuildRequires: qemu-arm = %{qemuver} BuildRequires: qemu-audio-alsa = %{qemuver} BuildRequires: qemu-audio-pa = %{qemuver} -%if 0%{?suse_version} >= 1320 && 0%{?is_opensuse} +%if 0%{?is_opensuse} BuildRequires: qemu-audio-sdl = %{qemuver} %endif BuildRequires: qemu-block-curl = %{qemuver} @@ -343,9 +290,7 @@ BuildRequires: qemu-block-dmg = %{qemuver} %if 0%{?with_glusterfs} BuildRequires: qemu-block-gluster = %{qemuver} %endif -%if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) BuildRequires: qemu-block-iscsi = %{qemuver} -%endif %if 0%{?is_opensuse} BuildRequires: qemu-block-nfs = %{qemuver} %endif @@ -353,6 +298,9 @@ BuildRequires: qemu-block-nfs = %{qemuver} BuildRequires: qemu-block-rbd = %{qemuver} %endif BuildRequires: qemu-block-ssh = %{qemuver} +%if %{provide_edk2_firmware} +BuildRequires: qemu-edk2 = %{qemuver} +%endif BuildRequires: qemu-extra = %{qemuver} BuildRequires: qemu-guest-agent = %{qemuver} BuildRequires: qemu-ipxe = 1.0.0+ @@ -367,7 +315,7 @@ BuildRequires: qemu-sgabios = 8 BuildRequires: qemu-tools = %{qemuver} BuildRequires: qemu-ui-curses = %{qemuver} BuildRequires: qemu-ui-gtk = %{qemuver} -%if 0%{?suse_version} >= 1320 && 0%{?is_opensuse} +%if 0%{?is_opensuse} BuildRequires: qemu-ui-sdl = %{qemuver} %endif BuildRequires: qemu-vgabios = 1.12.1 @@ -387,7 +335,7 @@ Recommends: qemu-block-curl Recommends: qemu-tools Recommends: qemu-ui-curses Recommends: qemu-ui-gtk -%if 0%{?suse_version} >= 1320 && 0%{?is_opensuse} +%if 0%{?is_opensuse} Recommends: qemu-ui-sdl %endif Recommends: qemu-x86 @@ -410,9 +358,7 @@ Suggests: qemu-block-dmg %if 0%{?with_glusterfs} Suggests: qemu-block-gluster %endif -%if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) Suggests: qemu-block-iscsi -%endif %if 0%{?is_opensuse} Suggests: qemu-block-nfs %endif @@ -425,6 +371,7 @@ Suggests: qemu-lang %if 0%{?is_opensuse} Recommends: qemu-ksm = %{qemuver} %endif +Suggests: qemu-vhost-user-gpu Provides: qemu-audio-oss = %{qemuver} Obsoletes: qemu-audio-oss < %{qemuver} @@ -432,27 +379,35 @@ Obsoletes: qemu-audio-oss < %{qemuver} # build (yet): bamboo.dtb canyonlands.dtb hppa-firmware.img openbios-ppc openbios-sparc32 # openbios-sparc64 palcode-clipper petalogix-ml605.dtb petalogix-s3adsp1800.dtb ppc_rom.bin # QEMU,cgthree.bin QEMU,tcx.bin qemu_vga.ndrv u-boot.e500 u-boot-sam460-20100605.bin +# opensbi-riscv32-virt-fw_jump.bin # This first list group isn't specific to what this instance builds %define ppc_default_firmware {%nil} %define ppc_extra_firmware {skiboot.lid slof.bin} %define ppc64_only_default_firmware {spapr-rtas.bin} %define ppc64_only_extra_firmware {%nil} +%define riscv64_default_firmware {opensbi-riscv64-sifive_u-fw_jump.bin opensbi-riscv64-virt-fw_jump.bin} +%define riscv64_extra_firmware {%nil} %define s390x_default_firmware {s390-ccw.img s390-netboot.img} %define s390x_extra_firmware {%nil} %define x86_default_firmware {linuxboot.bin linuxboot_dma.bin multiboot.bin \ kvmvapic.bin pvh.bin} -%define x86_extra_firmware {bios.bin bios-256k.bin pxe-e1000.rom pxe-eepro100.rom \ -pxe-ne2k_pci.rom pxe-pcnet.rom pxe-rtl8139.rom pxe-virtio.rom sgabios.bin \ -vgabios-bochs-display.bin vgabios.bin vgabios-cirrus.bin vgabios-qxl.bin \ -vgabios-ramfb.bin vgabios-stdvga.bin vgabios-virtio.bin vgabios-vmware.bin} +%define x86_extra_firmware {bios.bin bios-256k.bin pxe-e1000.rom \ +pxe-eepro100.rom pxe-ne2k_pci.rom pxe-pcnet.rom pxe-rtl8139.rom pxe-virtio.rom \ +sgabios.bin vgabios-ati.bin vgabios-bochs-display.bin vgabios.bin \ +vgabios-cirrus.bin vgabios-qxl.bin vgabios-ramfb.bin vgabios-stdvga.bin \ +vgabios-virtio.bin vgabios-vmware.bin} %define x86_64_only_default_firmware {%nil} -%define x86_64_only_extra_firmware {efi-e1000.rom efi-e1000e.rom efi-eepro100.rom \ +%define x86_64_only_extra_firmware {edk2-aarch64-code.fd.bz2 \ +edk2-arm-code.fd.bz2 edk2-arm-vars.fd.bz2 edk2-i386-code.fd.bz2 \ +edk2-i386-secure-code.fd.bz2 edk2-i386-vars.fd.bz2 edk2-x86_64-code.fd.bz2 \ +edk2-x86_64-secure-code.fd.bz2 efi-e1000.rom efi-e1000e.rom efi-eepro100.rom \ efi-ne2k_pci.rom efi-pcnet.rom efi-rtl8139.rom efi-virtio.rom efi-vmxnet3.rom} %define firmware { \ %{?ppc_default_firmware} %{?ppc_extra_firmware} \ %{?ppc64_only_default_firmware} %{?ppc64_only_extra_firmware} \ +%{?riscv64_default_firmware} %{?riscv64_extra_firmware} \ %{?s390x_default_firmware} %{?s390x_extra_firmware} \ %{?x86_default_firmware} %{?x86_extra_firmware} \ %{?x86_64_only_default_firmware} %{?x86_64_only_extra_firmware} } @@ -475,6 +430,11 @@ efi-ne2k_pci.rom efi-pcnet.rom efi-rtl8139.rom efi-virtio.rom efi-vmxnet3.rom} %define ppc64_only_extra_built_firmware %{ppc64_only_extra_firmware} %endif +%ifarch riscv64 +%define riscv64_default_built_firmware %{riscv64_default_firmware} +%define riscv64_extra_built_firmware %{riscv64_extra_firmware} +%endif + %ifarch s390x %define s390x_default_built_firmware %{s390x_default_firmware} %define s390x_extra_built_firmware %{s390x_extra_firmware} @@ -497,10 +457,15 @@ efi-ne2k_pci.rom efi-pcnet.rom efi-rtl8139.rom efi-virtio.rom efi-vmxnet3.rom} %define built_firmware { \ %{?ppc_default_built_firmware} %{?ppc_extra_built_firmware} \ %{?ppc64_only_default_built_firmware} %{?ppc64_only_extra_built_firmware} \ +%{?riscv64_default_built_firmware} %{?riscv64_extra_built_firmware} \ %{?s390x_default_built_firmware} %{?s390x_extra_built_firmware} \ %{?x86_default_built_firmware} %{?x86_extra_built_firmware} \ %{?x86_64_only_default_built_firmware} %{?x86_64_only_extra_built_firmware} } +%endif # ! qemu-linux-user +# ------------------------------------------------------------------------ +%if "%{name}" != "qemu-linux-user" + %description QEMU provides full machine emulation and cross architecture usage. It closely integrates with KVM and Xen virtualization, allowing for excellent performance. @@ -694,7 +659,6 @@ This package contains a module for accessing network-based image files over a GlusterFS network connection from qemu-img tool and QEMU system emulation. %endif -%if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) %package block-iscsi Summary: iSCSI block support for QEMU Group: System/Emulators/PC @@ -705,7 +669,6 @@ Release: 0 %description block-iscsi This package contains a module for accessing network-based image files over an iSCSI network connection from qemu-img tool and QEMU system emulation. -%endif %if 0%{?is_opensuse} %package block-nfs @@ -762,7 +725,7 @@ Release: 0 %description ui-gtk This package contains a module for doing GTK based UI for QEMU. -%if 0%{?suse_version} >= 1320 && 0%{?is_opensuse} +%if 0%{?is_opensuse} %package ui-sdl Summary: SDL based UI support for QEMU Group: System/Emulators/PC @@ -794,7 +757,7 @@ Release: 0 %description audio-pa This package contains a module for Pulse Audio based audio support for QEMU. -%if 0%{?suse_version} >= 1320 && 0%{?is_opensuse} +%if 0%{?is_opensuse} %package audio-sdl Summary: SDL based audio support for QEMU Group: System/Emulators/PC @@ -806,6 +769,16 @@ Release: 0 This package contains a module for SDL based audio support for QEMU. %endif +%package vhost-user-gpu +Summary: Vhost user mode virtio-gpu 2D/3D rendering backend for QEMU +Group: System/Emulators/PC +Version: %{qemuver} +Release: 0 +%{qemu_module_conflicts} + +%description vhost-user-gpu +This package contains a vhost user mode virtio-gpu 2D/3D rendering backend for QEMU + %package tools Summary: Tools for QEMU Group: System/Emulators/PC @@ -814,9 +787,7 @@ Release: 0 Provides: %name:%_libexecdir/qemu-bridge-helper Requires(pre): permissions Requires(pre): shadow -%if 0%{?suse_version} > 1320 Recommends: multipath-tools -%endif Recommends: qemu-block-curl %if 0%{?with_rbd} Recommends: qemu-block-rbd @@ -895,6 +866,18 @@ Provides Preboot Execution Environment (PXE) ROM support for various emulated network adapters available with QEMU. %endif +%if %{provide_edk2_firmware} +%package edk2 +Summary: EDK II based firmware +Group: System/Emulators/PC +Version: %{qemuver} +Release: 0 +BuildArch: noarch + +%description edk2 +Provides EDK II based firmware. +%endif + %if 0%{?is_opensuse} %package ksm Summary: Kernel Samepage Merging services @@ -911,66 +894,50 @@ merges anonymous (private) pages (not pagecache ones). This package provides a service file for starting and stopping KSM. %endif -%endif # !qemu-testsuite +%endif # ! qemu-testsuite +# ------------------------------------------------------------------------ +%else # qemu-linux-user + +%description +QEMU provides CPU emulation along with other related capabilities. This package +provides programs to run user space binaries and libraries meant for another +architecture. The syscall interface is intercepted and execution below the +syscall layer occurs on the native hardware and operating system. + +%endif # qemu-linux-user + +# ======================================================================== %prep %setup -q -n %{srcname}-%{expand:%%(SV=%{srcver};echo ${SV%%%%+git*})} PATCH_EXEC -pushd roms/seabios -%patch1100 -p1 -%if 0%{?suse_version} > 1320 -%patch1101 -p1 -%endif -%patch1102 -p1 -popd - -pushd roms/ipxe -%patch1200 -p1 -%if 0%{?suse_version} <= 1320 -%patch1201 -p1 -%endif -%patch1202 -p1 -%patch1203 -p1 -%ifarch aarch64 -%patch1204 -p1 -%endif -popd - -pushd roms/sgabios -%patch1300 -p1 -%patch1301 -p1 -popd - -pushd roms/SLOF -popd - -pushd roms/skiboot -%patch1500 -p1 -popd - -pushd ui/keycodemapdb -%patch1600 -p1 -popd - -pushd roms/openbios -popd - -pushd slirp/ -%patch1800 -p1 -popd - +%if "%{name}" != "qemu-linux-user" %if "%{name}" != "qemu-testsuite" + # delete the firmware files that we intend to build for i in %built_firmware -%else -# delete the firmware files that we intend to link from built packages -for i in %firmware -%endif do unlink pc-bios/$i done +# ------------------------------------------------------------------------ +%else # qemu-testsuite + +# delete the firmware files that we intend to link from built packages +for i in %firmware +do + if [[ $i =~ .*[.]bz2 ]]; then + echo "Skipping %i" + else + unlink pc-bios/$i + fi +done + +%endif # qemu-testsuite +%endif # ! qemu-linux-user + +# ======================================================================== %build %define _lto_cflags %{nil} @@ -990,14 +957,11 @@ cd %mybuilddir --localstatedir=%_localstatedir \ --docdir=%_docdir/%name \ --firmwarepath=%_datadir/%name \ -%if 0%{?suse_version} > 1320 --python=%_bindir/python3 \ -%else - --python=%_bindir/python2 \ -%endif --extra-cflags="%{optflags}" \ --disable-stack-protector \ --disable-strip \ +%if "%{name}" != "qemu-linux-user" --with-pkgversion="%(echo '%{distro}' | sed 's/ (.*)//')" \ --with-default-devices \ --enable-system --disable-linux-user \ @@ -1005,7 +969,7 @@ cd %mybuilddir --enable-modules \ --enable-pie \ --enable-docs \ -%if 0%{?suse_version} >= 1320 && 0%{?is_opensuse} +%if 0%{?is_opensuse} --audio-drv-list="pa alsa sdl" \ %else --audio-drv-list="pa alsa" \ @@ -1042,11 +1006,7 @@ cd %mybuilddir %else --disable-kvm \ %endif -%if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) --enable-libiscsi \ -%else - --disable-libiscsi \ -%endif %if 0%{?is_opensuse} --enable-libnfs \ %else @@ -1057,7 +1017,7 @@ cd %mybuilddir %else --disable-libpmem \ %endif - --enable-libssh2 \ + --enable-libssh \ --enable-libusb \ --disable-libxml2 \ --enable-linux-aio \ @@ -1069,43 +1029,17 @@ cd %mybuilddir --enable-lzo \ --disable-malloc-trim \ --enable-membarrier \ -%if 0%{?suse_version} > 1320 --enable-mpath \ -%else - --disable-mpath \ -%endif --disable-netmap \ --disable-nettle \ -%ifarch %ix86 x86_64 -%if 0%{?suse_version} > 1320 || 0%{?suse_version} == 1315 - --enable-numa \ -%else - --disable-numa \ -%endif -%else -%ifarch aarch64 -%if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) - --enable-numa \ -%endif -%else - --disable-numa \ -%endif -%else %ifarch %arm s390x --disable-numa \ %else --enable-numa \ %endif -%endif -%if 0%{?suse_version} >= 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) --enable-opengl \ -%endif --enable-parallels \ -%if 0%{?suse_version} >= 1315 --enable-pvrdma \ -%else - --disable-pvrdma \ -%endif --enable-qcow1 \ --enable-qed \ %if 0%{?with_rbd} @@ -1113,25 +1047,17 @@ cd %mybuilddir %else --disable-rbd \ %endif -%if 0%{?suse_version} >= 1315 --enable-rdma \ -%else - --disable-rdma \ -%endif --enable-replication \ --disable-sanitizers \ -%if 0%{?suse_version} >= 1320 && 0%{?is_opensuse} +%if 0%{?is_opensuse} --enable-sdl \ --enable-sdl-image \ %else --disable-sdl \ --disable-sdl-image \ %endif -%if 0%{?with_seccomp} --enable-seccomp \ -%else - --disable-seccomp \ -%endif --enable-sheepdog \ %if 0%{?is_opensuse} --enable-smartcard \ @@ -1151,19 +1077,13 @@ cd %mybuilddir --enable-vhost-scsi \ --enable-vhost-user \ --enable-vhost-vsock \ -%if 0%{?suse_version} >= 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) --enable-virglrenderer \ -%endif --enable-virtfs \ --enable-vnc \ --enable-vnc-jpeg \ --enable-vnc-png \ --enable-vnc-sasl \ -%if 0%{?suse_version} == 1320 - --disable-vte \ -%else --enable-vte \ -%endif --enable-vvfat \ --enable-werror \ --disable-whpx \ @@ -1174,8 +1094,46 @@ cd %mybuilddir --disable-xen \ %endif --enable-xfsctl \ +# ------------------------------------------------------------------------ +%else # qemu-linux-user + --without-default-devices \ + --disable-system --enable-linux-user \ + --disable-tools --disable-guest-agent \ + --static \ + --disable-modules \ + --disable-pie \ + --disable-docs \ + --audio-drv-list="" \ + --disable-blobs \ + --disable-bochs \ + --disable-capstone \ + --disable-cloop \ + --enable-coroutine-pool \ + --disable-dmg \ + --disable-fdt \ + --disable-iconv \ + --disable-kvm \ + --disable-malloc-trim \ + --enable-membarrier \ + --disable-parallels \ + --disable-qcow1 \ + --disable-qed \ + --disable-replication \ + --disable-sheepdog \ + --disable-slirp \ + --disable-tpm \ + --disable-vdi \ + --disable-vhost-crypto \ + --disable-vhost-kernel \ + --disable-vhost-net \ + --disable-vhost-scsi \ + --disable-vhost-user \ + --disable-vhost-vsock \ + --disable-vnc \ + --disable-vvfat \ +%endif # qemu-linux-user -%if "%{name}" != "qemu-testsuite" +%if "%{name}" == "qemu" make %{?_smp_mflags} V=1 @@ -1215,15 +1173,32 @@ export LD=x86_64-suse-linux-ld %endif make %{?_smp_mflags} -C %{_builddir}/%buildsubdir/roms bios \ +%if 0%{?is_opensuse} == 0 + SEABIOS_EXTRAVERSION="-rebuilt.suse.com" \ +%else + SEABIOS_EXTRAVERSION="-rebuilt.opensuse.org" \ +%endif %ifnarch %ix86 x86_64 HOSTCC=cc \ %endif +%ifnarch %ix86 +%if %{provide_edk2_firmware} +make %{?_smp_mflags} -C %{_builddir}/%buildsubdir/roms efi \ + EDK2_BASETOOLS_OPTFLAGS='-fPIE' +%endif +%endif + make %{?_smp_mflags} -C %{_builddir}/%buildsubdir/roms seavgabios \ %ifnarch %ix86 x86_64 HOSTCC=cc \ %endif +make %{?_smp_mflags} -C %{_builddir}/%buildsubdir/roms seavgabios-ati \ +%ifnarch %ix86 x86_64 + HOSTCC=cc \ +%endif + make %{?_smp_mflags} -C %{_builddir}/%buildsubdir/roms pxerom %ifnarch %ix86 @@ -1235,9 +1210,7 @@ make -C %{_builddir}/%buildsubdir/roms sgabios \ HOSTCC=cc %if %{force_fit_virtio_pxe_rom} -pushd %{_builddir}/%buildsubdir/roms/ipxe -patch -p1 < %{SOURCE301} -popd +patch -p1 < %_sourcedir/stub-out-the-SAN-req-s-in-int13.patch make %{?_smp_mflags} -C %{_builddir}/%buildsubdir/roms pxerom_variants=virtio pxerom_targets=1af41000 pxerom %endif @@ -1281,7 +1254,14 @@ make %{?_smp_mflags} -C %{_builddir}/%buildsubdir/roms skiboot CROSS= make %{?_smp_mflags} -C %{_builddir}/%buildsubdir/roms slof %endif -%else # qemu-testsuite +%if %{build_opensbi_from_source} +make %{?_smp_mflags} -C %{_builddir}/%buildsubdir/roms opensbi64-virt CROSS_COMPILE= +make %{?_smp_mflags} -C %{_builddir}/%buildsubdir/roms opensbi64-sifive_u CROSS_COMPILE= +%endif + +%endif # qemu +# ------------------------------------------------------------------------ +%if "%{name}" == "qemu-testsuite" ln -s %_bindir/qemu-img qemu-img ln -s %_bindir/qemu-ga qemu-ga @@ -1290,7 +1270,11 @@ ln -s %_bindir/qemu-io qemu-io for i in %firmware do - ln -s %_datadir/%name/$i pc-bios/$i + if [[ $i =~ .*[.]bz2 ]]; then + echo "Skipping $i" + else + ln -s %_datadir/qemu/$i pc-bios/$i + fi done for conf in %{_builddir}/%buildsubdir/default-configs/*-softmmu.mak; do @@ -1304,8 +1288,40 @@ make %{?_smp_mflags} tests/qom-test %{?_smp_mflags} V=1 # ... make comes in fresh and has lots of address space (needed for 32bit, bsc#957379) make %{?_smp_mflags} check-report.tap V=1 +%endif # qemu +# ------------------------------------------------------------------------ +%if "%{name}" == "qemu-linux-user" + +make %{?_smp_mflags} V=1 + +%ifarch %ix86 +%define qemu_arch i386 +%endif +%ifarch x86_64 +%define qemu_arch x86_64 +%endif +%ifarch %arm +%define qemu_arch arm +%endif +%ifarch aarch64 +%define qemu_arch aarch64 +%endif +%ifarch ppc +%define qemu_arch ppc +%endif +%ifarch ppc64 +%define qemu_arch ppc64 +%endif +%ifarch ppc64le +%define qemu_arch ppc64le +%endif +%ifarch s390x +%define qemu_arch s390x %endif +%endif # qemu-linux-user + +# ======================================================================== %check cd %mybuilddir %if "%{name}" == "qemu-testsuite" @@ -1317,17 +1333,50 @@ export QEMU_NBD_PROG=%_bindir/qemu-nbd make %{?_smp_mflags} check-block V=1 %endif # qemu-testsuite +# ------------------------------------------------------------------------ +%if "%{name}" == "qemu-linux-user" +%ifarch %ix86 x86_64 %arm aarch64 ppc ppc64 ppc64le s390x +%{qemu_arch}-linux-user/qemu-%{qemu_arch} %_bindir/ls > /dev/null +make %{?_smp_mflags} check-softfloat +%endif + +%endif # qemu-linux-user + +# ======================================================================== %install cd %mybuilddir -%if "%{name}" != "qemu-testsuite" + +%if "%{name}" == "qemu" make %{?_smp_mflags} install DESTDIR=%{buildroot} %ifnarch %{build_rom_arch} for f in %{x86_extra_firmware} \ %{x86_64_only_extra_firmware}; do - unlink %{buildroot}%_datadir/%name/$f + unlink %{buildroot}%_datadir/%name/${f%.bz2} done +%define do_more_edk2_unlinks 1 +%else +%ifarch %ix86 aarch64 +unlink %{buildroot}%_datadir/%name/edk2-aarch64-code.fd +unlink %{buildroot}%_datadir/%name/edk2-arm-code.fd +unlink %{buildroot}%_datadir/%name/edk2-arm-vars.fd +unlink %{buildroot}%_datadir/%name/edk2-i386-code.fd +unlink %{buildroot}%_datadir/%name/edk2-i386-secure-code.fd +unlink %{buildroot}%_datadir/%name/edk2-i386-vars.fd +unlink %{buildroot}%_datadir/%name/edk2-licenses.txt || true +unlink %{buildroot}%_datadir/%name/edk2-x86_64-code.fd +unlink %{buildroot}%_datadir/%name/edk2-x86_64-secure-code.fd +%endif +%endif +%if 0%{?do_more_edk2_unlinks} || %{provide_edk2_firmware} == 0 +unlink %{buildroot}%_datadir/%name/edk2-licenses.txt || true +unlink %{buildroot}%_datadir/%name/firmware/50-edk2-i386-secure.json +unlink %{buildroot}%_datadir/%name/firmware/50-edk2-x86_64-secure.json +unlink %{buildroot}%_datadir/%name/firmware/60-edk2-aarch64.json +unlink %{buildroot}%_datadir/%name/firmware/60-edk2-arm.json +unlink %{buildroot}%_datadir/%name/firmware/60-edk2-i386.json +unlink %{buildroot}%_datadir/%name/firmware/60-edk2-x86_64.json %endif %find_lang %name install -d -m 0755 %{buildroot}%_datadir/%name/firmware @@ -1378,13 +1427,27 @@ install -D -m 0644 %{SOURCE2} %{buildroot}%_libexecdir/modules-load.d/kvm.conf %endif %fdupes -s %{buildroot} -%else # qemu-testsuite +%endif # qemu +# ------------------------------------------------------------------------ +%if "%{name}" == "qemu-testsuite" install -D -m 0644 check-report.tap %{buildroot}%_datadir/qemu/check-report.tap -%endif +%endif # qemu-testsuite +# ------------------------------------------------------------------------ +%if "%{name}" == "qemu-linux-user" -%if "%{name}" != "qemu-testsuite" +make %{?_smp_mflags} install DESTDIR=%{buildroot} +rm -rf %{buildroot}%_datadir/qemu/keymaps +unlink %{buildroot}%_datadir/qemu/trace-events-all +install -d -m 755 %{buildroot}%_sbindir +install -m 755 scripts/qemu-binfmt-conf.sh %{buildroot}%_sbindir +%fdupes -s %{buildroot} + +%endif # qemu-linux-user + +# ======================================================================== +%if "%{name}" == "qemu" %pre %_bindir/getent group kvm >/dev/null || %_sbindir/groupadd -r kvm @@ -1452,15 +1515,18 @@ fi %service_del_postun ksm.service %endif -%endif # !qemu-testsuite +%endif # qemu +# ======================================================================== %files %defattr(-, root, root) -%if "%{name}" != "qemu-testsuite" +%if "%{name}" == "qemu" %doc Changelog README VERSION %license COPYING COPYING.LIB LICENSE %dir %_docdir/%name/interop %dir %_docdir/%name/interop/_static +%dir %_docdir/%name/specs +%dir %_docdir/%name/specs/_static %_docdir/%name/interop/.buildinfo %_docdir/%name/interop/_static/* %_docdir/%name/interop/bitmaps.html @@ -1471,6 +1537,17 @@ fi %_docdir/%name/interop/pr-helper.html %_docdir/%name/interop/search.html %_docdir/%name/interop/searchindex.js +%_docdir/%name/interop/vhost-user.html +%_docdir/%name/interop/.buildinfo +%_docdir/%name/specs/.buildinfo +%_docdir/%name/specs/_static/* +%_docdir/%name/specs/genindex.html +%_docdir/%name/specs/index.html +%_docdir/%name/specs/objects.inv +%_docdir/%name/specs/ppc-spapr-xive.html +%_docdir/%name/specs/ppc-xive.html +%_docdir/%name/specs/search.html +%_docdir/%name/specs/searchindex.js %_docdir/%name/qemu-doc.txt %_docdir/%name/qemu-doc.html %_docdir/%name/qemu-qmp-ref.txt @@ -1485,6 +1562,7 @@ fi %dir %_datadir/%name %dir %_datadir/%name/firmware %_datadir/%name/keymaps +%_datadir/%name/qemu-nsis.bmp %_datadir/%name/trace-events-all %dir %_sysconfdir/%name %dir %_sysconfdir/%name/firmware @@ -1592,6 +1670,9 @@ fi %_bindir/qemu-system-xtensa %_bindir/qemu-system-xtensaeb %_datadir/%name/hppa-firmware.img +%_datadir/%name/opensbi-riscv32-virt-fw_jump.bin +%_datadir/%name/opensbi-riscv64-sifive_u-fw_jump.bin +%_datadir/%name/opensbi-riscv64-virt-fw_jump.bin %_datadir/%name/openbios-sparc32 %_datadir/%name/openbios-sparc64 %_datadir/%name/palcode-clipper @@ -1631,12 +1712,10 @@ fi %_libdir/%name/block-gluster.so %endif -%if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120100 ) %files block-iscsi %defattr(-, root, root) %dir %_libdir/%name %_libdir/%name/block-iscsi.so -%endif %if 0%{?is_opensuse} %files block-nfs @@ -1667,7 +1746,7 @@ fi %dir %_libdir/%name %_libdir/%name/ui-gtk.so -%if 0%{?suse_version} >= 1320 && 0%{?is_opensuse} +%if 0%{?is_opensuse} %files ui-sdl %defattr(-, root, root) %dir %_libdir/%name @@ -1684,7 +1763,7 @@ fi %dir %_libdir/%name %_libdir/%name/audio-pa.so -%if 0%{?suse_version} >= 1320 && 0%{?is_opensuse} +%if 0%{?is_opensuse} %files audio-sdl %defattr(-, root, root) %dir %_libdir/%name @@ -1705,13 +1784,14 @@ fi %defattr(-, root, root) %dir %_datadir/%name %_datadir/%name/vgabios.bin +%_datadir/%name/vgabios-ati.bin +%_datadir/%name/vgabios-bochs-display.bin %_datadir/%name/vgabios-cirrus.bin %_datadir/%name/vgabios-qxl.bin +%_datadir/%name/vgabios-ramfb.bin %_datadir/%name/vgabios-stdvga.bin %_datadir/%name/vgabios-virtio.bin %_datadir/%name/vgabios-vmware.bin -%_datadir/%name/vgabios-bochs-display.bin -%_datadir/%name/vgabios-ramfb.bin %files sgabios %defattr(-, root, root) @@ -1735,7 +1815,36 @@ fi %_datadir/%name/efi-rtl8139.rom %_datadir/%name/efi-virtio.rom %_datadir/%name/efi-vmxnet3.rom + +%if %{provide_edk2_firmware} + +%files edk2 +%dir %_datadir/%name +%dir %_datadir/%name/firmware +%_datadir/%name/edk2-aarch64-code.fd +%_datadir/%name/edk2-arm-code.fd +%_datadir/%name/edk2-arm-vars.fd +%_datadir/%name/edk2-i386-code.fd +%_datadir/%name/edk2-i386-secure-code.fd +%_datadir/%name/edk2-i386-vars.fd +%_datadir/%name/edk2-licenses.txt +%_datadir/%name/edk2-x86_64-code.fd +%_datadir/%name/edk2-x86_64-secure-code.fd +%_datadir/%name/firmware/50-edk2-i386-secure.json +%_datadir/%name/firmware/50-edk2-x86_64-secure.json +%_datadir/%name/firmware/60-edk2-aarch64.json +%_datadir/%name/firmware/60-edk2-arm.json +%_datadir/%name/firmware/60-edk2-i386.json +%_datadir/%name/firmware/60-edk2-x86_64.json %endif +%endif + +%files vhost-user-gpu +%defattr(-, root, root) +%_libexecdir/vhost-user-gpu +%_docdir/%name/interop/vhost-user-gpu.html +%dir %_datadir/%name/vhost-user +%_datadir/%name/vhost-user/50-qemu-gpu.json %files tools %defattr(-, root, root) @@ -1771,8 +1880,56 @@ fi %{_unitdir}/ksm.service %endif -%else # qemu-testsuite +%endif # qemu +# ------------------------------------------------------------------------ +%if "%{name}" == "qemu-testsuite" + %_datadir/qemu/check-report.tap -%endif + +%endif # qemu-testsuite +# ------------------------------------------------------------------------ +%if "%{name}" == "qemu-linux-user" + +%doc Changelog README VERSION +%license COPYING COPYING.LIB LICENSE +%_bindir/qemu-aarch64 +%_bindir/qemu-aarch64_be +%_bindir/qemu-alpha +%_bindir/qemu-arm +%_bindir/qemu-armeb +%_bindir/qemu-cris +%_bindir/qemu-hppa +%_bindir/qemu-i386 +%_bindir/qemu-m68k +%_bindir/qemu-microblaze +%_bindir/qemu-microblazeel +%_bindir/qemu-mips +%_bindir/qemu-mipsel +%_bindir/qemu-mipsn32 +%_bindir/qemu-mipsn32el +%_bindir/qemu-mips64 +%_bindir/qemu-mips64el +%_bindir/qemu-nios2 +%_bindir/qemu-or1k +%_bindir/qemu-ppc64abi32 +%_bindir/qemu-ppc64 +%_bindir/qemu-ppc64le +%_bindir/qemu-ppc +%_bindir/qemu-riscv32 +%_bindir/qemu-riscv64 +%_bindir/qemu-s390x +%_bindir/qemu-sh4 +%_bindir/qemu-sh4eb +%_bindir/qemu-sparc32plus +%_bindir/qemu-sparc64 +%_bindir/qemu-sparc +%_bindir/qemu-tilegx +%_bindir/qemu-x86_64 +%_bindir/qemu-xtensa +%_bindir/qemu-xtensaeb +%_bindir/qemu-*-binfmt +%_sbindir/qemu-binfmt-conf.sh + +%endif # qemu-linux-user %changelog diff --git a/refresh.sh b/refresh.sh new file mode 100644 index 0000000..b4de47d --- /dev/null +++ b/refresh.sh @@ -0,0 +1,40 @@ +#!/bin/bash + +set -e + +source ./config.sh + +echo "Updating the spec file and patches from the spec file template and the bundle" +echo "of bundles (bundles.tar.xz)" +echo "(If SUCCESS is not printed upon completion, see /tmp/refresh.log for issues)" + +# TEMPORARY! FOR NOW WE REQUIRE THESE LOCALLY TO DO WORK ON PACKAGE +REQUIRED_LOCAL_REPO_MAP=( + ~/git/qemu-opensuse + ~/git/qemu-seabios + ~/git/qemu-ipxe + ~/git/qemu-sgabios + ~/git/qemu-skiboot + ~/git/qemu-keycodemapdb +) + +# Validate that all the local repos that we currently have patches in are available +# TEMPORARY REQUIREMENT! +for entry in ${REQUIRED_LOCAL_REPO_MAP[@]}; do + if [[ -e $(readlink -f ${entry}) ]]; then + if $(git -C $entry branch| grep -F "$GIT_BRANCH" >/dev/null); then + : + else + echo "Didn't find the $GIT_BRANCH branch in repo at $entry" + exit + fi + else + echo "ERROR! For now, you need to have these local git repos available:" + echo ${REQUIRED_LOCAL_REPO_MAP[@]} + fi +done + +./bundle2spec.sh &> /tmp/refresh.log +echo "SUCCESS" +tail -9 /tmp/refresh.log + diff --git a/0018-roms-Makefile-pass-a-packaging-time.patch b/roms-Makefile-pass-a-packaging-timestamp.patch similarity index 87% rename from 0018-roms-Makefile-pass-a-packaging-time.patch rename to roms-Makefile-pass-a-packaging-timestamp.patch index 2221966..5022ea0 100644 --- a/0018-roms-Makefile-pass-a-packaging-time.patch +++ b/roms-Makefile-pass-a-packaging-timestamp.patch @@ -3,6 +3,8 @@ Date: Sat, 19 Nov 2016 08:06:30 -0700 Subject: roms/Makefile: pass a packaging timestamp to subpackages with date info +References: bsc#1011213 + Certain rom subpackages build from qemu git-submodules call the date program to include date information in the packaged binaries. This causes repeated builds of the package to be different, wkere the only @@ -12,17 +14,16 @@ prompted to update packages needlessly, we'll use the timestamp of the VERSION file as the packaging timestamp for all packages that build in a timestamp for whatever reason. -[BR: BSC#1011213] Signed-off-by: Bruce Rogers --- roms/Makefile | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/roms/Makefile b/roms/Makefile -index 1ff78b63bb..b4a3adccb2 100644 +index 775c963f9dd55bfa17772afb73f4..6efeb1ef7c38fb71556b762d6bf1 100644 --- a/roms/Makefile +++ b/roms/Makefile -@@ -49,6 +49,12 @@ SEABIOS_EXTRAVERSION="-prebuilt.qemu.org" +@@ -51,6 +51,12 @@ SEABIOS_EXTRAVERSION="-prebuilt.qemu.org" # EDK2_EFIROM = edk2/BaseTools/Source/C/bin/EfiRom @@ -35,7 +36,7 @@ index 1ff78b63bb..b4a3adccb2 100644 default: @echo "nothing is build by default" @echo "available build targets:" -@@ -91,7 +97,7 @@ build-seabios-config-%: config.% +@@ -99,7 +105,7 @@ build-seabios-config-%: config.% .PHONY: sgabios skiboot sgabios: @@ -44,7 +45,7 @@ index 1ff78b63bb..b4a3adccb2 100644 cp sgabios/sgabios.bin ../pc-bios -@@ -111,11 +117,13 @@ efi-rom-%: build-pxe-roms build-efi-roms $(EDK2_EFIROM) +@@ -119,11 +125,13 @@ efi-rom-%: build-pxe-roms build-efi-roms edk2-basetools build-pxe-roms: $(MAKE) -C ipxe/src CONFIG=qemu \ @@ -58,7 +59,7 @@ index 1ff78b63bb..b4a3adccb2 100644 CROSS_COMPILE=$(x86_64_cross_prefix) \ $(patsubst %,bin-i386-efi/%.efidrv,$(pxerom_targets)) \ $(patsubst %,bin-x86_64-efi/%.efidrv,$(pxerom_targets)) -@@ -137,7 +145,9 @@ $(EDK2_EFIROM): +@@ -145,7 +153,9 @@ edk2-basetools: EXTRA_LDFLAGS='$(EDK2_BASETOOLS_LDFLAGS)' slof: diff --git a/roms-Makefile.edk2-don-t-invoke-git-sinc.patch b/roms-Makefile.edk2-don-t-invoke-git-sinc.patch new file mode 100644 index 0000000..203e053 --- /dev/null +++ b/roms-Makefile.edk2-don-t-invoke-git-sinc.patch @@ -0,0 +1,22 @@ +From: Bruce Rogers +Date: Thu, 20 Jun 2019 18:45:36 -0600 +Subject: roms/Makefile.edk2: don't invoke git, since the tarball is complete + +Signed-off-by: Bruce Rogers +--- + roms/Makefile.edk2 | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/roms/Makefile.edk2 b/roms/Makefile.edk2 +index c2f2ff59d5b1d8b3fa394ed42c8d..98328b883c6578dd9591f069cd2d 100644 +--- a/roms/Makefile.edk2 ++++ b/roms/Makefile.edk2 +@@ -47,7 +47,7 @@ all: $(foreach flashdev,$(flashdevs),../pc-bios/edk2-$(flashdev).fd.bz2) \ + .INTERMEDIATE: $(foreach flashdev,$(flashdevs),../pc-bios/edk2-$(flashdev).fd) + + submodules: +- cd edk2 && git submodule update --init --force ++ cd edk2 + + # See notes on the ".NOTPARALLEL" target and the "+" indicator in + # "tests/uefi-test-tools/Makefile". diff --git a/roms-change-cross-compiler-naming-to-be-.patch b/roms-change-cross-compiler-naming-to-be-.patch new file mode 100644 index 0000000..4a8056d --- /dev/null +++ b/roms-change-cross-compiler-naming-to-be-.patch @@ -0,0 +1,30 @@ +From: Bruce Rogers +Date: Thu, 20 Jun 2019 17:58:37 -0600 +Subject: roms: change cross compiler naming to be suse specific + +Signed-off-by: Bruce Rogers +--- + roms/edk2-funcs.sh | 10 +++++++++- + 1 file changed, 9 insertions(+), 1 deletion(-) + +diff --git a/roms/edk2-funcs.sh b/roms/edk2-funcs.sh +index a9fae7ee891bc4cadbe1a3cb3f54..d70bed1729cf0a3ce41ab72df78e 100644 +--- a/roms/edk2-funcs.sh ++++ b/roms/edk2-funcs.sh +@@ -113,7 +113,15 @@ qemu_edk2_get_cross_prefix() + # no cross-compiler needed + : + else +- printf '%s-linux-gnu-\n' "$gcc_arch" ++ if [ "$emulation_target" == arm ]; then ++ printf '%s-suse-linux-gnueabi-\n' "$gcc_arch" ++ else ++ if [ "$gcc_arch" == i686 ]; then ++ printf '%s-suse-linux-\n' "i586" ++ else ++ printf '%s-suse-linux-\n' "$gcc_arch" ++ fi ++ fi + fi + } + diff --git a/roms-sgabios-Fix-csum8-to-be-built-by-ho.patch b/roms-sgabios-Fix-csum8-to-be-built-by-ho.patch new file mode 100644 index 0000000..4a22897 --- /dev/null +++ b/roms-sgabios-Fix-csum8-to-be-built-by-ho.patch @@ -0,0 +1,22 @@ +From: Bruce Rogers +Date: Thu, 27 Jun 2019 09:38:43 -0600 +Subject: roms/sgabios: Fix csum8 to be built by host compiler + +Signed-off-by: Bruce Rogers +Date: Thu, 27 Jun 2019 10:15:24 -0600 +Subject: seabios: switch to python3 as needed Switch to python3 the places where "python2" is explicitly referenced. (Ignore the uses of #!/usr/bin/env python, since that usage does the @@ -7,16 +9,17 @@ Include changes proposed by the python3 2to3 tool. Signed-off-by: Bruce Rogers --- - Makefile | 2 +- - scripts/acpi_extract.py | 2 +- - scripts/acpi_extract_preprocess.py | 2 +- - scripts/acpi_extract.py | 2 +- - scripts/layoutrom.py | 28 ++++++++++++++-------------- - scripts/vgafixup.py | 2 +- - 6 files changed, 19 insertions(+), 19 deletions(-) + Makefile | 2 +- + scripts/acpi_extract.py | 4 ++-- + scripts/acpi_extract_preprocess.py | 2 +- + scripts/layoutrom.py | 28 ++++++++++++++-------------- + scripts/vgafixup.py | 2 +- + 5 files changed, 19 insertions(+), 19 deletions(-) ---- a/Makefile -+++ b/Makefile +diff --git a/roms/seabios/Makefile b/roms/seabios/Makefile +index 629185ed9f7153fa08ba56c121ee..bd34cfc2394a9103fec2e951bb67 100644 +--- a/roms/seabios/Makefile ++++ b/roms/seabios/Makefile @@ -22,7 +22,7 @@ LD=$(CROSS_PREFIX)ld OBJCOPY=$(CROSS_PREFIX)objcopy OBJDUMP=$(CROSS_PREFIX)objdump @@ -26,24 +29,16 @@ Signed-off-by: Bruce Rogers CPP=cpp IASL:=iasl LD32BIT_FLAG:=-melf_i386 ---- a/scripts/acpi_extract.py -+++ b/scripts/acpi_extract.py +diff --git a/roms/seabios/scripts/acpi_extract.py b/roms/seabios/scripts/acpi_extract.py +index 86c6226c0f9aae4e4687cf216369..7ac054e626780253fcec78414b17 100755 +--- a/roms/seabios/scripts/acpi_extract.py ++++ b/roms/seabios/scripts/acpi_extract.py @@ -1,4 +1,4 @@ -#!/usr/bin/python2 +#!/usr/bin/python3 # Copyright (C) 2011 Red Hat, Inc., Michael S. Tsirkin # # This file may be distributed under the terms of the GNU GPLv3 license. ---- a/scripts/acpi_extract_preprocess.py -+++ b/scripts/acpi_extract_preprocess.py -@@ -1,4 +1,4 @@ --#!/usr/bin/python2 -+#!/usr/bin/python3 - # Copyright (C) 2011 Red Hat, Inc., Michael S. Tsirkin - # - # This file may be distributed under the terms of the GNU GPLv3 license. ---- a/scripts/acpi_extract.py -+++ b/scripts/acpi_extract.py @@ -348,7 +348,7 @@ def main(): # Pretty print output outstrs = ["/* DO NOT EDIT! This is an autogenerated file." @@ -53,8 +48,20 @@ Signed-off-by: Bruce Rogers otype = get_value_type(max(output[array])) outstrs.append("static unsigned %s %s[] = {" % (otype, array)) odata = [] ---- a/scripts/layoutrom.py -+++ b/scripts/layoutrom.py +diff --git a/roms/seabios/scripts/acpi_extract_preprocess.py b/roms/seabios/scripts/acpi_extract_preprocess.py +index b8e92a525730442815a0dce78f45..6963847a8b5d3e4bf9340a67afe2 100755 +--- a/roms/seabios/scripts/acpi_extract_preprocess.py ++++ b/roms/seabios/scripts/acpi_extract_preprocess.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/python2 ++#!/usr/bin/python3 + # Copyright (C) 2011 Red Hat, Inc., Michael S. Tsirkin + # + # This file may be distributed under the terms of the GNU GPLv3 license. +diff --git a/roms/seabios/scripts/layoutrom.py b/roms/seabios/scripts/layoutrom.py +index 6616721d1b584892074491b292ba..c6d003273990ae66ca62bc36fe07 100755 +--- a/roms/seabios/scripts/layoutrom.py ++++ b/roms/seabios/scripts/layoutrom.py @@ -81,8 +81,8 @@ def fitSections(sections, fillsections): section.finalsegloc = addr fixedsections.append((addr, section)) @@ -79,7 +86,7 @@ Signed-off-by: Bruce Rogers return firstfixed + BUILD_BIOS_ADDR -@@ -288,12 +288,12 @@ def doLayout(sections, config, genreloc) +@@ -288,12 +288,12 @@ def doLayout(sections, config, genreloc): size32flat = sec32fseg_start - sec32flat_start size32init = sec32flat_start - sec32init_start sizelow = li.sec32low_end - li.sec32low_start @@ -98,7 +105,7 @@ Signed-off-by: Bruce Rogers return li -@@ -312,7 +312,7 @@ def outXRefs(sections, useseg=0, exports +@@ -312,7 +312,7 @@ def outXRefs(sections, useseg=0, exportsyms=[], forcedelta=0): and (symbol.section.fileid != section.fileid or symbol.name != reloc.symbolname)): xrefs[reloc.symbolname] = symbol @@ -107,7 +114,7 @@ Signed-off-by: Bruce Rogers loc = symbol.section.finalloc if useseg: loc = symbol.section.finalsegloc -@@ -482,8 +482,8 @@ def checkRuntime(reloc, rsection, data, +@@ -482,8 +482,8 @@ def checkRuntime(reloc, rsection, data, chain): if section is None or '.init.' in section.name: return 0 if '.data.varinit.' in section.name: @@ -127,8 +134,10 @@ Signed-off-by: Bruce Rogers if (symbol.section is not None and symbol.section.finalloc is not None and '.data.varlow.' in symbol.section.name ---- a/scripts/vgafixup.py -+++ b/scripts/vgafixup.py +diff --git a/roms/seabios/scripts/vgafixup.py b/roms/seabios/scripts/vgafixup.py +index 2053cd5d78e5935658e1fecec074..dc662480f909e27958fa906d73b1 100644 +--- a/roms/seabios/scripts/vgafixup.py ++++ b/roms/seabios/scripts/vgafixup.py @@ -29,7 +29,7 @@ re_leal = re.compile( def handle_leal(sline): m = re_leal.match(sline[5:]) diff --git a/seabios-use-python2-explicitly-as-needed.patch b/seabios-use-python2-explicitly-as-needed.patch index 05baafb..53803d4 100644 --- a/seabios-use-python2-explicitly-as-needed.patch +++ b/seabios-use-python2-explicitly-as-needed.patch @@ -1,4 +1,6 @@ -seabios: use python2 explicitly as needed +From: Bruce Rogers +Date: Thu, 27 Jun 2019 10:15:24 -0600 +Subject: seabios: use python2 explicitly as needed Switch to python2 the places where "python" is explicitly referenced. (Ignore the uses of #!/usr/bin/env python, since that usage does the @@ -6,13 +8,15 @@ right thing in our build environment). Signed-off-by: Bruce Rogers --- - Makefile | 2 +- - scripts/acpi_extract.py | 2 +- - scripts/acpi_extract_preprocess.py | 2 +- + Makefile | 2 +- + scripts/acpi_extract.py | 2 +- + scripts/acpi_extract_preprocess.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) ---- a/Makefile -+++ b/Makefile +diff --git a/roms/seabios/Makefile b/roms/seabios/Makefile +index d2d11dbef87521d82c30a7c6f0bf..629185ed9f7153fa08ba56c121ee 100644 +--- a/roms/seabios/Makefile ++++ b/roms/seabios/Makefile @@ -22,7 +22,7 @@ LD=$(CROSS_PREFIX)ld OBJCOPY=$(CROSS_PREFIX)objcopy OBJDUMP=$(CROSS_PREFIX)objdump @@ -22,16 +26,20 @@ Signed-off-by: Bruce Rogers CPP=cpp IASL:=iasl LD32BIT_FLAG:=-melf_i386 ---- a/scripts/acpi_extract.py -+++ b/scripts/acpi_extract.py +diff --git a/roms/seabios/scripts/acpi_extract.py b/roms/seabios/scripts/acpi_extract.py +index 3ed863b6a79412a1276bb905d08f..86c6226c0f9aae4e4687cf216369 100755 +--- a/roms/seabios/scripts/acpi_extract.py ++++ b/roms/seabios/scripts/acpi_extract.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 # Copyright (C) 2011 Red Hat, Inc., Michael S. Tsirkin # # This file may be distributed under the terms of the GNU GPLv3 license. ---- a/scripts/acpi_extract_preprocess.py -+++ b/scripts/acpi_extract_preprocess.py +diff --git a/roms/seabios/scripts/acpi_extract_preprocess.py b/roms/seabios/scripts/acpi_extract_preprocess.py +index 2698118406d97c164783335c7fb6..b8e92a525730442815a0dce78f45 100755 +--- a/roms/seabios/scripts/acpi_extract_preprocess.py ++++ b/roms/seabios/scripts/acpi_extract_preprocess.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 diff --git a/sgabios-stable-buildid.patch b/sgabios-Makefile-fix-issues-of-build-rep.patch similarity index 57% rename from sgabios-stable-buildid.patch rename to sgabios-Makefile-fix-issues-of-build-rep.patch index 8f9dfe2..e9168fe 100644 --- a/sgabios-stable-buildid.patch +++ b/sgabios-Makefile-fix-issues-of-build-rep.patch @@ -1,4 +1,9 @@ -sgabios:Makefile: fix issues of build reproducibility +From: Bruce Rogers +Date: Thu, 27 Jun 2019 10:15:24 -0600 +Subject: sgabios:Makefile: fix issues of build reproducibility +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit It is desirable to produce the same bits on subsequent builds when the actual code of the package doesn't @@ -7,11 +12,13 @@ change. (bsc#1011213) Signed-off-by: Bruce Rogers Signed-off-by: Andreas Färber --- - Makefile | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) + Makefile | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) ---- a/Makefile -+++ b/Makefile +diff --git a/roms/sgabios/Makefile b/roms/sgabios/Makefile +index 970b0ff37a1ae58e98d0527da215..d2934c9f678dadfae5201b8507e9 100644 +--- a/roms/sgabios/Makefile ++++ b/roms/sgabios/Makefile @@ -14,10 +14,10 @@ # # $Id$ diff --git a/sgabios-fix-cross-build.patch b/sgabios-fix-cross-build.patch deleted file mode 100644 index 996fed6..0000000 --- a/sgabios-fix-cross-build.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/Makefile 2019-02-22 09:46:54.768180093 +0100 -+++ b/Makefile 2019-02-22 09:47:05.544250815 +0100 -@@ -55,7 +55,7 @@ sgabios.elf: .depend $(OBJS) $(LDSCRIPT) - $(LD) $(LDFLAGS) $(OBJS) -o $@ - - csum8: csum8.c -- $(CC) -Wall -O2 -o $@ $< -+ $(HOSTCC) -Wall -O2 -o $@ $< - - sgabios.o: buildinfo - diff --git a/skiboot-gcc9-compat.patch b/skiboot-gcc9-compat.patch deleted file mode 100644 index 680b85b..0000000 --- a/skiboot-gcc9-compat.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/Makefile.main b/Makefile.main -index 19378789..bbfc552a 100644 ---- a/Makefile.main -+++ b/Makefile.main -@@ -75,6 +75,7 @@ CPPFLAGS += -DDEBUG -DCCAN_LIST_DEBUG - endif - - CFLAGS := -fno-strict-aliasing -pie -fpie -fno-pic -mbig-endian -m64 -+CFLAGS += -Wno-address-of-packed-member - CFLAGS += -mcpu=power7 - CFLAGS += -Wl,--oformat,elf64-powerpc - CFLAGS += $(call try-cflag,$(CC),-ffixed-r13) -diff --git a/hdata/vpd.c b/hdata/vpd.c -index 129b5062..ce17c1dc 100644 ---- a/hdata/vpd.c -+++ b/hdata/vpd.c -@@ -388,8 +388,7 @@ static void vpd_vini_parse(struct dt_node *node, - } else { - dt_add_property_string(node, "description", "Unknown"); - prlog(PR_WARNING, -- "VPD: CCIN desc not available for: %s\n", -- (char *)kw); -+ "VPD: CCIN desc not available for: NULL\n"); - } - } - } diff --git a/slirp-fix-heap-overflow-in-ip_reass-on-big-packet-input.patch b/slirp-fix-heap-overflow-in-ip_reass-on-big-packet-input.patch deleted file mode 100644 index b16be8c..0000000 --- a/slirp-fix-heap-overflow-in-ip_reass-on-big-packet-input.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 126c04acbabd7ad32c2b018fe10dfac2a3bc1210 Mon Sep 17 00:00:00 2001 -From: Samuel Thibault -Date: Sun, 28 Jul 2019 19:11:24 +0200 -Subject: [PATCH] Fix heap overflow in ip_reass on big packet input - -When the first fragment does not fit in the preallocated buffer, q will -already be pointing to the ext buffer, so we mustn't try to update it. - -Signed-off-by: Samuel Thibault -(cherry picked from commit 126c04acbabd7ad32c2b018fe10dfac2a3bc1210) -[LY: CVE-2019-14378 BSC#1143794] -Signed-off-by: Liang Yan ---- - src/ip_input.c | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - ---- a/src/ip_input.c -+++ b/src/ip_input.c -@@ -331,6 +331,8 @@ insert: - q = fp->frag_link.next; - m = dtom(slirp, q); - -+ int was_ext = m->m_flags & M_EXT; -+ - q = (struct ipasfrag *) q->ipf_next; - while (q != (struct ipasfrag*)&fp->frag_link) { - struct mbuf *t = dtom(slirp, q); -@@ -353,7 +355,7 @@ insert: - * the old buffer (in the mbuf), so we must point ip - * into the new buffer. - */ -- if (m->m_flags & M_EXT) { -+ if (!was_ext && m->m_flags & M_EXT) { - int delta = (char *)q - m->m_dat; - q = (struct ipasfrag *)(m->m_ext + delta); - } diff --git a/ipxe-stub-out-the-SAN-req-s-in-int13.patch b/stub-out-the-SAN-req-s-in-int13.patch similarity index 87% rename from ipxe-stub-out-the-SAN-req-s-in-int13.patch rename to stub-out-the-SAN-req-s-in-int13.patch index 859ed30..a1dd6d4 100644 --- a/ipxe-stub-out-the-SAN-req-s-in-int13.patch +++ b/stub-out-the-SAN-req-s-in-int13.patch @@ -1,7 +1,8 @@ -From 85cf819ab57556851df13a0cd74fff495feceb3c Mon Sep 17 00:00:00 2001 From: Bruce Rogers Date: Mon, 24 Jul 2017 10:44:24 -0600 -Subject: [PATCH] stub out the SAN req's in int13 +Subject: stub out the SAN req's in int13 + +Include-If: %if 0%{?patch-possibly-applied-elsewhere} We need to find some code or data to change so we can make the rom fit into the legacy size requirements. Comment out SAN support, and @@ -12,10 +13,10 @@ Signed-off-by: Bruce Rogers src/arch/x86/interface/pcbios/int13.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) -diff --git a/src/arch/x86/interface/pcbios/int13.c b/src/arch/x86/interface/pcbios/int13.c -index ca789a0d..40c61419 100644 ---- a/src/arch/x86/interface/pcbios/int13.c -+++ b/src/arch/x86/interface/pcbios/int13.c +diff --git a/roms/ipxe/src/arch/x86/interface/pcbios/int13.c b/roms/ipxe/src/arch/x86/interface/pcbios/int13.c +index ca789a0d154e1fe3c2508a3aefea..40c61419c0c134120d1ce7c81a1e 100644 +--- a/roms/ipxe/src/arch/x86/interface/pcbios/int13.c ++++ b/roms/ipxe/src/arch/x86/interface/pcbios/int13.c @@ -23,6 +23,12 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); @@ -103,6 +104,3 @@ index ca789a0d..40c61419 100644 PROVIDE_SANBOOT ( pcbios, san_boot, int13_boot ); PROVIDE_SANBOOT ( pcbios, san_describe, int13_describe ); +#pragma GCC diagnostic pop --- -2.16.3 - diff --git a/supported.arm.txt b/supported.arm.txt index c84d848..285e5fa 100644 --- a/supported.arm.txt +++ b/supported.arm.txt @@ -230,16 +230,9 @@ Deprecated, Superseded, Modified and Dropped Features host_net_add host_net_remove -- These previously unsupported QMP command is now supported under a new name: - x-block-dirty-bitmap-disable (use block-dirty-bitmap-disable instead) - x-block-dirty-bitmap-enable (use block-dirty-bitmap-enable instead) - x-block-dirty-bitmap-merge (use block-dirty-bitmap-merge instead) - x-block-latency-histogram-set (use block-latency-histogram-set instead) +- This previously unsupported QMP command is now supported under a new name: x-blockdev-create (use blockdev-create instead) -- This previously unsupported QMP command is no longer recognized: - x-nbd-server-add-bitmap - - Due to upstream's decision to no longer fully support the qed storage format going forward (since it really provides no benefit over qcow2 and is now no longer actively maintained upstream), creating qed storage images is no longer @@ -479,9 +472,6 @@ QEMU Command-Line and Monitor Syntax and Support block-commit block-dirty-bitmap-add block-dirty-bitmap-clear - block-dirty-bitmap-disable - block-dirty-bitmap-enable - block-dirty-bitmap-merge block-dirty-bitmap-remove block_passwd block_resize @@ -551,7 +541,6 @@ QEMU Command-Line and Monitor Syntax and Support query-cpu-model-expansion query-cpus query-cpus-fast - query-current-machine query-display-options query-dump query-dump-guest-memory-capability @@ -810,13 +799,16 @@ QEMU Command-Line and Monitor Syntax and Support query-colo-status query-sev query-sev-launch-measure + x-block-dirty-bitmap-disable + x-block-dirty-bitmap-enable + x-block-dirty-bitmap-merge x-blockdev-change x-blockdev-insert-medium x-blockdev-remove-medium - x-blockdev-reopen x-colo-lost-heartbeat x-debug-block-dirty-bitmap-sha256 x-exit-preconfig + x-nbd-server-add-bitmap xen-colo-do-checkpoint xen-load-devices-state xen-save-devices-state diff --git a/supported.ppc.txt b/supported.ppc.txt index b2bb148..6637378 100644 --- a/supported.ppc.txt +++ b/supported.ppc.txt @@ -232,16 +232,9 @@ Deprecated, Superseded, Modified and Dropped Features host_net_add host_net_remove -- These previously unsupported QMP command is now supported under a new name: - x-block-dirty-bitmap-disable (use block-dirty-bitmap-disable instead) - x-block-dirty-bitmap-enable (use block-dirty-bitmap-enable instead) - x-block-dirty-bitmap-merge (use block-dirty-bitmap-merge instead) - x-block-latency-histogram-set (use block-latency-histogram-set instead) +- This previously unsupported QMP command is now supported under a new name: x-blockdev-create (use blockdev-create instead) -- This previously unsupported QMP command is no longer recognized: - x-nbd-server-add-bitmap - - Due to upstream's decision to no longer fully support the qed storage format going forward (since it really provides no benefit over qcow2 and is now no longer actively maintained upstream), creating qed storage images is no longer @@ -474,9 +467,6 @@ QEMU Command-Line and Monitor Syntax and Support block-commit block-dirty-bitmap-add block-dirty-bitmap-clear - block-dirty-bitmap-disable - block-dirty-bitmap-enable - block-dirty-bitmap-merge block-dirty-bitmap-remove block_passwd block_resize @@ -544,7 +534,6 @@ QEMU Command-Line and Monitor Syntax and Support query-cpu-model-expansion query-cpus query-cpus-fast - query-current-machine query-display-options query-dump query-dump-guest-memory-capability @@ -751,13 +740,16 @@ QEMU Command-Line and Monitor Syntax and Support query-colo-status query-sev query-sev-launch-measure + x-block-dirty-bitmap-disable + x-block-dirty-bitmap-enable + x-block-dirty-bitmap-merge x-blockdev-change x-blockdev-insert-medium x-blockdev-remove-medium - x-blockdev-reopen x-colo-lost-heartbeat x-exit-preconfig x-debug-block-dirty-bitmap-sha256 + x-nbd-server-add-bitmap xen-colo-do-checkpoint xen-load-devices-state xen-save-devices-state diff --git a/supported.s390.txt b/supported.s390.txt index b4f2271..c3d8789 100644 --- a/supported.s390.txt +++ b/supported.s390.txt @@ -227,16 +227,9 @@ Deprecated, Superseded, Modified and Dropped Features usb_add usb_del -- These previously unsupported QMP command is now supported under a new name: - x-block-dirty-bitmap-disable (use block-dirty-bitmap-disable instead) - x-block-dirty-bitmap-enable (use block-dirty-bitmap-enable instead) - x-block-dirty-bitmap-merge (use block-dirty-bitmap-merge instead) - x-block-latency-histogram-set (use block-latency-histogram-set instead) +- This previously unsupported QMP command is now supported under a new name: x-blockdev-create (use blockdev-create instead) -- This previously unsupported QMP command is no longer recognized: - x-nbd-server-add-bitmap - - Due to upstream's decision to no longer fully support the qed storage format going forward (since it really provides no benefit over qcow2 and is now no longer actively maintained upstream), creating qed storage images is no longer @@ -470,9 +463,6 @@ QEMU Command-Line and Monitor Syntax and Support block-commit block-dirty-bitmap-add block-dirty-bitmap-clear - block-dirty-bitmap-disable - block-dirty-bitmap-enable - block-dirty-bitmap-merge block-dirty-bitmap-remove block_passwd block_resize @@ -542,7 +532,6 @@ QEMU Command-Line and Monitor Syntax and Support query-cpu-model-expansion query-cpus query-cpus-fast - query-current-machine query-display-options query-dump query-dump-guest-memory-capability @@ -766,13 +755,16 @@ QEMU Command-Line and Monitor Syntax and Support query-tpm query-tpm-models query-tpm-types + x-block-dirty-bitmap-disable + x-block-dirty-bitmap-enable + x-block-dirty-bitmap-merge x-blockdev-change x-blockdev-insert-medium x-blockdev-remove-medium - x-blockdev-reopen x-colo-lost-heartbeat x-debug-block-dirty-bitmap-sha256 x-exit-preconfig + x-nbd-server-add-bitmap xen-colo-do-checkpoint xen-load-devices-state xen-save-devices-state diff --git a/supported.x86.txt b/supported.x86.txt index b6110f5..21b9eeb 100644 --- a/supported.x86.txt +++ b/supported.x86.txt @@ -311,17 +311,10 @@ Deprecated, Superseded, Modified and Dropped Features host_net_add host_net_remove -- These previously unsupported QMP command is now supported under a new name: - x-block-dirty-bitmap-disable (use block-dirty-bitmap-disable instead) - x-block-dirty-bitmap-enable (use block-dirty-bitmap-enable instead) - x-block-dirty-bitmap-merge (use block-dirty-bitmap-merge instead) - x-block-latency-histogram-set (use block-latency-histogram-set instead) +- This previously unsupported QMP command is now supported under a new name: x-blockdev-create (use blockdev-create instead) x-input-send-event (use input-send-event instead) -- This previously unsupported QMP command is no longer recognized: - x-nbd-server-add-bitmap - - Due to the lack of migration support (mainly due to ahci interface issues) and other unstable interface issues, earlier versions of the q35 machine type are not supported in this release. The current q35 machine type is however now @@ -593,9 +586,6 @@ QEMU Command-Line and Monitor Syntax and Support block-commit block-dirty-bitmap-add block-dirty-bitmap-clear - block-dirty-bitmap-disable - block-dirty-bitmap-enable - block-dirty-bitmap-merge block-dirty-bitmap-remove block_passwd block_resize @@ -665,7 +655,6 @@ QEMU Command-Line and Monitor Syntax and Support query-cpu-model-expansion query-cpus query-cpus-fast - query-current-machine query-display-options query-dump query-dump-guest-memory-capability @@ -858,12 +847,15 @@ QEMU Command-Line and Monitor Syntax and Support query-colo-status query-sev query-sev-launch-measure + x-block-dirty-bitmap-disable + x-block-dirty-bitmap-enable + x-block-dirty-bitmap-merge x-blockdev-change x-blockdev-insert-medium x-blockdev-remove-medium - x-blockdev-reopen x-colo-lost-heartbeat x-debug-block-dirty-bitmap-sha256 x-exit-preconfig + x-nbd-server-add-bitmap xen-colo-do-checkpoint xen-set-replication diff --git a/0030-tests-block-io-test-130-needs-some-.patch b/tests-block-io-test-130-needs-some-delay.patch similarity index 93% rename from 0030-tests-block-io-test-130-needs-some-.patch rename to tests-block-io-test-130-needs-some-delay.patch index e932e05..9e78849 100644 --- a/0030-tests-block-io-test-130-needs-some-.patch +++ b/tests-block-io-test-130-needs-some-delay.patch @@ -11,7 +11,7 @@ Signed-off-by: Bruce Rogers 1 file changed, 2 insertions(+) diff --git a/tests/qemu-iotests/130 b/tests/qemu-iotests/130 -index 77ad2aa13a..14a2b759f6 100755 +index 77ad2aa13a06094f26d2c8991e48..14a2b759f628e8ec0030127e9dad 100755 --- a/tests/qemu-iotests/130 +++ b/tests/qemu-iotests/130 @@ -63,6 +63,7 @@ echo diff --git a/0035-tests-change-error-message-in-test-.patch b/tests-change-error-message-in-test-162.patch similarity index 93% rename from 0035-tests-change-error-message-in-test-.patch rename to tests-change-error-message-in-test-162.patch index ba2631c..87e1ca5 100644 --- a/0035-tests-change-error-message-in-test-.patch +++ b/tests-change-error-message-in-test-162.patch @@ -13,7 +13,7 @@ Signed-off-by: Bruce Rogers 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/qemu-iotests/162.out b/tests/qemu-iotests/162.out -index 3c5be2c569..390cca9027 100644 +index 3c5be2c5699a225cc80bbdc40bec..390cca9027e918f1a0d252753ce5 100644 --- a/tests/qemu-iotests/162.out +++ b/tests/qemu-iotests/162.out @@ -1,7 +1,7 @@ diff --git a/0029-tests-qemu-iotests-Triple-timeout-o.patch b/tests-qemu-iotests-Triple-timeout-of-i-o.patch similarity index 93% rename from 0029-tests-qemu-iotests-Triple-timeout-o.patch rename to tests-qemu-iotests-Triple-timeout-of-i-o.patch index 4d47f36..bdc1ca7 100644 --- a/0029-tests-qemu-iotests-Triple-timeout-o.patch +++ b/tests-qemu-iotests-Triple-timeout-of-i-o.patch @@ -13,7 +13,7 @@ Signed-off-by: Bruce Rogers 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/qemu-iotests/common.qemu b/tests/qemu-iotests/common.qemu -index 8d2021a7eb..e19ea76fff 100644 +index 8d2021a7eb0c7085802c6f4c0597..e19ea76fff5789e4bc5b925bdcb9 100644 --- a/tests/qemu-iotests/common.qemu +++ b/tests/qemu-iotests/common.qemu @@ -76,7 +76,7 @@ _timed_wait_for() diff --git a/update_git.sh b/update_git.sh index 3376496..81976a6 100644 --- a/update_git.sh +++ b/update_git.sh @@ -1,381 +1,2 @@ #!/bin/bash -# -# Instead of a quilt workflow, we use a git tree that contains -# all the commits on top of a qemu source tarball. -# -# When updating this package, just either update the git tree -# below (use rebase!) or change the tree path and use your own -# -# That way we can easily rebase against the next stable release -# when it comes. - -set -e - -# The next few VARIABLES may be edited (or uncommented) as required: - -# Here is where we manage the patchqueue on top of what comes from upstream -GIT_LOCAL_TREE=~/git/qemu-opensuse -# The commit upon which our patchqueue gets rebased. The special value LATEST -# may be used to "automatically" track the upstream development tree in the -# master branch -GIT_UPSTREAM_COMMIT_ISH=v4.0.0 -if [ "$GIT_UPSTREAM_COMMIT_ISH" = "LATEST" ]; then - echo "Using LATEST upstream commit as base for tarball and patch queue" - GIT_BRANCH=master -fi -# otherwise we specify the branch to use, eg: -# WARNING: If transitioning from using LATEST to not, MANUALLY re-set the -# tarball present -GIT_BRANCH=opensuse-4.0 -# This is used for the automated development branch tracking -NEXT_RELEASE_IS_MAJOR=1 - -# The shared openSUSE specific git repo, on which $GIT_LOCAL_TREE is based -GIT_TREE=git://github.com/openSUSE/qemu.git - -# Temporary directories used by this script -GIT_DIR=/dev/shm/qemu-factory-git-dir -CMP_DIR=/dev/shm/qemu-factory-cmp-dir - -rm -rf $GIT_DIR -rm -rf $CMP_DIR -rm -f checkpatch.log - -if [ "$GIT_UPSTREAM_COMMIT_ISH" = "LATEST" ]; then - # This is just a safety valve in case the above gets edited wrong: - if ! [ "$GIT_BRANCH" = "master" ]; then - echo "LATEST implies master branch, please fix configuration" - exit - fi - (cd $GIT_LOCAL_TREE && git remote update upstream) -fi - -BASE_RE="qemu-[[:digit:]]+(\.[[:digit:]]+){2}(-rc[[:digit:]])?" -EXTRA_RE="\+git\.[[:digit:]]+\.([[:xdigit:]]+)" -SUFFIX_RE="\.tar\.xz" -SIG_SUFFIX_RE="\.tar\.xz\.sig" -QEMU_TARBALL=($(find -maxdepth 1 -type f -regextype posix-extended -regex \ - "\./$BASE_RE($EXTRA_RE)?$SUFFIX_RE" -printf "%f ")) -QEMU_TARBALL_SIG=($(find -maxdepth 1 -type f -regextype posix-extended -regex \ - "\./$BASE_RE($EXTRA_RE)?$SIG_SUFFIX_RE" -printf "%f ")) - -if [ ${#QEMU_TARBALL[@]} -gt 1 ]; then - echo "Multiple qemu tarballs detected. Please clean up" - exit -fi -if [ ${#QEMU_TARBALL_SIG[@]} -gt 1 ]; then - echo "Multiple qemu tarballs signature files detected. Please clean up" - exit -fi -# It's ok for either of these to be empty when using "LATEST" -OLD_SOURCE_VERSION_AND_EXTRA=$(echo $QEMU_TARBALL 2>/dev/null | head --bytes=-8\ - | cut --bytes=6-) -VERSION_EXTRA=$(echo $OLD_SOURCE_VERSION_AND_EXTRA|awk -F+ '{if ($2) print \ - "+"$2}') -if [ "$OLD_SOURCE_VERSION_AND_EXTRA" = "" ]; then - echo "Warning: No tarball found" -fi - -if [ "$GIT_UPSTREAM_COMMIT_ISH" = "LATEST" ]; then - if [[ $QEMU_TARBALL =~ $BASE_RE$EXTRA_RE$SUFFIX_RE ]]; then - OLD_COMMIT_ISH=${BASH_REMATCH[3]} - else - #Assume release (or release candidate) tarball with equivalent tag: - OLD_COMMIT_ISH=$(cd $GIT_LOCAL_TREE && git rev-list --abbrev-commit \ - --abbrev=9 -1 v$OLD_SOURCE_VERSION_AND_EXTRA) - fi - if [ ${#QEMU_TARBALL_SIG[@]} -ne 0 ]; then - echo "INFO: Ignoring signature file: $QEMU_TARBALL_SIG" - QEMU_TARBALL_SIG= - fi - NEW_COMMIT_ISH=$(cd $GIT_LOCAL_TREE && git rev-parse --short=9 \ - upstream/$GIT_BRANCH) - NOW_SECONDS=$(date +%s) - - git clone -ls $GIT_LOCAL_TREE $GIT_DIR -b $GIT_BRANCH &>/dev/null - if [ "$OLD_COMMIT_ISH" != "$NEW_COMMIT_ISH" ]; then - echo "Please wait..." - (cd $GIT_DIR && git remote add upstream \ - git://git.qemu-project.org/qemu.git &>/dev/null) - (cd $GIT_DIR && git remote update upstream &>/dev/null) - (cd $GIT_DIR && git checkout $NEW_COMMIT_ISH &>/dev/null) - # TODO: starting patch number for submodules are as follows: - # 1100: roms/seabios - # 1200: roms/ipxe - # 1300: roms/sgabios - # 1400: roms/SLOF - # 1500: roms/skiboot - # 1600: ui/keycodemapdb - # 1700: roms/openbios - (cd $GIT_DIR && git submodule update --init --recursive &>/dev/null) - VERSION_EXTRA=+git.$NOW_SECONDS.$NEW_COMMIT_ISH - fi - QEMU_VERSION=$(cat $GIT_DIR/VERSION) - MAJOR_VERSION=$(echo $QEMU_VERSION|awk -F. '{print $1}') - MINOR_VERSION=$(echo $QEMU_VERSION|awk -F. '{print $2}') - X=$(echo $QEMU_VERSION|awk -F. '{print $3}') - # 0 = release, 50 = development cycle, 90..99 equate to release candidates - if [ "$X" != "0" -a "$X" != "50" ]; then - if [ "$NEXT_RELEASE_IS_MAJOR" == "0" ]; then - SOURCE_VERSION=$MAJOR_VERSION.$[$MINOR_VERSION+1].0-rc$[X-90] - else - SOURCE_VERSION=$[$MAJOR_VERSION+1].0.0-rc$[X-90] - fi - else - SOURCE_VERSION=$MAJOR_VERSION.$MINOR_VERSION.$X - fi - if [ "$OLD_COMMIT_ISH" != "$NEW_COMMIT_ISH" ]; then - if (cd $GIT_LOCAL_TREE && git describe --exact-match $NEW_COMMIT_ISH \ - &>/dev/null); then - if [ "$X" = "50" ]; then - echo "Ignoring non-standard tag" - else - # there is no VERSION_EXTRA - VERSION_EXTRA= - fi - fi - (cd $GIT_DIR/roms/seabios && git describe --tags --long --dirty > \ - .version) - (cd $GIT_DIR/roms/skiboot && ./make_version.sh > .version) - echo "Almost there..." - tar --exclude=.git --transform "s,$GIT_DIR,qemu-$SOURCE_VERSION," \ - -Pcf qemu-$SOURCE_VERSION$VERSION_EXTRA.tar $GIT_DIR - echo "New tarball created. Attempting rebase..." - if ! (cd $GIT_DIR && git rebase upstream/$GIT_BRANCH $GIT_BRANCH); then - echo "rebasing master on upstream/master needs human assistance." \ - "Exiting" - (cd $GIT_DIR && git rebase --abort) - rm qemu-$SOURCE_VERSION$VERSION_EXTRA.tar - exit - fi - echo "WARNING: To rebase, master is being checked out" - if ! (cd $GIT_LOCAL_TREE && git rebase upstream/$GIT_BRANCH \ - $GIT_BRANCH); then - echo "WARNING: Script error? rebasing master on upstream/master" \ - "succeeded in temp" - echo "dir but failed in local tree! Please investigate" - (cd $GIT_LOCAL_TREE && git rebase --abort) - rm qemu-$SOURCE_VERSION$VERSION_EXTRA.tar - exit - fi - echo "Rebase successful" - osc rm --force qemu-$OLD_SOURCE_VERSION_AND_EXTRA.tar.xz &>/dev/null ||\ - true - osc rm --force qemu-$OLD_SOURCE_VERSION_AND_EXTRA.tar.xz.sig \ - &>/dev/null || true - unset QEMU_TARBALL_SIG - xz -T 0 qemu-$SOURCE_VERSION$VERSION_EXTRA.tar - osc add qemu-$SOURCE_VERSION$VERSION_EXTRA.tar.xz - fi - # We're done with GIT_UPSTREAM_COMMIT_ISH carrying the special value LATEST - GIT_UPSTREAM_COMMIT_ISH=$NEW_COMMIT_ISH - WRITE_LOG=0 -else # not based on LATEST upstream master, rather any upstream commitish - if [ "$OLD_SOURCE_VERSION_AND_EXTRA" = "" ]; then - echo "Failure: tarball required which corresponds to commitish:" \ - "$GIT_UPSTREAM_COMMITISH" - exit - fi - if [ -d "$GIT_LOCAL_TREE" ]; then - echo "Processing local git tree branch: $GIT_BRANCH, using commitish:"\ - "$GIT_UPSTREAM_COMMIT_ISH" - if ! (cd $GIT_LOCAL_TREE && git show-branch $GIT_BRANCH &>/dev/null) - then - echo "Error: Branch $GIT_BRANCH not found - please create a remote"\ - "tracking branch of origin/$GIT_BRANCH" - exit - fi -# check if we should also do submodule's here as well - git clone -ls $GIT_LOCAL_TREE $GIT_DIR -b $GIT_BRANCH &>/dev/null - if ! (cd $GIT_LOCAL_TREE && git remote show upstream &>/dev/null); then - echo "Remote for upstream git tree not found. Next time add remote"\ - "named upstream for git://git.qemu.org/qemu.git and update" - (cd $GIT_DIR && git remote add upstream \ - git://git.qemu-project.org/qemu.git) - (cd $GIT_DIR && git remote update) - fi - else - echo "Processing $GIT_BRANCH branch of remote git tree, using"\ - "commitish: $GIT_UPSTREAM_COMMIT_ISH" - echo "(For fast processing, consider establishing a local git tree"\ - "at $GIT_LOCAL_TREE)" - git clone $GIT_TREE $GIT_DIR -b $GIT_BRANCH - (cd $GIT_DIR && git remote add upstream \ - git://git.qemu-project.org/qemu.git) - (cd $GIT_DIR && git remote update) - fi - QEMU_VERSION=$(cat $GIT_DIR/VERSION) - SOURCE_VERSION=$OLD_SOURCE_VERSION_AND_EXTRA - NEW_COMMIT_ISH= - WRITE_LOG=1 -fi - -(cd $GIT_DIR && git format-patch -N --suffix= --no-renames -o $CMP_DIR -k \ - --stat=72 --indent-heuristic --zero-commit --no-signature \ - $GIT_UPSTREAM_COMMIT_ISH >/dev/null) - -check_patch() -{ - if [ ! -e checkpatch.pl ]; then - tar Jxf qemu-$SOURCE_VERSION$VERSION_EXTRA.tar.xz \ - qemu-$SOURCE_VERSION/scripts/checkpatch.pl --strip-components=2 - fi - ./checkpatch.pl --no-tree --terse --no-summary --summary-file --patch $1 >>\ - checkpatch.log || true -} - -rm -rf $GIT_DIR - -( - CHANGED_COUNT=0 - UNCHANGED_COUNT=0 - DELETED_COUNT=0 - ADDED_COUNT=0 - TOTAL_COUNT=0 - - shopt -s nullglob - - # limit patch base file name to 40 chars ('30' is for path length) - for i in $CMP_DIR/*; do - tail -n +2 $i > $CMP_DIR/${i:30:40}.patch - rm $i - done - - for i in 0???-*.patch; do - if [ -e $CMP_DIR/$i ]; then - if cmp -s $CMP_DIR/$i $i; then - rm $CMP_DIR/$i - let UNCHANGED_COUNT+=1 - else - mv $CMP_DIR/$i . - check_patch $i - let CHANGED_COUNT+=1 - let TOTAL_COUNT+=1 - fi - else - osc rm --force $i - echo " ${i##*/}" >> qemu.changes.deleted - let DELETED_COUNT+=1 - let TOTAL_COUNT+=1 - fi - done - - for i in $CMP_DIR/*; do - mv $i . - osc add ${i##*/} - check_patch ${i##*/} - echo " ${i##*/}" >> qemu.changes.added - let ADDED_COUNT+=1 - let TOTAL_COUNT+=1 - done - rm -f checkpatch.pl - if [ -s checkpatch.log ]; then - echo "WARNING: Issues reported by qemu patch checker. Please handle" \ - "ERROR items now:" - cat checkpatch.log - fi - rm -f checkpatch.log - if [ "$TOTAL_COUNT" != "0" -a "$VERSION_EXTRA" != "" -a "$OLD_COMMIT_ISH" =\ - "$NEW_COMMIT_ISH" ]; then - # Patches changed, so update the version using current time - VERSION_EXTRA=+git.$NOW_SECONDS.$OLD_COMMIT_ISH - osc mv qemu-$OLD_SOURCE_VERSION_AND_EXTRA.tar.xz \ - qemu-$SOURCE_VERSION$VERSION_EXTRA.tar.xz - osc add qemu-$SOURCE_VERSION$VERSION_EXTRA.tar.xz - fi - - echo "QEMU version file: $QEMU_VERSION" - echo "QEMU source version: $SOURCE_VERSION" - echo "QEMU version extra: $VERSION_EXTRA" - - SEABIOS_VERSION=$(tar JxfO qemu-$SOURCE_VERSION$VERSION_EXTRA.tar.xz \ - qemu-$SOURCE_VERSION/roms/seabios/.version | cut -d '-' -f 2) - - 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 - NUM=${i%%-*} - echo -e "Patch$NUM: $i" - done - elif [ "$line" = "PATCH_EXEC" ]; then - for i in 0???-*.patch; do - NUM=${i%%-*} - echo "%patch$NUM -p1" - done - elif [ "$line" = "QEMU_VERSION" ]; then - echo "%define qemuver $QEMU_VERSION$VERSION_EXTRA" - echo "%define srcver $SOURCE_VERSION$VERSION_EXTRA" - echo "Version: %qemuver" - elif [[ "$line" =~ ^Source: ]]; then - echo "$line" - if [ ${#QEMU_TARBALL_SIG[@]} -eq 1 ]; then - # We assume the signature file corresponds - just add .sig - echo "$line.sig"|sed 's/^Source: /Source99:/' - fi - elif [ "$line" = "SEABIOS_VERSION" ]; then - echo "Version: $SEABIOS_VERSION" - else - echo "$line" - fi - done < $package.spec.in > $CMP_DIR/$package.spec - if cmp -s $package.spec $CMP_DIR/$package.spec; then - echo "$package.spec unchanged" - else - mv $CMP_DIR/$package.spec $package.spec - echo "$package.spec regenerated" - let PACKAGE_CHANGED_COUNT+=1 - fi - - if [ "$WRITE_LOG" = "1" ]; then - # Factory requires all deleted and added patches to be mentioned - if [ -e qemu.changes.deleted ] || [ -e qemu.changes.added ]; then - echo "Patch queue updated from ${GIT_TREE} ${GIT_BRANCH}" > \ - $package.changes.proposed - fi - if [ -e qemu.changes.deleted ]; then - echo "* Patches dropped:" >> $package.changes.proposed - cat qemu.changes.deleted >> $package.changes.proposed - fi - if [ -e qemu.changes.added ]; then - echo "* Patches added:" >> $package.changes.proposed - cat qemu.changes.added >> $package.changes.proposed - fi - if [ -e $package.changes.proposed ]; then - osc vc --file=$package.changes.proposed $package - rm -f $package.changes.proposed - fi - fi - done - if [ -e qemu.changes.deleted ]; then - rm -f qemu.changes.deleted - fi - if [ -e qemu.changes.added ]; then - rm -f qemu.changes.added - fi - echo "git patch summary" - echo " unchanged: $UNCHANGED_COUNT" - echo " changed: $CHANGED_COUNT" - echo " deleted: $DELETED_COUNT" - echo " added: $ADDED_COUNT" -) - -rm -rf $CMP_DIR - -sed -e 's|^\(Name:.*qemu\)|\1-testsuite|' < qemu.spec > qemu-testsuite.spec -sed -i 's/^# spec file for package qemu/&-testsuite/' qemu-testsuite.spec - -if [ "$1" = "-f" ]; then - if [ "$(rpm -q --queryformat '%{VERSION}' obs-service-format_spec_file)" -lt "20180820" ]; then - echo "WARNING! Not running osc format-spec-file service - recent obs package needed" - else - echo "running osc service to format spec file" - osc service localrun format_spec_file - fi -else - echo "note: not running osc format_spec_file service. If desired, pass -f" -fi - -/bin/sh pre_checkin.sh -q - -echo "Please remember to run pre_checkin.sh after modifying qemu.changes." +echo "This tool is no longer used. Refer to README.PACKAGING for current tooling" diff --git a/vbe-add-edid-support.patch b/vbe-add-edid-support.patch new file mode 100644 index 0000000..46addf6 --- /dev/null +++ b/vbe-add-edid-support.patch @@ -0,0 +1,87 @@ +From: Gerd Hoffmann +Date: Tue, 19 Mar 2019 11:09:33 +0100 +Subject: vbe: add edid support. + +Git-commit: a307d0adc50f41787424a9453145293248a1908c + +VBE subfunction 0x15, read ddc data. + +Add VBE_edid where drivers can fill in a EDID data blob. +If we find valid data there (checking the first two header +bytes), then report the function as supported and hand out +the data. + +Signed-off-by: Gerd Hoffmann +Signed-off-by: Bruce Rogers +--- + vgasrc/vbe.c | 30 ++++++++++++++++++++++++++++++ + vgasrc/vgautil.h | 1 + + 2 files changed, 31 insertions(+) + +diff --git a/roms/seabios/vgasrc/vbe.c b/roms/seabios/vgasrc/vbe.c +index 724c1bad6d7a8f612e05c198223f..66afb011ada034d53b518f8de068 100644 +--- a/roms/seabios/vgasrc/vbe.c ++++ b/roms/seabios/vgasrc/vbe.c +@@ -25,6 +25,7 @@ u32 VBE_total_memory VAR16 = 256 * 1024; + u32 VBE_capabilities VAR16; + u32 VBE_framebuffer VAR16; + u16 VBE_win_granularity VAR16; ++u8 VBE_edid[256] VAR16; + + static void + vbe_104f00(struct bregs *regs) +@@ -400,6 +401,34 @@ vbe_104f10(struct bregs *regs) + regs->ax = 0x004f; + } + ++static void ++vbe_104f15(struct bregs *regs) ++{ ++ int offset; ++ ++ switch (regs->bl) { ++ case 0x00: ++ if (GET_GLOBAL(VBE_edid[0]) != 0x00 || ++ GET_GLOBAL(VBE_edid[1]) != 0xff) ++ goto err; ++ regs->bx = 0x0103; ++ break; ++ case 0x01: ++ offset = regs->dx * 128; ++ if (offset >= sizeof(VBE_edid)) ++ goto err; ++ memcpy_far(regs->es, (void*)(regs->di+0), ++ get_global_seg(), VBE_edid + offset, ++ 128); ++ break; ++ err: ++ default: ++ regs->ax = 0x014f; ++ return; ++ } ++ regs->ax = 0x004f; ++} ++ + static void + vbe_104fXX(struct bregs *regs) + { +@@ -427,6 +456,7 @@ handle_104f(struct bregs *regs) + case 0x08: vbe_104f08(regs); break; + case 0x0a: vbe_104f0a(regs); break; + case 0x10: vbe_104f10(regs); break; ++ case 0x15: vbe_104f15(regs); break; + default: vbe_104fXX(regs); break; + } + } +diff --git a/roms/seabios/vgasrc/vgautil.h b/roms/seabios/vgasrc/vgautil.h +index a9940402e45bf293f95b29bbdc2c..dd1aa189547a212ae45bae941f61 100644 +--- a/roms/seabios/vgasrc/vgautil.h ++++ b/roms/seabios/vgasrc/vgautil.h +@@ -89,6 +89,7 @@ extern u32 VBE_total_memory; + extern u32 VBE_capabilities; + extern u32 VBE_framebuffer; + extern u16 VBE_win_granularity; ++extern u8 VBE_edid[256]; + void handle_104f(struct bregs *regs); + + // vgafonts.c diff --git a/0021-vga-Raise-VRAM-to-16-MiB-for-pc-0.1.patch b/vga-Raise-VRAM-to-16-MiB-for-pc-0.15-and.patch similarity index 92% rename from 0021-vga-Raise-VRAM-to-16-MiB-for-pc-0.1.patch rename to vga-Raise-VRAM-to-16-MiB-for-pc-0.15-and.patch index ca4bbb8..1abb733 100644 --- a/0021-vga-Raise-VRAM-to-16-MiB-for-pc-0.1.patch +++ b/vga-Raise-VRAM-to-16-MiB-for-pc-0.15-and.patch @@ -5,6 +5,8 @@ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit +References: bnc#812836 + qemu-kvm.git commit a7fe0297840908a4fd65a1cf742481ccd45960eb (Extend vram size to 16MB) deviated from qemu.git since kvm-61, and only in commit 9e56edcf8dd1d4bc7ba2b1efb3641f36c0fad8ba (vga: raise default @@ -14,8 +16,6 @@ Add compatibility properties so that up to and including pc-0.15 we maintain migration compatibility with qemu-kvm rather than QEMU and from pc-1.0 on with QEMU (last qemu-kvm release was 1.2). -Addresses part of BNC#812836. - Signed-off-by: Andreas Färber [BR: adjust comma position in list in macro for v2.5.0 compat] Signed-off-by: Bruce Rogers @@ -24,10 +24,10 @@ Signed-off-by: Bruce Rogers 1 file changed, 25 insertions(+) diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c -index 8ad8e885c6..2e2502bf14 100644 +index c2280c72effb7e2a4dd5aec1eed4..53ee84b542496cbdfebb2eebaa1c 100644 --- a/hw/i386/pc_piix.c +++ b/hw/i386/pc_piix.c -@@ -777,6 +777,31 @@ static void pc_i440fx_0_15_machine_options(MachineClass *m) +@@ -800,6 +800,31 @@ static void pc_i440fx_0_15_machine_options(MachineClass *m) { static GlobalProperty compat[] = { PC_CPU_MODEL_IDS("0.15") diff --git a/vga-add-ati-bios-tables.patch b/vga-add-ati-bios-tables.patch new file mode 100644 index 0000000..ee85291 --- /dev/null +++ b/vga-add-ati-bios-tables.patch @@ -0,0 +1,79 @@ +From: Gerd Hoffmann +Date: Fri, 8 Mar 2019 11:42:25 +0100 +Subject: vga: add ati bios tables + +Git-commit: f4c6e4c19daf3deac2d7fc3288db5294aba955ad + +Needed to make drivers happy which try to gather +informations from these tables. + +Signed-off-by: Gerd Hoffmann +Signed-off-by: Bruce Rogers +--- + vgasrc/ati-tables.S | 43 +++++++++++++++++++++++++++++++++++++++++++ + vgasrc/vgaentry.S | 3 +++ + 2 files changed, 46 insertions(+) + +diff --git a/roms/seabios/vgasrc/ati-tables.S b/roms/seabios/vgasrc/ati-tables.S +new file mode 100644 +index 0000000000000000000000000000000000000000..cdbde2fa4aec74f62da898be8b79e4a7c16f6c11 +--- /dev/null ++++ b/roms/seabios/vgasrc/ati-tables.S +@@ -0,0 +1,43 @@ ++// ++// Fake ati bios tables. ++// ++// aty128fb and radeonfb try to gather informations from these tables, ++// so add some stuff here to make the drivers happy. Specifically ++// radeonfb needs the pll information, otherwise it'll crash with a ++// division by zero ... ++// ++ .org 0x48 ++ .word _ati_main ++ ++ // main info ++ .org 0x50 ++_ati_main: ++ .org 0x50 + 0x30 ++ .word _ati_pll ++ .org 0x50 + 0x50 ++ .word _ati_connector ++ ++ // pll info ++ .org 0x100 ++_ati_pll: ++ .word 0 // ??? (not used by radeonfb) ++ .word 0 ++ .word 0 ++ .word 0 ++ .word 23000 // sclk ++ .word 23000 // mclk ++ .word 0 ++ .word 2700 // ref_clk ++ .word 4 // ref_div ++ .long 12000 // ppll_min ++ .long 35000 // ppll_max ++ ++ // connector info ++ .org 0x140 ++_ati_connector: ++ .byte 0x10 // one chip ++ .byte 0x01 // one connector ++ .word 0x3000 // type DVI-I ++ .word 0 // end of list ++ ++ .org 0x200 +diff --git a/roms/seabios/vgasrc/vgaentry.S b/roms/seabios/vgasrc/vgaentry.S +index 53be2b38ca520c691a4fde927bd8..f9624fce2ed9c570d6283b2905f4 100644 +--- a/roms/seabios/vgasrc/vgaentry.S ++++ b/roms/seabios/vgasrc/vgaentry.S +@@ -40,6 +40,9 @@ _rom_header_other2: + _rom_header_signature: + .asciz "IBM" + ++#if CONFIG_VGA_ATI ++#include "ati-tables.S" ++#endif + + /**************************************************************** + * Entry points diff --git a/vga-add-atiext-driver.patch b/vga-add-atiext-driver.patch new file mode 100644 index 0000000..736b272 --- /dev/null +++ b/vga-add-atiext-driver.patch @@ -0,0 +1,381 @@ +From: Gerd Hoffmann +Date: Mon, 25 Feb 2019 10:51:37 +0100 +Subject: vga: add atiext driver + +Git-commit: 34b6ecc160749a691b80fcb8638216518d971c65 + +Supports qemu emulated ati cards. They have been added in qemu 4.0. +Acceleration support (in qemu) is pretty rough still. A simple +framebuffer works fine though. + +Available models: + * ati rage 128 pro + * ati rv100 + +Signed-off-by: Gerd Hoffmann +Signed-off-by: Bruce Rogers +--- + Makefile | 2 +- + vgasrc/Kconfig | 11 +++ + vgasrc/atiext.c | 245 +++++++++++++++++++++++++++++++++++++++++++++++ + vgasrc/vgahw.h | 8 ++ + vgasrc/vgautil.h | 6 ++ + 5 files changed, 271 insertions(+), 1 deletion(-) + +diff --git a/roms/seabios/Makefile b/roms/seabios/Makefile +index 79b264ef87565106987fc88eeffe..ecec084825e706cc9d5afacefc10 100644 +--- a/roms/seabios/Makefile ++++ b/roms/seabios/Makefile +@@ -212,7 +212,7 @@ SRCVGA=src/output.c src/string.c src/hw/pci.c src/hw/serialio.c \ + vgasrc/vgainit.c vgasrc/vgabios.c vgasrc/vgafb.c vgasrc/swcursor.c \ + vgasrc/vgafonts.c vgasrc/vbe.c \ + vgasrc/stdvga.c vgasrc/stdvgamodes.c vgasrc/stdvgaio.c \ +- vgasrc/clext.c vgasrc/svgamodes.c vgasrc/bochsvga.c vgasrc/geodevga.c \ ++ vgasrc/clext.c vgasrc/svgamodes.c vgasrc/atiext.c vgasrc/bochsvga.c vgasrc/geodevga.c \ + src/fw/coreboot.c vgasrc/cbvga.c vgasrc/bochsdisplay.c vgasrc/ramfb.c + + ifeq "$(CONFIG_VGA_FIXUP_ASM)" "y" +diff --git a/roms/seabios/vgasrc/Kconfig b/roms/seabios/vgasrc/Kconfig +index f6d843e0900bda3900bc268fae97..c8fac36fb92baa27e06076ec68c5 100644 +--- a/roms/seabios/vgasrc/Kconfig ++++ b/roms/seabios/vgasrc/Kconfig +@@ -27,6 +27,15 @@ menu "VGA ROM" + and Bochs emulators. This is for emulators; it is not + intended for use on real Cirrus hardware. + ++ config VGA_ATI ++ depends on QEMU ++ bool "QEMU ATI SVGA" ++ select VGA_STDVGA_PORTS ++ help ++ Build support for ATI VGA emulation found on QEMU ++ and emulators. This is for emulators; it is not ++ intended for use on real ATI hardware. ++ + config VGA_BOCHS + depends on QEMU + bool "QEMU/Bochs VBE SVGA" +@@ -182,6 +191,7 @@ menu "VGA ROM" + hex + prompt "PCI Vendor ID" if OVERRIDE_PCI_ID + default 0x1013 if VGA_CIRRUS ++ default 0x1002 if VGA_ATI + default 0x1234 if VGA_BOCHS_STDVGA + default 0x15ad if VGA_BOCHS_VMWARE + default 0x1b36 if VGA_BOCHS_QXL +@@ -198,6 +208,7 @@ menu "VGA ROM" + hex + prompt "PCI Vendor ID" if OVERRIDE_PCI_ID + default 0x00b8 if VGA_CIRRUS ++ default 0x5159 if VGA_ATI + default 0x1111 if VGA_BOCHS_STDVGA + default 0x0405 if VGA_BOCHS_VMWARE + default 0x0100 if VGA_BOCHS_QXL +diff --git a/roms/seabios/vgasrc/atiext.c b/roms/seabios/vgasrc/atiext.c +new file mode 100644 +index 0000000000000000000000000000000000000000..0586279ce214fac7d2a7e6c87a9409a6e32eb5af +--- /dev/null ++++ b/roms/seabios/vgasrc/atiext.c +@@ -0,0 +1,245 @@ ++// QEMU ATI VGABIOS Extension. ++// ++// This file may be distributed under the terms of the GNU LGPLv3 license. ++ ++#include "biosvar.h" // GET_GLOBAL ++#include "bregs.h" // struct bregs ++#include "hw/pci.h" // pci_config_readl ++#include "hw/pci_regs.h" // PCI_BASE_ADDRESS_0 ++#include "output.h" // dprintf ++#include "stdvga.h" // VGAREG_SEQU_ADDRESS ++#include "string.h" // memset16_far ++#include "vgabios.h" // SET_VGA ++#include "vgautil.h" // VBE_total_memory ++#include "vgafb.h" // memset_high ++ ++#include "svgamodes.h" ++ ++#define MM_INDEX 0x0000 ++#define MM_DATA 0x0004 ++#define CRTC_GEN_CNTL 0x0050 ++#define CRTC_EXT_CNTL 0x0054 ++#define CRTC_H_TOTAL_DISP 0x0200 ++#define CRTC_V_TOTAL_DISP 0x0208 ++#define CRTC_OFFSET 0x0224 ++#define CRTC_PITCH 0x022c ++ ++/* CRTC control values (CRTC_GEN_CNTL) */ ++#define CRTC2_EXT_DISP_EN 0x01000000 ++#define CRTC2_EN 0x02000000 ++ ++#define CRTC_PIX_WIDTH_MASK 0x00000700 ++#define CRTC_PIX_WIDTH_4BPP 0x00000100 ++#define CRTC_PIX_WIDTH_8BPP 0x00000200 ++#define CRTC_PIX_WIDTH_15BPP 0x00000300 ++#define CRTC_PIX_WIDTH_16BPP 0x00000400 ++#define CRTC_PIX_WIDTH_24BPP 0x00000500 ++#define CRTC_PIX_WIDTH_32BPP 0x00000600 ++ ++/* CRTC_EXT_CNTL */ ++#define CRT_CRTC_DISPLAY_DIS 0x00000400 ++#define CRT_CRTC_ON 0x00008000 ++ ++static u32 ati_io_addr VAR16 = 0; ++ ++int ++is_ati_mode(struct vgamode_s *vmode_g) ++{ ++ unsigned int mcount = GET_GLOBAL(svga_mcount); ++ ++ return (vmode_g >= &svga_modes[0].info && ++ vmode_g <= &svga_modes[mcount-1].info); ++} ++ ++struct vgamode_s * ++ati_find_mode(int mode) ++{ ++ u32 io_addr = GET_GLOBAL(ati_io_addr); ++ struct generic_svga_mode *table_g = svga_modes; ++ unsigned int mcount = GET_GLOBAL(svga_mcount); ++ ++ if (io_addr) { ++ while (table_g < &svga_modes[mcount]) { ++ if (GET_GLOBAL(table_g->mode) == mode) ++ return &table_g->info; ++ table_g++; ++ } ++ } ++ ++ return stdvga_find_mode(mode); ++} ++ ++void ++ati_list_modes(u16 seg, u16 *dest, u16 *last) ++{ ++ u32 io_addr = GET_GLOBAL(ati_io_addr); ++ unsigned int mcount = GET_GLOBAL(svga_mcount); ++ ++ dprintf(1, "%s: ati ext %s\n", __func__, io_addr ? "yes" : "no"); ++ if (io_addr) { ++ int i; ++ for (i=0; iinfo.width); ++ u32 height = GET_GLOBAL(table->info.height); ++ u32 depth = GET_GLOBAL(table->info.depth); ++ u32 stride = width; ++ u32 offset = 0; ++ u32 pxmask = 0; ++ u32 bytes = 0; ++ ++ dprintf(1, "%s: 0x%x, %dx%d-%d\n", __func__, ++ GET_GLOBAL(table->mode), ++ width, height, depth); ++ ++ switch (depth) { ++ case 8: pxmask = CRTC_PIX_WIDTH_8BPP; bytes = 1; break; ++ case 15: pxmask = CRTC_PIX_WIDTH_15BPP; bytes = 2; break; ++ case 16: pxmask = CRTC_PIX_WIDTH_16BPP; bytes = 2; break; ++ case 24: pxmask = CRTC_PIX_WIDTH_24BPP; bytes = 3; break; ++ case 32: pxmask = CRTC_PIX_WIDTH_32BPP; bytes = 4; break; ++ } ++ ++ /* disable display */ ++ ati_write(CRTC_EXT_CNTL, CRT_CRTC_DISPLAY_DIS); ++ ++ /* modeset */ ++ ati_write(CRTC_GEN_CNTL, CRTC2_EXT_DISP_EN | CRTC2_EN | pxmask); ++ ati_write(CRTC_H_TOTAL_DISP, ((width / 8) - 1) << 16); ++ ati_write(CRTC_V_TOTAL_DISP, (height - 1) << 16); ++ ati_write(CRTC_OFFSET, offset); ++ ati_write(CRTC_PITCH, stride / 8); ++ ++ /* clear screen */ ++ if (!(flags & MF_NOCLEARMEM)) { ++ u32 size = width * height * bytes; ++ ati_clear(offset, size); ++ } ++ ++ /* enable display */ ++ ati_write(CRTC_EXT_CNTL, 0); ++ ++ return 0; ++} ++ ++int ++ati_set_mode(struct vgamode_s *vmode_g, int flags) ++{ ++ struct generic_svga_mode *table_g = ++ container_of(vmode_g, struct generic_svga_mode, info); ++ ++ if (is_ati_mode(vmode_g)) { ++ return ati_ext_mode(table_g, flags); ++ } ++ ++ ati_write(CRTC_GEN_CNTL, 0); ++ return stdvga_set_mode(vmode_g, flags); ++} ++ ++/**************************************************************** ++ * init ++ ****************************************************************/ ++ ++int ++ati_setup(void) ++{ ++ int ret = stdvga_setup(); ++ if (ret) ++ return ret; ++ ++ dprintf(1, "%s:%d\n", __func__, __LINE__); ++ ++ if (GET_GLOBAL(HaveRunInit)) ++ return 0; ++ ++ int bdf = GET_GLOBAL(VgaBDF); ++ if (!CONFIG_VGA_PCI || bdf == 0) ++ return 0; ++ ++ u32 bar = pci_config_readl(bdf, PCI_BASE_ADDRESS_0); ++ u32 lfb_addr = bar & PCI_BASE_ADDRESS_MEM_MASK; ++ pci_config_writel(bdf, PCI_BASE_ADDRESS_0, ~0); ++ u32 barmask = pci_config_readl(bdf, PCI_BASE_ADDRESS_0); ++ u32 totalmem = ~(barmask & PCI_BASE_ADDRESS_MEM_MASK) + 1; ++ pci_config_writel(bdf, PCI_BASE_ADDRESS_0, bar); ++ ++ bar = pci_config_readl(bdf, PCI_BASE_ADDRESS_1); ++ u32 io_addr = bar & PCI_BASE_ADDRESS_IO_MASK; ++ ++ bar = pci_config_readl(bdf, PCI_BASE_ADDRESS_2); ++ u32 mmio_addr = bar & PCI_BASE_ADDRESS_MEM_MASK; ++ ++ dprintf(1, "ati: bdf %02x:%02x.%x, lfb 0x%x, %d MB, io 0x%x, mmio 0x%x\n", ++ pci_bdf_to_bus(bdf), pci_bdf_to_dev(bdf), pci_bdf_to_fn(bdf), ++ lfb_addr, totalmem / (1024 * 1024), io_addr, mmio_addr); ++ ++ SET_VGA(VBE_framebuffer, lfb_addr); ++ SET_VGA(VBE_total_memory, totalmem); ++ SET_VGA(ati_io_addr, io_addr); ++ ++ // Validate modes ++ struct generic_svga_mode *m = svga_modes; ++ unsigned int mcount = GET_GLOBAL(svga_mcount); ++ for (; m < &svga_modes[mcount]; m++) { ++ u8 memmodel = GET_GLOBAL(m->info.memmodel); ++ u16 width = GET_GLOBAL(m->info.width); ++ u16 height = GET_GLOBAL(m->info.height); ++ u32 mem = (height * DIV_ROUND_UP(width * vga_bpp(&m->info), 8) ++ * stdvga_vram_ratio(&m->info)); ++ ++ if (width % 8 != 0 || ++ width > 0x7ff * 8 || ++ height > 0xfff || ++ mem > totalmem || ++ memmodel != MM_DIRECT) { ++ dprintf(1, "ati: removing mode 0x%x\n", GET_GLOBAL(m->mode)); ++ SET_VGA(m->mode, 0xffff); ++ } ++ } ++ ++ return 0; ++} +diff --git a/roms/seabios/vgasrc/vgahw.h b/roms/seabios/vgasrc/vgahw.h +index 51777458da629a759f762317e9f6..c774f4f2c6b7c8012096bac2f0ed 100644 +--- a/roms/seabios/vgasrc/vgahw.h ++++ b/roms/seabios/vgasrc/vgahw.h +@@ -12,6 +12,8 @@ + static inline struct vgamode_s *vgahw_find_mode(int mode) { + if (CONFIG_VGA_CIRRUS) + return clext_find_mode(mode); ++ if (CONFIG_VGA_ATI) ++ return ati_find_mode(mode); + if (CONFIG_VGA_BOCHS) + return bochsvga_find_mode(mode); + if (CONFIG_VGA_EMULATE_TEXT) +@@ -22,6 +24,8 @@ static inline struct vgamode_s *vgahw_find_mode(int mode) { + static inline int vgahw_set_mode(struct vgamode_s *vmode_g, int flags) { + if (CONFIG_VGA_CIRRUS) + return clext_set_mode(vmode_g, flags); ++ if (CONFIG_VGA_ATI) ++ return ati_set_mode(vmode_g, flags); + if (CONFIG_VGA_BOCHS) + return bochsvga_set_mode(vmode_g, flags); + if (CONFIG_VGA_EMULATE_TEXT) +@@ -32,6 +36,8 @@ static inline int vgahw_set_mode(struct vgamode_s *vmode_g, int flags) { + static inline void vgahw_list_modes(u16 seg, u16 *dest, u16 *last) { + if (CONFIG_VGA_CIRRUS) + clext_list_modes(seg, dest, last); ++ if (CONFIG_VGA_ATI) ++ ati_list_modes(seg, dest, last); + else if (CONFIG_VGA_BOCHS) + bochsvga_list_modes(seg, dest, last); + else if (CONFIG_VGA_EMULATE_TEXT) +@@ -43,6 +49,8 @@ static inline void vgahw_list_modes(u16 seg, u16 *dest, u16 *last) { + static inline int vgahw_setup(void) { + if (CONFIG_VGA_CIRRUS) + return clext_setup(); ++ if (CONFIG_VGA_ATI) ++ return ati_setup(); + if (CONFIG_VGA_BOCHS) + return bochsvga_setup(); + if (CONFIG_VGA_GEODEGX2 || CONFIG_VGA_GEODELX) +diff --git a/roms/seabios/vgasrc/vgautil.h b/roms/seabios/vgasrc/vgautil.h +index 4f37bf947c42e9f73f7148f668c8..a9940402e45bf293f95b29bbdc2c 100644 +--- a/roms/seabios/vgasrc/vgautil.h ++++ b/roms/seabios/vgasrc/vgautil.h +@@ -42,6 +42,12 @@ struct bregs; + void clext_1012(struct bregs *regs); + int clext_setup(void); + ++// atiext.c ++struct vgamode_s *ati_find_mode(int mode); ++void ati_list_modes(u16 seg, u16 *dest, u16 *last); ++int ati_set_mode(struct vgamode_s *vmode_g, int flags); ++int ati_setup(void); ++ + // stdvgaio.c + u8 stdvga_pelmask_read(void); + void stdvga_pelmask_write(u8 val); diff --git a/vga-make-memcpy_high-public.patch b/vga-make-memcpy_high-public.patch new file mode 100644 index 0000000..cea49f6 --- /dev/null +++ b/vga-make-memcpy_high-public.patch @@ -0,0 +1,39 @@ +From: Gerd Hoffmann +Date: Fri, 8 Mar 2019 12:34:38 +0100 +Subject: vga: make memcpy_high() public + +Git-commit: 03f5061c0a44dcf8d73a05a6f375e3fe5005f050 + +Signed-off-by: Gerd Hoffmann +Signed-off-by: Bruce Rogers +--- + vgasrc/vgafb.c | 3 +-- + vgasrc/vgafb.h | 1 + + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/roms/seabios/vgasrc/vgafb.c b/roms/seabios/vgasrc/vgafb.c +index 46adfb5e06143d63eeb46ddb122b..f8f35c2d2fbabb2bf816b5652e4f 100644 +--- a/roms/seabios/vgasrc/vgafb.c ++++ b/roms/seabios/vgasrc/vgafb.c +@@ -187,8 +187,7 @@ gfx_packed(struct gfx_op *op) + ****************************************************************/ + + // Use int 1587 call to copy memory to/from the framebuffer. +-static void +-memcpy_high(void *dest, void *src, u32 len) ++void memcpy_high(void *dest, void *src, u32 len) + { + u64 gdt[6]; + gdt[2] = GDT_DATA | GDT_LIMIT(0xfffff) | GDT_BASE((u32)src); +diff --git a/roms/seabios/vgasrc/vgafb.h b/roms/seabios/vgasrc/vgafb.h +index ccdc70355caf9e05327e3fb4c39c..aae6b9b3a873d3c3d42a9107ae23 100644 +--- a/roms/seabios/vgasrc/vgafb.h ++++ b/roms/seabios/vgasrc/vgafb.h +@@ -29,6 +29,7 @@ struct carattr { + }; + + // vgafb.c ++void memcpy_high(void *dest, void *src, u32 len); + void init_gfx_op(struct gfx_op *op, struct vgamode_s *vmode_g); + void handle_gfx_op(struct gfx_op *op); + void *text_address(struct cursorpos cp); diff --git a/vga-move-modelist-from-bochsvga.c-to-new.patch b/vga-move-modelist-from-bochsvga.c-to-new.patch new file mode 100644 index 0000000..13e1610 --- /dev/null +++ b/vga-move-modelist-from-bochsvga.c-to-new.patch @@ -0,0 +1,272 @@ +From: Gerd Hoffmann +Date: Fri, 8 Mar 2019 11:10:59 +0100 +Subject: vga: move modelist from bochsvga.c to new svgamodes.c + +Git-commit: 004f5b3ae561df688595b341e6880182ed5794ed + +So other drivers can simply use the same list too. + +Signed-off-by: Gerd Hoffmann +Signed-off-by: Bruce Rogers +--- + Makefile | 2 +- + vgasrc/bochsvga.c | 102 +++++++-------------------------------------- + vgasrc/svgamodes.c | 80 +++++++++++++++++++++++++++++++++++ + vgasrc/svgamodes.h | 12 ++++++ + 4 files changed, 109 insertions(+), 87 deletions(-) + +diff --git a/roms/seabios/Makefile b/roms/seabios/Makefile +index 7b8a5cd6b17254685df89798ed10..79b264ef87565106987fc88eeffe 100644 +--- a/roms/seabios/Makefile ++++ b/roms/seabios/Makefile +@@ -212,7 +212,7 @@ SRCVGA=src/output.c src/string.c src/hw/pci.c src/hw/serialio.c \ + vgasrc/vgainit.c vgasrc/vgabios.c vgasrc/vgafb.c vgasrc/swcursor.c \ + vgasrc/vgafonts.c vgasrc/vbe.c \ + vgasrc/stdvga.c vgasrc/stdvgamodes.c vgasrc/stdvgaio.c \ +- vgasrc/clext.c vgasrc/bochsvga.c vgasrc/geodevga.c \ ++ vgasrc/clext.c vgasrc/svgamodes.c vgasrc/bochsvga.c vgasrc/geodevga.c \ + src/fw/coreboot.c vgasrc/cbvga.c vgasrc/bochsdisplay.c vgasrc/ramfb.c + + ifeq "$(CONFIG_VGA_FIXUP_ASM)" "y" +diff --git a/roms/seabios/vgasrc/bochsvga.c b/roms/seabios/vgasrc/bochsvga.c +index ec5d1018686e6dbefd5e944db659..479582f1dd4e066de7c8ba50341b 100644 +--- a/roms/seabios/vgasrc/bochsvga.c ++++ b/roms/seabios/vgasrc/bochsvga.c +@@ -23,98 +23,25 @@ + * Mode tables + ****************************************************************/ + +-static struct bochsvga_mode +-{ +- u16 mode; +- struct vgamode_s info; +-} bochsvga_modes[] VAR16 = { +- /* standard modes */ +- { 0x100, { MM_PACKED, 640, 400, 8, 8, 16, SEG_GRAPH } }, +- { 0x101, { MM_PACKED, 640, 480, 8, 8, 16, SEG_GRAPH } }, +- { 0x102, { MM_PLANAR, 800, 600, 4, 8, 16, SEG_GRAPH } }, +- { 0x103, { MM_PACKED, 800, 600, 8, 8, 16, SEG_GRAPH } }, +- { 0x104, { MM_PLANAR, 1024, 768, 4, 8, 16, SEG_GRAPH } }, +- { 0x105, { MM_PACKED, 1024, 768, 8, 8, 16, SEG_GRAPH } }, +- { 0x106, { MM_PLANAR, 1280, 1024, 4, 8, 16, SEG_GRAPH } }, +- { 0x107, { MM_PACKED, 1280, 1024, 8, 8, 16, SEG_GRAPH } }, +- { 0x10D, { MM_DIRECT, 320, 200, 15, 8, 16, SEG_GRAPH } }, +- { 0x10E, { MM_DIRECT, 320, 200, 16, 8, 16, SEG_GRAPH } }, +- { 0x10F, { MM_DIRECT, 320, 200, 24, 8, 16, SEG_GRAPH } }, +- { 0x110, { MM_DIRECT, 640, 480, 15, 8, 16, SEG_GRAPH } }, +- { 0x111, { MM_DIRECT, 640, 480, 16, 8, 16, SEG_GRAPH } }, +- { 0x112, { MM_DIRECT, 640, 480, 24, 8, 16, SEG_GRAPH } }, +- { 0x113, { MM_DIRECT, 800, 600, 15, 8, 16, SEG_GRAPH } }, +- { 0x114, { MM_DIRECT, 800, 600, 16, 8, 16, SEG_GRAPH } }, +- { 0x115, { MM_DIRECT, 800, 600, 24, 8, 16, SEG_GRAPH } }, +- { 0x116, { MM_DIRECT, 1024, 768, 15, 8, 16, SEG_GRAPH } }, +- { 0x117, { MM_DIRECT, 1024, 768, 16, 8, 16, SEG_GRAPH } }, +- { 0x118, { MM_DIRECT, 1024, 768, 24, 8, 16, SEG_GRAPH } }, +- { 0x119, { MM_DIRECT, 1280, 1024, 15, 8, 16, SEG_GRAPH } }, +- { 0x11A, { MM_DIRECT, 1280, 1024, 16, 8, 16, SEG_GRAPH } }, +- { 0x11B, { MM_DIRECT, 1280, 1024, 24, 8, 16, SEG_GRAPH } }, +- { 0x11C, { MM_PACKED, 1600, 1200, 8, 8, 16, SEG_GRAPH } }, +- { 0x11D, { MM_DIRECT, 1600, 1200, 15, 8, 16, SEG_GRAPH } }, +- { 0x11E, { MM_DIRECT, 1600, 1200, 16, 8, 16, SEG_GRAPH } }, +- { 0x11F, { MM_DIRECT, 1600, 1200, 24, 8, 16, SEG_GRAPH } }, +- /* BOCHS modes */ +- { 0x140, { MM_DIRECT, 320, 200, 32, 8, 16, SEG_GRAPH } }, +- { 0x141, { MM_DIRECT, 640, 400, 32, 8, 16, SEG_GRAPH } }, +- { 0x142, { MM_DIRECT, 640, 480, 32, 8, 16, SEG_GRAPH } }, +- { 0x143, { MM_DIRECT, 800, 600, 32, 8, 16, SEG_GRAPH } }, +- { 0x144, { MM_DIRECT, 1024, 768, 32, 8, 16, SEG_GRAPH } }, +- { 0x145, { MM_DIRECT, 1280, 1024, 32, 8, 16, SEG_GRAPH } }, +- { 0x146, { MM_PACKED, 320, 200, 8, 8, 16, SEG_GRAPH } }, +- { 0x147, { MM_DIRECT, 1600, 1200, 32, 8, 16, SEG_GRAPH } }, +- { 0x148, { MM_PACKED, 1152, 864, 8, 8, 16, SEG_GRAPH } }, +- { 0x149, { MM_DIRECT, 1152, 864, 15, 8, 16, SEG_GRAPH } }, +- { 0x14a, { MM_DIRECT, 1152, 864, 16, 8, 16, SEG_GRAPH } }, +- { 0x14b, { MM_DIRECT, 1152, 864, 24, 8, 16, SEG_GRAPH } }, +- { 0x14c, { MM_DIRECT, 1152, 864, 32, 8, 16, SEG_GRAPH } }, +- { 0x175, { MM_DIRECT, 1280, 768, 16, 8, 16, SEG_GRAPH } }, +- { 0x176, { MM_DIRECT, 1280, 768, 24, 8, 16, SEG_GRAPH } }, +- { 0x177, { MM_DIRECT, 1280, 768, 32, 8, 16, SEG_GRAPH } }, +- { 0x178, { MM_DIRECT, 1280, 800, 16, 8, 16, SEG_GRAPH } }, +- { 0x179, { MM_DIRECT, 1280, 800, 24, 8, 16, SEG_GRAPH } }, +- { 0x17a, { MM_DIRECT, 1280, 800, 32, 8, 16, SEG_GRAPH } }, +- { 0x17b, { MM_DIRECT, 1280, 960, 16, 8, 16, SEG_GRAPH } }, +- { 0x17c, { MM_DIRECT, 1280, 960, 24, 8, 16, SEG_GRAPH } }, +- { 0x17d, { MM_DIRECT, 1280, 960, 32, 8, 16, SEG_GRAPH } }, +- { 0x17e, { MM_DIRECT, 1440, 900, 16, 8, 16, SEG_GRAPH } }, +- { 0x17f, { MM_DIRECT, 1440, 900, 24, 8, 16, SEG_GRAPH } }, +- { 0x180, { MM_DIRECT, 1440, 900, 32, 8, 16, SEG_GRAPH } }, +- { 0x181, { MM_DIRECT, 1400, 1050, 16, 8, 16, SEG_GRAPH } }, +- { 0x182, { MM_DIRECT, 1400, 1050, 24, 8, 16, SEG_GRAPH } }, +- { 0x183, { MM_DIRECT, 1400, 1050, 32, 8, 16, SEG_GRAPH } }, +- { 0x184, { MM_DIRECT, 1680, 1050, 16, 8, 16, SEG_GRAPH } }, +- { 0x185, { MM_DIRECT, 1680, 1050, 24, 8, 16, SEG_GRAPH } }, +- { 0x186, { MM_DIRECT, 1680, 1050, 32, 8, 16, SEG_GRAPH } }, +- { 0x187, { MM_DIRECT, 1920, 1200, 16, 8, 16, SEG_GRAPH } }, +- { 0x188, { MM_DIRECT, 1920, 1200, 24, 8, 16, SEG_GRAPH } }, +- { 0x189, { MM_DIRECT, 1920, 1200, 32, 8, 16, SEG_GRAPH } }, +- { 0x18a, { MM_DIRECT, 2560, 1600, 16, 8, 16, SEG_GRAPH } }, +- { 0x18b, { MM_DIRECT, 2560, 1600, 24, 8, 16, SEG_GRAPH } }, +- { 0x18c, { MM_DIRECT, 2560, 1600, 32, 8, 16, SEG_GRAPH } }, +- { 0x18d, { MM_DIRECT, 1280, 720, 16, 8, 16, SEG_GRAPH } }, +- { 0x18e, { MM_DIRECT, 1280, 720, 24, 8, 16, SEG_GRAPH } }, +- { 0x18f, { MM_DIRECT, 1280, 720, 32, 8, 16, SEG_GRAPH } }, +- { 0x190, { MM_DIRECT, 1920, 1080, 16, 8, 16, SEG_GRAPH } }, +- { 0x191, { MM_DIRECT, 1920, 1080, 24, 8, 16, SEG_GRAPH } }, +- { 0x192, { MM_DIRECT, 1920, 1080, 32, 8, 16, SEG_GRAPH } }, +-}; ++#include "svgamodes.h" + + static int dispi_found VAR16 = 0; + + static int is_bochsvga_mode(struct vgamode_s *vmode_g) + { +- return (vmode_g >= &bochsvga_modes[0].info +- && vmode_g <= &bochsvga_modes[ARRAY_SIZE(bochsvga_modes)-1].info); ++ unsigned int mcount = GET_GLOBAL(svga_mcount); ++ ++ return (vmode_g >= &svga_modes[0].info ++ && vmode_g <= &svga_modes[mcount-1].info); + } + + struct vgamode_s *bochsvga_find_mode(int mode) + { +- struct bochsvga_mode *m = bochsvga_modes; ++ struct generic_svga_mode *m = svga_modes; ++ unsigned int mcount = GET_GLOBAL(svga_mcount); ++ + if (GET_GLOBAL(dispi_found)) +- for (; m < &bochsvga_modes[ARRAY_SIZE(bochsvga_modes)]; m++) ++ for (; m < &svga_modes[mcount]; m++) + if (GET_GLOBAL(m->mode) == mode) + return &m->info; + return stdvga_find_mode(mode); +@@ -123,9 +50,11 @@ struct vgamode_s *bochsvga_find_mode(int mode) + void + bochsvga_list_modes(u16 seg, u16 *dest, u16 *last) + { +- struct bochsvga_mode *m = bochsvga_modes; ++ struct generic_svga_mode *m = svga_modes; ++ unsigned int mcount = GET_GLOBAL(svga_mcount); ++ + if (GET_GLOBAL(dispi_found)) { +- for (; m < &bochsvga_modes[ARRAY_SIZE(bochsvga_modes)] && destmode); + if (mode == 0xffff) + continue; +@@ -429,8 +358,9 @@ bochsvga_setup(void) + u16 max_xres = dispi_read(VBE_DISPI_INDEX_XRES); + u16 max_bpp = dispi_read(VBE_DISPI_INDEX_BPP); + dispi_write(VBE_DISPI_INDEX_ENABLE, en); +- struct bochsvga_mode *m = bochsvga_modes; +- for (; m < &bochsvga_modes[ARRAY_SIZE(bochsvga_modes)]; m++) { ++ struct generic_svga_mode *m = svga_modes; ++ unsigned int mcount = GET_GLOBAL(svga_mcount); ++ for (; m < &svga_modes[mcount]; m++) { + u16 width = GET_GLOBAL(m->info.width); + u16 height = GET_GLOBAL(m->info.height); + u8 depth = GET_GLOBAL(m->info.depth); +diff --git a/roms/seabios/vgasrc/svgamodes.c b/roms/seabios/vgasrc/svgamodes.c +new file mode 100644 +index 0000000000000000000000000000000000000000..013504c3e691b7d533fd0baa3b62b77b087dd39c +--- /dev/null ++++ b/roms/seabios/vgasrc/svgamodes.c +@@ -0,0 +1,80 @@ ++#include "stdvga.h" // SEG_GRAPH ++#include "vgabios.h" // VAR16 ++ ++#include "svgamodes.h" ++ ++struct generic_svga_mode svga_modes[] VAR16 = { ++ /* standard modes */ ++ { 0x100, { MM_PACKED, 640, 400, 8, 8, 16, SEG_GRAPH } }, ++ { 0x101, { MM_PACKED, 640, 480, 8, 8, 16, SEG_GRAPH } }, ++ { 0x102, { MM_PLANAR, 800, 600, 4, 8, 16, SEG_GRAPH } }, ++ { 0x103, { MM_PACKED, 800, 600, 8, 8, 16, SEG_GRAPH } }, ++ { 0x104, { MM_PLANAR, 1024, 768, 4, 8, 16, SEG_GRAPH } }, ++ { 0x105, { MM_PACKED, 1024, 768, 8, 8, 16, SEG_GRAPH } }, ++ { 0x106, { MM_PLANAR, 1280, 1024, 4, 8, 16, SEG_GRAPH } }, ++ { 0x107, { MM_PACKED, 1280, 1024, 8, 8, 16, SEG_GRAPH } }, ++ { 0x10D, { MM_DIRECT, 320, 200, 15, 8, 16, SEG_GRAPH } }, ++ { 0x10E, { MM_DIRECT, 320, 200, 16, 8, 16, SEG_GRAPH } }, ++ { 0x10F, { MM_DIRECT, 320, 200, 24, 8, 16, SEG_GRAPH } }, ++ { 0x110, { MM_DIRECT, 640, 480, 15, 8, 16, SEG_GRAPH } }, ++ { 0x111, { MM_DIRECT, 640, 480, 16, 8, 16, SEG_GRAPH } }, ++ { 0x112, { MM_DIRECT, 640, 480, 24, 8, 16, SEG_GRAPH } }, ++ { 0x113, { MM_DIRECT, 800, 600, 15, 8, 16, SEG_GRAPH } }, ++ { 0x114, { MM_DIRECT, 800, 600, 16, 8, 16, SEG_GRAPH } }, ++ { 0x115, { MM_DIRECT, 800, 600, 24, 8, 16, SEG_GRAPH } }, ++ { 0x116, { MM_DIRECT, 1024, 768, 15, 8, 16, SEG_GRAPH } }, ++ { 0x117, { MM_DIRECT, 1024, 768, 16, 8, 16, SEG_GRAPH } }, ++ { 0x118, { MM_DIRECT, 1024, 768, 24, 8, 16, SEG_GRAPH } }, ++ { 0x119, { MM_DIRECT, 1280, 1024, 15, 8, 16, SEG_GRAPH } }, ++ { 0x11A, { MM_DIRECT, 1280, 1024, 16, 8, 16, SEG_GRAPH } }, ++ { 0x11B, { MM_DIRECT, 1280, 1024, 24, 8, 16, SEG_GRAPH } }, ++ { 0x11C, { MM_PACKED, 1600, 1200, 8, 8, 16, SEG_GRAPH } }, ++ { 0x11D, { MM_DIRECT, 1600, 1200, 15, 8, 16, SEG_GRAPH } }, ++ { 0x11E, { MM_DIRECT, 1600, 1200, 16, 8, 16, SEG_GRAPH } }, ++ { 0x11F, { MM_DIRECT, 1600, 1200, 24, 8, 16, SEG_GRAPH } }, ++ /* other modes */ ++ { 0x140, { MM_DIRECT, 320, 200, 32, 8, 16, SEG_GRAPH } }, ++ { 0x141, { MM_DIRECT, 640, 400, 32, 8, 16, SEG_GRAPH } }, ++ { 0x142, { MM_DIRECT, 640, 480, 32, 8, 16, SEG_GRAPH } }, ++ { 0x143, { MM_DIRECT, 800, 600, 32, 8, 16, SEG_GRAPH } }, ++ { 0x144, { MM_DIRECT, 1024, 768, 32, 8, 16, SEG_GRAPH } }, ++ { 0x145, { MM_DIRECT, 1280, 1024, 32, 8, 16, SEG_GRAPH } }, ++ { 0x146, { MM_PACKED, 320, 200, 8, 8, 16, SEG_GRAPH } }, ++ { 0x147, { MM_DIRECT, 1600, 1200, 32, 8, 16, SEG_GRAPH } }, ++ { 0x148, { MM_PACKED, 1152, 864, 8, 8, 16, SEG_GRAPH } }, ++ { 0x149, { MM_DIRECT, 1152, 864, 15, 8, 16, SEG_GRAPH } }, ++ { 0x14a, { MM_DIRECT, 1152, 864, 16, 8, 16, SEG_GRAPH } }, ++ { 0x14b, { MM_DIRECT, 1152, 864, 24, 8, 16, SEG_GRAPH } }, ++ { 0x14c, { MM_DIRECT, 1152, 864, 32, 8, 16, SEG_GRAPH } }, ++ { 0x175, { MM_DIRECT, 1280, 768, 16, 8, 16, SEG_GRAPH } }, ++ { 0x176, { MM_DIRECT, 1280, 768, 24, 8, 16, SEG_GRAPH } }, ++ { 0x177, { MM_DIRECT, 1280, 768, 32, 8, 16, SEG_GRAPH } }, ++ { 0x178, { MM_DIRECT, 1280, 800, 16, 8, 16, SEG_GRAPH } }, ++ { 0x179, { MM_DIRECT, 1280, 800, 24, 8, 16, SEG_GRAPH } }, ++ { 0x17a, { MM_DIRECT, 1280, 800, 32, 8, 16, SEG_GRAPH } }, ++ { 0x17b, { MM_DIRECT, 1280, 960, 16, 8, 16, SEG_GRAPH } }, ++ { 0x17c, { MM_DIRECT, 1280, 960, 24, 8, 16, SEG_GRAPH } }, ++ { 0x17d, { MM_DIRECT, 1280, 960, 32, 8, 16, SEG_GRAPH } }, ++ { 0x17e, { MM_DIRECT, 1440, 900, 16, 8, 16, SEG_GRAPH } }, ++ { 0x17f, { MM_DIRECT, 1440, 900, 24, 8, 16, SEG_GRAPH } }, ++ { 0x180, { MM_DIRECT, 1440, 900, 32, 8, 16, SEG_GRAPH } }, ++ { 0x181, { MM_DIRECT, 1400, 1050, 16, 8, 16, SEG_GRAPH } }, ++ { 0x182, { MM_DIRECT, 1400, 1050, 24, 8, 16, SEG_GRAPH } }, ++ { 0x183, { MM_DIRECT, 1400, 1050, 32, 8, 16, SEG_GRAPH } }, ++ { 0x184, { MM_DIRECT, 1680, 1050, 16, 8, 16, SEG_GRAPH } }, ++ { 0x185, { MM_DIRECT, 1680, 1050, 24, 8, 16, SEG_GRAPH } }, ++ { 0x186, { MM_DIRECT, 1680, 1050, 32, 8, 16, SEG_GRAPH } }, ++ { 0x187, { MM_DIRECT, 1920, 1200, 16, 8, 16, SEG_GRAPH } }, ++ { 0x188, { MM_DIRECT, 1920, 1200, 24, 8, 16, SEG_GRAPH } }, ++ { 0x189, { MM_DIRECT, 1920, 1200, 32, 8, 16, SEG_GRAPH } }, ++ { 0x18a, { MM_DIRECT, 2560, 1600, 16, 8, 16, SEG_GRAPH } }, ++ { 0x18b, { MM_DIRECT, 2560, 1600, 24, 8, 16, SEG_GRAPH } }, ++ { 0x18c, { MM_DIRECT, 2560, 1600, 32, 8, 16, SEG_GRAPH } }, ++ { 0x18d, { MM_DIRECT, 1280, 720, 16, 8, 16, SEG_GRAPH } }, ++ { 0x18e, { MM_DIRECT, 1280, 720, 24, 8, 16, SEG_GRAPH } }, ++ { 0x18f, { MM_DIRECT, 1280, 720, 32, 8, 16, SEG_GRAPH } }, ++ { 0x190, { MM_DIRECT, 1920, 1080, 16, 8, 16, SEG_GRAPH } }, ++ { 0x191, { MM_DIRECT, 1920, 1080, 24, 8, 16, SEG_GRAPH } }, ++ { 0x192, { MM_DIRECT, 1920, 1080, 32, 8, 16, SEG_GRAPH } }, ++}; ++unsigned int svga_mcount VAR16 = ARRAY_SIZE(svga_modes); +diff --git a/roms/seabios/vgasrc/svgamodes.h b/roms/seabios/vgasrc/svgamodes.h +new file mode 100644 +index 0000000000000000000000000000000000000000..782d30b9768f4a7cb8bfea6c1d24c483d68b45ed +--- /dev/null ++++ b/roms/seabios/vgasrc/svgamodes.h +@@ -0,0 +1,12 @@ ++#ifndef __SVGAMODES_H ++#define __SVGAMODES_H ++ ++struct generic_svga_mode { ++ u16 mode; ++ struct vgamode_s info; ++}; ++ ++extern struct generic_svga_mode svga_modes[] VAR16; ++extern unsigned int svga_mcount VAR16; ++ ++#endif /* __SVGAMODES_H */ diff --git a/0028-xen-add-block-resize-support-for-xe.patch b/xen-add-block-resize-support-for-xen-dis.patch similarity index 75% rename from 0028-xen-add-block-resize-support-for-xe.patch rename to xen-add-block-resize-support-for-xen-dis.patch index 223921f..0177ba3 100644 --- a/0028-xen-add-block-resize-support-for-xe.patch +++ b/xen-add-block-resize-support-for-xen-dis.patch @@ -15,10 +15,10 @@ Signed-off-by: Bruce Rogers 1 file changed, 3 insertions(+) diff --git a/hw/block/xen-block.c b/hw/block/xen-block.c -index 7cbab33247..022546bfa5 100644 +index 9bc6db52b4be8510e322e61ba5a7..1f8c8ae85abde736b5a58d1f4cb9 100644 --- a/hw/block/xen-block.c +++ b/hw/block/xen-block.c -@@ -263,6 +263,9 @@ static void xen_block_realize(XenDevice *xendev, Error **errp) +@@ -273,6 +273,9 @@ static void xen_block_realize(XenDevice *xendev, Error **errp) xen_block_set_size(blockdev); @@ -26,5 +26,5 @@ index 7cbab33247..022546bfa5 100644 + return; + } blockdev->dataplane = - xen_block_dataplane_create(xendev, conf, blockdev->props.iothread); - } + xen_block_dataplane_create(xendev, blk, conf->logical_block_size, + blockdev->props.iothread); diff --git a/0031-xen-ignore-live-parameter-from-xen-.patch b/xen-ignore-live-parameter-from-xen-save-.patch similarity index 86% rename from 0031-xen-ignore-live-parameter-from-xen-.patch rename to xen-ignore-live-parameter-from-xen-save-.patch index 609db4e..27e5da8 100644 --- a/0031-xen-ignore-live-parameter-from-xen-.patch +++ b/xen-ignore-live-parameter-from-xen-save-.patch @@ -2,6 +2,8 @@ From: Olaf Hering Date: Tue, 8 Jan 2019 14:20:08 +0100 Subject: xen: ignore live parameter from xen-save-devices-state +References: bsc#1079730, bsc#1101982, bsc#1063993 + The final step of xl migrate|save for an HVM domU is saving the state of qemu. This also involves releasing all block devices. While releasing backends ought to be a separate step, such functionality is not @@ -19,16 +21,16 @@ parameter entirely. Fixes: 5d6c599fe1 ("migration, xen: Fix block image lock issue on live migration") Signed-off-by: Olaf Hering -[BSC#1079730, BSC#1101982, BSC#1063993] +Signed-off-by: Bruce Rogers --- migration/savevm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migration/savevm.c b/migration/savevm.c -index 34bcad3807..9827762494 100644 +index 79ed44d47576ff2942da04827eae..106e6e640e87c99b655aca3a5d96 100644 --- a/migration/savevm.c +++ b/migration/savevm.c -@@ -2689,7 +2689,7 @@ void qmp_xen_save_devices_state(const char *filename, bool has_live, bool live, +@@ -2693,7 +2693,7 @@ void qmp_xen_save_devices_state(const char *filename, bool has_live, bool live, * So call bdrv_inactivate_all (release locks) here to let the other * side of the migration take controle of the images. */ diff --git a/0014-xen_disk-Add-suse-specific-flush-di.patch b/xen_disk-Add-suse-specific-flush-disable.patch similarity index 89% rename from 0014-xen_disk-Add-suse-specific-flush-di.patch rename to xen_disk-Add-suse-specific-flush-disable.patch index 037b8c8..7fe7a3a 100644 --- a/0014-xen_disk-Add-suse-specific-flush-di.patch +++ b/xen_disk-Add-suse-specific-flush-disable.patch @@ -18,10 +18,10 @@ Signed-off-by: Olaf Hering 1 file changed, 12 insertions(+) diff --git a/hw/block/xen-block.c b/hw/block/xen-block.c -index ef635be4c2..7cbab33247 100644 +index 69d73196e2a074e771f5fb771649..9bc6db52b4be8510e322e61ba5a7 100644 --- a/hw/block/xen-block.c +++ b/hw/block/xen-block.c -@@ -730,6 +730,8 @@ static XenBlockDrive *xen_block_drive_create(const char *id, +@@ -741,6 +741,8 @@ static XenBlockDrive *xen_block_drive_create(const char *id, const char *mode = qdict_get_try_str(opts, "mode"); const char *direct_io_safe = qdict_get_try_str(opts, "direct-io-safe"); const char *discard_enable = qdict_get_try_str(opts, "discard-enable"); @@ -30,7 +30,7 @@ index ef635be4c2..7cbab33247 100644 char *driver = NULL; char *filename = NULL; XenBlockDrive *drive = NULL; -@@ -799,6 +801,16 @@ static XenBlockDrive *xen_block_drive_create(const char *id, +@@ -810,6 +812,16 @@ static XenBlockDrive *xen_block_drive_create(const char *id, } }