[libvirt] qemudDomainSetMemory() / qemudDomainSetVcpus() error codes
sakaia at jp.fujitsu.com
Fri Jun 6 01:37:26 UTC 2008
I agree your point. and It should use such an error code.
I am looking around the discussion but it is not discussed your point.
If any policy exists, I also want to know the reason.
Kaitlin Rupert <kaitlin at linux.vnet.ibm.com> wrote:
> I noticed qemudDomainSetMemory() / qemudDomainSetVcpus() use the
> VIR_ERR_INTERNAL_ERROR error code when the caller attempts to set the
> mem/vcpus of an active domain.
> In this case, returning something like VIR_ERR_NO_SUPPORT would indicate
> that this is an invalid call - which would distinguish the error from a
> failure that occurred during the call.
> Is it possible to use such a return code to indicate what is supported
> by QEMU/KVM and what isn't?
> Kaitlin Rupert
> IBM Linux Technology Center
> kaitlin at linux.vnet.ibm.com
> Libvir-list mailing list
> Libvir-list at redhat.com
More information about the libvir-list