]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Fix compat message
authorAsias He <asias.hejun@gmail.com>
Tue, 5 Jun 2012 16:40:42 +0000 (00:40 +0800)
committerPekka Enberg <penberg@kernel.org>
Tue, 5 Jun 2012 20:31:39 +0000 (23:31 +0300)
commite3f105a5c6ff110bfec5a33e7e07c1aaed23621e
treec09b7d212350e04839d78077c80e35abd2aaa616
parentd970c6ff9fb65e0fb51ba271f0b59e96e49bced9
kvm tools: Fix compat message

compat_id is initialized to -1 for each type of device. We should add
compat message if the compat_id == -1 which means we haven't added
compat message for this type of device.

Signed-off-by: Asias He <asias.hejun@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/virtio/9p.c
tools/kvm/virtio/balloon.c
tools/kvm/virtio/blk.c
tools/kvm/virtio/console.c
tools/kvm/virtio/net.c
tools/kvm/virtio/rng.c