mirror of
https://github.com/mii443/qemu.git
synced 2025-09-02 07:09:47 +00: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:
committed by
Michael S. Tsirkin
parent
4f41b4e445
commit
888fbaaf02
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user