Re: [PATCH v14 09/22] KVM: selftests: Expose functions to get default sregs values

"Edgecombe, Rick P" <[email protected]>
Newsgroups org.kernel.vger.kvm,dev.linux.lists.linux-coco,org.kernel.vger.linux-kernel,org.kernel.vger.linux-kselftest
Message-ID <[email protected]>
On Fri, 2026-08-14 at 10:36 +0800, Xiaoyao Li wrote:
> > Is this necessary for this patch? I see why to extract
> > kvm_get_default_idt_limit() because now it's used twice. But why extract
> > this
> > define too?
> 
> kvm_get_default_idt_limit() uses NUM_INTERRUPTS, and 
> kvm_get_default_idt_limit() is extracted as a helper from .c file to .h 
> file. Shouldn't the define of NUM_INTERRUPTS be moved together?

Err. yes. My bad. Trying to do too many things at once.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.