From: jina <jina_jd@163.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Run guest-exec request failed in the Windows2012.
Date: Fri, 10 Feb 2017 10:35:49 +0800 (CST) [thread overview]
Message-ID: <a41ef5.34f6.15a25e06eda.Coremail.jina_jd@163.com> (raw)
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
reply other threads:[~2017-02-10 2:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a41ef5.34f6.15a25e06eda.Coremail.jina_jd@163.com \
--to=jina_jd@163.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).