diff options
author | John Snow <jsnow@redhat.com> | 2020-05-28 18:21:26 -0400 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@redhat.com> | 2020-05-31 13:56:46 +0200 |
commit | c7b942d7f84ef54f266921bf7668d43f1f2c7c79 (patch) | |
tree | 75ff3a7636d9a1bfee3e10b25cc08d06ebbf52d3 /scripts/qmp/qom-fuse | |
parent | 5aa628045d4cf1c258c92ce7e525bb8d4b2e072d (diff) |
scripts/qmp: Fix shebang and imports
There's more wrong with these scripts; They are in various stages of
disrepair. That's beyond the scope of this current patchset.
This just mechanically corrects the imports and the shebangs, as part of
ensuring that the python/qemu/lib refactoring didn't break anything
needlessly.
Signed-off-by: John Snow <jsnow@redhat.com>
Message-Id: <20200528222129.23826-2-jsnow@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'scripts/qmp/qom-fuse')
-rwxr-xr-x | scripts/qmp/qom-fuse | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/qmp/qom-fuse b/scripts/qmp/qom-fuse index 6bada2c33d..5fa6b3bf64 100755 --- a/scripts/qmp/qom-fuse +++ b/scripts/qmp/qom-fuse @@ -15,7 +15,9 @@ import fuse, stat from fuse import Fuse import os, posix from errno import * -from qmp import QEMUMonitorProtocol + +sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'python')) +from qemu.qmp import QEMUMonitorProtocol fuse.fuse_python_api = (0, 2) |