On 17/02/2023 6:48 pm, Xenia Ragiadakou wrote:
> Do not include the headers:
>   xen/irq.h
>   asm/hvm/svm/intr.h
>   asm/io.h
>   asm/mem_sharing.h
>   asm/regs.h

Out of interest, how are you calculating these?  They're accurate as far
as I can tell.

Looking at asm/hvm/svm/*, intr.h itself can be straight deleted,
svmdebug.h can be merged into vmcb.h, and all the others can move into
xen/arch/x86/hvm/svm/ as local headers.  None of them have any business
being included elsewhere in Xen.

> because none of the declarations and macro definitions in them is used.
> Sort alphabetically the rest of the headers.

Minor grammar point. "Sort the rest of the headers alphabetically" would
be a more normal way of phrasing this.

>
> Remove the forward declaration of svm_function_table and place start_svm()
> after the svm_function_table's definition.
>
> Replace double new lines with one.
>
> No functional change intended.
>
> Signed-off-by: Xenia Ragiadakou <burzalod...@gmail.com>

Acked-by: Andrew Cooper <andrew.coop...@citrix.com>

Reply via email to