Stefan Hajnoczi 17d0bc01bf virtio-blk: handle blk_getlength() errors
If blk_getlength() fails in virtio_blk_update_config() consider the disk
image length to be 0 bytes.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Message-id: 20170808122251.29815-1-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2017-08-10 14:33:43 +01:00
..
2016-01-20 13:36:23 +01:00
2016-01-20 13:36:23 +01:00
2017-02-28 20:40:36 +01:00
2017-02-28 20:40:36 +01:00
2016-06-07 18:19:24 +03:00
2017-04-21 12:41:29 -07:00