Skip to content

Commit b3ca356

Browse files
authored
Merge branch 'release/1.7.2511' into cp-2512
2 parents f92119a + 3125936 commit b3ca356

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

flowey/flowey_lib_hvlite/src/_jobs/check_openvmm_hcl_size.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ impl SimpleFlowNode for Node {
9595
let merge_commit = ctx.reqv(|v| git_merge_commit::Request {
9696
repo_path: openvmm_repo_path.clone(),
9797
merge_commit: v,
98-
base_branch: "main".into(),
98+
base_branch: "release/1.7.2511".into(),
9999
});
100100

101101
let merge_run = ctx.reqv(|v| {

petri/src/vm/hyperv/mod.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -785,11 +785,8 @@ impl PetriVmRuntime for HyperVPetriRuntime {
785785
// Extend the default timeout of 2 seconds, as tests are often run
786786
// in parallel on a host, causing very heavy load on the overall
787787
// system.
788-
//
789-
// TODO: Until #2470 is fixed, extend the timeout even longer to 10
790-
// seconds to workaround a Windows vmbus bug.
791788
socket
792-
.set_connect_timeout(Duration::from_secs(10))
789+
.set_connect_timeout(Duration::from_secs(2))
793790
.context("failed to set connect timeout")?;
794791
socket
795792
.set_high_vtl(set_high_vtl)

petri/src/vm/mod.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -924,6 +924,13 @@ impl<T: PetriVmmBackend> PetriVm<T> {
924924
/// Wait for a connection from a pipette agent running in the guest.
925925
/// Useful if you've rebooted the vm or are otherwise expecting a fresh connection.
926926
async fn wait_for_agent(&mut self) -> anyhow::Result<PipetteClient> {
927+
// As a workaround for #2470 (where the guest crashes when the pipette
928+
// connection timeout expires due to a vmbus bug), wait for the shutdown
929+
// IC to come online first so that we probably won't time out when
930+
// connecting to the agent.
931+
// TODO: remove this once the bug is fixed, since it shouldn't be
932+
// necessary and a guest could in theory support pipette and not the IC
933+
self.runtime.wait_for_enlightened_shutdown_ready().await?;
927934
self.runtime.wait_for_agent(false).await
928935
}
929936

0 commit comments

Comments
 (0)