kvm: factor out kvm_has_msr_star
authorMarcelo Tosatti <mtosatti@redhat.com>
Thu, 21 Oct 2010 15:35:02 +0000 (13:35 -0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Thu, 21 Oct 2010 15:37:29 +0000 (13:37 -0200)
commit75b10c43365e2a9cab5398f31b96a463b0d57eff
tree829ba2e40f341166ffc0b2aa330c4e80bbed8f3e
parentaa851e365b3f62ad86cf599860217b60e02dc893
kvm: factor out kvm_has_msr_star

And add kvm_has_msr_hsave_pa(), to avoid warnings on older
kernels without support.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
target-i386/kvm.c