[Qemu-devel] [PATCH] target-i386: adds PV_SCHED_YIELD CPUID feature bit

Wanpeng Li posted 1 patch 4 years, 9 months ago
Test docker-clang@ubuntu failed
Test s390x failed
Test asan failed
Test docker-mingw@fedora passed
Test FreeBSD passed
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1562745044-7838-1-git-send-email-wanpengli@tencent.com
There is a newer version of this series
target/i386/cpu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[Qemu-devel] [PATCH] target-i386: adds PV_SCHED_YIELD CPUID feature bit
Posted by Wanpeng Li 4 years, 9 months ago
From: Wanpeng Li <wanpengli@tencent.com>

Adds PV_SCHED_YIELD CPUID feature bit.

Cc: Eduardo Habkost <ehabkost@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Wanpeng Li <wanpengli@tencent.com>
---
Note: kvm part is merged
v1 -> v2:
 * use bit 13 instead of bit 12 since bit 12 has user now

 target/i386/cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index 5f07d68..f4c4b6b 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -902,7 +902,7 @@ static FeatureWordInfo feature_word_info[FEATURE_WORDS] = {
             "kvmclock", "kvm-nopiodelay", "kvm-mmu", "kvmclock",
             "kvm-asyncpf", "kvm-steal-time", "kvm-pv-eoi", "kvm-pv-unhalt",
             NULL, "kvm-pv-tlb-flush", NULL, "kvm-pv-ipi",
-            NULL, NULL, NULL, NULL,
+            NULL, "kvm-pv-sched-yield', NULL, NULL,
             NULL, NULL, NULL, NULL,
             NULL, NULL, NULL, NULL,
             "kvmclock-stable-bit", NULL, NULL, NULL,
-- 
2.7.4


Re: [Qemu-devel] [PATCH] target-i386: adds PV_SCHED_YIELD CPUID feature bit
Posted by no-reply@patchew.org 4 years, 9 months ago
Patchew URL: https://patchew.org/QEMU/1562745044-7838-1-git-send-email-wanpengli@tencent.com/



Hi,

This series failed build test on s390x host. Please find the details below.

=== TEST SCRIPT BEGIN ===
#!/bin/bash
# Testing script will be invoked under the git checkout with
# HEAD pointing to a commit that has the patches applied on top of "base"
# branch
set -e

echo
echo "=== ENV ==="
env

echo
echo "=== PACKAGES ==="
rpm -qa

echo
echo "=== UNAME ==="
uname -a

CC=$HOME/bin/cc
INSTALL=$PWD/install
BUILD=$PWD/build
mkdir -p $BUILD $INSTALL
SRC=$PWD
cd $BUILD
$SRC/configure --cc=$CC --prefix=$INSTALL
make -j4
# XXX: we need reliable clean up
# make check -j4 V=1
make install
=== TEST SCRIPT END ===

  CC      arm-softmmu/qapi/qapi-visit-misc-target.o
  CC      i386-softmmu/target/i386/cpu.o
  CC      arm-softmmu/qapi/qapi-visit.o
/var/tmp/patchew-tester-tmp-r_8lpudq/src/target/i386/cpu.c:909:19: error: missing terminating " character [-Werror]
  909 |             NULL, "kvm-pv-sched-yield', NULL, NULL,
      |                   ^
/var/tmp/patchew-tester-tmp-r_8lpudq/src/target/i386/cpu.c:909:19: error: missing terminating " character
  909 |             NULL, "kvm-pv-sched-yield', NULL, NULL,
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors


The full log is available at
http://patchew.org/logs/1562745044-7838-1-git-send-email-wanpengli@tencent.com/testing.s390x/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to patchew-devel@redhat.com
Re: [Qemu-devel] [PATCH] target-i386: adds PV_SCHED_YIELD CPUID feature bit
Posted by no-reply@patchew.org 4 years, 9 months ago
Patchew URL: https://patchew.org/QEMU/1562745044-7838-1-git-send-email-wanpengli@tencent.com/



Hi,

This series failed the asan build test. Please find the testing commands and
their output below. If you have Docker installed, you can probably reproduce it
locally.

=== TEST SCRIPT BEGIN ===
#!/bin/bash
make docker-image-fedora V=1 NETWORK=1
time make docker-test-debug@fedora TARGET_LIST=x86_64-softmmu J=14 NETWORK=1
=== TEST SCRIPT END ===

  CC      x86_64-softmmu/trace/control-target.o
  CC      x86_64-softmmu/gdbstub-xml.o
  CC      x86_64-softmmu/trace/generated-helpers.o
/tmp/qemu-test/src/target/i386/cpu.c:909:19: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
            NULL, "kvm-pv-sched-yield', NULL, NULL,
                  ^
/tmp/qemu-test/src/target/i386/cpu.c:909:19: error: expected expression
2 errors generated.
make[1]: *** [/tmp/qemu-test/src/rules.mak:69: target/i386/cpu.o] Error 1
make[1]: *** Waiting for unfinished jobs....


The full log is available at
http://patchew.org/logs/1562745044-7838-1-git-send-email-wanpengli@tencent.com/testing.asan/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to patchew-devel@redhat.com