From: Matthew Rosato <mjrosato@linux.ibm.com>
To: Joshua Daley <jdaley@linux.ibm.com>, qemu-s390x@nongnu.org
Cc: qemu-devel@nongnu.org, jrossi@linux.ibm.com, zycai@linux.ibm.com,
borntraeger@linux.ibm.com, jjherne@linux.ibm.com,
pasic@linux.ibm.com, farman@linux.ibm.com,
richard.henderson@linaro.org, iii@linux.ibm.com,
david@kernel.org, cohuck@redhat.com
Subject: Re: [PATCH v1 3/3] tests/functional/s390x/test_secure_ipl: Add virtio-blk-pci boot dev case
Date: Mon, 24 Aug 2026 12:39:50 -0400 [thread overview]
Message-ID: <21439612-9d8a-4e95-8ed2-7e74822aef10@linux.ibm.com> (raw)
In-Reply-To: <2c98040b-f6c7-43cf-a768-5089258e723e@linux.ibm.com>
>> Unless this is really time consuming, I think the simple answer is to
>> just let the setup run twice and don't try to share between the 2
>> instances?
>>
>> Thanks,
>> Matt
>>
> The setup is time consuming compared to the verification step. On my
> machine, the entire test takes about 120s, and about 90% of that is setup.
Bleh. OK, that seems worth the extra complexity.
>
> A simple solution is to scrap the subtest idea and just have:
>
> @skipBigDataTest()
> def test_s390x_secure_ipl(self):
> self.require_accelerator('kvm')
> self.setup_s390x_secure_ipl()
> self.verify_s390x_secure_ipl('ccw')
> self.verify_s390x_secure_ipl('pci')
>
> But if we value separating the ccw and pci cases into separate subtests,
> I have a solution using setUpClass() and class-level vars to run the
> setup only once. It just makes the code a bit uglier. I'll proceed with
> it for v2, unless other opinions arise.
Sounds good.
Thanks,
Matt
prev parent reply other threads:[~2026-08-24 16:40 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-12 15:21 [PATCH v1 0/3] Extend secure IPL support to virtio-blk-pci boot devices Joshua Daley
2026-08-12 15:21 ` [PATCH v1 1/3] hw/s390x/ipl: Add secure boot support to PCI dev IPLB builder Joshua Daley
2026-08-17 18:54 ` Jared Rossi
2026-08-17 19:34 ` Zhuoying Cai
2026-08-24 13:49 ` Matthew Rosato
2026-08-12 15:21 ` [PATCH v1 2/3] tests/functional/s390x/test_secure_ipl: Skip test if SIPL not supported by hypervisor Joshua Daley
2026-08-17 20:01 ` Jared Rossi
2026-08-24 13:50 ` Matthew Rosato
2026-08-24 16:40 ` Zhuoying Cai
2026-08-12 15:21 ` [PATCH v1 3/3] tests/functional/s390x/test_secure_ipl: Add virtio-blk-pci boot dev case Joshua Daley
2026-08-17 20:02 ` Jared Rossi
2026-08-24 14:55 ` Matthew Rosato
2026-08-24 16:38 ` Joshua Daley
2026-08-24 16:39 ` Matthew Rosato [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=21439612-9d8a-4e95-8ed2-7e74822aef10@linux.ibm.com \
--to=mjrosato@linux.ibm.com \
--cc=borntraeger@linux.ibm.com \
--cc=cohuck@redhat.com \
--cc=david@kernel.org \
--cc=farman@linux.ibm.com \
--cc=iii@linux.ibm.com \
--cc=jdaley@linux.ibm.com \
--cc=jjherne@linux.ibm.com \
--cc=jrossi@linux.ibm.com \
--cc=pasic@linux.ibm.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-s390x@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=zycai@linux.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.