KVM: rename hardware_[dis|en]able() to *_nolock() and add locking wrappers
authorTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Tue, 16 Nov 2010 08:37:41 +0000 (17:37 +0900)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:29:29 +0000 (11:29 +0200)
The naming convension of hardware_[dis|en]able family is little bit confusing
because only hardware_[dis|en]able_all are using _nolock suffix.

Renaming current hardware_[dis|en]able() to *_nolock() and using
hardware_[dis|en]able() as wrapper functions which take kvm_lock for them
reduces extra confusion.

Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

No differences found