KVM: Portability: Move kvm_get/set_msr[_common] to x86.c
authorCarsten Otte <cotte@de.ibm.com>
Tue, 30 Oct 2007 17:44:17 +0000 (18:44 +0100)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:52:58 +0000 (17:52 +0200)
commit15c4a6406f6c40632260861e1db7c539e79dcf1a
tree1de5718d9bbdda7c2c14c757967de6b2b1587c07
parentaab61cc0d28f6fab0c2c9137d95dea54c7dbcf46
KVM: Portability: Move kvm_get/set_msr[_common] to x86.c

This patch moves the implementation of the functions of kvm_get/set_msr,
kvm_get/set_msr_common, and set_efer from kvm_main.c to x86.c. The
definition of EFER_RESERVED_BITS is moved too.

Signed-off-by: Carsten Otte <cotte@de.ibm.com>
Acked-by: Hollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm_main.c
drivers/kvm/x86.c