From: Paolo Bonzini <pbonzini@redhat.com>
To: Vitaly Kuznetsov <vkuznets@redhat.com>, kvm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, "Radim Krčmář" <rkrcmar@redhat.com>
Subject: Re: [PATCH] selftests/kvm: make platform_info_test pass on AMD
Date: Wed, 21 Aug 2019 19:06:11 +0200 [thread overview]
Message-ID: <023eb523-9767-3239-b6eb-cba3769bbd0f@redhat.com> (raw)
In-Reply-To: <87a7c2qz1x.fsf@vitty.brq.redhat.com>
On 21/08/19 18:10, Vitaly Kuznetsov wrote:
> Vitaly Kuznetsov <vkuznets@redhat.com> writes:
>
>> test_msr_platform_info_disabled() generates EXIT_SHUTDOWN but VMCB state
>> is undefined after that so an attempt to launch this guest again from
>> test_msr_platform_info_enabled() fails. Reorder the tests to make test
>> pass.
>>
>> Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
>> ---
>> tools/testing/selftests/kvm/x86_64/platform_info_test.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/tools/testing/selftests/kvm/x86_64/platform_info_test.c b/tools/testing/selftests/kvm/x86_64/platform_info_test.c
>> index 40050e44ec0a..f9334bd3cce9 100644
>> --- a/tools/testing/selftests/kvm/x86_64/platform_info_test.c
>> +++ b/tools/testing/selftests/kvm/x86_64/platform_info_test.c
>> @@ -99,8 +99,8 @@ int main(int argc, char *argv[])
>> msr_platform_info = vcpu_get_msr(vm, VCPU_ID, MSR_PLATFORM_INFO);
>> vcpu_set_msr(vm, VCPU_ID, MSR_PLATFORM_INFO,
>> msr_platform_info | MSR_PLATFORM_INFO_MAX_TURBO_RATIO);
>> - test_msr_platform_info_disabled(vm);
>> test_msr_platform_info_enabled(vm);
>> + test_msr_platform_info_disabled(vm);
>> vcpu_set_msr(vm, VCPU_ID, MSR_PLATFORM_INFO, msr_platform_info);
>>
>> kvm_vm_free(vm);
>
> Ping!
>
Queued, thanks.
Paolo
prev parent reply other threads:[~2019-08-21 17:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-10 17:22 Vitaly Kuznetsov
2019-08-21 16:10 ` Vitaly Kuznetsov
2019-08-21 17:06 ` Paolo Bonzini [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=023eb523-9767-3239-b6eb-cba3769bbd0f@redhat.com \
--to=pbonzini@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rkrcmar@redhat.com \
--cc=vkuznets@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome