Re: [kvm-unit-tests PATCH] VMX controls test framework

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 07/07/2017 01:27, Jim Mattson wrote:
> +	vmcs_write(HOST_RSP, rsp);
> +	__asm__ __volatile__ goto ("vmlaunch" : : : "cc", "memory" : success);

You are putting too much faith in the compiler. :)

I'd rather have the HOST_RSP vmwrite inside the asm, similar to
vmx_enter_guest (and KVM's vmx_vcpu_run).

Otherwise looks good.

Paolo

> +	return false;



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux