/external/crosvm/devices/src/irqchip/ |
D | gunyah.rs | 11 use hypervisor::Vcpu; 35 fn add_vcpu(&mut self, _vcpu_id: usize, _vcpu: &dyn Vcpu) -> Result<()> { in add_vcpu() 109 fn inject_interrupts(&self, _vcpu: &dyn Vcpu) -> Result<()> { in inject_interrupts() 117 fn wait_until_runnable(&self, _vcpu: &dyn Vcpu) -> Result<VcpuRunState> { in wait_until_runnable()
|
D | mod.rs | 12 use hypervisor::Vcpu; 153 fn add_vcpu(&mut self, vcpu_id: usize, vcpu: &dyn Vcpu) -> Result<()>; in add_vcpu() 201 fn inject_interrupts(&self, vcpu: &dyn Vcpu) -> Result<()>; in inject_interrupts() 209 fn wait_until_runnable(&self, vcpu: &dyn Vcpu) -> Result<VcpuRunState>; in wait_until_runnable()
|
D | whpx.rs | 35 use hypervisor::Vcpu; 218 fn add_vcpu(&mut self, _vcpu_id: usize, _vcpu: &dyn Vcpu) -> Result<()> { in add_vcpu() 376 fn inject_interrupts(&self, vcpu: &dyn Vcpu) -> Result<()> { in inject_interrupts() 406 fn wait_until_runnable(&self, _vcpu: &dyn Vcpu) -> Result<VcpuRunState> { in wait_until_runnable()
|
D | userspace.rs | 44 use hypervisor::Vcpu; 390 fn add_vcpu(&mut self, vcpu_id: usize, vcpu: &dyn Vcpu) -> Result<()> { in add_vcpu() 557 fn inject_interrupts(&self, vcpu: &dyn Vcpu) -> Result<()> { in inject_interrupts() 648 fn wait_until_runnable(&self, vcpu: &dyn Vcpu) -> Result<VcpuRunState> { in wait_until_runnable()
|
/external/crosvm/src/crosvm/plugin/ |
D | vcpu.rs | 24 use kvm::Vcpu; 107 fn get_vcpu_state(vcpu: &Vcpu, state_set: VcpuRequest_StateSet) -> SysResult<Vec<u8>> { in get_vcpu_state() argument 120 fn set_vcpu_state(vcpu: &Vcpu, state_set: VcpuRequest_StateSet, state: &[u8]) -> SysResult<()> { in set_vcpu_state() argument 400 pub fn init(&self, vcpu: &Vcpu) -> SysResult<()> { in init() 410 pub fn pre_run(&self, vcpu: &Vcpu) -> SysResult<()> { in pre_run() 425 fn process(&self, io_space: IoSpace, addr: u64, mut data: VcpuRunData, vcpu: &Vcpu) -> bool { in process() 512 pub fn io_read(&self, addr: u64, data: &mut [u8], vcpu: &Vcpu) -> bool { in io_read() 517 pub fn io_write(&self, addr: u64, data: &[u8], vcpu: &Vcpu) -> bool { in io_write() 522 pub fn mmio_read(&self, addr: u64, data: &mut [u8], vcpu: &Vcpu) -> bool { in mmio_read() 527 pub fn mmio_write(&self, addr: u64, data: &[u8], vcpu: &Vcpu) -> bool { in mmio_write() [all …]
|
D | mod.rs | 59 use kvm::Vcpu; 298 Vcpu::set_local_immediate_exit(true); in run_vcpus() 310 let vcpu = Vcpu::new(cpu_id as c_ulong, kvm, vm).context("error creating vcpu")?; in run_vcpus()
|
/external/crosvm/devices/src/irqchip/kvm/ |
D | mod.rs | 13 use hypervisor::Vcpu; 44 fn add_vcpu(&mut self, vcpu_id: usize, vcpu: &dyn Vcpu) -> Result<()> { in add_vcpu() 141 fn inject_interrupts(&self, _vcpu: &dyn Vcpu) -> Result<()> { in inject_interrupts() 154 fn wait_until_runnable(&self, _vcpu: &dyn Vcpu) -> Result<VcpuRunState> { in wait_until_runnable()
|
D | x86_64.rs | 28 use hypervisor::Vcpu; 409 fn add_vcpu(&mut self, vcpu_id: usize, vcpu: &dyn Vcpu) -> Result<()> { in add_vcpu() 554 fn inject_interrupts(&self, vcpu: &dyn Vcpu) -> Result<()> { in inject_interrupts() 585 fn wait_until_runnable(&self, _vcpu: &dyn Vcpu) -> Result<VcpuRunState> { in wait_until_runnable()
|
/external/crosvm/kvm/tests/ |
D | kvm_tests.rs | 24 use kvm::Vcpu; 348 Vcpu::new(0, &kvm, &vm).unwrap(); in create_vcpu() 357 let vcpu = Vcpu::new(0, &kvm, &vm).unwrap(); in debugregs() 375 let vcpu = Vcpu::new(0, &kvm, &vm).unwrap(); in xcrs() 389 let vcpu = Vcpu::new(0, &kvm, &vm).unwrap(); in get_msrs() 412 let vcpu = Vcpu::new(0, &kvm, &vm).unwrap(); in get_hyperv_cpuid() 430 let vcpu = Vcpu::new(0, &kvm, &vm).unwrap(); in enable_feature() 445 let vcpu = Vcpu::new(0, &kvm, &vm).unwrap(); in mp_state() 455 let vcpu = Vcpu::new(0, &kvm, &vm).unwrap(); in set_signal_mask()
|
D | real_run_adder.rs | 33 let vcpu = Vcpu::new(0, &kvm, &vm).expect("new vcpu failed"); in test_run()
|
D | dirty_log.rs | 36 let vcpu = Vcpu::new(0, &kvm, &vm).expect("new vcpu failed"); in test_run()
|
D | read_only_memory.rs | 38 let vcpu = Vcpu::new(0, &kvm, &vm).expect("new vcpu failed"); in test_run()
|
/external/crosvm/devices/src/irqchip/geniezone/ |
D | mod.rs | 17 use hypervisor::Vcpu; 156 fn add_vcpu(&mut self, vcpu_id: usize, vcpu: &dyn Vcpu) -> Result<()> { in add_vcpu() 251 fn inject_interrupts(&self, _vcpu: &dyn Vcpu) -> Result<()> { in inject_interrupts() 264 fn wait_until_runnable(&self, _vcpu: &dyn Vcpu) -> Result<VcpuRunState> { in wait_until_runnable()
|
/external/crosvm/x86_64/tests/integration/ |
D | main.rs | 69 fn simple_vm_test<H, V, Vcpu, I, FV, FI>(create_vm: FV, create_irq_chip: FI) in simple_vm_test() argument 73 Vcpu: VcpuX86_64 + 'static, in simple_vm_test() 267 .downcast::<Vcpu>() in simple_vm_test()
|
/external/crosvm/hypervisor/src/ |
D | aarch64.rs | 26 use crate::Vcpu; 98 pub trait VcpuAArch64: Vcpu {
|
D | lib.rs | 286 pub trait Vcpu: downcast_rs::DowncastSync { interface 293 fn as_vcpu(&self) -> &dyn Vcpu; in as_vcpu() argument 388 downcast_rs::impl_downcast!(sync Vcpu);
|
/external/crosvm/aarch64/src/ |
D | lib.rs | 369 fn build_vm<V, Vcpu>( in build_vm() argument 384 ) -> std::result::Result<RunnableLinuxVm<V, Vcpu>, Self::Error> in build_vm() 387 Vcpu: VcpuAArch64, in build_vm() 448 let vcpu: Vcpu = *vm in build_vm() 451 .downcast::<Vcpu>() in build_vm() 759 fn register_pci_device<V: VmAArch64, Vcpu: VcpuAArch64>( in register_pci_device() 760 _linux: &mut RunnableLinuxVm<V, Vcpu>, in register_pci_device() argument
|
/external/crosvm/arch/src/ |
D | lib.rs | 355 pub struct RunnableLinuxVm<V: VmArch, Vcpu: VcpuArch> { 381 pub vcpus: Option<Vec<Vcpu>>, 437 fn build_vm<V, Vcpu>( in build_vm() argument 453 ) -> std::result::Result<RunnableLinuxVm<V, Vcpu>, Self::Error> in build_vm() 456 Vcpu: VcpuArch; in build_vm() 484 fn register_pci_device<V: VmArch, Vcpu: VcpuArch>( in register_pci_device() 485 linux: &mut RunnableLinuxVm<V, Vcpu>, in register_pci_device() argument 629 pub fn configure_pci_device<V: VmArch, Vcpu: VcpuArch>( in configure_pci_device() 630 linux: &mut RunnableLinuxVm<V, Vcpu>, in configure_pci_device() argument
|
/external/crosvm/src/sys/windows/ |
D | generic.rs | 152 pub(super) fn handle_received_token<V: VmArch + 'static, Vcpu: VcpuArch + 'static>( in handle_received_token() 158 _guest_os: &mut RunnableLinuxVm<V, Vcpu>, in handle_received_token() argument
|
D | run_vcpu.rs | 561 pub fn run_all_vcpus<V: VmArch + 'static, Vcpu: VcpuArch + 'static>( in run_all_vcpus() 562 vcpus: Vec<Option<Vcpu>>, in run_all_vcpus() argument 564 guest_os: &RunnableLinuxVm<V, Vcpu>, in run_all_vcpus()
|
/external/crosvm/kvm/src/ |
D | lib.rs | 1022 pub struct Vcpu { struct 1034 impl Vcpu { argument 1038 pub fn new(id: c_ulong, kvm: &Kvm, vm: &Vm) -> Result<Vcpu> { in new() argument 1056 Ok(Vcpu { vcpu, run_mmap }) in new() 1564 impl AsRawDescriptor for Vcpu { implementation 1574 vcpu: Vcpu, 1718 type Target = Vcpu;
|
/external/crosvm/src/sys/ |
D | windows.rs | 764 fn handle_readable_event<V: VmArch + 'static, Vcpu: VcpuArch + 'static>( in handle_readable_event() 772 guest_os: &mut RunnableLinuxVm<V, Vcpu>, in handle_readable_event() argument 906 fn run_control<V: VmArch + 'static, Vcpu: VcpuArch + 'static>( in run_control() 907 mut guest_os: RunnableLinuxVm<V, Vcpu>, in run_control() argument 1341 fn create_userspace_irq_chip<Vm, Vcpu>( in create_userspace_irq_chip() 1344 ) -> base::Result<UserspaceIrqChip<Vcpu>> in create_userspace_irq_chip() 1347 Vcpu: VcpuArch + 'static, in create_userspace_irq_chip() 1817 fn run_vm<Vcpu, V>( in run_vm() argument 1827 Vcpu: VcpuArch + 'static, in run_vm() 1964 let windows = Arch::build_vm::<V, Vcpu>( in run_vm()
|
/external/crosvm/src/crosvm/sys/ |
D | unix.rs | 1569 fn run_vm<Vcpu, V>( in run_vm() argument 1578 Vcpu: VcpuArch + 'static, in run_vm() 1976 let mut linux = Arch::build_vm::<V, Vcpu>( in run_vm() 2121 fn get_hp_bus<V: VmArch, Vcpu: VcpuArch>( in get_hp_bus() 2122 linux: &RunnableLinuxVm<V, Vcpu>, in get_hp_bus() argument 2134 fn add_hotplug_device<V: VmArch, Vcpu: VcpuArch>( in add_hotplug_device() 2135 linux: &mut RunnableLinuxVm<V, Vcpu>, in add_hotplug_device() argument 2265 fn remove_hotplug_bridge<V: VmArch, Vcpu: VcpuArch>( in remove_hotplug_bridge() 2266 linux: &RunnableLinuxVm<V, Vcpu>, in remove_hotplug_bridge() argument 2300 fn remove_hotplug_device<V: VmArch, Vcpu: VcpuArch>( in remove_hotplug_device() [all …]
|
/external/crosvm/src/crosvm/sys/unix/ |
D | vcpu.rs | 41 use hypervisor::Vcpu; 71 pub fn setup_vcpu_signal_handler<T: Vcpu>(use_hypervisor_signals: bool) -> Result<()> { in setup_vcpu_signal_handler() 82 extern "C" fn handle_signal<T: Vcpu>(_: c_int) { in setup_vcpu_signal_handler()
|
/external/crosvm/devices/tests/irqchip/ |
D | userspace.rs | 53 use hypervisor::Vcpu; 650 impl Vcpu for FakeVcpu { 664 fn as_vcpu(&self) -> &dyn Vcpu { in as_vcpu() argument
|