On Wed, Jan 10, 2024 at 02:27:08PM +0800, Yuan Yao wrote: > > > Do you have plan to allow user to change the bar_size via IOCTL ? > > > If no "order" and "bar_size" can be removed. > > > > > Currently no. But this structure is private to the test driver. > > What the benefit to remove the two? > > It's useless so remove them makes code more easier to understand. Just my two cents: Keeping bar_size & order in a device structure is better than spreading macro BAR_SIZE everywhere and the code is more scalable.
- [RFC PATCH v2 0/3] KVM: allow mapping of compound tail... Yan Zhao
- [RFC PATCH v2 1/3] KVM: allow mapping of compound... Yan Zhao
- Re: [RFC PATCH v2 1/3] KVM: allow mapping of ... Sean Christopherson
- [RFC PATCH v2 2/3] KVM: selftests: add selftest d... Yan Zhao
- Re: [RFC PATCH v2 2/3] KVM: selftests: add se... Yuan Yao
- Re: [RFC PATCH v2 2/3] KVM: selftests: ad... Yan Zhao
- Re: [RFC PATCH v2 2/3] KVM: selftests... Yuan Yao
- Re: [RFC PATCH v2 2/3] KVM: self... Yan Zhao
- Re: [RFC PATCH v2 2/3] KVM: ... Yuan Yao
- [RFC PATCH v2 3/3] KVM: selftests: Add set_memory... Yan Zhao
- Re: [RFC PATCH v2 0/3] KVM: allow mapping of comp... Sean Christopherson
