Hypervisor Backend Recovery for Virtual Network Queues

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In virtual computing systems, the separation of backend components from the hypervisor can lead to loss of queue state during disconnection, disrupting communication between guest and backend.

Innovation Solution

A method is implemented where a hypervisor detects backend disconnection, notifies the guest, resets the queue, and synchronizes the queue state upon reconnection, ensuring seamless communication by setting flags, sending notifications, and updating the hypervisor device state.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If the backend is separated from the hypervisor to enable faster deployment of virtual network devices, then deployment speed is improved, but queue state is lost during disconnection causing communication disruption

Engineering Contradiction:
Improvedeployment speedVSAvoidcommunication reliability
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The hypervisor performs preliminary actions by detecting backend disconnection before complete state loss occurs, setting a disconnect flag, and notifying the guest OS to preserve queue state. This proactive detection and notification mechanism prevents communication disruption by preparing the system in advance of potential state loss.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements feedback mechanisms where the hypervisor continuously monitors backend connection status, detects disconnections, and triggers state restoration procedures. Upon backend reconnection, the hypervisor restores the saved queue state and notifies the backend, creating a closed-loop feedback system that maintains communication reliability despite separation-based disruptions.

Inventive Principle:
Principle #23Feedback

2Manufacturing precision

If the queue state is reset during backend disconnection to prevent data corruption, then data integrity is improved, but communication continuity is disrupted

Engineering Contradiction:
Improvedata integrityVSAvoidcommunication continuity
Core Design Contradiction:
Manufacturing precisionVSDuration of action of stationary object

Solution Approach 1:

The system discards the current queue state when backend disconnection is detected, saving it for later recovery. The hypervisor preserves the queue state in memory and restores it upon backend reconnection, rather than permanently discarding it. This allows the system to temporarily discard state to prevent corruption while recovering it to maintain continuity.

Inventive Principle:
Principle #34Discarding and recovering

Solution Approach 2:

The hypervisor prepares cushioning measures by saving queue state before complete loss occurs during disconnection. This preliminary preservation of state acts as a buffer that prevents permanent data loss, allowing the system to recover communication continuity once the backend reconnects without corrupting the underlying data integrity.

Inventive Principle:
Principle #11Beforehand cushioning (Prior cushioning)

3Loss of information

If the hypervisor notifies the guest of backend disconnection to maintain data consistency, then data consistency is improved, but system complexity increases

Engineering Contradiction:
Improvedata consistencyVSAvoidsystem complexity
Core Design Contradiction:
Loss of informationVSDevice complexity

Solution Approach 1:

The hypervisor acts as an intermediary between the backend and the guest OS, managing the notification and state restoration processes. Rather than requiring direct complex coordination between backend and guest, the hypervisor mediates by detecting disconnections, notifying the guest, saving state, and restoring communication upon reconnection, thereby maintaining data consistency while managing system complexity centrally.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS10019325B2Virtual device backend recovery
Publication Date: 2018.07.10 RED HAT ISRAEL
  • US10019325B2 patent drawing
  • US10019325B2 patent drawing
  • US10019325B2 patent drawing

AI summary

Methods, systems, and computer program products for restoring a backend after a backend disconnect. The method includes detecting a disconnect of a backend. The method further includes setting a flag and notifying a guest regarding the disconnect. The method further includes resetting a data structure accessed by the backend. The method further includes detecting (or initiating) or a reconnect of the backend. The method further includes sending the backend a state of the data structure.