]> xenbits.xensource.com Git - libvirt.git/commit
lxc: Cleanup improper VIR_ERR_NO_SUPPORT use
authorOsier Yang <jyang@redhat.com>
Tue, 23 Aug 2011 08:17:10 +0000 (16:17 +0800)
committerOsier Yang <jyang@redhat.com>
Tue, 23 Aug 2011 08:17:10 +0000 (16:17 +0800)
commit6ac47762bb9c3851b07eaa871bfaf7ccd6017147
treebfd660a212324e35e287af25023abe1cfcfec265
parent49218c59b2e48b077aedefc06facd754edae9879
lxc: Cleanup improper VIR_ERR_NO_SUPPORT use

s/VIR_ERR_NO_SUPPORT/VIR_ERR_OPERATION_INVALID/

Special case is changes on lxcDomainInterfaceStats, if it's not
implemented on the platform, prints error like:

    lxcError(VIR_ERR_OPERATION_INVALID, "%s",
             _("interface stats not implemented on this platform"));

As the function is supported by driver actually, error like
VIR_ERR_NO_SUPPORT is confused.
src/lxc/lxc_driver.c