Skip to contentSkip to conversation

kvmtool: uprev to latest version

PATCH In review Mark Asselstine 2 participants 2 messages May 28, 2018 – May 29, 2018

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 kvmtool: uprev to latest version

Currently on the master branch builds of kvmtool are failing due to several missing headers. We need to only use the uapi headers and we also need the kvmtool upstream commit 1cc05b24bfe0 [x86/kvm-cpu.c:
don't include <asm/msr-index.h>] to get the builds to work. So we can't do this as a fix and uprev and must do both at once in this single commit.

The upstream project does not have releases so using the latest commit and setting the version to 4.14.0 to reflect the kernel version we currently build and which tests were done with, when using Yocto master.

---

V2:
* Add changes missed in V1 to set SRCREV and PV

 recipes-extended/kvmtool/kvmtool.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
recipes-extended/kvmtool/kvmtool.bb +3 -3
index 33fec31..d487ee2 100644
@@ -16,12 +16,12 @@ SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/will/kvmtool.git \
            file://0002-kvmtool-add-EXTRA_CFLAGS-variable.patch \
            "
 
-SRCREV = "3fea89a924511f9f8fe05a892098fad77c1eca0d"
-PV = "3.18.0+git${SRCREV}"
+SRCREV = "0e1882a49f81cb15d328ef83a78849c0ea26eecc"
+PV = "4.14.0+git${SRCREV}"
 
 S = "${WORKDIR}/git"
 
-EXTRA_OEMAKE='V=1 EXTRA_CFLAGS="-I${STAGING_KERNEL_DIR}/arch/${ARCH}/include -I${STAGING_KERNEL_BUILDDIR}/arch/${ARCH}/include/generated/"'
+EXTRA_OEMAKE='V=1 EXTRA_CFLAGS="-I${STAGING_KERNEL_BUILDDIR}/include/generated -I${STAGING_KERNEL_BUILDDIR}/arch/${ARCH}/include/generated"'
 
 do_install() {
     install -d ${D}${bindir}
Signature · 1 line
2.7.4
#1 lore raw

v2 is merged

Bruce

Quoted 54 lines · Mark Asselstine

Currently on the master branch builds of kvmtool are failing due to several missing headers. We need to only use the uapi headers and we also need the kvmtool upstream commit 1cc05b24bfe0 [x86/kvm-cpu.c:
don't include <asm/msr-index.h>] to get the builds to work. So we can't do this as a fix and uprev and must do both at once in this single commit.

The upstream project does not have releases so using the latest commit and setting the version to 4.14.0 to reflect the kernel version we currently build and which tests were done with, when using Yocto master.

---

V2:
* Add changes missed in V1 to set SRCREV and PV

 recipes-extended/kvmtool/kvmtool.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
recipes-extended/kvmtool/kvmtool.bb +3 -6
index 33fec31..d487ee2 100644
@@ -16,12 +16,12 @@ SRC_URI = "git://git.kernel.org/pub/scm/
 linux/kernel/git/will/kvmtool.git \
            file://0002-kvmtool-add-EXTRA_CFLAGS-variable.patch \
            "
 
-SRCREV = "3fea89a924511f9f8fe05a892098fad77c1eca0d"
-PV = "3.18.0+git${SRCREV}"
+SRCREV = "0e1882a49f81cb15d328ef83a78849c0ea26eecc"
+PV = "4.14.0+git${SRCREV}"
 
 S = "${WORKDIR}/git"
 
-EXTRA_OEMAKE='V=1 EXTRA_CFLAGS="-I${STAGING_KERNEL_DIR}/arch/${ARCH}/include
-I${STAGING_KERNEL_BUILDDIR}/arch/${ARCH}/include/generated/"'
+EXTRA_OEMAKE='V=1 EXTRA_CFLAGS="-I${STAGING_KERNEL_BUILDDIR}/include/generated
-I${STAGING_KERNEL_BUILDDIR}/arch/${ARCH}/include/generated"'
 
 do_install() {
     install -d ${D}${bindir}
--

2.7.4

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"