From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: [patch 5/5] qemu-kvm-x86: report pvclock runtime capability Date: Fri, 16 Oct 2009 01:08:51 -0300 Message-ID: <20091016041415.830184543@redhat.com> References: <20091016040845.957760057@redhat.com> Cc: riel@redhat.com, Marcelo Tosatti To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:4247 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751256AbZJPEPl (ORCPT ); Fri, 16 Oct 2009 00:15:41 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9G4FFv4016608 for ; Fri, 16 Oct 2009 00:15:15 -0400 Content-Disposition: inline; filename=pvclock-runtime-qemukvm Sender: kvm-owner@vger.kernel.org List-ID: Signed-off-by: Marcelo Tosatti diff --git a/qemu-kvm-x86.c b/qemu-kvm-x86.c index fffcfd8..0b8a858 100644 --- a/qemu-kvm-x86.c +++ b/qemu-kvm-x86.c @@ -1223,6 +1223,9 @@ struct kvm_para_features { #ifdef KVM_CAP_CR3_CACHE { KVM_CAP_CR3_CACHE, KVM_FEATURE_CR3_CACHE }, #endif +#ifdef KVM_CAP_PVCLOCK_RUNTIME + { KVM_CAP_PVCLOCK_RUNTIME, KVM_FEATURE_RUNTIME_INFO }, +#endif { -1, -1 } };