Messages in this thread | | | From | "Tian, Kevin" <> | Subject | RE: [patch 5/6] x86/fpu: Provide fpu_update_guest_xcr0/xfd() | Date | Wed, 15 Dec 2021 06:14:44 +0000 |
| |
> From: Tian, Kevin > Sent: Tuesday, December 14, 2021 2:26 PM > > +static inline int fpu_update_guest_xfd(struct fpu_guest *guest_fpu, u64 > xcr0, > > u64 xfd) > > +{ > > + return __fpu_update_guest_features(guest_fpu, xcr0, xfd); > > +} > > no need to pass in xcr0. It can be fetched from vcpu->arch.xcr0. >
This is a silly comment. There is not vcpu to be referenced...
| |