virt-manager/tests/data
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
..
capabilities tests: Update ppc64le capabilities 2024-09-10 12:53:36 -04:00
cli virt-install: Fix the active_pcr_banks issue for TPM emulator 2024-11-13 11:29:09 +01:00
fakemedia tests: add fake-win-multi.iso and test it 2024-09-07 14:34:43 -04:00
inject tests: Move all data directories to data/ 2020-01-27 06:57:37 -05:00
meter virtinstall: Hide total_size in the progress bar if it doesn't need 2022-12-14 13:18:36 -05:00
nodedev/devxml tests: Move all data directories to data/ 2020-01-27 06:57:37 -05:00
storage tests: testdriver: Rename default-pool -> pool-dir 2022-02-27 13:03:04 -05:00
testdriver virt-install: add --network hostdev=HOSTDEV 2024-11-11 15:30:25 -05:00
urldetect tests: add Mageia 5 detection test 2020-08-31 13:20:41 -04:00
xmlparse guest: convert_to_vnc: optionally add qemu-vdagent 2024-10-09 11:03:43 +02:00
codespell_dict.txt misc: codespell fixes 2024-10-13 15:26:08 +02:00
test_urls.ini tests: test_urls: Update fedora links 2022-08-03 11:44:25 -04:00