mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-25 21:54:06 +08:00
ed16648eb5
cd Documentation mkdir virtual git mv kvm uml lguest virtual Signed-off-by: Rob Landley <rlandley@parallels.com> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
26 lines
547 B
Plaintext
26 lines
547 B
Plaintext
KVM Lock Overview
|
|
=================
|
|
|
|
1. Acquisition Orders
|
|
---------------------
|
|
|
|
(to be written)
|
|
|
|
2. Reference
|
|
------------
|
|
|
|
Name: kvm_lock
|
|
Type: raw_spinlock
|
|
Arch: any
|
|
Protects: - vm_list
|
|
- hardware virtualization enable/disable
|
|
Comment: 'raw' because hardware enabling/disabling must be atomic /wrt
|
|
migration.
|
|
|
|
Name: kvm_arch::tsc_write_lock
|
|
Type: raw_spinlock
|
|
Arch: x86
|
|
Protects: - kvm_arch::{last_tsc_write,last_tsc_nsec,last_tsc_offset}
|
|
- tsc offset in vmcb
|
|
Comment: 'raw' because updating the tsc offsets must not be preempted.
|