]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
scripts/qemu-ga-client: move to python/qemu/qmp/qemu_ga_client.py
authorJohn Snow <jsnow@redhat.com>
Fri, 4 Jun 2021 15:55:30 +0000 (11:55 -0400)
committerJohn Snow <jsnow@redhat.com>
Fri, 18 Jun 2021 20:10:06 +0000 (16:10 -0400)
The script itself will be unavailable for a few commits before being
restored, with no way to run it right after this commit. This helps move
git history into the new file. To prevent linter regressions, though, we
do need to immediately touch up the filename to remove dashes (to make
the module importable), and remove the executable bit.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 20210604155532.1499282-10-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
python/qemu/qmp/qemu_ga_client.py [moved from scripts/qmp/qemu-ga-client with 99% similarity]

similarity index 99%
rename from scripts/qmp/qemu-ga-client
rename to python/qemu/qmp/qemu_ga_client.py
index a7d0ef83472b3d4c48badb2a36089c2b1397d3e8..d2938ad47ceda7355e45901dfa98b5d787b6fb40 100755 (executable)
@@ -52,8 +52,6 @@ from typing import (
     Sequence,
 )
 
-
-sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'python'))
 from qemu import qmp
 from qemu.qmp import SocketAddrT