Messages in this thread | | | Subject | Re: [PATCH v3 08/13] KVM: xen: prevent vcpu_id from changing whilst shared_info is valid | From | David Woodhouse <> | Date | Mon, 18 Sep 2023 16:59:38 +0100 |
| |
On Mon, 2023-09-18 at 14:41 +0000, Paul Durrant wrote: > From: Paul Durrant <pdurrant@amazon.com> > > To further prepare for automatically using the vcpu_info structures > embedded in the shared_info page, we need to ensure that the Xen vcpu_id > cannot change under our feet. We can do this by simply returning -EBUSY > to any attempt to modify the attribute while the shinfo_cache is active. > > Signed-off-by: Paul Durrant <pdurrant@amazon.com>
Makes sense. Wants explicitly mentioning in the documentation for KVM_XEN_VCPU_ATTR_TYPE_VCPU_ID. If/when you did that,
Reviewed-by: David Woodhouse <dwmw@amazon.co.uk>
[unhandled content-type:application/pkcs7-signature] | |