From patchwork Fri Oct 16 04:08:51 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcelo Tosatti X-Patchwork-Id: 54143 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n9G4MUTW022089 for ; Fri, 16 Oct 2009 04:22:31 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751344AbZJPEPp (ORCPT ); Fri, 16 Oct 2009 00:15:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751378AbZJPEPo (ORCPT ); Fri, 16 Oct 2009 00:15:44 -0400 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 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n9G4FEds028209; Fri, 16 Oct 2009 00:15:15 -0400 Received: from amt.cnet (vpn-10-29.str.redhat.com [10.32.10.29]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n9G4FCKZ012773; Fri, 16 Oct 2009 00:15:13 -0400 Received: from amt.cnet (amt.cnet [127.0.0.1]) by amt.cnet (Postfix) with ESMTP id 9DD95674347; Fri, 16 Oct 2009 01:15:02 -0300 (BRT) Received: (from marcelo@localhost) by amt.cnet (8.14.3/8.14.3/Submit) id n9G4F1pZ032165; Fri, 16 Oct 2009 01:15:01 -0300 Message-Id: <20091016041415.830184543@redhat.com> User-Agent: quilt/0.47-1 Date: Fri, 16 Oct 2009 01:08:51 -0300 From: Marcelo Tosatti To: kvm@vger.kernel.org Cc: riel@redhat.com, Marcelo Tosatti Subject: [patch 5/5] qemu-kvm-x86: report pvclock runtime capability References: <20091016040845.957760057@redhat.com> Content-Disposition: inline; filename=pvclock-runtime-qemukvm X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org 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 } };