Re: [libvirt] qemudDomainSetMemory() / qemudDomainSetVcpus() error codes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, Kaitlin

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.
https://www.redhat.com/archives/libvir-list/2008-March/msg00160.html

If any policy exists, I also want to know the reason.

Thanks
Atsushi SAKAI



Kaitlin Rupert <kaitlin@xxxxxxxxxxxxxxxxxx> wrote:

> Hello,
> 
> 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?
> 
> Thanks!
> -- 
> Kaitlin Rupert
> IBM Linux Technology Center
> kaitlin@xxxxxxxxxxxxxxxxxx
> 
> --
> Libvir-list mailing list
> Libvir-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/libvir-list


--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]