commit | 0119ccf111aa27f2a0d8af511f5be95df80075d5 | [log] [tgz] |
---|---|---|
author | perl <perl@immunant.com> | Tue Nov 02 20:29:16 2021 -0700 |
committer | perl <perl@immunant.com> | Wed Nov 03 00:53:09 2021 -0700 |
tree | 3985d7e786c22dc05eb9e89ca61adb9028e9f0e0 | |
parent | 95dfa946d0d9e69796fca84f55180036f32e8ae7 [diff] |
[project][qemu] Fix NoneError on timeout The call to recv in msg_channel_recv can fail if a timeout has occured and self.msg_sock_conn has been set to None. Check if this has occured and return a zero-length bytes object instead to fail gracefully. Test: run boot test which times out Bug: None Change-Id: I56935475d8f6303ede4591d843fbfc8b3004a6ba