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

Method move_bar

pci/src/bus.rs:566–575  ·  view source on GitHub ↗
(
            &self,
            _old_base: u64,
            _new_base: u64,
            _len: u64,
            _pci_dev: &mut dyn PciDevice,
            _region_type: PciBarRegionType,
        )

Source from the content-addressed store, hash-verified

564
565 impl DeviceRelocation for MockDeviceRelocation {
566 fn move_bar(
567 &self,
568 _old_base: u64,
569 _new_base: u64,
570 _len: u64,
571 _pci_dev: &mut dyn PciDevice,
572 _region_type: PciBarRegionType,
573 ) -> Result<(), std::io::Error> {
574 Ok(())
575 }
576 }
577
578 fn setup_bus() -> PciBus {

Callers 1

config_space_writeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected