From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: KVM's PIT and PIC programming question Date: Thu, 20 Aug 2009 18:20:42 +0300 Message-ID: <4A8D69CA.9060905@redhat.com> References: <4158487B9DEE0647BA23911D1C22795712DF668F5B@orsmsx501.amr.corp.intel.com> <4A8D0944.10901@redhat.com> <4158487B9DEE0647BA23911D1C22795712DF6691C5@orsmsx501.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "kvm@vger.kernel.org" To: "Saksena, Abhishek" Return-path: Received: from mx1.redhat.com ([209.132.183.28]:20237 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751461AbZHTPUo (ORCPT ); Thu, 20 Aug 2009 11:20:44 -0400 In-Reply-To: <4158487B9DEE0647BA23911D1C22795712DF6691C5@orsmsx501.amr.corp.intel.com> Sender: kvm-owner@vger.kernel.org List-ID: On 08/20/2009 06:05 PM, Saksena, Abhishek wrote: > Isn't by default PIT and PIC are initialized in Kernel? Is something more needed on top of it? > > You need KVM_CREATE_IRQCHIP and KVM_CREATE_PIT. > Also, I wonder if LAPIC need to be configured and initialized properly. I don't want to use LAPIC, can it be disabled in KVM. I am just using one VCPU. > The lapic is disabled by default. -- error compiling committee.c: too many arguments to function