summaryrefslogtreecommitdiff
path: root/libvirt-override-api.xml
diff options
context:
space:
mode:
authorJonathon Jongsma <jjongsma@redhat.com>2021-09-21 14:08:46 -0500
committerJonathon Jongsma <jjongsma@redhat.com>2021-09-21 16:11:07 -0500
commit066af64107ac340a6c508636e80ec7b415f512d8 (patch)
tree33f051d1f60c7d9726ddb95216c9951d22f7d81c /libvirt-override-api.xml
parente78e2bae31739180b6e469e49a282722f0aa2a08 (diff)
downloadlibvirt-python-066af64107ac340a6c508636e80ec7b415f512d8.tar.gz
Add new autostart API for node devices
Provide a manual override for the virNodeDeviceGetAutostart() API modeled on what's done for the network and storage APIs. Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Diffstat (limited to 'libvirt-override-api.xml')
-rw-r--r--libvirt-override-api.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/libvirt-override-api.xml b/libvirt-override-api.xml
index a96e5c4..e36a611 100644
--- a/libvirt-override-api.xml
+++ b/libvirt-override-api.xml
@@ -194,6 +194,11 @@
<return type='int' info='the autostart flag, or None in case of error'/>
<arg name='pool' type='virStoragePoolPtr' info='a storage pool object'/>
</function>
+ <function name='virNodeDeviceGetAutostart' file='python'>
+ <info>Extract the autostart flag for a node device.</info>
+ <return type='int' info='the autostart flag, or None in case of error'/>
+ <arg name='dev' type='virNodeDevicePtr' info='a node device object'/>
+ </function>
<function name='virDomainBlockStats' file='python'>
<info>Extracts block device statistics for a domain</info>
<return type='char *' info='a tuple of statistics'/>