]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Reword error message to be more universal
authorPeter Krempa <pkrempa@redhat.com>
Tue, 16 Apr 2013 09:50:10 +0000 (11:50 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 19 Apr 2013 14:55:59 +0000 (16:55 +0200)
commitbcefb50792a6d8b4a2122ab74aa312ca333beb93
tree56023708a2b86d86cfd0c5f29b244a1f5dde265c
parent446dd66b7c7641974d25423c4cb5c48e481a84e4
conf: Reword error message to be more universal

The error message reported when attempting to change/get persistent
configuration of a transient domain suggests that changes are being
made. Reword it to suit getter APIs too.

Before:
$ virsh vcpucount transient-domain --config
error: Requested operation is not valid: cannot change persistent config of a transient domain

After:
$ virsh vcpucount transient-domain --config
error: Requested operation is not valid: transient domains do not have any persistent config
src/conf/domain_conf.c