arXiv:2610.17899cs.NIOct 2026

Manuscript Offprint

arXiv:2610.17899

Towards Virtual Networking for a Time-Triggered Hypervisor

Jan Ruh, Silviu S. Craciunas, Jan Korecky

ABSTRACT

Virtualization enables mixed-criticality applications to run on shared hardware by isolating them within separate virtual machines (VMs). However, achieving end-to-end timing guarantees for critical tasks hosted on virtual CPUs (VCPUs) without relying on static partitioning is hard. A possible solution is a time-triggered hypervisor that dispatches VMs' VCPUs to processor cores according to a predetermined global schedule. A global schedule includes the computation, the network, and the virtualization layer to provide end-to-end timing guarantees across hosts and VMs during design time. In this work, we propose a VirtIO-based virtual network that realizes IEEE 802.1Qbv quasi-compliant inter-VM communication, providing predictable timing for critical messages exchanged between time-triggered VMs. We present our VirtIO-based virtual network architecture and derive network-level scheduling constraints that emerge from the properties of the proposed solution. We implement the proposed design in the ACRN hypervisor and evaluate the end-to-end latency of critical traffic in a loaded network, demonstrating that our time-triggered VirtIO-net prototype provides predictable end-to-end latency under load.

Keywords Virtual Networking · Hypervisor · Real-time · Time-Triggered

1 Introduction

Modern cyber-physical systems (CPS) are becoming increasingly powerful, featuring enhanced processing capabilities, a greater number of CPU cores, and expanded memory. This evolution allows for a broader range of functionalities to execute on a single device by running multiple virtual machines (VMs). Typically, we require CPS to deliver both real-time functionalities and high-level user-facing applications [1]. Virtualization thrives in edge computing for industrial automation, where data processing takes place at the network's edge in proximity to machinery rather than in the cloud. Here, edge computing devices run hard real-time control systems alongside soft real-time or best-effort data-driven applications [2]. Moreover, the automotive industry shifts away from using dedicated electronic control units (ECU) per function to utilizing computationally more powerful multicore multi-SoC systems that support both infotainment applications and conventional automotive control functions [3], [4]. Additionally, high-level functionalities in CPS often require feature-rich general-purpose operating systems, such as GNU/Linux derivatives, while safety-critical and real-time functionalities rely real-time operating systems [1].

In full system virtualization, a hypervisor creates a hardware-software duplicate of a real machine allocating resources to the resulting VMs [5]. There are two main approaches to tackle real-time requirements in VMs: consolidating VMs' resource requirements or statically partitioning hardware resources. The former allocates virtual CPUs (vCPUs)

RTNS 2025, November 5–7, 2025, Pisa, Italy. © 2025 Copyright held by the owner/author(s). Publication rights licensed to Springer. This is the author's version of the work. It is posted here for your personal use. Not for redistribution. The definitive Version of Record was published in The 33rd International Conference on Real-Time Networks and Systems (RTNS 2025), November 5–7, 2025, Pisa, Italy.

AUTHORS' VERSION

to VMs and the hypervisor dispatches VCPUs on processor cores according to a runtime scheduling policy. For example, RT-XEN [6], [7], implements a real-time deferrable server and uses compositional schedulability analysis [8] to dimension VCPU budgets and periods for hosted (soft) real-time tasks. Conversely, resource partitioning [9, 10, 11] statically assigns hardware (HW) resources, such as processor cores, memory, and I/O devices, to VMs to achieve strict spatial isolation, temporal isolation, and freedom from interference. Static partitioning trades timing predictability for scalability and efficiency since the available HW resources, such as cores or network interface cards (NICs) limits the number of VMs [1]. A time-triggered hypervisor [12, 13, 14] is a compromise that dispatches VCPUs on processor cores according to a precomputed static schedule table to enable strict temporal isolation with design-time end-to-end timing guarantees [14] while static memory partitions enforce spatial isolation. Event-driven VCPUs can utilize idle slots within the time-triggered schedule [15] offering resource efficiency.

In many applications, VMs need to communicate with each other, on the same or different hosts, and with additional requirements on the maximum end-to-end latency of critical data transmission. For inter-VM communication on the same host, shared memory offers the least computational overhead, and the inter-VM shared memory (IVSHMEM) device [16] supported in open-source hypervisors such as QEMU/KVM, ACRN [10], and Jailhouse [9], can achieve high data throughput and reduced latency depending on the communication partners' timing characteristics. However, the peer-to-peer nature hinders applying standard protocols and inter-VM communication across hosts. In comparison, sharing NICs via virtual networks enables seamless inter-VM communication utilizing existing protocols and communication middleware across both VM and bare-metal deployments. Yet multiple VMs transmitting data on a virtual network entails unpredictable delays, which are unacceptable in real-time systems since they result in deadline misses and system failures. Unpredictable delays, trace back to runtime scheduling decisions in the virtual network backend that governs packet transmissions between VMs virtual NICs and external physical NICs so that it is hard to meet timing requirements in virtual networks.

In this paper we propose a time-triggered inter-VM communication architecture for a time-triggered hypervisor (such as the one proposed in [12, 13, 14]) to enable predictable communication latencies between VMs on the same and different hosts. We derive network-level scheduling constraints that arise from the properties of the proposed design. We further describe the implementation of our proposed solution in the open-source hypervisor ACRN [10, 17] using a virtual network based on the VirtIO framework [18]. Lastly, we evaluate the design on real industrial edge devices by testing end-to-end latencies of transferred packets under load.

We survey related work in Sec. 2. Next, we present the system model (Sec. 3), the correctness constraints for time-triggered schedules (Sec. 4), and the implementation for the ACRN hypervisor (Sec. 5). In Sec. 6, we outline the test setup and cases for evaluation, discuss results, and conclude in Sec. 7.

References (49)