diff options
author | Eric Blake <eblake@redhat.com> | 2011-05-17 15:17:14 -0600 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2011-05-29 18:38:10 +0800 |
commit | 9c1f69c64ede809901f05073fdbf925078cf1550 (patch) | |
tree | 0d24c00e39d71041058c45c6df7ebebabdee0835 /generator.py | |
parent | f173e5c0886e35ab140404baf570f18f1a2b724f (diff) | |
download | libvirt-python-split-9c1f69c64ede809901f05073fdbf925078cf1550.tar.gz libvirt-python-split-9c1f69c64ede809901f05073fdbf925078cf1550.tar.xz libvirt-python-split-9c1f69c64ede809901f05073fdbf925078cf1550.zip |
sched: introduce virDomainGetSchedulerParametersFlags
If we can choose live or config when setting, then we need to
be able to choose which one we are querying.
Also, make the documentation clear that set must use a non-empty
subset (some of the hypervisors fail if params is NULL).
* include/libvirt/libvirt.h.in
(virDomainGetSchedulerParametersFlags): New prototype.
* src/libvirt.c (virDomainGetSchedulerParametersFlags): Implement
it.
* src/libvirt_public.syms: Export it.
* python/generator.py (skip_impl): Don't auto-generate.
* src/driver.h (virDrvDomainGetSchedulerParametersFlags): New
callback.
Diffstat (limited to 'generator.py')
-rwxr-xr-x | generator.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/generator.py b/generator.py index 1741bba..7c38fdd 100755 --- a/generator.py +++ b/generator.py @@ -323,6 +323,7 @@ skip_impl = ( 'virNodeGetCellsFreeMemory', 'virDomainGetSchedulerType', 'virDomainGetSchedulerParameters', + 'virDomainGetSchedulerParametersFlags', 'virDomainSetSchedulerParameters', 'virDomainSetSchedulerParametersFlags', 'virDomainSetBlkioParameters', |