MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / update_msi

Method update_msi

pci/src/vfio.rs:200–207  ·  view source on GitHub ↗
(&mut self, offset: u64, data: &[u8])

Source from the content-addressed store, hash-verified

198
199impl Interrupt {
200 fn update_msi(&mut self, offset: u64, data: &[u8]) -> Option<InterruptUpdateAction> {
201 if let Some(msi) = &mut self.msi {
202 let action = msi.update(offset, data);
203 return action;
204 }
205
206 None
207 }
208
209 fn update_msix(&mut self, offset: u64, data: &[u8]) -> Option<InterruptUpdateAction> {
210 if let Some(msix) = &mut self.msix {

Callers 1

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected