diff options
| author | Stefan Hajnoczi <stefanha@redhat.com> | 2017-08-08 13:22:51 +0100 |
|---|---|---|
| committer | Stefan Hajnoczi <stefanha@redhat.com> | 2017-08-10 14:33:43 +0100 |
| commit | 17d0bc01bfcce0ad4fb5105d4502595224569ff0 (patch) | |
| tree | 5cea212defac3e69cc37a34936704a172f60114d /scripts/simpletrace.py | |
| parent | ce317e8deac6ce82063e3c2681254475822d45c9 (diff) | |
| download | focaccia-qemu-17d0bc01bfcce0ad4fb5105d4502595224569ff0.tar.gz focaccia-qemu-17d0bc01bfcce0ad4fb5105d4502595224569ff0.zip | |
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>
Diffstat (limited to 'scripts/simpletrace.py')
0 files changed, 0 insertions, 0 deletions