diff options
author | John Snow <jsnow@redhat.com> | 2021-06-02 20:37:14 -0400 |
---|---|---|
committer | John Snow <jsnow@redhat.com> | 2021-06-18 16:10:06 -0400 |
commit | 2cea7134620749b106af167322d921716ef61144 (patch) | |
tree | a341cd54610c2d779169019148c10759f9bef42a /python | |
parent | 9ec8a3869480a9826ba77b480bb7ca567aa3d26b (diff) | |
download | qemu-2cea7134620749b106af167322d921716ef61144.zip qemu-2cea7134620749b106af167322d921716ef61144.tar.gz qemu-2cea7134620749b106af167322d921716ef61144.tar.bz2 |
scripts/qom-fuse: ensure QOMFuse.read always returns bytes
- Use FuseOSError to signal ENOENT instead of returning it
- Wrap qom-get in str(), as we don't always know its type
- The empty return should be b'', not ''.
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20210603003719.1321369-15-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions