#407 use the output of -device ? to look for supported devices
Opened by rmeggins. Modified
rmeggins/standard-test-roles use-device-q-to-find-devices  into  master

Download 407.patch

The method of using -device $NAME -S -monitor stdio does not work
on all supported platforms (EL7), and does not work correctly on
Fedora 34 and later. Instead, grab and parse the output of
qemucmd -device ? 2>&1 and look for matching name "$NAME",.

This replaces https://pagure.io/standard-test-roles/pull-request/406

I have tested this feature on a wide variety of platforms, and it works fine. @nhosoi @spetros

This PR is ready to be merged, imo.

Are there any objections to using this method?

any further objections? Can this be merged?

3 new commits added

  • support py2 - use subprocess.check_output
  • add support for TEST_ISOMAKER and isomaker lookup
  • support py2 - do not use f string
Metadata