[libvirt] [PATCH] domain: Improve error output for virDomainListGetStats
Eric Blake
eblake at redhat.com
Tue Nov 4 11:19:41 UTC 2014
On 11/04/2014 07:51 AM, Luyao Huang wrote:
> When pass flags --domain and --list-* to cmdDomstats,
> a unsupport error will output from qemuConnectGetAllDomainStats.
>
> error: unsupported flags (0x1) in function qemuConnectGetAllDomainStats
>
>>From manual of virsh: The approaches can't be combined.
NACK. While they cannot be combined in the current implementation, I
see nothing that would prohibit a future implementation from allowing
the combination (for example, show me all stats for a given domain, but
only if the domain is running). Prohibiting in libvirt-domian.c would
prevent an older RPC client from talking to a newer server that supports
the combination. We should only prohibit combinations in libvirt-*.c if
there is no chance we will ever extend things to allow the combination.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 539 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20141104/c49761d4/attachment-0001.sig>
More information about the libvir-list
mailing list