]> git.ipfire.org Git - thirdparty/systemd.git/commit
vmspawn: Add comment explaining substring match in firmware_data_matches_machine()
authorDaan De Meyer <daan@amutable.com>
Sun, 5 Apr 2026 17:43:33 +0000 (17:43 +0000)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 5 Apr 2026 19:09:23 +0000 (21:09 +0200)
commita85845f0437cd97b325ab09746ce81b4ecda0e90
tree72bd7eaaf03fc7be88be2074f80591906c3584f8
parentf8e88be1d156c5e8000a85cc47ea5ab9007bdaf8
vmspawn: Add comment explaining substring match in firmware_data_matches_machine()

The machine types in QEMU firmware descriptions are glob patterns
like "pc-q35-*", so we use strstr() substring matching to check if
our machine type is covered by a given firmware entry.
src/vmspawn/vmspawn-util.c