virt-manager/virtManager
Cole Robinson 9c45f4a2e9 details: Strip back 'Enable shared memory' to only cover memfd
Strip back the logic to:

* Only try to toggle source_type=memfd and access_mode=shared
* Disable the field if guest has any <numa> config
* Disable the field if domcaps does not report virtiofs and memfd

This is the simplest future proof case, though it will exclude some
legit guest configs and some libvirt+qemu back compat.

My feeling is the <numa> stuff in particular is pretty advanced, so if
users have it configured they can toggle shared memory via the XML
without too much trouble.

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2022-01-25 12:43:32 -05:00
..
details details: Move 'shared mem' editing and tooltip logic to domain.py 2022-01-25 12:26:14 -05:00
device gfxdetails: Fix switching from listen=none to listen=address 2022-01-20 16:34:59 -05:00
lib uitests: top off test coverage 2022-01-17 17:11:18 -05:00
object details: Strip back 'Enable shared memory' to only cover memfd 2022-01-25 12:43:32 -05:00
__init__.py Fix copyright header to specify GPLv2 or later, not GPLv2 only. 2018-04-04 16:51:37 -04:00
about.py virtManager: add coverage annotations and remove dead code 2020-08-26 15:20:05 -04:00
addhardware.py virtManager: change MDEV display names 2022-01-19 14:24:14 -05:00
asyncjob.py progress: Drop tqdm and revert back to local urlgrabber copy 2021-06-09 16:52:11 -04:00
baseclass.py vmwindow: Cleanup the interaction with vmmConsolePages 2020-09-09 19:37:11 -04:00
clone.py device: disk: Rename path property to get/set_source_path 2020-11-11 19:06:32 -05:00
config.py uitests: More work to drop sleeping and hacks 2020-09-20 14:32:55 -04:00
connection.py connection: Unconditionally report connection leak 2020-11-10 17:41:20 -05:00
connmanager.py virtManager: add coverage annotations and remove dead code 2020-08-26 15:20:05 -04:00
createconn.py uitests: Finish createconn.py coverage 2020-08-26 15:20:05 -04:00
createnet.py createnet: Add full uitest coverage 2020-08-26 15:20:05 -04:00
createpool.py virtManager: add coverage annotations and remove dead code 2020-08-26 15:20:05 -04:00
createvm.py uitests: Mock virtBootstrap 2022-01-17 15:13:12 -05:00
createvol.py createvol: Drop Allocation field in favor of checkbox 2020-09-20 17:08:39 -04:00
delete.py progress: Some internal API cleanup 2021-05-22 14:56:10 -04:00
engine.py virt-manager: Stop suppressing all warnings 2020-09-19 14:28:05 -04:00
error.py uitests: Finish error.py coverage 2020-08-26 15:20:05 -04:00
host.py i18n: improve title of connection dialog 2020-09-17 15:38:42 -04:00
hostnets.py host: Use libvirtobject.run_status 2021-05-22 16:17:02 -04:00
hoststorage.py host: Use libvirtobject.run_status 2021-05-22 16:17:02 -04:00
manager.py uitests: Use drag() method again for window cleanup tests 2020-09-22 11:28:21 -04:00
migrate.py migrate: Add XML editor support 2020-09-05 17:50:48 -04:00
oslist.py virtManager: add coverage annotations and remove dead code 2020-08-26 15:20:05 -04:00
preferences.py details: Add host-passthrough as an explicit CPU UI choice 2020-09-20 18:21:43 -04:00
storagebrowse.py objects: Erase the notion of connkey 2020-09-01 14:27:11 -04:00
systray.py systray: Appindicator tweaks 2020-11-16 11:11:19 -05:00
virtmanager.py Remove shebangs from library paths 2021-06-22 19:54:37 -04:00
vmmenu.py codespell: Whitelist 'cloneable' 2020-09-05 15:49:55 -04:00
vmwindow.py vmwindow: vm state-changed update flow changes 2020-09-21 09:06:18 -04:00
xmleditor.py virtManager: misc reference leak fixes 2020-09-08 17:32:00 -04:00