virt-manager/virtManager
Lin Ma b4189a925b details: Add new checkbox to control shared memory access
The virtiofs in domcapabilities is used as a proxy to tell us whether
libvirt is new enough to allow bare memory access mode=shared', So We
enable/disable this checkbox according to it.

When we configure shared memory access, If the 'memfd' is available in
domcaps, We configure VM to use it as memory backend because it doesn't
need addtional host setup for vhost-user devices, Otherwise use 'file'
as backend.

If all of numa nodes explicitly defined memAccess=shared, We mark this
checkbox as checked even if virtiofs isn't exposed in domcapabilities.
In this case:
- It doesn't matter what the value of access mode of memoryBacking is
  because access mode of memoryBacking will be overridden per numa node
  by memAccess attribute.
- Although the checkbox is disabled, the checked checkbox presents actual
  status about shared memory access to users.

Signed-off-by: Lin Ma <lma@suse.com>
2022-01-25 12:26:14 -05:00
..
details details: Add new checkbox to control shared memory access 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: Add new checkbox to control shared memory access 2022-01-25 12:26:14 -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