From patchwork Tue Aug 28 13:49:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dongjiu Geng X-Patchwork-Id: 10578549 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 6C4A4920 for ; Tue, 28 Aug 2018 13:50:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5D8CC2A320 for ; Tue, 28 Aug 2018 13:50:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 512422A327; Tue, 28 Aug 2018 13:50:58 +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=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F281A2A320 for ; Tue, 28 Aug 2018 13:50:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727973AbeH1Rml (ORCPT ); Tue, 28 Aug 2018 13:42:41 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:11609 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727725AbeH1Rml (ORCPT ); Tue, 28 Aug 2018 13:42:41 -0400 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 67E48EB291712; Tue, 28 Aug 2018 21:50:51 +0800 (CST) Received: from SHA150392835-N.china.huawei.com (10.45.52.187) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.399.0; Tue, 28 Aug 2018 21:50:44 +0800 From: Dongjiu Geng To: , , , , , Subject: [PATCH v8 0/2] add support for VCPU event states Date: Tue, 28 Aug 2018 21:49:13 +0800 Message-ID: <20180828134915.8744-1-gengdongjiu@huawei.com> X-Mailer: git-send-email 2.11.0.windows.1 MIME-Version: 1.0 X-Originating-IP: [10.45.52.187] X-CFilter-Loop: Reflected Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Support for 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(-)