Skip to content

gcs: keep bridge alive across live-migration transport swap#2771

Open
rawahars wants to merge 1 commit into
microsoft:mainfrom
rawahars:lm_gcs_bridge
Open

gcs: keep bridge alive across live-migration transport swap#2771
rawahars wants to merge 1 commit into
microsoft:mainfrom
rawahars:lm_gcs_bridge

Conversation

@rawahars

Copy link
Copy Markdown
Contributor

Add SetMigrating / ResumeOnConn on the bridge (plumbed through GuestConnection and Guest) so callers can park the recv/send loops during a UVM migration blackout and swap in the new hvsock without dropping in-flight RPCs. CreateConnection gains a coldStart bool so the migration destination skips the fresh-boot handshake.

Drive-bys: shim Stop honours caller ctx, Capabilities is nil-safe, ErrGuestConnectionUnavailable is exported, add session-id/action log fields.

Add SetMigrating / ResumeOnConn on the bridge (plumbed through
GuestConnection and Guest) so callers can park the recv/send loops
during a UVM migration blackout and swap in the new hvsock without
dropping in-flight RPCs. CreateConnection gains a coldStart bool so
the migration destination skips the fresh-boot handshake.

Drive-bys: shim Stop honours caller ctx, Capabilities is nil-safe,
ErrGuestConnectionUnavailable is exported, add session-id/action
log fields.

Signed-off-by: Harsh Rawat <harshrawat@microsoft.com>
@rawahars rawahars requested a review from a team as a code owner June 11, 2026 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant