qemu: Upgrade to 2.6.0
PATCH 1/4 qemu: Upgrade to 2.6.0
From: Marek Vasut <[email protected]>
Signed-off-by Marek Vasut <[email protected]>
---
.../recipes-devtools/qemu/qemu/CVE-2016-2198.patch | 45 -----
.../recipes-devtools/qemu/qemu/CVE-2016-2858.patch | 183 ---------------------
.../recipes-devtools/qemu/qemu/disable-grabs.patch | 4 +-
.../fix-libcap-header-issue-on-some-distro.patch | 6 +-
...ng_move_request_from_RngEgd_to_RngBackend.patch | 138 ----------------
...t_queue_cleanup_from_RngEgd_to_RngBackend.patch | 150 -----------------
...move_the_unused_request_cancellation_code.patch | 101 ------------
.../qemu/{qemu_2.5.1.1.bb => qemu_2.6.0.bb} | 9 +-
8 files changed, 7 insertions(+), 629 deletions(-)
delete mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2016-2198.patch
delete mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2016-2858.patch
delete mode 100644 meta/recipes-devtools/qemu/qemu/rng_move_request_from_RngEgd_to_RngBackend.patch
delete mode 100644 meta/recipes-devtools/qemu/qemu/rng_move_request_queue_cleanup_from_RngEgd_to_RngBackend.patch
delete mode 100644 meta/recipes-devtools/qemu/qemu/rng_remove_the_unused_request_cancellation_code.patch
rename meta/recipes-devtools/qemu/{qemu_2.5.1.1.bb => qemu_2.6.0.bb} (62%)meta/recipes-devtools/qemu/qemu/CVE-2016-2198.patch deleted +0 -45
@@ -1,45 +0,0 @@ -From: Prasad J Pandit <address@hidden> - -USB Ehci emulation supports host controller capability registers. -But its mmio '.write' function was missing, which lead to a null -pointer dereference issue. Add a do nothing 'ehci_caps_write' -definition to avoid it; Do nothing because capability registers -are Read Only(RO). - -Reported-by: Zuozhi Fzz <address@hidden> -Signed-off-by: Prasad J Pandit <address@hidden> - -Upstream-Status: Backport -https://lists.gnu.org/archive/html/qemu-devel/2016-01/msg05899.html - -CVE: CVE-2016-2198 -Signed-off-by: Armin Kuster <[email protected]> - ---- - hw/usb/hcd-ehci.c | 6 ++++++ - 1 file changed, 6 insertions(+) - -Index: qemu-2.5.0/hw/usb/hcd-ehci.c -=================================================================== ---- qemu-2.5.0.orig/hw/usb/hcd-ehci.c -+++ qemu-2.5.0/hw/usb/hcd-ehci.c -@@ -893,6 +893,11 @@ static uint64_t ehci_caps_read(void *ptr - return s->caps[addr]; - } - -+static void ehci_caps_write(void *ptr, hwaddr addr, -+ uint64_t val, unsigned size) -+{ -+} -+ - static uint64_t ehci_opreg_read(void *ptr, hwaddr addr, - unsigned size) - { -@@ -2310,6 +2315,7 @@ static void ehci_frame_timer(void *opaqu - - static const MemoryRegionOps ehci_mmio_caps_ops = { - .read = ehci_caps_read, -+ .write = ehci_caps_write, - .valid.min_access_size = 1, - .valid.max_access_size = 4, - .impl.min_access_size = 1,
meta/recipes-devtools/qemu/qemu/CVE-2016-2858.patch deleted +0 -183
183 lines not on this page · raw message
meta/recipes-devtools/qemu/qemu/disable-grabs.patch +2 -2
@@ -29,9 +29,9 @@ index 39a42d6..9b8abe5 100644 --- a/ui/sdl.c +++ b/ui/sdl.c @@ -59,6 +59,10 @@ static SDL_Cursor *guest_sprite = NULL; - static SDL_PixelFormat host_format; static int scaling_active = 0; static Notifier mouse_mode_notifier; + static int idle_counter; +#ifndef True +#define True 1 +#endif
@@ -40,7 +40,7 @@ index 39a42d6..9b8abe5 100644 static void sdl_update(DisplayChangeListener *dcl, int x, int y, int w, int h) @@ -384,14 +388,16 @@ static void sdl_grab_start(void) - SDL_WarpMouse(guest_x, guest_y); + } } else sdl_hide_cursor(); - SDL_WM_GrabInput(SDL_GRAB_ON);
meta/recipes-devtools/qemu/qemu/fix-libcap-header-issue-on-some-distro.patch +3 -3
@@ -67,9 +67,9 @@ diff --git a/fsdev/virtfs-proxy-helper.c b/fsdev/virtfs-proxy-helper.c #include <sys/vfs.h> #include <sys/ioctl.h> @@ -26,7 +25,11 @@ - #include "virtio-9p-marshal.h" - #include "hw/9pfs/virtio-9p-proxy.h" - #include "fsdev/virtio-9p-marshal.h" + #include "9p-iov-marshal.h" + #include "hw/9pfs/9p-proxy.h" + #include "fsdev/9p-iov-marshal.h" - +/* + * Include this one last due to some versions of it being buggy:
meta/recipes-devtools/qemu/qemu/rng_move_request_from_RngEgd_to_RngBackend.patch deleted +0 -138
138 lines not on this page · raw message
meta/recipes-devtools/qemu/qemu/rng_move_request_queue_cleanup_from_RngEgd_to_RngBackend.patch deleted +0 -150
150 lines not on this page · raw message
meta/recipes-devtools/qemu/qemu/rng_remove_the_unused_request_cancellation_code.patch deleted +0 -101
101 lines not on this page · raw message
meta/recipes-devtools/qemu/qemu_2.6.0.bb renamed from meta/recipes-devtools/qemu/qemu_2.5.1.1.bb +2 -7
@@ -7,16 +7,11 @@ SRC_URI += "file://configure-fix-Darwin-target-detection.patch \ file://qemu-enlarge-env-entry-size.patch \ file://Qemu-Arm-versatilepb-Add-memory-size-checking.patch \ file://no-valgrind.patch \ - file://CVE-2016-2198.patch \ file://pathlimit.patch \ - file://rng_move_request_from_RngEgd_to_RngBackend.patch \ - file://rng_remove_the_unused_request_cancellation_code.patch \ - file://rng_move_request_queue_cleanup_from_RngEgd_to_RngBackend.patch \ - file://CVE-2016-2858.patch \ " SRC_URI_prepend = "http://wiki.qemu-project.org/download/${BP}.tar.bz2" -SRC_URI[md5sum] = "f5ff0e71398b9e428b4f177001ba4285" -SRC_URI[sha256sum] = "28d9946e43765a44ccccca3cba5f4f9034f2759ec1f2ce16594ddb6776c8efe6" +SRC_URI[md5sum] = "ca3f70b43f093e33e9e014f144067f13" +SRC_URI[sha256sum] = "c9ac4a651b273233d21b8bec32e30507cb9cce7900841febc330956a1a8434ec" COMPATIBLE_HOST_class-target_mips64 = "null"
Signature · 1 line
2.8.2
PATCH 2/4 musl: Update to latest tip
Bobby Bingham (3):
x32: remove arch-specific syscall remapping
x32: eliminate __X32_SYSCALL_BIT constant deduplicate __NR_* and SYS_* syscall number definitions
Signed-off-by Khem Raj <[email protected]>
--- meta/recipes-core/musl/musl_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/musl/musl_git.bb +1 -1
@@ -3,7 +3,7 @@ require musl.inc -SRCREV = "49631b7b6c8b8c055aae5b6948930c219b95fdef" +SRCREV = "63e3a1661f1fa5552e2023683617ce09fac3248b" PV = "1.1.14+git${SRCPV}"
Signature · 1 line
2.8.2
Quoted 3 lines · Khem Raj
From: Marek Vasut <[email protected]>
Signed-off-by Marek Vasut <[email protected]>
Note to self -- commit message wouldn't hurt ;-)
Best regards,
Marek Vasut