virt-manager/tests
Lin Ma 301423b83a virt-install: Fix the active_pcr_banks issue for TPM emulator
The commit 6baa327d added active_pcr_banks support, but put it under the child
element <tpm>, which is wrong, It should be under sub child element <backend>.

Before:
  --tpm model=tpm-tis,backend.type=emulator,backend.version=2.0,\
      active_pcr_banks.sha1=on,\
	  active_pcr_banks.sha256=yes,\
	  active_pcr_banks.sha384=yes,\
	  active_pcr_banks.sha512=yes

  It results in the following domain xml:
    <tpm model='tpm-tis'>
      <backend type='emulator' version='2.0'/>
      <alias name='tpm0'/>
    </tpm>

After:
  --tpm model=tpm-tis,backend.type=emulator,backend.version=2.0,\
      backend.active_pcr_banks.sha1=on,\
	  backend.active_pcr_banks.sha256=yes,\
	  backend.active_pcr_banks.sha384=yes,\
	  backend.active_pcr_banks.sha512=yes

  It results in the following domain xml:
    <tpm model='tpm-tis'>
      <backend type='emulator' version='2.0'>
        <active_pcr_banks>
          <sha1/>
          <sha256/>
          <sha384/>
          <sha512/>
        </active_pcr_banks>
      </backend>
      <alias name='tpm0'/>
    </tpm>

Signed-off-by: Lin Ma <lma@suse.de>
2024-11-13 11:29:09 +01:00
..
data virt-install: Fix the active_pcr_banks issue for TPM emulator 2024-11-13 11:29:09 +01:00
uitests tests: uitests: cover cli changes 2024-11-12 23:12:36 +01:00
__init__.py Replace deprecated imp usage with importlib 2021-10-04 16:04:44 -04:00
conftest.py tests: Default --uitests to --verbosity=2 2023-05-06 16:50:20 -04:00
magicuri.py virtinst: uri: Rework MagicURI to work with passed in fakeuri 2020-02-03 07:05:11 -05:00
meson.build meson: add tests 2024-11-12 23:18:32 +01:00
test_capabilities.py tests: Add testDomainCapabilitiesLoongArch64() 2024-09-10 12:56:38 -04:00
test_checkprops.py cli: Fill in all --filesystem suboptions 2020-09-11 09:00:33 -04:00
test_cli.py virt-install: Fix the active_pcr_banks issue for TPM emulator 2024-11-13 11:29:09 +01:00
test_cloner.py tests: data: Move all cli/ bits to their own directories 2020-09-08 17:48:40 -04:00
test_conn.py tests: Drop most unittest usage from virtinst tests 2020-09-19 13:46:46 -04:00
test_disk.py tests: Add test for DeviceDisk.paths_in_use_by 2024-07-22 12:42:10 +02:00
test_dist.py update setup.py usage and docs to meson 2024-11-12 23:18:32 +01:00
test_inject.py tests: test_inject: Drop --debug usage 2022-08-04 15:06:17 -04:00
test_misc.py virtinstall: Hide total_size in the progress bar if it doesn't need 2022-12-14 13:18:36 -05:00
test_nodedev.py Fix some pylint 2024-08-26 11:36:01 -04:00
test_osdict.py virtinst/osdict: remove osinfo legacy aliases 2022-01-17 14:51:36 -05:00
test_storage.py tests: testdriver: Have all pools use pool- prefix 2022-02-27 13:44:13 -05:00
test_uriparse.py tests: Drop most unittest usage from virtinst tests 2020-09-19 13:46:46 -04:00
test_urldetect.py tests: add Mageia 5 detection test 2020-08-31 13:20:41 -04:00
test_urls.py Fix some pylint, exclude some new warnings 2021-10-04 16:04:33 -04:00
test_xmlparse.py misc: codespell fixes 2024-10-13 15:26:08 +02:00
testdriver.xml tests: Move all testdriver XML to the same dir 2020-08-26 15:20:05 -04:00
urlfetcher_mock.py tests: data: Move all cli/ bits to their own directories 2020-09-08 17:48:40 -04:00
utils.py Add test cases for loongarch 2024-06-18 12:09:14 +02:00