Dominique wrote:
Never had that problem. Can it be a setting of the guest agent on the
guest? With me all the commands of the ga are enabled...
Where can i change the settings of the agent ?
You can check the commands by using this:
virsh qemu-agent-command $VM '{"execute": "guest-info"}'
This way you can at least check that the command is really disabled.
You'll
have to find a way to enable the command then...
I can't help you further with this...
>
> I managed to update to libvirt 1.2.11. Guest Agent is running in the
vm.
> I'm trying to snapshot:
>
> virsh # snapshot-create-as --domain sles11 --name sn_sles11 --atomic
> --disk- only --quiesce
> error: internal error: unable to execute QEMU agent command
> 'guest-fsfreeze-freeze': The command guest-fsfreeze-freeze has been
> disabled for this instance
>
> What is now going on ?
> Guest Agent in VM is qemu-guest-agent-2.0.2-1.35.
>
virsh # qemu-agent-command sles11 '{"execute": "guest-info"}'
{"return":{"version":"2.0.2","supported_commands":[{"enabled":true,"name":
"guest-set-vcpus","success-response":true},{"enabled":true,"name":"guest-g
et-vcpus"
,"success-response":true},{"enabled":true,"name":"guest-network-get-interf
aces","success-response":true},{"enabled":true,"name":"guest-suspend-hybri
d","succe
ss-response":false},{"enabled":true,"name":"guest-suspend-ram","success-re
sponse":false},{"enabled":true,"name":"guest-suspend-disk","success-respon
se":false
},{"enabled":true,"name":"guest-fstrim","success-response":true},{"enabled
":true,"name":"guest-fsfreeze-thaw","success-response":true},
{"enabled":true,"name":"guest-fsfreeze-freeze","success-response":true}
,{"enabled":true,"name":"guest-fsfreeze-status","success-response":true},{
"enabled":true,"name":"guest-file-
flush","success-response":true},{"enabled":true,"name":"guest-file-seek","
success-response":true},{"enabled":true,"name":"guest-file-write","success
-response
":true},{"enabled":true,"name":"guest-file-read","success-response":true},
{"enabled":true,"name":"guest-file-close","success-response":true},{"enabl
ed":true,
"name":"guest-file-open","success-response":true},{"enabled":true,"name":"
guest-shutdown","success-response":false},{"enabled":true,"name":"guest-in
fo","succ
ess-response":true},{"enabled":true,"name":"guest-set-time","success-respo
nse":true},{"enabled":true,"name":"guest-get-time","success-response":true
},{"enabl
ed":true,"name":"guest-ping","success-response":true},{"enabled":true,"nam
e":"guest-sync","success-response":true},{"enabled":true,"name":"guest-syn
c-delimit
ed","success-response":true}]}}
It shows:
"...{"enabled":true,"name":"guest-fsfreeze-freeze","success-response":true
}
It understand this that it should work.
Bernd
Helmholtz Zentrum Muenchen
Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH)
Ingolstaedter Landstr. 1
85764 Neuherberg
www.helmholtz-muenchen.de
Aufsichtsratsvorsitzende: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrer: Prof. Dr. Guenther Wess, Dr. Nikolaus Blum, Dr. Alfons Enhsen
Registergericht: Amtsgericht Muenchen HRB 6466
USt-IdNr: DE 129521671