Skip to contentSkip to conversation

scripts/qmp-shell-wrap: Fix import path

PATCH In review John Snow 2 participants 2 messages Feb 25, 2022

lore
Share & tools
lore

John Snow

author
#0 lore raw

PATCH 1/1 scripts/qmp-shell-wrap: Fix import path

Mea culpa. Dan's patch wound up with the wrong import path because I re-ordered my most recent pull request and missed that this needed a fix on rebase.

---
 scripts/qmp/qmp-shell-wrap | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/qmp/qmp-shell-wrap +1 -1
index 9e94da114f..66846e36d1 100755
@@ -4,7 +4,7 @@ import os
 import sys
 
 sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'python'))
-from qemu.qmp import qmp_shell
+from qemu.aqmp import qmp_shell
 
 
 if __name__ == '__main__':
Signature · 1 line
2.34.1
Tested-by on v1 1/1
#1 lore raw
Quoted 16 lines · John Snow

Mea culpa. Dan's patch wound up with the wrong import path because I re-ordered my most recent pull request and missed that this needed a fix on rebase.

---
 scripts/qmp/qmp-shell-wrap | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/qmp/qmp-shell-wrap +0 -0
index 9e94da114f..66846e36d1 100755

scripts/qmp/qmp-shell-wrap import os · line 10

Quoted 8 lines
scripts/qmp/qmp-shell-wrap +1 -1
@@ -4,7 +4,7 @@ import os
 import sys
 
 sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'python'))
-from qemu.qmp import qmp_shell
+from qemu.aqmp import qmp_shell
 
 
 if __name__ == '__main__':

Works for me; thank you.

Quoted 3 lines
Signature · 1 line
2.34.1
Signature · 1 line
/kashyap