qemu: Update to 2.9.0
PATCH 1/1 qemu: Update to 2.9.0
Upgrade QEMU to the latest version.
Signed-off-by Marek Vasut <[email protected]>
Cc Richard Purdie <[email protected]>
Cc Ross Burton <[email protected]>
---
...support-for-VM-suspend-resume-for-TPM-TIS.patch | 17 +++++---
.../recipes-devtools/qemu/qemu/CVE-2016-9908.patch | 44 --------------------
.../recipes-devtools/qemu/qemu/CVE-2016-9912.patch | 45 --------------------
.../qemu/qemu/target-ppc-fix-user-mode.patch | 48 ----------------------
.../qemu/{qemu_2.8.0.bb => qemu_2.9.0.bb} | 7 +---
5 files changed, 13 insertions(+), 148 deletions(-)
delete mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2016-9908.patch
delete mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2016-9912.patch
delete mode 100644 meta/recipes-devtools/qemu/qemu/target-ppc-fix-user-mode.patch
rename meta/recipes-devtools/qemu/{qemu_2.8.0.bb => qemu_2.9.0.bb} (87%)meta/recipes-devtools/qemu/qemu/0004-Add-support-for-VM-suspend-resume-for-TPM-TIS.patch +11 -6
@@ -142,13 +142,14 @@ index 44739ebad2..bc8072d0bc 100644 qemu_mutex_lock(&tpm_pt->state_lock); tpm_pt->tpm_busy = true; qemu_mutex_unlock(&tpm_pt->state_lock); -@@ -601,6 +640,25 @@ static int tpm_passthrough_open_sysfs_cancel(TPMBackend *tb) +@@ -601,6 +640,30 @@ static int tpm_passthrough_open_sysfs_cancel(TPMBackend *tb) return fd; } +static void tpm_passthrough_block_migration(TPMPassthruState *tpm_pt) +{ + ptm_cap caps; ++ Error *local_err = NULL; + + if (TPM_PASSTHROUGH_USES_CUSE_TPM(tpm_pt)) { + caps = PTM_CAP_GET_STATEBLOB | PTM_CAP_SET_STATEBLOB |
@@ -156,12 +157,16 @@ index 44739ebad2..bc8072d0bc 100644 + if (!TPM_CUSE_IMPLEMENTS_ALL(tpm_pt, caps)) { + error_setg(&tpm_pt->migration_blocker, + "Migration disabled: CUSE TPM lacks necessary capabilities"); -+ migrate_add_blocker(tpm_pt->migration_blocker); ++ migrate_add_blocker(tpm_pt->migration_blocker, &local_err); + } + } else { + error_setg(&tpm_pt->migration_blocker, + "Migration disabled: Passthrough TPM does not support migration"); -+ migrate_add_blocker(tpm_pt->migration_blocker); ++ migrate_add_blocker(tpm_pt->migration_blocker, &local_err); ++ } ++ if (local_err) { ++ error_report_err(local_err); ++ error_free(tpm_pt->migration_blocker); + } +} +
@@ -239,19 +244,19 @@ index 44739ebad2..bc8072d0bc 100644 + VMSTATE_UINT32(tpm_blobs.permanent_flags, TPMPassthruState), + VMSTATE_UINT32(tpm_blobs.permanent.size, TPMPassthruState), + VMSTATE_VBUFFER_ALLOC_UINT32(tpm_blobs.permanent.buffer, -+ TPMPassthruState, 1, NULL, 0, ++ TPMPassthruState, 1, NULL, + tpm_blobs.permanent.size), + + VMSTATE_UINT32(tpm_blobs.volatil_flags, TPMPassthruState), + VMSTATE_UINT32(tpm_blobs.volatil.size, TPMPassthruState), + VMSTATE_VBUFFER_ALLOC_UINT32(tpm_blobs.volatil.buffer, -+ TPMPassthruState, 1, NULL, 0, ++ TPMPassthruState, 1, NULL, + tpm_blobs.volatil.size), + + VMSTATE_UINT32(tpm_blobs.savestate_flags, TPMPassthruState), + VMSTATE_UINT32(tpm_blobs.savestate.size, TPMPassthruState), + VMSTATE_VBUFFER_ALLOC_UINT32(tpm_blobs.savestate.buffer, -+ TPMPassthruState, 1, NULL, 0, ++ TPMPassthruState, 1, NULL, + tpm_blobs.savestate.size), + VMSTATE_END_OF_LIST() + }
meta/recipes-devtools/qemu/qemu/CVE-2016-9908.patch deleted +0 -44
44 lines not on this page · raw message
meta/recipes-devtools/qemu/qemu/CVE-2016-9912.patch deleted +0 -45
45 lines not on this page · raw message
meta/recipes-devtools/qemu/qemu/target-ppc-fix-user-mode.patch deleted +0 -48
48 lines not on this page · raw message
meta/recipes-devtools/qemu/qemu_2.9.0.bb renamed from meta/recipes-devtools/qemu/qemu_2.8.0.bb +2 -5
@@ -19,7 +19,6 @@ SRC_URI += " \ file://no-valgrind.patch \ file://pathlimit.patch \ file://qemu-2.5.0-cflags.patch \ - file://target-ppc-fix-user-mode.patch \ file://glibc-2.25.patch \ "
@@ -28,8 +27,6 @@ SRC_URI += " \ file://0002-Introduce-condition-to-notify-waiters-of-completed-c.patch \ file://0003-Introduce-condition-in-TPM-backend-for-notification.patch \ file://0004-Add-support-for-VM-suspend-resume-for-TPM-TIS.patch \ - file://CVE-2016-9908.patch \ - file://CVE-2016-9912.patch \ " SRC_URI_append_class-native = " \
@@ -39,8 +36,8 @@ SRC_URI_append_class-native = " \ SRC_URI =+ "http://wiki.qemu-project.org/download/${BP}.tar.bz2" -SRC_URI[md5sum] = "17940dce063b6ce450a12e719a6c9c43" -SRC_URI[sha256sum] = "dafd5d7f649907b6b617b822692f4c82e60cf29bc0fc58bc2036219b591e5e62" +SRC_URI[md5sum] = "02781eb15b364aedef79da7a5113f5b7" +SRC_URI[sha256sum] = "00bfb217b1bb03c7a6c3261b819cfccbfb5a58e3e2ceff546327d271773c6c14" COMPATIBLE_HOST_mipsarchn32 = "null" COMPATIBLE_HOST_mipsarchn64 = "null"
Signature · 1 line
2.11.0