]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Fix compat message per device for virtio/blk
authorAsias He <asias.hejun@gmail.com>
Wed, 21 Dec 2011 15:11:10 +0000 (23:11 +0800)
committerPekka Enberg <penberg@kernel.org>
Wed, 21 Dec 2011 20:32:10 +0000 (22:32 +0200)
commita87d05f5f875500ae600564aeea3098026da880b
treea29207e23bcc72fda09d084bf514bff90ed8a752
parentead99857b8b3d6b23be0635b3beb057cbc913a70
kvm tools: Fix compat message per device for virtio/blk

The commit 2b6c246215e8f936d2366ef8c4a6eec730b819b2
(kvm tools: Use compat message per device instead of per instance)
prevents multiple messages for the same type of device.

The variable compat_id is expected to be initialized to -1.

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