You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vmm_tests: Adds a regression test to verify that duplicate aer requests are not sent after servicing with keepalive. (#2135)
Add a regression test to verify that the driver does not issue
additional AERs after restore if something is already pending. Also some
minor restructuring of tests.
QueueFaultBehavior::Panic("Received a duplicate ASYNCHRONOUS_EVENT_REQUEST command during servicing with keepalive enabled. THERE IS A BUG SOMEWHERE.".to_string()),
306
+
),
307
+
);
291
308
292
-
// CREATE_IO_COMPLETION_QUEUE is blocked. This will panic out without keepalive enabled.
293
-
fault_start_updater.set(true).await;
294
-
vm.restart_openhcl(
295
-
igvm_file.clone(),
296
-
OpenHclServicingFlags{
297
-
enable_nvme_keepalive:true,
298
-
..Default::default()
299
-
},
309
+
apply_fault_with_keepalive(
310
+
config,
311
+
fault_configuration,
312
+
fault_start_updater,
313
+
(igvm_file,),
300
314
)
301
-
.await?;
302
-
303
-
fault_start_updater.set(false).await;
304
-
agent.ping().await?;
305
-
306
-
Ok(())
315
+
.await
307
316
}
308
317
309
318
/// Test servicing an OpenHCL VM from the current version to itself with NVMe keepalive support
0 commit comments