diff options
author | Cole Robinson <crobinso@redhat.com> | 2020-09-19 17:30:08 -0400 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2020-09-19 17:10:19 -0400 |
commit | 748639702ebca7fcfc1883cf3272d4ff55015080 (patch) | |
tree | 373685d3ac51491e26be0fa757b266bae2b5b10c /virtManager/config.py | |
parent | 8ce83dbc53f4363b540449da1e359b39f49b34d1 (diff) | |
download | virt-manager-748639702ebca7fcfc1883cf3272d4ff55015080.tar.gz |
preferences: Unconditionally add usbredir devs for spice
Remove the preference option to disable this. This was added with
the initial usbredir support because I was afraid people would
complain. They did complain, but only about the auto redir behavior
of the spice client. We still have a toggle to disable that behavior
If people don't want usbredir devices, I'm comfortable telling
them to remove them manually, or use virt-install
Signed-off-by: Cole Robinson <crobinso@redhat.com>
Diffstat (limited to 'virtManager/config.py')
-rw-r--r-- | virtManager/config.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/virtManager/config.py b/virtManager/config.py index f552906c..b78630d8 100644 --- a/virtManager/config.py +++ b/virtManager/config.py @@ -221,7 +221,6 @@ class vmmConfig(object): self.default_storage_format_from_config = "qcow2" self.default_console_resizeguest = 0 - self.default_add_spice_usbredir = "yes" self._objects = [] self.color_insensitive = None @@ -517,16 +516,6 @@ class vmmConfig(object): def set_graphics_type(self, gtype): self.conf.set("/new-vm/graphics-type", gtype.lower()) - def get_add_spice_usbredir(self, raw=False): - ret = self.conf.get("/new-vm/add-spice-usbredir") - if ret not in ["system", "yes", "no"]: - ret = "system" # pragma: no cover - if ret == "system" and not raw: - return self.default_add_spice_usbredir - return ret - def set_add_spice_usbredir(self, val): - self.conf.set("/new-vm/add-spice-usbredir", val) - def get_default_storage_format(self, raw=False): ret = self.conf.get("/new-vm/storage-format") if ret not in ["default", "raw", "qcow2"]: |