diff options
author | Cole Robinson <crobinso@redhat.com> | 2020-01-22 17:59:35 -0500 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2020-01-24 17:04:18 -0500 |
commit | 3ad646fef19f31fb371eec87a173d268276e8f6c (patch) | |
tree | f541aaec411df0a94810b56432a304bef1163fba /virt-manager | |
parent | 4147f760e8a957c4666e8a2b035ed3f64b745014 (diff) | |
download | virt-manager-3ad646fef19f31fb371eec87a173d268276e8f6c.tar.gz |
pollhelpers: Kill old style polling
All the major hypervisor drivers have supported listAllDomains
since rhel6 vintage libvirt. Most other driver types have had the APIs
since their introduction, or for just as long.
I will be surprised if this affects anyone in any material way
Signed-off-by: Cole Robinson <crobinso@redhat.com>
Diffstat (limited to 'virt-manager')
-rwxr-xr-x | virt-manager | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/virt-manager b/virt-manager index ca6a5934..f3246c6c 100755 --- a/virt-manager +++ b/virt-manager @@ -144,9 +144,6 @@ def parse_commandline(): # PackageKit integration parser.add_argument("--test-first-run", help=argparse.SUPPRESS, action="store_true") - # Force use of old style libvirt polling APIs - parser.add_argument("--test-old-poll", - help=argparse.SUPPRESS, action="store_true") # Force disable use of libvirt object events parser.add_argument("--test-no-events", help=argparse.SUPPRESS, action="store_true") @@ -205,7 +202,6 @@ class CLITestOptionsClass: self.first_run = _get("first-run") self.leak_debug = _get("leak-debug") - self.old_poll = _get("old-poll") self.no_events = _get("no-events") self.xmleditor_enabled = _get("xmleditor-enabled") @@ -241,8 +237,6 @@ def main(): CLITestOptions.leak_debug = True if options.test_no_events: CLITestOptions.no_events = True - if options.test_old_poll: - CLITestOptions.old_poll = True # With F27 gnome+wayland we need to set these before GTK import os.environ["GSETTINGS_SCHEMA_DIR"] = BuildConfig.gsettings_dir @@ -294,9 +288,6 @@ def main(): Gtk.Window.set_default_icon_name("virt-manager") - import virtinst.pollhelpers - virtinst.pollhelpers.FORCE_OLD_POLL = CLITestOptions.old_poll - show_window = None domain = None if options.show_domain_creator: |