[Qemu-devel] [PATCH RFC v11 0/2] add support for VCPU event states

Dongjiu Geng posted 2 patches 5 years, 7 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1538067351-23931-1-git-send-email-gengdongjiu@huawei.com
Test docker-clang@ubuntu passed
Test checkpatch passed
Test asan passed
Test docker-mingw@fedora failed
Test docker-quick@centos7 passed
include/standard-headers/linux/input.h |  9 ++---
linux-headers/asm-arm/kvm.h            | 13 ++++++++
linux-headers/asm-arm64/kvm.h          | 13 ++++++++
linux-headers/asm-x86/kvm.h            |  1 +
linux-headers/linux/kvm.h              |  2 ++
linux-headers/linux/vhost.h            |  2 +-
target/arm/cpu.h                       |  7 ++++
target/arm/kvm.c                       | 60 ++++++++++++++++++++++++++++++++++
target/arm/kvm32.c                     | 13 ++++++++
target/arm/kvm64.c                     | 13 ++++++++
target/arm/kvm_arm.h                   | 24 ++++++++++++++
target/arm/machine.c                   | 22 +++++++++++++
12 files changed, 174 insertions(+), 5 deletions(-)
[Qemu-devel] [PATCH RFC v11 0/2] add support for VCPU event states
Posted by Dongjiu Geng 5 years, 7 months ago
Support KVM_GET/SET_VCPU_EVENTS to get/set the SError exception state, and
support the state migration.

Now the VCPU event only includes the SError exception status, it can be
extended if needed. When do migration, If source machine has serror pending, 
the target machine is also needed to pend this serror regardless of whether
target machine can support to set the serror syndrome.

Note: Because I do not have arm32 environment, I only this patch in the KVM64,
not test it in the KVM32. So I need someone else test it in the 32 bit KVM platform.
Thanks.

Dongjiu Geng (2):
  linux-headers: Update to linux kernel 4.19-rc5
  target/arm: Add support for VCPU event states

 include/standard-headers/linux/input.h |  9 ++---
 linux-headers/asm-arm/kvm.h            | 13 ++++++++
 linux-headers/asm-arm64/kvm.h          | 13 ++++++++
 linux-headers/asm-x86/kvm.h            |  1 +
 linux-headers/linux/kvm.h              |  2 ++
 linux-headers/linux/vhost.h            |  2 +-
 target/arm/cpu.h                       |  7 ++++
 target/arm/kvm.c                       | 60 ++++++++++++++++++++++++++++++++++
 target/arm/kvm32.c                     | 13 ++++++++
 target/arm/kvm64.c                     | 13 ++++++++
 target/arm/kvm_arm.h                   | 24 ++++++++++++++
 target/arm/machine.c                   | 22 +++++++++++++
 12 files changed, 174 insertions(+), 5 deletions(-)

-- 
2.7.4


Re: [Qemu-devel] [PATCH RFC v11 0/2] add support for VCPU event states
Posted by Peter Maydell 5 years, 6 months ago
On 27 September 2018 at 17:55, Dongjiu Geng <gengdongjiu@huawei.com> wrote:
> Support KVM_GET/SET_VCPU_EVENTS to get/set the SError exception state, and
> support the state migration.
>
> Now the VCPU event only includes the SError exception status, it can be
> extended if needed. When do migration, If source machine has serror pending,
> the target machine is also needed to pend this serror regardless of whether
> target machine can support to set the serror syndrome.
>
> Note: Because I do not have arm32 environment, I only this patch in the KVM64,
> not test it in the KVM32. So I need someone else test it in the 32 bit KVM platform.
> Thanks.

Hi; could you clarify why this patchset is tagged RFC, please?
Is it just that it hasn't been tested on 32-bit ?

thanks
-- PMM

Re: [Qemu-devel] [PATCH RFC v11 0/2] add support for VCPU event states
Posted by gengdongjiu 5 years, 6 months ago
Hi peter,

    Thanks very much for this comments and very sorry for my late response due to business trave.

     Yes, the reason that tag the patchset to RFC is that it just  hasn't been tested on 32-bit. if someone else can test it on 32-bit platform, it will be great.

    I do not have 32-bit environment, so only tested it on 64-bit.


On 27 September 2018 at 17:55, Dongjiu Geng <gengdongjiu@huawei.com> wrote:
> Support KVM_GET/SET_VCPU_EVENTS to get/set the SError exception state, and
> support the state migration.
>
> Now the VCPU event only includes the SError exception status, it can be
> extended if needed. When do migration, If source machine has serror pending,
> the target machine is also needed to pend this serror regardless of whether
> target machine can support to set the serror syndrome.
>
> Note: Because I do not have arm32 environment, I only this patch in the KVM64,
> not test it in the KVM32. So I need someone else test it in the 32 bit KVM platform.
> Thanks.

Hi; could you clarify why this patchset is tagged RFC, please?
Is it just that it hasn't been tested on 32-bit ?

thanks
-- PMM