commit | bcd22e145b9a65dd603c7b3d8079e948922787e4 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Mon Feb 15 11:42:01 2021 -0500 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Feb 15 11:42:45 2021 -0500 |
tree | 440ff820d39f58cc78323c837a7e3e01451f700a | |
parent | 1838b06bf01ac2b1b9ea808aa5962d5324b4da8f [diff] |
selftests: kvm: avoid uninitialized variable warning The variable in practice will never be uninitialized, because the loop will always go through at least one iteration. In case it would not, make vcpu_get_cpuid report an assertion failure. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>