Skip to contentSkip to conversation

patchtest: fix virtio-9p-pci is not a valid device

PATCH In review [email protected] 2 participants 6 messages Jun 13, 2019 – Aug 14, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 patchtest: fix virtio-9p-pci is not a valid device

From: Changqing Li <[email protected]>

fix error during runqemu:
test_mount: 'virtio-9p-pci' is not a valid device model name

recipe qemu has been splited into qemu/qemu-native/qemu-sytem-native

---
 meta-patchtest/recipes-devtools/qemu/qemu-system-native_%.bbappend | 1 +
 meta-patchtest/recipes-devtools/qemu/qemu_%.bbappend               | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)
 create mode 100644 meta-patchtest/recipes-devtools/qemu/qemu-system-native_%.bbappend
 delete mode 100644 meta-patchtest/recipes-devtools/qemu/qemu_%.bbappend
meta-patchtest/recipes-devtools/qemu/qemu-system-native_%.bbappend new file +1 -0
new file mode 100644
index 0000000..a91ccb7
@@ -0,0 +1 @@
+PACKAGECONFIG_append = " virtfs"
meta-patchtest/recipes-devtools/qemu/qemu_%.bbappend deleted +0 -1
deleted file mode 100644
index 3ad9f03..0000000
@@ -1 +0,0 @@
-PACKAGECONFIG_append_pn-qemu-native = " virtfs"
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/2 patchtest: fix linux-yocto version

From: Changqing Li <[email protected]>

4.9 is not avaiable currently, preferred version changed to 5.0, also correct the bbappend name

---
 .../linux/{linux-yocto_4.%.bbappend => linux-yocto_%.bbappend}       | 0
 scripts/create-guest-machine                                         | 5 +----
 2 files changed, 1 insertion(+), 4 deletions(-)
 rename meta-patchtest/recipes-kernel/linux/{linux-yocto_4.%.bbappend => linux-yocto_%.bbappend} (100%)
meta-patchtest/recipes-kernel/linux/linux-yocto_%.bbappend renamed from meta-patchtest/recipes-kernel/linux/linux-yocto_4.%.bbappend +0 -0
similarity index 100%
rename from meta-patchtest/recipes-kernel/linux/linux-yocto_4.%.bbappend
rename to meta-patchtest/recipes-kernel/linux/linux-yocto_%.bbappend
scripts/create-guest-machine +1 -4
index 8dd6a2e..151d5c2 100755
@@ -145,10 +145,7 @@ cat >> $POKY/build/conf/auto.conf << EOF
 $PTSMARK
 MACHINE = "$MACHINE"
 
-# The preferred kernel version in poky (4.10%, master) returns an error whilst
-# executing patchtest on guest. Changing the preferred version to 4.9% as it
-# is more suitable and does not present any errors.
-PREFERRED_VERSION_linux-yocto_qemux86-64 = "4.9%"
+PREFERRED_VERSION_linux-yocto_qemux86-64 = "5.0%"
 
 PACKAGE_CLASSES = "package_ipk"
 IMAGE_FSTYPES = "ext4"
Signature · 1 line
2.7.4
#2 lore raw

Re: [patchtest][PATCH 2/2] patchtest: fix linux-yocto version

Quoted 4 lines · On Thu, Jun 13, 2019 at 03:46:04PM +0800, [email protected] wrote:

From: Changqing Li <[email protected]>

4.9 is not avaiable currently, preferred version changed to 5.0, also correct the bbappend name

5.0 is already EOL upstream and will be removed soon.

scripts/create-guest-machine cat >> $POKY/build/conf/auto.conf << EOF · line 148

Quoted 13 lines

...

scripts/create-guest-machine +1 -4
@@ -145,10 +145,7 @@ cat >> $POKY/build/conf/auto.conf << EOF
 $PTSMARK
 MACHINE = "$MACHINE"
 
-# The preferred kernel version in poky (4.10%, master) returns an error whilst
-# executing patchtest on guest. Changing the preferred version to 4.9% as it
-# is more suitable and does not present any errors.
-PREFERRED_VERSION_linux-yocto_qemux86-64 = "4.9%"
+PREFERRED_VERSION_linux-yocto_qemux86-64 = "5.0%"
...

This looks as if it was a temporary workaround for some problem with kernel 4.10.

If 5.0 works, then there is not really a reason for changing the preferred version here.

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed
#3 lore raw

Re: [patchtest][PATCH 2/2] patchtest: fix linux-yocto version

Quoted 23 lines · Adrian Bunk
Quoted 4 lines · On Thu, Jun 13, 2019 at 03:46:04PM +0800, [email protected] wrote:

From: Changqing Li <[email protected]>

4.9 is not avaiable currently, preferred version changed to 5.0, also correct the bbappend name

5.0 is already EOL upstream and will be removed soon.

scripts/create-guest-machine cat >> $POKY/build/conf/auto.conf << EOF · line 148

Quoted 13 lines

...

scripts/create-guest-machine +1 -4
@@ -145,10 +145,7 @@ cat >> $POKY/build/conf/auto.conf << EOF
  $PTSMARK
  MACHINE = "$MACHINE"
 
-# The preferred kernel version in poky (4.10%, master) returns an error whilst
-# executing patchtest on guest. Changing the preferred version to 4.9% as it
-# is more suitable and does not present any errors.
-PREFERRED_VERSION_linux-yocto_qemux86-64 = "4.9%"
+PREFERRED_VERSION_linux-yocto_qemux86-64 = "5.0%"
...

This looks as if it was a temporary workaround for some problem with kernel 4.10.

Quoted 2 lines

If 5.0 works, then there is not really a reason for changing the preferred version here.

Thanks, I will remove this line.

Quoted 4 lines

cu
Adrian

Signature · 3 lines
BRs

Sandy(Li Changqing)
#4 lore raw

PATCH v2 1/1 patchtest: fix linux-yocto version

In reply to Adrian Bunk

From: Changqing Li <[email protected]>

4.9 is not avaiable currently, so remove version from bbappend and remove PREFERRED_VERSION.

---
 .../linux/{linux-yocto_4.%.bbappend => linux-yocto_%.bbappend}       | 0
 scripts/create-guest-machine                                         | 5 -----
 2 files changed, 5 deletions(-)
 rename meta-patchtest/recipes-kernel/linux/{linux-yocto_4.%.bbappend => linux-yocto_%.bbappend} (100%)
meta-patchtest/recipes-kernel/linux/linux-yocto_%.bbappend renamed from meta-patchtest/recipes-kernel/linux/linux-yocto_4.%.bbappend +0 -0
similarity index 100%
rename from meta-patchtest/recipes-kernel/linux/linux-yocto_4.%.bbappend
rename to meta-patchtest/recipes-kernel/linux/linux-yocto_%.bbappend
scripts/create-guest-machine +0 -5
index 8dd6a2e..8381ef8 100755
@@ -145,11 +145,6 @@ cat >> $POKY/build/conf/auto.conf << EOF
 $PTSMARK
 MACHINE = "$MACHINE"
 
-# The preferred kernel version in poky (4.10%, master) returns an error whilst
-# executing patchtest on guest. Changing the preferred version to 4.9% as it
-# is more suitable and does not present any errors.
-PREFERRED_VERSION_linux-yocto_qemux86-64 = "4.9%"
-
 PACKAGE_CLASSES = "package_ipk"
 IMAGE_FSTYPES = "ext4"
 SSTATE_MIRRORS ?= "file://.* http://sstate.yoctoproject.org/dev/PATH"
Signature · 1 line
2.7.4
#5 lore raw

Re: [patchtest][PATCH V2] patchtest: fix linux-yocto version

Hi, Richard

This patchset need to be merged.

patchtest: fix linux-yocto version

and patchtest: fix virtio-9p-pci is not a valid device

Thanks

Quoted 32 lines · On 6/13/19 5:16 PM, [email protected] wrote:

From: Changqing Li <[email protected]>

4.9 is not avaiable currently, so remove version from bbappend and remove PREFERRED_VERSION.

---
  .../linux/{linux-yocto_4.%.bbappend => linux-yocto_%.bbappend}       | 0
  scripts/create-guest-machine                                         | 5 -----
  2 files changed, 5 deletions(-)

rename meta-patchtest/recipes-kernel/linux/{linux-yocto_4.%.bbappend => linux-yocto_%.bbappend} (100%)

meta-patchtest/recipes-kernel/linux/linux-yocto_%.bbappend renamed from meta-patchtest/recipes-kernel/linux/linux-yocto_4.%.bbappend +0 -0
similarity index 100%
rename from meta-patchtest/recipes-kernel/linux/linux-yocto_4.%.bbappend
rename to meta-patchtest/recipes-kernel/linux/linux-yocto_%.bbappend
scripts/create-guest-machine +0 -5
index 8dd6a2e..8381ef8 100755
@@ -145,11 +145,6 @@ cat >> $POKY/build/conf/auto.conf << EOF
  $PTSMARK
  MACHINE = "$MACHINE"
 
-# The preferred kernel version in poky (4.10%, master) returns an error whilst
-# executing patchtest on guest. Changing the preferred version to 4.9% as it
-# is more suitable and does not present any errors.
-PREFERRED_VERSION_linux-yocto_qemux86-64 = "4.9%"
-
  PACKAGE_CLASSES = "package_ipk"
  IMAGE_FSTYPES = "ext4"
  SSTATE_MIRRORS ?= "file://.* http://sstate.yoctoproject.org/dev/PATH"
Signature · 3 lines
BRs

Sandy(Li Changqing)