Radim Krčmář 92ceb7679a KVM: x86: prevent uninitialized variable warning in check_svme()
get_msr() of MSR_EFER is currently always going to succeed, but static
checker doesn't see that far.

Don't complicate stuff and just use 0 for the fallback -- it means that
the feature is not present.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
2017-05-19 19:59:28 +02:00
..
2017-04-21 12:50:06 +02:00
2017-04-21 12:50:06 +02:00
2016-09-20 09:26:20 +02:00
2017-04-12 20:17:15 +02:00
2017-04-12 20:17:13 +02:00
2016-01-15 17:56:32 -08:00
2017-05-08 17:15:12 -07:00
2017-04-21 12:50:28 +02:00