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