]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Gather Virtio-PCI constants into one place
authorCyrill Gorcunov <gorcunov@gmail.com>
Thu, 5 May 2011 19:06:40 +0000 (23:06 +0400)
committerPekka Enberg <penberg@kernel.org>
Thu, 5 May 2011 20:09:26 +0000 (23:09 +0300)
commite4e20db27716dc191986776a10546720d2a2f051
tree060dd230dbd0f705d85e4009a155643fecc3de13
parentaef151d80931ae3e400a44f605b18f66e5b1e856
kvm tools: Gather Virtio-PCI constants into one place

It's better than have them sprinkled in.c files. Note
that pin for ring device is changed so it no longer shared
with block device (it is done in a sake of simplicity).

Also comment style if a bit tuned up in virtio-pci.h
just to be consistent.

Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/include/kvm/virtio-pci-dev.h [new file with mode: 0644]
tools/kvm/include/kvm/virtio-pci.h
tools/kvm/virtio/blk.c
tools/kvm/virtio/console.c
tools/kvm/virtio/net.c
tools/kvm/virtio/rng.c