刘梦可
2016-Nov-08 07:48 UTC
[libvirt-users] how to use command 'guest-file-open' for Windows server 2012R2 vm
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? Thanks very much!! -mkliu28
Michal Privoznik
2016-Nov-08 12:27 UTC
Re: [libvirt-users] how to use command 'guest-file-open' for Windows server 2012R2 vm
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
刘梦可
2016-Nov-09 02:16 UTC
Re: [libvirt-users] how to use command 'guest-file-open' for Windows server 2012R2 vm
OK. Thanks!! -mkliu28 On Tue, Nov 8, 2016 at 8:27 PM, Michal Privoznik <mprivozn@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
Apparently Analagous Threads
- how to use command 'guest-file-open' for Windows server 2012R2 vm
- command guest-file-open failed to open file - Permission denied
- Cannot boot CentOS 7 VM after updating Host CentOS 7 Kernel
- rspec-2.3.0 is released
- Samba 4 AD and VM migration between the free Hyper-V 2012R2