cloud-hypervisor/hypervisor/src
Stanislav Kinsburskii de2d8f486b hypervisor: mshv: Introduce CPU state update function and use it
In most of the cases, special registers don't change after emulations,
but current code sets them back unconditionally, and although some of
them are set over the register page, others require a system call and a
hypervisor to be updated, which is a waste it there were not changes.

Introduce and CPU update method for Microsoft Hypervisor emulator and
set special registers only when they were changed. This change reduces
guest boot time by 4% for a single VP guest boot (in L1VH partition) in
my experiments.

Signed-off-by: Stanislav Kinsburskii <skinsburskii@linux.microsoft.com>
2026-01-14 10:57:20 +00:00
..
arch hypervisor: mshv: Introduce CPU state update function and use it 2026-01-14 10:57:20 +00:00
kvm hypervisor: AMX state snapshot and restore support 2025-12-11 17:14:13 +00:00
mshv hypervisor: mshv: Introduce CPU state update function and use it 2026-01-14 10:57:20 +00:00
cpu.rs hypervisor: Don't create temporary vector for boot MSRs 2025-11-29 13:07:16 +00:00
device.rs misc: hypervisor: streamline error Display::fmt() 2025-06-13 19:55:54 +00:00
hypervisor.rs hypervisor: Suppress unused_unsafe warning 2026-01-07 00:20:41 +00:00
lib.rs hypervisor: vmm: passing nested argument from VMM to hypervisor 2025-12-03 09:56:58 +00:00
vm.rs hypervisor: mshv: retrieve MSRs list correctly 2025-12-07 01:29:56 +00:00