Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1676704

Re: [PATCH v6 3/4] KVM: async_pf: Force a nested vmexit if the injected #PF is async_pf

From Paolo Bonzini <pbonzini@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH v6 3/4] KVM: async_pf: Force a nested vmexit if the injected #PF is async_pf
Date 2017-06-28 16:20 +0200
Message-ID <tXlZ0-7Qx-13@gated-at.bofh.it> (permalink)
References (1 earlier) <tXkgy-6Kh-15@gated-at.bofh.it> <tXkJA-6TW-21@gated-at.bofh.it> <tXlmh-7nt-11@gated-at.bofh.it> <tXlvX-7r0-5@gated-at.bofh.it> <tXlPk-7Na-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 28/06/2017 16:09, Wanpeng Li wrote:
>> Yes, this was my question essentially.  I would still migrate
>> nested_apf_token (as part of nested virt state), and then clear it in
>> KVM when doing the async-pf broadcast.
> Do you mean I should save nested_apf_token by GET_VCPU_EVENTS and
> restore it by SET_VCPU_EVENTS? I utilize the place of "u8 pad" in
> kvm_vcpu_events to hold nested_apf, however nested_apf_token is
> unsigned long.

If for now we can leave out the GET/SET_VCPU_EVENTS changes, that would
be best.  nested_apf and nested_apf_token should be migrated together
with the rest of the nested virt state.

Paolo

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v6 0/4] KVM: async_pf: Fix async pf exception injection Wanpeng Li <kernellwp@gmail.com> - 2017-06-28 14:30 +0200
  [PATCH v6 3/4] KVM: async_pf: Force a nested vmexit if the injected #PF is async_pf Wanpeng Li <kernellwp@gmail.com> - 2017-06-28 14:30 +0200
    Re: [PATCH v6 3/4] KVM: async_pf: Force a nested vmexit if the  injected #PF is async_pf Paolo Bonzini <pbonzini@redhat.com> - 2017-06-28 15:00 +0200
      Re: [PATCH v6 3/4] KVM: async_pf: Force a nested vmexit if the  injected #PF is async_pf Radim Krčmář <rkrcmar@redhat.com> - 2017-06-28 15:40 +0200
        Re: [PATCH v6 3/4] KVM: async_pf: Force a nested vmexit if the  injected #PF is async_pf Paolo Bonzini <pbonzini@redhat.com> - 2017-06-28 15:50 +0200
          Re: [PATCH v6 3/4] KVM: async_pf: Force a nested vmexit if the  injected #PF is async_pf Wanpeng Li <kernellwp@gmail.com> - 2017-06-28 16:10 +0200
            Re: [PATCH v6 3/4] KVM: async_pf: Force a nested vmexit if the  injected #PF is async_pf Wanpeng Li <kernellwp@gmail.com> - 2017-06-28 16:20 +0200
              Re: [PATCH v6 3/4] KVM: async_pf: Force a nested vmexit if the  injected #PF is async_pf Wanpeng Li <kernellwp@gmail.com> - 2017-06-28 16:30 +0200
              Re: [PATCH v6 3/4] KVM: async_pf: Force a nested vmexit if the  injected #PF is async_pf Paolo Bonzini <pbonzini@redhat.com> - 2017-06-28 16:30 +0200
            Re: [PATCH v6 3/4] KVM: async_pf: Force a nested vmexit if the  injected #PF is async_pf Paolo Bonzini <pbonzini@redhat.com> - 2017-06-28 16:20 +0200
  [PATCH v6 1/4] KVM: x86: Simple kvm_x86_ops->queue_exception parameter Wanpeng Li <kernellwp@gmail.com> - 2017-06-28 14:30 +0200

csiph-web