On 14/03/2016 07:09, Suravee Suthikulpanit wrote:
> By the way, how can we enable APICv only in certain VM? Does Qemu/KVM
> have any specific flags that we can pass to enable/disable this?
You can use "-cpu kvm64,+hv-synic".
Paolo
On 14/03/2016 07:09, Suravee Suthikulpanit wrote:
> By the way, how can we enable APICv only in certain VM? Does Qemu/KVM
> have any specific flags that we can pass to enable/disable this?
You can use "-cpu kvm64,+hv-synic".
Paolo
Hi
On 03/07/2016 10:39 PM, Paolo Bonzini wrote:
+ svm_x86_ops.update_cr8_intercept = NULL;
>} else {
>svm_x86_ops.deliver_posted_interrupt = NULL;
>}
>@@ -1116,7 +1119,8 @@ static void init_vmcb(struct vcpu_svm *svm)
>set_cr_intercept(svm,
Hi
On 03/07/2016 10:39 PM, Paolo Bonzini wrote:
+ svm_x86_ops.update_cr8_intercept = NULL;
>} else {
>svm_x86_ops.deliver_posted_interrupt = NULL;
>}
>@@ -1116,7 +1119,8 @@ static void init_vmcb(struct vcpu_svm *svm)
>set_cr_intercept(svm,
On 04/03/2016 21:46, Suravee Suthikulpanit wrote:
> +
> + /* Do not do cr8 intercept if AVIC is enabled. */
No need for this comment.
> + svm_x86_ops.update_cr8_intercept = NULL;
> } else {
> svm_x86_ops.deliver_posted_interrupt = NULL;
> }
>
On 04/03/2016 21:46, Suravee Suthikulpanit wrote:
> +
> + /* Do not do cr8 intercept if AVIC is enabled. */
No need for this comment.
> + svm_x86_ops.update_cr8_intercept = NULL;
> } else {
> svm_x86_ops.deliver_posted_interrupt = NULL;
> }
>
When enable AVIC:
* Do not intercept CR8 since this should be handled by AVIC HW.
* Also update TPR in APIC backing page when syncing CR8 before VMRUN
Signed-off-by: Suravee Suthikulpanit
---
arch/x86/kvm/svm.c | 15 +++
1 file changed, 11
When enable AVIC:
* Do not intercept CR8 since this should be handled by AVIC HW.
* Also update TPR in APIC backing page when syncing CR8 before VMRUN
Signed-off-by: Suravee Suthikulpanit
---
arch/x86/kvm/svm.c | 15 +++
1 file changed, 11 insertions(+), 4 deletions(-)
diff
8 matches
Mail list logo