]> git.proxmox.com Git - qemu.git/commit - block/qed.c
qed: Report error for unsupported features
authorKevin Wolf <kwolf@redhat.com>
Wed, 9 Feb 2011 10:13:26 +0000 (11:13 +0100)
committerKevin Wolf <kwolf@redhat.com>
Thu, 10 Feb 2011 12:23:59 +0000 (13:23 +0100)
commit10b758e85c9b38b4b370cff81435f6ed26024a26
tree82829b98b0ad4f9eb8205a0b4942b4c261de65f2
parente8cdcec123facf0ed273d941caeeeb9b08f14955
qed: Report error for unsupported features

Instead of just returning -ENOTSUP, generate a more detailed error.

Unfortunately we don't have a helpful text for features that we don't know yet,
so just print the feature mask. It might be useful at least if someone asks for
help.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Acked-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
block/qed.c