cloud-hypervisor/vm-device
Rob Bradford ed87e42e6f vm-device, pci, devices: Remove InterruptSourceGroup::{un}mask
The calls to these functions are always preceded by a call to
InterruptSourceGroup::update(). By adding a masked boolean to that
function call it possible to remove 50% of the calls to the
KVM_SET_GSI_ROUTING ioctl as the the update will correctly handle the
masked or unmasked case.

This causes the ioctl to disappear from the perf report for a boot of
the VM.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2022-04-11 22:56:48 +01:00
..
src vm-device, pci, devices: Remove InterruptSourceGroup::{un}mask 2022-04-11 22:56:48 +01:00
Cargo.toml build: migrate to Rust 2021 edition 2022-04-11 09:51:12 +01:00