Re: [PATCH] KVM: SVM: Add xsetbv intercept

2010-12-07 Thread Avi Kivity
On 12/06/2010 07:48 PM, Roedel, Joerg wrote: On Mon, Dec 06, 2010 at 11:10:46AM -0500, Avi Kivity wrote: On 12/03/2010 06:42 PM, Joerg Roedel wrote: This patch implements the xsetbv intercept to the AMD part of KVM. This makes AVX usable in a save way for the guest on AVX capable

Re: [PATCH] KVM: SVM: Add xsetbv intercept

2010-12-07 Thread Roedel, Joerg
On Tue, Dec 07, 2010 at 04:34:33AM -0500, Avi Kivity wrote: On 12/06/2010 07:48 PM, Roedel, Joerg wrote: On Mon, Dec 06, 2010 at 11:10:46AM -0500, Avi Kivity wrote: On 12/03/2010 06:42 PM, Joerg Roedel wrote: This patch implements the xsetbv intercept to the AMD part of KVM.

Re: [PATCH] KVM: SVM: Add xsetbv intercept

2010-12-06 Thread Avi Kivity
On 12/03/2010 06:42 PM, Joerg Roedel wrote: This patch implements the xsetbv intercept to the AMD part of KVM. This makes AVX usable in a save way for the guest on AVX capable AMD hardware. The patch is tested by using AVX in the guest and host in parallel and checking for data corruption. I

Re: [PATCH] KVM: SVM: Add xsetbv intercept

2010-12-06 Thread Roedel, Joerg
On Mon, Dec 06, 2010 at 11:10:46AM -0500, Avi Kivity wrote: On 12/03/2010 06:42 PM, Joerg Roedel wrote: This patch implements the xsetbv intercept to the AMD part of KVM. This makes AVX usable in a save way for the guest on AVX capable AMD hardware. The patch is tested by using AVX in the

[PATCH] KVM: SVM: Add xsetbv intercept

2010-12-03 Thread Joerg Roedel
This patch implements the xsetbv intercept to the AMD part of KVM. This makes AVX usable in a save way for the guest on AVX capable AMD hardware. The patch is tested by using AVX in the guest and host in parallel and checking for data corruption. I also used the KVM xsave unit-tests and they all