]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Introduce IRQ registry
authorSasha Levin <levinsasha928@gmail.com>
Fri, 6 May 2011 11:24:10 +0000 (14:24 +0300)
committerPekka Enberg <penberg@kernel.org>
Sat, 7 May 2011 08:57:13 +0000 (11:57 +0300)
commit76070e28fc034013136b583bb5a9bdd76180f2e1
treee512421c268d9654727404ad26454283d1de6595
parente2db990ec5ac1b7b144ee0caa94629a81f394a4c
kvm tools: Introduce IRQ registry

Instead of having static definitions of devices, Use a
dynamic registry of pci devices.

The structure is a rbtree which holds device types (net,
blk, etc). Each device entry holds a list of IRQ lines
associated with that device (pin).

Devices dynamically register upon initialization, and receive
a set of: device id, irq pin and irq line.

Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/Makefile
tools/kvm/include/kvm/irq.h [new file with mode: 0644]
tools/kvm/include/linux/module.h [new file with mode: 0644]
tools/kvm/irq.c [new file with mode: 0644]