mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
tests: acpi: silence applesmc warning about invalid key
OSK value is irrelevant for ACPI test case. Supply fake OSK explicitly to prevent QEMU complaining about invalid key when it fallbacks to default_osk. Suggested-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Igor Mammedov <imammedo@redhat.com> Message-Id: <20220728133713.1369596-1-imammedo@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
4f41b4e445
commit
888fbaaf02
1 changed files with 3 additions and 1 deletions
|
@ -1632,7 +1632,9 @@ static void test_acpi_q35_applesmc(void)
|
||||||
.variant = ".applesmc",
|
.variant = ".applesmc",
|
||||||
};
|
};
|
||||||
|
|
||||||
test_acpi_one("-device isa-applesmc", &data);
|
/* supply fake 64-byte OSK to silence missing key warning */
|
||||||
|
test_acpi_one("-device isa-applesmc,osk=any64characterfakeoskisenough"
|
||||||
|
"topreventinvalidkeywarningsonstderr", &data);
|
||||||
free_test_data(&data);
|
free_test_data(&data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue