File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,13 +32,13 @@ pub trait AxVMHal: Sized {
3232 /// Get the Physical CPU ID where the specified VCPU of the current VM resides.
3333 ///
3434 /// Returns an error if the VCPU is not found.
35- fn vcpu_resides_on ( vcpu_id : usize ) -> AxResult < usize > ;
35+ fn vcpu_resides_on ( vm_id : usize , vcpu_id : usize ) -> AxResult < usize > ;
3636
3737 /// Inject an IRQ to the specified VCPU.
3838 ///
3939 /// This method should find the physical CPU where the specified VCPU resides and inject the IRQ
4040 /// to it on that physical CPU with [`axvcpu::AxVCpu::inject_interrupt`].
4141 ///
4242 /// Returns an error if the VCPU is not found.
43- fn inject_irq_to_vcpu ( vcpu_id : usize , irq : usize ) -> AxResult ;
43+ fn inject_irq_to_vcpu ( vm_id : usize , vcpu_id : usize , irq : usize ) -> AxResult ;
4444}
You can’t perform that action at this time.
0 commit comments