Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1450717
| From | Stefano Stabellini <sstabellini@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [Xen-devel] [PATCH linux v3 0/9] xen: pvhvm: support bootup on secondary vCPUs |
| Date | 2016-07-26 19:40 +0200 |
| Message-ID | <rZeuK-4Z7-33@gated-at.bofh.it> (permalink) |
| References | <rZ9Oq-1Wx-11@gated-at.bofh.it> <rZahr-2lS-5@gated-at.bofh.it> <rZar8-2ps-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, 26 Jul 2016, Vitaly Kuznetsov wrote: > David Vrabel <david.vrabel@citrix.com> writes: > > > On 26/07/16 13:30, Vitaly Kuznetsov wrote: > >> It may happen that Xen's and Linux's ideas of vCPU id diverge. In > >> particular, when we crash on a secondary vCPU we may want to do kdump > >> and unlike plain kexec where we do migrate_to_reboot_cpu() we try booting > >> on the vCPU which crashed. This doesn't work very well for PVHVM guests as > >> we have a number of hypercalls where we pass vCPU id as a parameter. These > >> hypercalls either fail or do something unexpected. To solve the issue we > >> need to have a mapping between Linux's and Xen's vCPU ids. > >> > >> This series solves the issue for x86 PVHVM guests. PV guests don't (and > >> probably won't) support kdump so I always assume Xen's vCPU id == Linux's > >> vCPU id. ARM guests will probably need to get proper mapping once we start > >> supporting kexec/kdump there. > >> > >> Changes since v2: > >> - Use 'uint32_t' for xen_vcpu_id mapping [Julien Grall] > >> - Rebased to linux-4.7 > > > > I already applied v2. If you provide an incremental patch I can queue > > it for 4.9. > > Ok, > > in that case we can wait till the real mapping is done for ARM to change > the type of xen_vcpu_id I guess. It would still be nice to make the change. Please send it as an incremental patch. It is OK if it is queued for 4.9.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH linux v3 0/9] xen: pvhvm: support bootup on secondary vCPUs Vitaly Kuznetsov <vkuznets@redhat.com> - 2016-07-26 14:40 +0200
[PATCH linux v3 4/9] x86/xen: use xen_vcpu_id mapping for HYPERVISOR_vcpu_op Vitaly Kuznetsov <vkuznets@redhat.com> - 2016-07-26 14:40 +0200
[PATCH linux v3 3/9] xen: introduce xen_vcpu_id mapping Vitaly Kuznetsov <vkuznets@redhat.com> - 2016-07-26 14:40 +0200
[PATCH linux v3 6/9] xen/events: use xen_vcpu_id mapping in events_base Vitaly Kuznetsov <vkuznets@redhat.com> - 2016-07-26 14:40 +0200
Re: [Xen-devel] [PATCH linux v3 0/9] xen: pvhvm: support bootup on secondary vCPUs David Vrabel <david.vrabel@citrix.com> - 2016-07-26 15:10 +0200
Re: [Xen-devel] [PATCH linux v3 0/9] xen: pvhvm: support bootup on secondary vCPUs Vitaly Kuznetsov <vkuznets@redhat.com> - 2016-07-26 15:20 +0200
Re: [Xen-devel] [PATCH linux v3 0/9] xen: pvhvm: support bootup on secondary vCPUs Stefano Stabellini <sstabellini@kernel.org> - 2016-07-26 19:40 +0200
Re: [Xen-devel] [PATCH linux v3 0/9] xen: pvhvm: support bootup on secondary vCPUs Vitaly Kuznetsov <vkuznets@redhat.com> - 2016-07-27 11:20 +0200
csiph-web