~ubuntu-branches/ubuntu/quantal/virtinst/quantal-updates

« back to all changes in this revision

Viewing changes to virtinst/support.py

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-07-24 08:52:01 UTC
  • mfrom: (1.6.8 sid)
  • Revision ID: package-import@ubuntu.com-20120724085201-q3h0cbabg4t46gfm
Tags: 0.600.2-1ubuntu1
* Merge from debian unstable. Remaining changes:
  - debian/patches/9003-fix-path-to-hvmloader-in-testsuite.patch: adjust
    testsuite for 0001-fix-path-to-hvmloader.patch and
    0002-Fix-path-to-pygrub.patch.
  - debian/patches/9004_ubuntu_fix_tree_support.patch: Fix tree detection
    for all ISO/HTTP source, to not longer fail with cobbler/koan.
  - debian/patches/0004-Fix-path-to-qemu-dm.patch: fix the path to the
    qemu-dm binary.
  - debian/{control,rules,pyversions}: Build using dh_python2, use
    debhelper v8 instead of cdbs; for some reason the package build an
    empty binary package when using dh_python2.
  - debian/control: added acl package to depends.
  - debian/control: added libvirt-bin to recommends
* Dropped patches:
  - debian/patches/9005_ubuntu_releases.patch: Upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
                    force the check, but for things like XML options (AC97)
83
83
                    we want to be ABSOLUTELY SURE it is supported so we
84
84
                    don't enable it by default and break guest creation.
 
85
                    This isn't required for versions after >= 0.7.3
85
86
 
86
87
  "function" : Function name to check exists. If object not specified,
87
88
               function is checked against libvirt module.
233
234
 
234
235
    SUPPORT_CONN_HV_SOUND_ICH6 : {
235
236
        "version" : 8008,
236
 
        "force_version" : True,
237
237
        "drv_version" : [ ("qemu", 14000), ],
238
238
        "rhel6_drv_version" : [ ("qemu", 12001) ],
239
239
        "rhel6_version" : 8007,
241
241
 
242
242
    SUPPORT_CONN_HV_GRAPHICS_SPICE : {
243
243
        "version" : 8006,
244
 
        "force_version" : True,
245
244
        "drv_version" : [ ("qemu", 14000), ],
246
245
    },
247
246
 
248
247
    SUPPORT_CONN_HV_CHAR_SPICEVMC : {
249
248
        "version" : 8008,
250
 
        "force_version" : True,
251
249
        "drv_version" : [ ("qemu", 14000), ],
252
250
    },
253
251
    SUPPORT_CONN_HV_DIRECT_INTERFACE : {
254
252
        "version" : 8007,
255
 
        "force_version" : True,
256
253
        "drv_version" : [ ("qemu", 0), ],
257
254
    },
258
255
    SUPPORT_CONN_HV_FILESYSTEM : {
346
343
    else:
347
344
        default_ret = 100000000000
348
345
 
349
 
    if not _util.is_uri_remote(uri):
 
346
    if not _util.is_uri_remote(uri, conn=conn):
350
347
        return _local_lib_ver()
351
348
 
352
349
    if not _has_command("getLibVersion", obj=conn):