commit | 81dd35d42c9aef3c1f7ae6ce4cf6a0d382661db5 | [log] [tgz] |
---|---|---|
author | Joerg Roedel <joerg.roedel@amd.com> | Tue Dec 07 17:15:06 2010 +0100 |
committer | Avi Kivity <avi@redhat.com> | Wed Jan 12 11:30:49 2011 +0200 |
tree | ac263e921a56954c8e72668e1bcf5afb82a24bb7 | |
parent | d4dbf470096c51cb4785167ea59fdbdea87ccbe4 [diff] |
KVM: SVM: Add xsetbv intercept 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 pass. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Avi Kivity <avi@redhat.com>