[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87blqag3kd.fsf@vitty.brq.redhat.com>
Date: Fri, 07 Feb 2020 10:16:34 +0100
From: Vitaly Kuznetsov <vkuznets@...hat.com>
To: Krish Sadhukhan <krish.sadhukhan@...cle.com>
Cc: thuth@...hat.com, drjones@...hat.com, wei.huang2@....com,
Eric Auger <eric.auger@...hat.com>, eric.auger.pro@...il.com,
linux-kernel@...r.kernel.org, kvm@...r.kernel.org,
pbonzini@...hat.com
Subject: Re: [PATCH v4 2/3] selftests: KVM: AMD Nested test infrastructure
Krish Sadhukhan <krish.sadhukhan@...cle.com> writes:
...
> + asm volatile (
>> + "vmload\n\t"
> Don't we need to set %rax before calling vmload ?
>
No, because it is already there
...
>> + : : [vmcb] "r" (vmcb), [vmcb_gpa] "a" (vmcb_gpa)
"a" constraint in input operands does the job.
--
Vitaly
Powered by blists - more mailing lists