mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-23 08:21:15 +00:00
vmm: Remove GICR typers in snapshot on AArch64
The GICR typers are also set in restoring the GIC. Saving them in snapshot is not needed. Signed-off-by: Michael Zhao <michael.zhao@arm.com>
This commit is contained in:
parent
e8c6d83f3f
commit
def1d7cf86
@ -2141,16 +2141,6 @@ impl Vm {
|
|||||||
&self,
|
&self,
|
||||||
vm_snapshot: &mut Snapshot,
|
vm_snapshot: &mut Snapshot,
|
||||||
) -> std::result::Result<(), MigratableError> {
|
) -> std::result::Result<(), MigratableError> {
|
||||||
let saved_vcpu_states = self.cpu_manager.lock().unwrap().get_saved_states();
|
|
||||||
self.device_manager
|
|
||||||
.lock()
|
|
||||||
.unwrap()
|
|
||||||
.get_interrupt_controller()
|
|
||||||
.unwrap()
|
|
||||||
.lock()
|
|
||||||
.unwrap()
|
|
||||||
.set_gicr_typers(&saved_vcpu_states);
|
|
||||||
|
|
||||||
vm_snapshot.add_snapshot(
|
vm_snapshot.add_snapshot(
|
||||||
self.device_manager
|
self.device_manager
|
||||||
.lock()
|
.lock()
|
||||||
|
Loading…
Reference in New Issue
Block a user