summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu
diff options
context:
space:
mode:
authorCristian Iorga <cristian.iorga@intel.com>2015-07-16 20:30:06 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-16 20:40:05 +0100
commit46720f0e7a119aa8792a9615ecbc237cb0bea769 (patch)
tree45be3846c41f215829650791ef65fe1239c1739e /meta/recipes-devtools/qemu
parent56542b84512047debd7b43d0f0b72987313f97ba (diff)
downloadpoky-46720f0e7a119aa8792a9615ecbc237cb0bea769.tar.gz
qemu: upgrade to 2.4.0-rc0
- Get rid of direct use of gnutls APIs in quorum blockdrv in favour of using the crypto APIs. - Convert VNC websockets to use crypto APIs. - quorum and vnc-ws packageconfig options no longer exist, removed. - All previous CVE are now included. - larger_default_ram_size.patch patch removed, no longer necessary. (From OE-Core rev: ff384c084678dab33bbd7eb82ece21a2baa13dfb) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu')
-rw-r--r--meta/recipes-devtools/qemu/qemu.inc3
-rw-r--r--meta/recipes-devtools/qemu/qemu/larger_default_ram_size.patch22
-rw-r--r--meta/recipes-devtools/qemu/qemu_2.3.0.bb32
-rw-r--r--meta/recipes-devtools/qemu/qemu_2.4.0-rc0.bb22
4 files changed, 22 insertions, 57 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index d794af9462..eba7d3dae5 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -15,7 +15,6 @@ QEMU_TARGETS ?= "arm aarch64 i386 mips mipsel mips64 mips64el ppc sh4 x86_64"
15 15
16SRC_URI = "\ 16SRC_URI = "\
17 file://powerpc_rom.bin \ 17 file://powerpc_rom.bin \
18 file://larger_default_ram_size.patch \
19 file://disable-grabs.patch \ 18 file://disable-grabs.patch \
20 file://exclude-some-arm-EABI-obsolete-syscalls.patch \ 19 file://exclude-some-arm-EABI-obsolete-syscalls.patch \
21 file://wacom.patch \ 20 file://wacom.patch \
@@ -89,9 +88,7 @@ PACKAGECONFIG[virtfs] = "--enable-virtfs --enable-attr,--disable-virtfs,libcap a
89PACKAGECONFIG[aio] = "--enable-linux-aio,--disable-linux-aio,libaio," 88PACKAGECONFIG[aio] = "--enable-linux-aio,--disable-linux-aio,libaio,"
90PACKAGECONFIG[xfs] = "--enable-xfsctl,--disable-xfsctl,xfsprogs," 89PACKAGECONFIG[xfs] = "--enable-xfsctl,--disable-xfsctl,xfsprogs,"
91PACKAGECONFIG[xen] = "--enable-xen,--disable-xen,xen,xen-libxenstore xen-libxenctrl xen-libxenguest" 90PACKAGECONFIG[xen] = "--enable-xen,--disable-xen,xen,xen-libxenstore xen-libxenctrl xen-libxenguest"
92PACKAGECONFIG[quorum] = "--enable-quorum, --disable-quorum, gnutls,"
93PACKAGECONFIG[vnc-tls] = "--enable-vnc --enable-vnc-tls,--disable-vnc-tls, gnutls," 91PACKAGECONFIG[vnc-tls] = "--enable-vnc --enable-vnc-tls,--disable-vnc-tls, gnutls,"
94PACKAGECONFIG[vnc-ws] = "--enable-vnc --enable-vnc-ws,--disable-vnc-ws, gnutls,"
95PACKAGECONFIG[vnc-sasl] = "--enable-vnc --enable-vnc-sasl,--disable-vnc-sasl,cyrus-sasl," 92PACKAGECONFIG[vnc-sasl] = "--enable-vnc --enable-vnc-sasl,--disable-vnc-sasl,cyrus-sasl,"
96PACKAGECONFIG[vnc-jpeg] = "--enable-vnc --enable-vnc-jpeg,--disable-vnc-jpeg,jpeg," 93PACKAGECONFIG[vnc-jpeg] = "--enable-vnc --enable-vnc-jpeg,--disable-vnc-jpeg,jpeg,"
97PACKAGECONFIG[vnc-png] = "--enable-vnc --enable-vnc-png,--disable-vnc-png,libpng," 94PACKAGECONFIG[vnc-png] = "--enable-vnc --enable-vnc-png,--disable-vnc-png,libpng,"
diff --git a/meta/recipes-devtools/qemu/qemu/larger_default_ram_size.patch b/meta/recipes-devtools/qemu/qemu/larger_default_ram_size.patch
deleted file mode 100644
index 711c36071d..0000000000
--- a/meta/recipes-devtools/qemu/qemu/larger_default_ram_size.patch
+++ /dev/null
@@ -1,22 +0,0 @@
1This patch is taken from debian. 128M is too less sometimes if distro
2with lot of packages is booted so this patch raises the default to 384M
3
4It has not been applied to upstream qemu
5
6Khem Raj <raj.khem@gmail.com>
7
8Upstream-Status: Pending
9
10Index: qemu-0.14.0/vl.c
11===================================================================
12--- qemu-0.14.0.orig/vl.c
13+++ qemu-0.14.0/vl.c
14@@ -168,7 +168,7 @@ int main(int argc, char **argv)
15 //#define DEBUG_NET
16 //#define DEBUG_SLIRP
17
18-#define DEFAULT_RAM_SIZE 128
19+#define DEFAULT_RAM_SIZE 384
20
21 #define MAX_VIRTIO_CONSOLES 1
22
diff --git a/meta/recipes-devtools/qemu/qemu_2.3.0.bb b/meta/recipes-devtools/qemu/qemu_2.3.0.bb
deleted file mode 100644
index cae0ad123a..0000000000
--- a/meta/recipes-devtools/qemu/qemu_2.3.0.bb
+++ /dev/null
@@ -1,32 +0,0 @@
1require qemu.inc
2
3LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \
4 file://COPYING.LIB;endline=24;md5=c04def7ae38850e7d3ef548588159913"
5
6SRC_URI += "file://configure-fix-Darwin-target-detection.patch \
7 file://qemu-enlarge-env-entry-size.patch \
8 file://Qemu-Arm-versatilepb-Add-memory-size-checking.patch \
9 file://qemu-CVE-2015-3456.patch \
10 file://01-xen-properly-gate-host-writes-of-modified-PCI-CFG-contents-CVE-2015-4103.patch \
11 file://02-xen-dont-allow-guest-to-control-MSI-mask-register-CVE-2015-4104.patch \
12 file://03-xen-MSI-X-limit-error-messages-CVE-2015-4105.patch \
13 file://04-xen-MSI-dont-open-code-pass-through-of-enable-bit-mod-CVE-2015-4106.patch \
14 file://05-xen-pt-consolidate-PM-capability-emu_mask-CVE-2015-4106.patch \
15 file://06-xen-pt-correctly-handle-PM-status-bit-CVE-2015-4106.patch \
16 file://07-xen-pt-split-out-calculation-of-throughable-mask-CVE-2015-4106.patch \
17 file://08-xen-pt-mark-all-PCIe-capability-bits-read-only-CVE-2015-4106.patch \
18 file://09-xen-pt-mark-reserved-bits-in-PCI-config-space-fields-CVE-2015-4106.patch \
19 file://10-xen-pt-add-a-few-PCI-config-space-field-descriptions-CVE-2015-4106.patch \
20 file://11-xen-pt-unknown-PCI-config-space-fields-should-be-readonly-CVE-2015-4106.patch \
21 file://qemu-fix-CVE-2015-3209.patch \
22 "
23SRC_URI_prepend = "http://wiki.qemu-project.org/download/${BP}.tar.bz2"
24SRC_URI[md5sum] = "2fab3ea4460de9b57192e5b8b311f221"
25SRC_URI[sha256sum] = "b6bab7f763d5be73e7cb5ee7d4c8365b7a8df2972c52fa5ded18893bd8281588"
26
27COMPATIBLE_HOST_class-target_mips64 = "null"
28
29do_install_append() {
30 # Prevent QA warnings about installed ${localstatedir}/run
31 if [ -d ${D}${localstatedir}/run ]; then rmdir ${D}${localstatedir}/run; fi
32}
diff --git a/meta/recipes-devtools/qemu/qemu_2.4.0-rc0.bb b/meta/recipes-devtools/qemu/qemu_2.4.0-rc0.bb
new file mode 100644
index 0000000000..62df46eac0
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu_2.4.0-rc0.bb
@@ -0,0 +1,22 @@
1require qemu.inc
2
3LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \
4 file://COPYING.LIB;endline=24;md5=c04def7ae38850e7d3ef548588159913"
5
6SRC_URI += "file://configure-fix-Darwin-target-detection.patch \
7 file://qemu-enlarge-env-entry-size.patch \
8 file://Qemu-Arm-versatilepb-Add-memory-size-checking.patch \
9 "
10SRC_URI_prepend = "http://wiki.qemu-project.org/download/${BPN}-${REALPV}.tar.bz2"
11SRC_URI[md5sum] = "0c890db3811f2ad9cc7bb2a5afe08e4c"
12SRC_URI[sha256sum] = "8dda3e0f9baffbe29b524c03fd46d611afed1dfb5da1becec033beaf76a1bc6d"
13S="${WORKDIR}/${BPN}-${REALPV}"
14REALPV = "2.4.0-rc0"
15PV = "2.3.99+${REALPV}"
16
17COMPATIBLE_HOST_class-target_mips64 = "null"
18
19do_install_append() {
20 # Prevent QA warnings about installed ${localstatedir}/run
21 if [ -d ${D}${localstatedir}/run ]; then rmdir ${D}${localstatedir}/run; fi
22}