Document each libvirt.sysinfo_serial choice

Change-Id: Ieb92bf388a141bbea314ff6dade84b2136c0784b
This commit is contained in:
Matt Riedemann 2018-10-17 15:51:25 -04:00
parent 41bc054113
commit 6ae3907176
1 changed files with 12 additions and 1 deletions

View File

@ -676,7 +676,18 @@ http://man7.org/linux/man-pages/man7/random.7.html.
'For example: x86_64=machinetype1,armv7l=machinetype2'),
cfg.StrOpt('sysinfo_serial',
default='auto',
choices=('none', 'os', 'hardware', 'auto'),
choices=(
('none', 'A serial number entry is not added to the guest '
'domain xml.'),
('os', 'A UUID serial number is generated from the host '
'``/etc/machine-id`` file.'),
('hardware', 'A UUID for the host hardware as reported by '
'libvirt. This is typically from the host '
'SMBIOS data, unless it has been overridden '
'in ``libvirtd.conf``.'),
('auto', 'Uses the "os" source if possible, else '
'"hardware".'),
),
help='The data source used to the populate the host "serial" '
'UUID exposed to guest in the virtual BIOS.'),
cfg.IntOpt('mem_stats_period_seconds',