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
, Abhishek
Cc: kvm@vger.kernel.org
Subject: Re: KVM's PIT and PIC programming question
On 08/20/2009 12:26 AM, Saksena, Abhishek wrote:
Hi Guys,
I am writing very simple bios for KVM (not using Qemu but creating a simple
io device models around KVM). I am having trouble in receiving regular Timer
-Original Message-
From: Avi Kivity [mailto:a...@redhat.com]
Sent: Thursday, August 20, 2009 8:21 AM
To: Saksena, Abhishek
Cc: kvm@vger.kernel.org
Subject: Re: KVM's PIT and PIC programming question
On 08/20/2009 06:05 PM, Saksena, Abhishek wrote:
Isn't by default PIT and PIC are initialized
On 08/20/2009 07:49 PM, Saksena, Abhishek wrote:
I am using libkvm and believe it creates PIC and PIT by default.
I see kvm_create make calls to:-
1. kvm_arch_create function which indeed calls kvm_create_pit and KVM_CREATE_PIT
2. kvm_create_irqchip function and KVM_CREATE_IRQCHIP
It
or Timer ISR being called!
-thanks
Abhishek
-Original Message-
From: Avi Kivity [mailto:a...@redhat.com]
Sent: Thursday, August 20, 2009 10:26 AM
To: Saksena, Abhishek
Cc: kvm@vger.kernel.org
Subject: Re: KVM's PIT and PIC programming question
On 08/20/2009 07:49 PM, Saksena, Abhishek
On 08/20/2009 08:36 PM, Saksena, Abhishek wrote:
Thnaks,
So just programming of PIC (8259) should do the trick. Do I have to care about
IOAPIC or LAPIC programming? You mentioned lapic is disabled by default, what
about IOAPIC.
The ioapic will not have any vectors programmed so it will