virt-manager/ui
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
..
about.ui about: use the standard license type 2020-07-20 12:56:41 -04:00
addhardware.ui ui: Mark some uitests strings as non-translatable 2020-09-13 19:12:24 -04:00
addstorage.ui addstorage: Revive disk serial UI 2020-09-08 17:32:00 -04:00
asyncjob.ui progress: Some internal API cleanup 2021-05-22 14:56:10 -04:00
clone.ui clone: Rework the UI 2020-09-05 15:49:55 -04:00
connectauth.ui Bump gtk dep to 3.22 for new popup routines 2019-04-07 13:54:00 -04:00
console.ui console: Add option to disable autoconnect 2020-09-09 19:59:31 -04:00
createconn.ui virtManager: rename connect.py -> createconn.py 2019-06-17 00:12:32 -04:00
createnet.ui createnet: Remove some unnecessary max_length annotations 2021-04-06 13:35:15 -04:00
createpool.ui createpool: Remove 'build' checkbox 2020-08-26 15:20:05 -04:00
createvm.ui uitests: finish createvm.py coverage 2020-08-30 14:23:24 -04:00
createvol.ui createvol: Drop Allocation field in favor of checkbox 2020-09-20 17:08:39 -04:00
delete.ui uitests: finish delete.py coverage 2020-08-30 15:59:39 -04:00
details.ui details: Add new checkbox to control shared memory access 2022-01-25 12:26:14 -05:00
fsdetails.ui fsdetails: Rework XML building logic 2020-11-14 16:09:21 -05:00
gfxdetails.ui gfxdetails: Use a single 'changed' signal 2020-09-21 22:11:17 -04:00
host.ui i18n: improve title of connection dialog 2020-09-17 15:38:42 -04:00
hostnets.ui uitests: Add host*.py coverage 2020-08-26 15:20:05 -04:00
hoststorage.ui uitests: Add host*.py coverage 2020-08-26 15:20:05 -04:00
manager.ui ui: manager: Don't allow de-selecting rows 2020-01-29 18:34:38 -05:00
migrate.ui migrate: Add XML editor support 2020-09-05 17:50:48 -04:00
netlist.ui uitests: Add combo selection helpers and use them 2020-08-26 15:20:06 -04:00
oslist.ui i18n: use "Generic OS" as label for generic 2020-07-13 15:37:00 -04:00
preferences.ui preferences: Unconditionally add VM sound devices 2020-09-19 17:10:19 -04:00
snapshots.ui uitests: Finish snapshot.py coverage 2020-08-26 15:20:05 -04:00
snapshotsnew.ui virtManager: Convert to CSS for most color usage 2020-02-03 07:05:11 -05:00
storagebrowse.ui storagebrowse: Fix set_browse_reason 2020-08-26 15:20:05 -04:00
vmwindow.ui details: Change Close accelerator to ctrl+shift+w 2020-09-21 14:33:25 -04:00
vsockdetails.ui Bump gtk dep to 3.22 for new popup routines 2019-04-07 13:54:00 -04:00
xmleditor.ui preferences: Disable XML editing by default 2019-06-13 07:17:34 -04:00