Re: KVM: PPC: Book3S: Add API for in-kernel XICS emulation

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

 



On Sat, Apr 27, 2013 at 10:28:37AM -0000, Paul Mackerras wrote:
> This adds the API for userspace to instantiate an XICS device in a VM
> and connect VCPUs to it.  The API consists of a new device type for
> the KVM_CREATE_DEVICE ioctl, a new capability KVM_CAP_IRQ_XICS, which
> functions similarly to KVM_CAP_IRQ_MPIC, and the KVM_IRQ_LINE ioctl,
> which is used to assert and deassert interrupt inputs of the XICS.
> 
> The XICS device has one attribute group, KVM_DEV_XICS_GRP_SOURCES.
> Each attribute within this group corresponds to the state of one
> interrupt source.  The attribute number is the same as the interrupt
> source number.
> 
> This does not support irq routing or irqfd yet.
> 
> Signed-off-by: Paul Mackerras <paulus@xxxxxxxxx>

Acked-by: David Gibson <david@xxxxxxxxxxxxxxxxxxxxx>

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [KVM Development]     [KVM ARM]     [KVM ia64]     [Linux Virtualization]     [Linux USB Devel]     [Linux Video]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux