rust-vmm / kvm-bindings

Apache License 2.0
142 stars 74 forks source link

FamStruct safe wrappers don't implement clone #12

Closed acatangiu closed 4 years ago

acatangiu commented 4 years ago

The FamStructWrapper safe wrapper implements Clone if the object it wraps also implements Clone.

To enable Clone on the safe wrappers CpuId, Msrs and MsrList we need to implement Clone for kvm_cpuid2, kvm_msrs and respectively kvm_msr_list.

andreeaflorescu commented 4 years ago

Should we close this one now?

acatangiu commented 4 years ago

Fixed in https://github.com/rust-vmm/vmm-sys-util/pull/55