From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8FDABC433FE for ; Wed, 13 Oct 2021 09:35:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7314060FDA for ; Wed, 13 Oct 2021 09:35:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239057AbhJMJh5 (ORCPT ); Wed, 13 Oct 2021 05:37:57 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:49478 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235811AbhJMJhx (ORCPT ); Wed, 13 Oct 2021 05:37:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1634117750; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZTKRszVVxh4cNNNrBxZ/ELkjttXYs1zNHg2NC0pK2Rs=; b=TzxeUJ+hwKkxkJb4tCFfwL+o3SBBeG4CjxBu16aEoRHot7OBLEyNmI5LQziQaQFokU8F5B zMRNP9TLWHg3EanOX5QFXXsLYRIh5zko4V4/u+m5VRVlyVB9f+yf+oVg9ezkKkHGQmq/Jx ZxFvXO3bqwoQC79li1A08+9P08/dKYA= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-587-9ng6Z4VxMkiO80hr7nSUKQ-1; Wed, 13 Oct 2021 05:32:29 -0400 X-MC-Unique: 9ng6Z4VxMkiO80hr7nSUKQ-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B19A6A40C1; Wed, 13 Oct 2021 09:32:28 +0000 (UTC) Received: from starship (unknown [10.35.206.50]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0FF89196F8; Wed, 13 Oct 2021 09:32:26 +0000 (UTC) Message-ID: Subject: Re: [PATCH 0/3] KVM: qemu patches for few KVM features I developed From: Maxim Levitsky To: qemu-devel@nongnu.org Cc: Marcelo Tosatti , Paolo Bonzini , Philippe =?ISO-8859-1?Q?Mathieu-Daud=E9?= , kvm@vger.kernel.org, Alex =?ISO-8859-1?Q?Benn=E9e?= Date: Wed, 13 Oct 2021 12:32:25 +0300 In-Reply-To: <20210914155214.105415-1-mlevitsk@redhat.com> References: <20210914155214.105415-1-mlevitsk@redhat.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5 (3.36.5-2.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Tue, 2021-09-14 at 18:52 +0300, Maxim Levitsky wrote: > These patches implement the qemu side logic to support > the KVM features I developed recently. > > First two patches are for features that are already accepted > upstream, and I already posted them on the qemu mailing list once. > > And the 3rd patch is for nested TSC scaling on SVM > which isn't yet accepted in KVM but can already be added to qemu since > it is conditional on KVM supporting it, and ABI wise it only relies > on SVM spec. > > Best regards, > Maxim Levitsky > > Maxim Levitsky (3): > KVM: use KVM_{GET|SET}_SREGS2 when supported. > gdbstub: implement NOIRQ support for single step on KVM > KVM: SVM: add migration support for nested TSC scaling > > accel/kvm/kvm-all.c | 30 +++++++++++ > gdbstub.c | 60 +++++++++++++++++---- > include/sysemu/kvm.h | 17 ++++++ > target/i386/cpu.c | 5 ++ > target/i386/cpu.h | 7 +++ > target/i386/kvm/kvm.c | 122 +++++++++++++++++++++++++++++++++++++++++- > target/i386/machine.c | 53 ++++++++++++++++++ > 7 files changed, 282 insertions(+), 12 deletions(-) > > -- > 2.26.3 > > Kind ping on these patches. Best regards, Maxim Levitsky From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DF298C433F5 for ; Wed, 13 Oct 2021 09:52:45 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9048D60E53 for ; Wed, 13 Oct 2021 09:52:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 9048D60E53 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=nongnu.org Received: from localhost ([::1]:53470 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1maawG-0005PK-OY for qemu-devel@archiver.kernel.org; Wed, 13 Oct 2021 05:52:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60042) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1maafQ-00080r-U6 for qemu-devel@nongnu.org; Wed, 13 Oct 2021 05:35:22 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:54915) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1maafL-0007Vp-0L for qemu-devel@nongnu.org; Wed, 13 Oct 2021 05:35:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1634117712; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZTKRszVVxh4cNNNrBxZ/ELkjttXYs1zNHg2NC0pK2Rs=; b=TqUGkzQidzohH8+RZnaI8jloyU+Ao7yM6wLk5r7g/Pv63fUnVr0SHQc0FMMK6N4GXSaNEf +TVSDDeLBEnSm32NeJ2TZE27CbXgHplleHsaufeEyMKNxd7gbBICyqGULEdRd8YhjuTaJj yh0qiCpUoGKDDPeCQ3uu2hChlvoxH50= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-587-9ng6Z4VxMkiO80hr7nSUKQ-1; Wed, 13 Oct 2021 05:32:29 -0400 X-MC-Unique: 9ng6Z4VxMkiO80hr7nSUKQ-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B19A6A40C1; Wed, 13 Oct 2021 09:32:28 +0000 (UTC) Received: from starship (unknown [10.35.206.50]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0FF89196F8; Wed, 13 Oct 2021 09:32:26 +0000 (UTC) Message-ID: Subject: Re: [PATCH 0/3] KVM: qemu patches for few KVM features I developed From: Maxim Levitsky To: qemu-devel@nongnu.org Date: Wed, 13 Oct 2021 12:32:25 +0300 In-Reply-To: <20210914155214.105415-1-mlevitsk@redhat.com> References: <20210914155214.105415-1-mlevitsk@redhat.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5 (3.36.5-2.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Received-SPF: pass client-ip=216.205.24.124; envelope-from=mlevitsk@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.049, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alex =?ISO-8859-1?Q?Benn=E9e?= , Paolo Bonzini , Marcelo Tosatti , Philippe =?ISO-8859-1?Q?Mathieu-Daud=E9?= , kvm@vger.kernel.org Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On Tue, 2021-09-14 at 18:52 +0300, Maxim Levitsky wrote: > These patches implement the qemu side logic to support > the KVM features I developed recently. > > First two patches are for features that are already accepted > upstream, and I already posted them on the qemu mailing list once. > > And the 3rd patch is for nested TSC scaling on SVM > which isn't yet accepted in KVM but can already be added to qemu since > it is conditional on KVM supporting it, and ABI wise it only relies > on SVM spec. > > Best regards, > Maxim Levitsky > > Maxim Levitsky (3): > KVM: use KVM_{GET|SET}_SREGS2 when supported. > gdbstub: implement NOIRQ support for single step on KVM > KVM: SVM: add migration support for nested TSC scaling > > accel/kvm/kvm-all.c | 30 +++++++++++ > gdbstub.c | 60 +++++++++++++++++---- > include/sysemu/kvm.h | 17 ++++++ > target/i386/cpu.c | 5 ++ > target/i386/cpu.h | 7 +++ > target/i386/kvm/kvm.c | 122 +++++++++++++++++++++++++++++++++++++++++- > target/i386/machine.c | 53 ++++++++++++++++++ > 7 files changed, 282 insertions(+), 12 deletions(-) > > -- > 2.26.3 > > Kind ping on these patches. Best regards, Maxim Levitsky