From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34873) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAhC4-0001sM-FL for qemu-devel@nongnu.org; Thu, 02 Jul 2015 12:18:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZAhBz-0001jz-CK for qemu-devel@nongnu.org; Thu, 02 Jul 2015 12:18:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55500) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAhBz-0001jv-6l for qemu-devel@nongnu.org; Thu, 02 Jul 2015 12:18:27 -0400 References: <1435853275-5440-1-git-send-email-den@openvz.org> <1435853275-5440-13-git-send-email-den@openvz.org> From: Paolo Bonzini Message-ID: <5595644D.5040706@redhat.com> Date: Thu, 2 Jul 2015 18:18:21 +0200 MIME-Version: 1.0 In-Reply-To: <1435853275-5440-13-git-send-email-den@openvz.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 12/12] qemu/kvm/x86: hyper-v crash msrs set/get'ers and migration List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Denis V. Lunev" Cc: Andrey Smetanin , qemu-devel@nongnu.org, kvm@vger.kernel.org, =?UTF-8?Q?Andreas_F=c3=a4rber?= On 02/07/2015 18:07, Denis V. Lunev wrote: > + if (cpu->hyperv_crash && > + kvm_check_extension(cs->kvm_state, KVM_CAP_HYPERV_MSR_CRASH) > 0) { > + c->edx |= HV_X64_GUEST_CRASH_MSR_AVAILABLE; > + has_msr_hv_crash = true; > + } > + Please patch kvm_get_supported_msrs instead of adding a capability. The QEMU parts are otherwise okay. Paolo