* [Qemu-devel] Run guest-exec request failed in the Windows2012.
@ 2017-02-10 2:35 jina
0 siblings, 0 replies; only message in thread
From: jina @ 2017-02-10 2:35 UTC (permalink / raw)
To: qemu-devel
Hi guys:
Used the guest-exec function, I try to run the windows`s powershell scriptes, but the failed.
The cmd and error message:
```
virsh # qemu-agent-command 0e25dcdc-7441-4fc4-8993-4469135a0223 '{"execute": "guest-exec", "arguments": {"path": "powershell", "arg": ["-ExecutionPolicy", "RemoteSigned", "-NonInteractive", "-File", "C:\\test.ps1"]}}'
error: internal error: unable to execute QEMU agent command 'guest-exec': Guest agent command failed, error was 'Failed to execute helper program (Invalid argument)'
```
environment:
- Host system: CentOS7.1
- Guest system: Windows2012
- Qemu guest agent version: 2.8.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-02-10 2:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-10 2:35 [Qemu-devel] Run guest-exec request failed in the Windows2012 jina
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).