UEFI-enabled VMs usually have pflash (NVRAM) devices attached,
which require one additional libvirt flag to be passed at 'undefine'.
This is usually the case for AArch64 (arm64) VMs, where AAVMF (AA64
UEFI) is the only supported guest bootloader.
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Several fixes have been squashed into this commit to make the virt
module documentation correct:
* add missing parameters documentation in publicly exposed functions
* fix ..versionadded into .. versionadded
* a few minor display glitches
Mockup _load_json_file() in order to avoid the following errors when
building the docs:
WARNING: autodoc: failed to import module 'salt.modules.boto_asg'; the following exception was raised:
Traceback (most recent call last):
File "/public/src/salt/env/lib/python3.6/site-packages/sphinx/ext/autodoc/importer.py", line 140, in import_module
__import__(modname)
File "/public/src/salt/salt/modules/boto_asg.py", line 63, in <module>
import boto.ec2
File "/public/src/salt/env/lib/python3.6/site-packages/boto/ec2/__init__.py", line 31, in <module>
RegionData = load_regions().get('ec2', {})
File "/public/src/salt/env/lib/python3.6/site-packages/boto/regioninfo.py", line 100, in load_regions
endpoints = _load_builtin_endpoints()
File "/public/src/salt/env/lib/python3.6/site-packages/boto/regioninfo.py", line 128, in _load_builtin_endpoints
resolver = BotoEndpointResolver(endpoints)
File "/public/src/salt/env/lib/python3.6/site-packages/boto/endpoints.py", line 150, in __init__
endpoint_data, service_rename_map)
File "/public/src/salt/env/lib/python3.6/site-packages/boto/endpoints.py", line 44, in __init__
super(_CompatEndpointResolver, self).__init__(endpoint_data)
File "/public/src/salt/env/lib/python3.6/site-packages/boto/vendored/regions/regions.py", line 95, in __init__
raise ValueError('Missing "partitions" in endpoint data')
ValueError: Missing "partitions" in endpoint data
This is fix errors like the following when building docs:
WARNING: autodoc: failed to import module 'salt.states.saltmod'; the following exception was raised:
Traceback (most recent call last):
File "/public/src/salt/env/lib/python3.6/site-packages/sphinx/ext/autodoc/importer.py", line 140, in import_module
__import__(modname)
File "/public/src/salt/salt/states/saltmod.py", line 36, in <module>
import salt.output
File "/public/src/salt/salt/output/__init__.py", line 19, in <module>
import salt.loader
File "/public/src/salt/salt/loader.py", line 23, in <module>
import salt.config
File "/public/src/salt/salt/config/__init__.py", line 27, in <module>
import salt.utils.network
File "/public/src/salt/salt/utils/network.py", line 35, in <module>
import salt.utils.zeromq
File "/public/src/salt/salt/utils/zeromq.py", line 39, in <module>
if tornado.version_info < (5,):
TypeError: '<' not supported between instances of 'Mock' and 'tuple'
This was broken because the behavior was to simply check the ckminions
and wait for only those returns to complete. This works assuming
ckminions is accurate (which there are many cases where it isn't, such
as syndics).
_disbatch_local's waiting on returns needs to match LocalClient's
behavior (namely that in get_iter_returns). This means we are allowed to
return when (1) we have waitged the min_wait_time (0 if not a syndic)
(2) no minions are running the job (3) all minions we saw running it are
done running the job. The only method allowed for earlier termination is
if the gather_job_timeout is exceeded.
Fixes#42659
The `in` operator and `list.remove()` both iterate over the contents of
the list. Attempting the remove and catching the ValueError prevents the
extra iteration performed by the membership check.
Matrox and ASPEED are used in a lot of server mainboards for embedded
GPU chips.
Add these as recognized chipset manufacturers.
Drive-By: Align netbsd vendor data with linux vendor data, adding
cirrus logic and vmware to the linux vendors.