Re: [Xen-devel] [PATCH v2 3/3] x86/hvm: Corrections to RDTSCP intercept handling

2018-12-14 Thread Roger Pau Monné
On Thu, Dec 13, 2018 at 08:22:52PM +, Andrew Cooper wrote: > For both VT-x and SVM, the RDTSCP intercept will trigger if the pipeline > supports the instruction, but the guest may have not have rdtscp in its ^ extra have > featureset. Bring the vme

[Xen-devel] [PATCH v2 3/3] x86/hvm: Corrections to RDTSCP intercept handling

2018-12-13 Thread Andrew Cooper
For both VT-x and SVM, the RDTSCP intercept will trigger if the pipeline supports the instruction, but the guest may have not have rdtscp in its featureset. Bring the vmexit handlers in line with the main emulator behaviour by optionally handing back #UD. Next on the AMD side, if RDTSCP actually