From: Paolo Bonzini Subject: Re: [PATCH] KVM: x86: KVM_CAP_SYNC_REGS Date: Tue, 3 Oct 2017 09:57:37 +0200 Message-ID: <0e8fd0e5-bda7-bc3c-2f17-aad949420604@redhat.com> References: <20170920174204.7215-1-hofsass@google.com> <61339084-7472-82a5-35bb-ff28589e1594@redhat.com> <047d372a-f7c5-9397-9a42-9f2f36412746@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Ken Hofsass , David Hildenbrand Return-path: Received: from mx1.redhat.com ([209.132.183.28]:59862 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751059AbdJCH5m (ORCPT ); Tue, 3 Oct 2017 03:57:42 -0400 In-Reply-To: Content-Language: en-US Sender: kvm-owner@vger.kernel.org List-ID: On 03/10/2017 03:40, Ken Hofsass wrote: >> I'm also not sure about the debug_regs... > > In part for completeness but also to have them available in a > non-interactive debugging/instrumentation scenario, e.g. when using > KVM to support driver/kernel development work. Since you are removing the "enable" part, querying the capability with the "check extension" ioctl can return the supported register sets. If So we can extend sync_regs to debug registers in the future! I agree that regs, sregs and events should be present since the first revision. Paolo