]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Add basic ioport dynamic allocation
authorSasha Levin <levinsasha928@gmail.com>
Thu, 26 May 2011 10:30:05 +0000 (13:30 +0300)
committerPekka Enberg <penberg@kernel.org>
Thu, 26 May 2011 15:55:55 +0000 (18:55 +0300)
commit6d149cd2802b0c8788ed0bf13fb3319e293e1bba
tree56b2710ccace9783e8303fa3eb3da816c0430d96
parente7e1cea67517d166749a6abc0d4d16cde70fa7d3
kvm tools: Add basic ioport dynamic allocation

Add a very simple allocation of ioports.

This prevents the need to coordinate ioports between different
modules.

Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/include/kvm/ioport.h
tools/kvm/ioport.c