summaryrefslogtreecommitdiff
path: root/data/org.virt-manager.virt-manager.gschema.xml
Commit message (Collapse)AuthorAgeFilesLines
* config: Disable libguestfs UI integration by defaultCole Robinson2022-02-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | If python3-libguestfs is installed, virt-manager will use it automatically to fetch guest OS icons, installed application lists, and some other details. In practice though the libguestfs integration usually doesn't work, because most virt-manager created VMs have disks image in a location only accessible to root, and our libguestfs usage needs the disks accessible by the app user. When it does work, we don't cache the results across app runs, so libguestfs spawns lots of inspecting VMs every app startup, with lots of log chatter and CPU spiking. Then there's the confusion that app behavior can noticeably change through the install of another package and an app restart. I think it's simpler from a maintenance perspective to disable this by default. If we fix those two big issues then maybe we can change it back in the future Signed-off-by: Cole Robinson <crobinso@redhat.com>
* createvm: Tweaks to new UEFI prefCole Robinson2022-01-311-1/+1
| | | | | | | | | | | * Make it clear in code and UI that this is x86 only. Other arches either require UEFI (aarch64) or don't support it * Drop the internal 'bios' values since we don't handle them and may not want them anyways, since when win11 support lands we will need to explicitly throw an error if the user tries to force bios * Add UI tests Signed-off-by: Cole Robinson <crobinso@redhat.com>
* virt-manager: Add firmware preferences for creating a new VMCharles Arnold2022-01-311-0/+6
| | | | | | | | Possible values are BIOS (default) and UEFI. The firmware used is determined by libvirt unless a specific firmware is selected from the Customize dialog. See https://bugzilla.redhat.com/show_bug.cgi?id=1997882
* Improve Secret Service interoperabilityWGH2021-04-061-4/+4
| | | | | | | | | | | | | | | | | | | | | The current implementation of Secret Service keyring client assumes that the last component of an item path is integer, which is not true for some Secret Service server implementations (e.g. KeePassXC). Besides, the Secret Service API documents advises against recording object path (not to mentioning parsing it in any way), recommending using lookup attributes instead[1]. This commit fixes the code to behave in more interoperable way. - The item path (called "keyid" in code) is no longer parsed and stored anywhere. - The secret item is looked up in the Secret Service using hvuri and machine uuid attributes. - /console-password with (username, keyid) is removed from GSettings storage. Instead, only username is stored in /console-username. [1] https://specifications.freedesktop.org/secret-service/latest/ch03.html Resolves: #237
* details: Add host-passthrough as an explicit CPU UI choiceCole Robinson2020-09-201-1/+1
| | | | | | | | | | | | | | | | | Historically we have not advertised host-passthrough because it was not recommended for general usage. That stance is softening, tools like gnome-boxes already set it as the default, and users continue to ask about it. We may change the default in virt-manager but it will take more discussion. This is a tiny move in the direction of hiding it less than we already do. Drop the label for host-model and call it by its libvirt XML name, since otherwise it's hard to tell which combo choice is for each value Signed-off-by: Cole Robinson <crobinso@redhat.com>
* preferences: Unconditionally add VM sound devicesCole Robinson2020-09-191-6/+0
| | | | | | | | This is another preference that was added before anyone ever asked for it. I'm fine with suggesting users remove the device manually if they don't want it Signed-off-by: Cole Robinson <crobinso@redhat.com>
* preferences: Unconditionally add usbredir devs for spiceCole Robinson2020-09-191-6/+0
| | | | | | | | | | | | 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>
* console: Add option to disable autoconnectCole Robinson2020-09-091-0/+12
| | | | | | | | | | | | | | As part of making virt-manager cooperate better with external viewers, add an option to disable console autoconnect. When opening a VM window for a running VM, you'll see a 'Connect to console' button in place of the spice/vnc viewer. Click that and things proceed like normal. This is useful to prevent virt-manager from disconnecting a virt-viewer instance that's already attached to a VM https://bugzilla.redhat.com/show_bug.cgi?id=1793876 Signed-off-by: Cole Robinson <crobinso@redhat.com>
* prefs: Remove 'Force console accels' optionCole Robinson2020-09-091-6/+0
| | | | | | | This is very obscure and definitely not in line with our DESIGN.md nowadays Signed-off-by: Cole Robinson <crobinso@redhat.com>
* viewers: Remove hidden grab-keyboard gsettingsCole Robinson2020-09-011-7/+0
| | | | | | | | | This was added in 2014 per user request but we never exposed it in the UI. This is fairly advanced needs from the console viewer IMO and is better left to console specific tools like virt-viewer, per our DESIGN.md Signed-off-by: Cole Robinson <crobinso@redhat.com>
* setup: Run codespell on more filesCole Robinson2020-01-281-2/+2
| | | | | | And fix the results Signed-off-by: Cole Robinson <crobinso@redhat.com>
* preferences: Remove old Interface confirm optionCole Robinson2020-01-261-6/+0
| | | | | | This hasn't been relevant since that UI was removed Signed-off-by: Cole Robinson <crobinso@redhat.com>
* preferences: Disable XML editing by defaultCole Robinson2019-06-131-0/+6
| | | | | | | | | | | | | | This adds a field in gsettings and preferences UI to enable XML editing. It's off by default. The XML tab page is still visible, but the textview is not editable, and there's a warning at the top: XML editing is disabled in 'Preferences'. Only enable it if you know what you are doing. When the setting is enabled, the warning goes away and the textview is editable. This puts a roadblock up for people that don't know what they are doing, but still advertises the feature and keeps the UI surface difference fairly small between on/off states.
* host: Remember window dimensionsCole Robinson2019-04-141-0/+6
| | | | | Like we do for details and manager windows, save window size in gsettings and remember it across app runs
* prefs: Add a setting to enable/disable libguestfs inspectionCole Robinson2018-03-151-0/+6
| | | | | | | | Rather than key it on the library being available. Makes it much easier to test both modes of behavior. Fix up a few inspection bugs while I'm in the area, and convert it to be more singleton like.
* gschema: Populate/Store previous container URLsRadostin Stoyanov2017-07-101-0/+6
|
* connection: Allow setting a custom 'pretty name' (bz 784701)Cole Robinson2015-04-111-0/+11
| | | | | | | | | We've had multiple requests over the years for something similar. People might have to connect to multiple IP addresses, or really large hostnames, that become difficult to distinguish in the UI. Add a field in the host details page that allows setting a custom name, and store it in gsettings.
* Add a gsetting key to disable keyboard grabbingKjö Hansi Glaz2014-03-101-0/+7
| | | | | | Add a gsetting key to disable keyboard grabbing that works the same way as spicy when unchecking "Options" > "Grab keyboard when active and focused".
* prefs: Change the tick interval to 3 secondsCole Robinson2014-02-111-1/+1
| | | | | Most libvirt usage now shouldn't need a high tick interval, since we are using async events. So raise it.
* preferences: Allow disabling VM CPU pollCole Robinson2014-02-111-1/+5
| | | | | With this, the only libvirt API call we hit on each tick is the connection nodeinfo.
* prefs: Disable memory polling by defaultCole Robinson2014-02-101-1/+1
| | | | | | This path hits the qemu monitor, and leads to the virt-manager UI being locked up when performing asynchronous tasks like creating a snapshot. So make it opt in for people that want it.
* wipCole Robinson2014-02-051-1/+1
|
* prefs: Add 'Add SPICE USB redirection' option, enable itCole Robinson2014-02-041-0/+6
| | | | | For qemu guests that are using spice, add 4 redirdevs so USB redirection happens for free. This can be disabled in the preferences dialog.
* console: Support spice 'resize-guest' (bz 754559)Cole Robinson2014-01-311-0/+12
| | | | | This will auto change the guest resolution to match the window size. Off by default, can be enabled like scaling preferences.
* prefs: Allow changing the default VM CPU mode/model configCole Robinson2014-01-171-0/+7
| | | | | | | | | | | | | | | Add a preference for changing the default CPU mode/model. The options are: - default (whatever virt-manager chooses as the default) - hypervisor default (no <cpu> block, what we've always done) - nearest host cpu model (just the 'model' from caps->host->cpu) - copy host cpu (the entire <cpu> block from caps->host) The setting only applies to KVM guests, not tested with anything else. The default is left as is for now (hypervisor default). copy host CPU will one day use mode='host-model', when it does what we want. At that point we will probably make it the default
* prefs: Allow disabling all memorystats pollingCole Robinson2014-01-121-0/+5
| | | | | | | | Similar to how we allow disabling disk/net polling, not sure yet what effect it might have on remote connections, so best to add this option just to be safe. Unlike disk/net stats, we enable this checking by default.
* Add memory stats widget also to manager tree view.Thorsten Behrens2014-01-061-0/+6
| | | | (crobinso: Fix an initialization issue)
* add new "spice-disable-usbredir" option to disable autoredir featureGuannan Ren2013-07-011-0/+6
| | | | | The value is stored in gsettings. By default, we use spice autoredir feature for usb redirection.
* gsettings: Fix default for perms-fix-ignore (bz 962569)Cole Robinson2013-05-151-2/+2
|
* Fix crash when creating guest from ISO media (bz 958641)Cole Robinson2013-05-091-0/+7
| | | | | Accessing another unknown gsettings key. Should be the last one though...
* gsettings: Simplify remembering last used pathsCole Robinson2013-04-231-14/+8
|
* prefs: Remove distinction between local and remote soundCole Robinson2013-04-231-14/+7
| | | | | | Remote sound works fine these days. If people want to turn the preference off, they probably want to do it in all cases, and can 'customize before install' to alter the rest.
* prefs: Remove preference for 'history length'Cole Robinson2013-04-231-6/+0
| | | | | Also kinda pointless, and I've never heard of anyone actually tweaking it.
* gsettings: Remove url-list-lengthCole Robinson2013-04-231-6/+1
| | | | Kinda pointless, just default to 10
* Port from gconf to gsettingsCole Robinson2013-04-181-0/+286
This unfortunately has a decent amount of fallout: add a wrapper class in config.py that reduces much of the churn. Another big piece is that gsettings can't accept arbitrary paths like gconf would, everything needs to be described in the schema. Also do a bunch more RPM spec modernizing