Browse Source
Now that qmp has to be installed and isn't local, we can no longer offer a simple forwarder for these scripts (nor path hacks) and hope that it works. Encourage users to use the 'run' script to use these scripts instead. Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-ID: <20260218213416.674483-18-jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com>master
13 changed files with 78 additions and 77 deletions
@ -1,11 +1,10 @@ |
|||||
#!/usr/bin/env python3 |
#!/usr/bin/env python3 |
||||
|
|
||||
import os |
|
||||
import sys |
import sys |
||||
|
|
||||
sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'python')) |
print( |
||||
from qemu.utils import qemu_ga_client |
"This script has moved; after running configure," |
||||
|
" please use '$builddir/run qemu-ga-client [...]' instead.", |
||||
|
file=sys.stderr |
||||
if __name__ == '__main__': |
) |
||||
sys.exit(qemu_ga_client.main()) |
sys.exit(1) |
||||
|
|||||
@ -1,11 +1,10 @@ |
|||||
#!/usr/bin/env python3 |
#!/usr/bin/env python3 |
||||
|
|
||||
import os |
|
||||
import sys |
import sys |
||||
|
|
||||
sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'python')) |
print( |
||||
from qemu.qmp import qmp_shell |
"This script has moved; after running configure," |
||||
|
" please use '$builddir/run qmp-shell [...]' instead.", |
||||
|
file=sys.stderr |
||||
if __name__ == '__main__': |
) |
||||
qmp_shell.main() |
sys.exit(1) |
||||
|
|||||
@ -1,11 +1,10 @@ |
|||||
#!/usr/bin/env python3 |
#!/usr/bin/env python3 |
||||
|
|
||||
import os |
|
||||
import sys |
import sys |
||||
|
|
||||
sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'python')) |
print( |
||||
from qemu.qmp import qmp_shell |
"This script has moved; after running configure," |
||||
|
" please use '$builddir/run qmp-shell-wrap [...]' instead.", |
||||
|
file=sys.stderr |
||||
if __name__ == '__main__': |
) |
||||
qmp_shell.main_wrap() |
sys.exit(1) |
||||
|
|||||
@ -1,11 +1,10 @@ |
|||||
#!/usr/bin/env python3 |
#!/usr/bin/env python3 |
||||
|
|
||||
import os |
|
||||
import sys |
import sys |
||||
|
|
||||
sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'python')) |
print( |
||||
from qemu.utils.qom_fuse import QOMFuse |
"This script has moved; after running configure," |
||||
|
" please use '$builddir/run qom-fuse [...]' instead.", |
||||
|
file=sys.stderr |
||||
if __name__ == '__main__': |
) |
||||
sys.exit(QOMFuse.entry_point()) |
sys.exit(1) |
||||
|
|||||
@ -1,11 +1,10 @@ |
|||||
#!/usr/bin/env python3 |
#!/usr/bin/env python3 |
||||
|
|
||||
import os |
|
||||
import sys |
import sys |
||||
|
|
||||
sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'python')) |
print( |
||||
from qemu.utils.qom import QOMGet |
"This script has moved; after running configure," |
||||
|
" please use '$builddir/run qom-get [...]' instead.", |
||||
|
file=sys.stderr |
||||
if __name__ == '__main__': |
) |
||||
sys.exit(QOMGet.entry_point()) |
sys.exit(1) |
||||
|
|||||
@ -1,11 +1,10 @@ |
|||||
#!/usr/bin/env python3 |
#!/usr/bin/env python3 |
||||
|
|
||||
import os |
|
||||
import sys |
import sys |
||||
|
|
||||
sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'python')) |
print( |
||||
from qemu.utils.qom import QOMList |
"This script has moved; after running configure," |
||||
|
" please use '$builddir/run qom-list [...]' instead.", |
||||
|
file=sys.stderr |
||||
if __name__ == '__main__': |
) |
||||
sys.exit(QOMList.entry_point()) |
sys.exit(1) |
||||
|
|||||
@ -1,11 +1,10 @@ |
|||||
#!/usr/bin/env python3 |
#!/usr/bin/env python3 |
||||
|
|
||||
import os |
|
||||
import sys |
import sys |
||||
|
|
||||
sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'python')) |
print( |
||||
from qemu.utils.qom import QOMSet |
"This script has moved; after running configure," |
||||
|
" please use '$builddir/run qom-set [...]' instead.", |
||||
|
file=sys.stderr |
||||
if __name__ == '__main__': |
) |
||||
sys.exit(QOMSet.entry_point()) |
sys.exit(1) |
||||
|
|||||
@ -1,11 +1,10 @@ |
|||||
#!/usr/bin/env python3 |
#!/usr/bin/env python3 |
||||
|
|
||||
import os |
|
||||
import sys |
import sys |
||||
|
|
||||
sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'python')) |
print( |
||||
from qemu.utils.qom import QOMTree |
"This script has moved; after running configure," |
||||
|
" please use '$builddir/run qom-tree [...]' instead.", |
||||
|
file=sys.stderr |
||||
if __name__ == '__main__': |
) |
||||
sys.exit(QOMTree.entry_point()) |
sys.exit(1) |
||||
|
|||||
Loading…
Reference in new issue