From patchwork Sat Sep 15 17:32:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dongjiu Geng X-Patchwork-Id: 10601419 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CF0FF13AD for ; Sat, 15 Sep 2018 09:31:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B5AD22AE15 for ; Sat, 15 Sep 2018 09:31:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A91EF2AE50; Sat, 15 Sep 2018 09:31:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.0 required=2.0 tests=BAYES_00,DATE_IN_FUTURE_06_12, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 227AA2AE15 for ; Sat, 15 Sep 2018 09:31:32 +0000 (UTC) Received: from localhost ([::1]:54860 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g16vL-0000gi-Gx for patchwork-qemu-devel@patchwork.kernel.org; Sat, 15 Sep 2018 05:31:31 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45197) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g16sM-0007Kk-Rd for qemu-devel@nongnu.org; Sat, 15 Sep 2018 05:28:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g16sM-0004mG-6r for qemu-devel@nongnu.org; Sat, 15 Sep 2018 05:28:26 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:2564 helo=huawei.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g16s1-00047E-J7; Sat, 15 Sep 2018 05:28:06 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 499BAB93C0060; Sat, 15 Sep 2018 17:27:53 +0800 (CST) Received: from localhost.localdomain (10.143.28.90) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.399.0; Sat, 15 Sep 2018 17:27:46 +0800 From: Dongjiu Geng To: , , Date: Sat, 15 Sep 2018 13:32:05 -0400 Message-ID: <1537032727-29397-1-git-send-email-gengdongjiu@huawei.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-Originating-IP: [10.143.28.90] X-CFilter-Loop: Reflected X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 45.249.212.191 Subject: [Qemu-devel] [PATCH v9 0/2] add support for VCPU event states X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: gengdongjiu@huawei.com Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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. Dongjiu Geng (2): linux-headers: Update to kernel mainline commit 815f0ddb3 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/linux/kvm.h | 1 + target/arm/cpu.h | 7 ++++ target/arm/kvm64.c | 69 ++++++++++++++++++++++++++++++++++ target/arm/machine.c | 22 +++++++++++ 7 files changed, 130 insertions(+), 4 deletions(-)