On Sat, 30 Mar 2024 08:41:49 +0000, Sicheng Liu wrote: > Sorry for this resending. Delete redundant auto-added header "kvm/bios.h". > > In e820_setup(), the memory region of MB_BIOS is [MB_BIOS_BEGIN, MB_BIOS_END], > so its memory size should be MB_BIOS_SIZE (= MB_BIOS_END - MB_BIOS_BEGIN + 1). > The same thing goes for BDA, EBDA, MB_BIOS and VGA_ROM in setup_bios(). > By the way, a little change is made in setup_irq_handler() to avoid using > hard coding. > > [...] Applied to kvmtool (master), thanks! [1/1] x86: Fix some memory sizes when setting up bios https://git.kernel.org/will/kvmtool/c/da4cfc3e5403 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev