xsave_helper: pull xsave and xrstor out of kvm.c into helper function
commit86a57621ce7bfe852413e3f3ce4e9682a7d581c7
authorSergio Andres Gomez Del Real <sergio.g.delreal@gmail.com>
Mon, 26 Jun 2017 20:08:32 +0000 (26 15:08 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 4 Jul 2017 12:39:27 +0000 (4 14:39 +0200)
tree8948d995edd9601f0b345abd341f4074a4821944
parent56382bd5770decbf7ede46e5030e8e348b27009d
xsave_helper: pull xsave and xrstor out of kvm.c into helper function

This patch pulls out of kvm.c and into the new files the implementation
for the xsave and xrstor instructions. This so they can be shared by
kvm and hvf.

Signed-off-by: Sergio Andres Gomez Del Real <Sergio.G.DelReal@gmail.com>
Message-Id: <20170626200832.11058-1-Sergio.G.DelReal@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Sergio Andres Gomez Del Real <sergio.g.delreal@gmail.com>
target/i386/Makefile.objs
target/i386/cpu.h
target/i386/kvm.c
target/i386/xsave_helper.c [new file with mode: 0644]