cloud-hypervisor/hypervisor/src/kvm
Rob Bradford 46e736973e hypervisor: kvm: Correctly share VmmOps between Kvm{Vm,Vcpu}
Cloning the ArcSwapOption (like the ArcSwap) does not act like a
.clone() on an Arc, instead an entirely new ArcSwap is created with the
same contents. To correctly share the ArcSwap needs to be placed inside
an Arc.

See: 2433d5719b (diff-6c6d94533c44c19bd1416ef17bad1a878e63dca6e98d59181228fbe8f967c62bR6)

Due to this being wrongly used ::clone() was removed from
ArcSwap/ArcSwapOption in 1.0.0.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2020-11-16 14:10:09 +01:00
..
aarch64 hypervisor, arch: rename "OneRegister" and relevant code 2020-10-08 08:55:10 +02:00
x86_64 vmm, hypervisor: Fix snapshot/restore for Windows guest 2020-10-21 19:11:03 +01:00
mod.rs hypervisor: kvm: Correctly share VmmOps between Kvm{Vm,Vcpu} 2020-11-16 14:10:09 +01:00