Re: [PATCH v2] kvm: svm: Only propagate next_rip when guest supports it

2015-10-14 Thread Paolo Bonzini
On 14/10/2015 15:10, Joerg Roedel wrote: > From 94ee662c527683c26ea5fa98a5a8f2c798c58470 Mon Sep 17 00:00:00 2001 > From: Joerg Roedel > Date: Wed, 7 Oct 2015 13:38:19 +0200 > Subject: [PATCH] kvm: svm: Only propagate next_rip when guest supports it > > Currently we always

[PATCH v2] kvm: svm: Only propagate next_rip when guest supports it

2015-10-14 Thread Joerg Roedel
On Fri, Oct 09, 2015 at 01:15:11PM +0200, Paolo Bonzini wrote: > This could be a bit expensive to do on every vmexit. Can you benchmark > it with kvm-unit-tests, or just cache the result in struct vcpu_svm? Yes, caching it is certainly a good idea. I updated the patch: >From