vdpa_sim_blk: use dev_dbg() to print errors
authorStefano Garzarella <sgarzare@redhat.com>
Thu, 30 Jun 2022 15:32:19 +0000 (17:32 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 11 Aug 2022 08:26:07 +0000 (04:26 -0400)
commit42a84c09eff355d895723866b1a5ff48f093112a
tree625d84cf5a38f97ccdeac5b5cd901d3d93d23b73
parenta335b33f4f354c5b77a79d505708f6d2f486ceab
vdpa_sim_blk: use dev_dbg() to print errors

Use dev_dbg() instead of dev_err()/dev_warn() to avoid flooding the
host with prints, when the guest driver is misbehaving.
In this way, prints can be dynamically enabled when the vDPA block
simulator is used to validate a driver.

Suggested-by: Jason Wang <jasowang@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Message-Id: <20220630153221.83371-2-sgarzare@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/vdpa_sim/vdpa_sim_blk.c