mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-10 23:45:49 -06:00
This base connection object will be used to simplify the API in various places, reduce libvirt API calls, and better share code between virtinst and virt-manager. For now it just centralizes connection opening. This also exposed various places where our handling for older libvirt was busted, so raise our minimum host version to 0.6.0, the first version that supports threaded client requests.
53 lines
2.3 KiB
Python
53 lines
2.3 KiB
Python
#
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program; if not, write to the Free Software
|
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
|
# MA 02110-1301 USA.
|
|
|
|
from virtcli import cliconfig, cliutils
|
|
enable_rhel6_defaults = not cliconfig.rhel_enable_unsupported_opts
|
|
cliutils.setup_i18n()
|
|
|
|
|
|
# Public imports
|
|
|
|
from virtinst.Guest import Guest
|
|
from virtinst.VirtualNetworkInterface import VirtualNetworkInterface
|
|
from virtinst.VirtualGraphics import VirtualGraphics
|
|
from virtinst.VirtualAudio import VirtualAudio
|
|
from virtinst.VirtualInputDevice import VirtualInputDevice
|
|
from virtinst.VirtualDisk import VirtualDisk
|
|
from virtinst.VirtualHostDevice import (VirtualHostDevice,
|
|
VirtualHostDeviceUSB,
|
|
VirtualHostDevicePCI)
|
|
from virtinst.VirtualCharDevice import VirtualCharDevice
|
|
from virtinst.VirtualVideoDevice import VirtualVideoDevice
|
|
from virtinst.VirtualController import VirtualController
|
|
from virtinst.VirtualWatchdog import VirtualWatchdog
|
|
from virtinst.VirtualFilesystem import VirtualFilesystem
|
|
from virtinst.VirtualSmartCardDevice import VirtualSmartCardDevice
|
|
from virtinst.VirtualRedirDevice import VirtualRedirDevice
|
|
from virtinst.VirtualMemballoon import VirtualMemballoon
|
|
from virtinst.VirtualTPMDevice import VirtualTPMDevice
|
|
from virtinst.DistroInstaller import DistroInstaller
|
|
from virtinst.PXEInstaller import PXEInstaller
|
|
from virtinst.LiveCDInstaller import LiveCDInstaller
|
|
from virtinst.ImportInstaller import ImportInstaller
|
|
from virtinst.ImageInstaller import ImageInstaller
|
|
from virtinst.Installer import ContainerInstaller
|
|
from virtinst.CloneManager import Cloner
|
|
from virtinst.Clock import Clock
|
|
from virtinst.CPU import CPU, CPUFeature
|
|
from virtinst.Seclabel import Seclabel
|
|
from virtinst.connection import VirtualConnection
|