]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Add is_pio flag to ioeventfd__add_event
authorAsias He <asias.hejun@gmail.com>
Sat, 7 Apr 2012 22:47:17 +0000 (06:47 +0800)
committerPekka Enberg <penberg@kernel.org>
Mon, 9 Apr 2012 08:34:46 +0000 (11:34 +0300)
commit1091610e3bff422b4f515a7f033f5fbe77b6bebd
treed591636b4541e5eb6f77f2f43981898bac007939
parentdcf1396088e7b0f155b4a5d608fc0935390f769d
kvm tools: Add is_pio flag to ioeventfd__add_event

Add is_pio flag to set KVM_IOEVENTFD_FLAG_PIO. This is useful for
attaching an ioeventfd to MMIO address as well as PIO address.
virtio-mmio needs an ioeventfd to MMIO address.

Signed-off-by: Asias He <asias.hejun@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/include/kvm/ioeventfd.h
tools/kvm/ioeventfd.c
tools/kvm/virtio/pci.c