python-virtinst

changeset 1401:871813b2dda1

support: Add check for jobInfo API
author Cole Robinson <crobinso@redhat.com>
date Wed Dec 01 16:00:32 2010 -0500 (2010-12-01)
parents b09b5f74af76
children dbce74da869b
files virtinst/support.py
line diff
     1.1 --- a/virtinst/support.py	Wed Dec 01 15:51:10 2010 -0500
     1.2 +++ b/virtinst/support.py	Wed Dec 01 16:00:32 2010 -0500
     1.3 @@ -40,6 +40,7 @@
     1.4  SUPPORT_DOMAIN_XML_INACTIVE = 1002
     1.5  SUPPORT_DOMAIN_MANAGED_SAVE = 1003
     1.6  SUPPORT_DOMAIN_MIGRATE_DOWNTIME = 1004
     1.7 +SUPPORT_DOMAIN_JOB_INFO = 1005
     1.8  
     1.9  # Flags for check_pool_support
    1.10  SUPPORT_STORAGE_CREATEVOLFROM = 2000
    1.11 @@ -156,6 +157,11 @@
    1.12          "args" : (30, 12345678),
    1.13      },
    1.14  
    1.15 +    SUPPORT_DOMAIN_JOB_INFO : {
    1.16 +        "function" : "virDomain.jobInfo",
    1.17 +        "args" : (),
    1.18 +    },
    1.19 +
    1.20      # Pool checks
    1.21      # This can't ever require a pool object for back compat reasons
    1.22      SUPPORT_STORAGE_CREATEVOLFROM : {