nvme: Permit zero-length block devices
authorAndreas Färber <afaerber@suse.de>
Fri, 21 Feb 2014 21:18:31 +0000 (22:18 +0100)
committerAndreas Färber <afaerber@suse.de>
Mon, 31 Mar 2014 20:35:03 +0000 (22:35 +0200)
commit592408b8cab08bb4ec4771d7b1e20343b7f072fc
tree7042eff47827a6e7cd047bfde580eed99adeedcd
parent5c4e24c1516b6b8c21b6defcd4ffcf05f21202f7
nvme: Permit zero-length block devices

It may not be sensible for normal use cases, but it allows to use
/dev/null in QTest.

Acked-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/block/nvme.c