[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[libvirt] qemudDomainSetMemory() / qemudDomainSetVcpus() error codes
- From: Kaitlin Rupert <kaitlin linux vnet ibm com>
- To: libvir-list redhat com
- Subject: [libvirt] qemudDomainSetMemory() / qemudDomainSetVcpus() error codes
- Date: Thu, 05 Jun 2008 15:38:46 -0700
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 linux vnet ibm com
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]