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>
};
static LIST_HEAD(bdevs);
-static int compat_id;
+static int compat_id = -1;
void virtio_blk_complete(void *param, long len)
{