RE: KVM's PIT and PIC programming question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


Is this understanding wrong?


-Thanks
Abhishek

-----Original Message-----
From: Avi Kivity [mailto:avi@xxxxxxxxxx] 
Sent: Thursday, August 20, 2009 8:21 AM
To: Saksena, Abhishek
Cc: kvm@xxxxxxxxxxxxxxx
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 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

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux