Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-backports > by-pkgid > defcad04157c4eb8ec7595ba0cfced96 > files > 1137

kernel-linus-doc-2.6.39.3-3mdv2010.2.noarch.rpm

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.