Check correct error for busy vCPU.
This should have been updated with the SPCI migration but was missed.
Bug: 144477730
Change-Id: I7133cda2f739315f250263f6d7a59964ce11228d
diff --git a/test/vmapi/primary_with_secondaries/run_race.c b/test/vmapi/primary_with_secondaries/run_race.c
index 28276e9..6212ecb 100644
--- a/test/vmapi/primary_with_secondaries/run_race.c
+++ b/test/vmapi/primary_with_secondaries/run_race.c
@@ -41,8 +41,8 @@
/* Run until it manages to schedule vCPU on this CPU. */
do {
run_res = spci_run(SERVICE_VM1, 0);
- } while (run_res.func == HF_SPCI_RUN_WAIT_FOR_INTERRUPT &&
- run_res.arg2 == HF_SLEEP_INDEFINITE);
+ } while (run_res.func == SPCI_ERROR_32 &&
+ run_res.arg2 == SPCI_BUSY);
/* Break out if we received a message with non-zero length. */
if (run_res.func == SPCI_MSG_SEND_32 &&