On 05/11/2015 17:15, Paolo Bonzini wrote:
>
>
> On 05/11/2015 17:07, Gerhard Wiesinger wrote:
>>>
>>
>> ./trace-cmd record -b 2 -e kvm
>> ./trace-cmd report | grep -i task_switch
>> qemu-system-x86-6024 [001] 792774.719297: kvm_exit: reason task_switch
>> rip 0x4883 info 158 40
>
On 05/11/2015 17:07, Gerhard Wiesinger wrote:
>>
>
> ./trace-cmd record -b 2 -e kvm
> ./trace-cmd report | grep -i task_switch
> qemu-system-x86-6024 [001] 792774.719297: kvm_exit: reason task_switch
> rip 0x4883 info 158 40
0x158 is the segment selector of the incoming TSS, and t
On 04.11.2015 23:04, Paolo Bonzini wrote:
On 04/11/2015 22:33, Gerhard Wiesinger wrote:
What is the problem you are seeing? KVM can emulate task switches; the
intercept is set here because of a processor erratum that can mess them
up even though, in theory, AMD supports task switching from gue
On 04/11/2015 22:33, Gerhard Wiesinger wrote:
>>>
>> What is the problem you are seeing? KVM can emulate task switches; the
>> intercept is set here because of a processor erratum that can mess them
>> up even though, in theory, AMD supports task switching from guest mode.
>
> See old thread:
>
On 04.11.2015 22:27, Paolo Bonzini wrote:
On 04/11/2015 20:33, Gerhard Wiesinger wrote:
Signed-off-by: Gerhard Wiesinger
---
arch/x86/kvm/svm.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index 2f9ed1f..e0b00fc 100644
--- a/arch/x86/kvm
On 04/11/2015 20:33, Gerhard Wiesinger wrote:
> Signed-off-by: Gerhard Wiesinger
> ---
> arch/x86/kvm/svm.c | 7 +++
> 1 file changed, 7 insertions(+)
>
> diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
> index 2f9ed1f..e0b00fc 100644
> --- a/arch/x86/kvm/svm.c
> +++ b/arch/x86/kvm/sv
Signed-off-by: Gerhard Wiesinger
---
arch/x86/kvm/svm.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index 2f9ed1f..e0b00fc 100644
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -198,6 +198,10 @@ static bool npt_enabled;
static int npt