[libvirt] [PATCH] qemu: improve error message for domain stats API

Michal Privoznik mprivozn at redhat.com
Mon May 4 11:29:03 UTC 2015


On 04.05.2015 12:44, Pavel Hrdina wrote:
> Filtering specific list of domains is not supported yet.  Print a better
> error message.
> 
> old error message:
>     error: unsupported flags (0x1) in function qemuConnectGetAllDomainStats
> 
> new error message:
>     error: using filters with list of domains is not implemented yet
> 
> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1143837
> 
> Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
> Signed-off-by: Luyao Huang <lhuang at redhat.com>
> ---
> 
> Based on https://www.redhat.com/archives/libvir-list/2014-November/msg00069.html
> with different commit and error message.
> 
>  src/qemu/qemu_driver.c | 22 +++++++++++++---------
>  1 file changed, 13 insertions(+), 9 deletions(-)
> 

NACK. Once Peter's series is merged, this feature is implemented.

https://www.redhat.com/archives/libvir-list/2015-April/msg01561.html

Michal




More information about the libvir-list mailing list