Re: [PATCH v4 2/3] selftests: KVM: AMD Nested test infrastructure
From: Vitaly Kuznetsov
Date: Fri Feb 07 2020 - 04:16:42 EST
Krish Sadhukhan <krish.sadhukhan@xxxxxxxxxx> 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