lkml.org 
[lkml]   [2020]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v4 2/3] selftests: KVM: AMD Nested test infrastructure
Date
Krish Sadhukhan <krish.sadhukhan@oracle.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

\
 
 \ /
  Last update: 2020-02-07 10:17    [W:0.076 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site