OSDN Git Service

block/nvme: Improve error message when IO queue creation failed
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 21 Aug 2020 19:53:49 +0000 (21:53 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 7 Sep 2020 10:23:55 +0000 (12:23 +0200)
commitbf6ce5ec6d6846d7c1fc3899438ec11efc9c8fc8
treee1ab80a2e0efb472ca70ea66fae692f98833e4fa
parent73159e52e64a20ecb6f5968bda8e43035be6fd67
block/nvme: Improve error message when IO queue creation failed

Do not use the same error message for different failures.
Display a different error whether it is the CQ or the SQ.

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200821195359.1285345-6-philmd@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/nvme.c