mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-22 04:25:21 +00:00
devices: gic: Pass slice rather than &Vec
This addresses a clippy issue Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
bfa31f9c56
commit
7fb1280666
@ -67,7 +67,7 @@ impl Gic {
|
||||
pub fn restore_vgic(
|
||||
&mut self,
|
||||
state: Option<GicState>,
|
||||
saved_vcpu_states: &Vec<CpuState>,
|
||||
saved_vcpu_states: &[CpuState],
|
||||
) -> Result<()> {
|
||||
self.set_gicr_typers(saved_vcpu_states);
|
||||
self.vgic
|
||||
|
Loading…
x
Reference in New Issue
Block a user