OK. Thanks!!
-mkliu28
On Tue, Nov 8, 2016 at 8:27 PM, Michal Privoznik <mprivozn(a)redhat.com> wrote:
On 08.11.2016 08:48, 刘梦可 wrote:
> hello,
>
>
> I am using libvirt 1.2.17 on CentOS 7.2 - kernel
> 3.10.0-327.13.1.el7.x86_64. The command guest-file-open failed to open
> with error "this feature or command is not currently supported", the
> detail is as below:
>
> virsh qemu-agent-command instance-00000015
> "{\"execute\":\"guest-file-open\",
>
\"arguments\":{\"path\":\"\tmp.txt\",\"mode\":\"r\"}}"
> error: internal error: unable to execute QEMU agent command
> 'guest-file-open': this feature or command is not currently supported.
>
> The guest instance-00000015 is a Windows server 2012R2, and I
> installed the qemu-guest-agent by the file qemu-ga-x64.msi from
> virtio-win-0.1.126. It can be running in guest.
>
> Doesn't the qemu-guest-agent in Windows VM support guest-file-*
> commands? How or when can I use the command guest-file-* command?
Firstly, this question is probably better asked on qemu mailing list
since they are the ones in charge of qemu-ga.
Secondly, from the qemu git log it looks like file handling was
implemented for windows port of qemu-ga in fa193594f which is contained
in the v2.3.0 release. So probably updating your qemu-ga might help.
Michal