mbox series

[kvmtool,0/3] Misc fixes

Message ID 20220214165830.69207-1-alexandru.elisei@arm.com (mailing list archive)
Headers show
Series Misc fixes | expand

Message

Alexandru Elisei Feb. 14, 2022, 4:58 p.m. UTC
These are a handful of small fixes for random stuff which I found while
using kvmtool.

Patch #1 is actually needed to use kvmtool as a test runner for
kvm-unit-tests (more detailed explanation in the commit message).

Patch #2 is more like a quality of life improvement for users.

Patch #3 is for something that I found when a Linux guest complained that
"msi-parent" was referencing an invalid phandle (I don't remember the
kernel version, defconfig and VM configuration that I used, couldn't
reproduce it with a v5.16 guest); it was also reported to me by Pierre, so
I figured it deserves a fix.

Alexandru Elisei (3):
  Remove initrd magic check
  arm: Use pr_debug() to print memory layout when loading a firmware
    image
  arm: pci: Generate "msi-parent" property only with a MSI controller

 arm/fdt.c                    |  2 +-
 arm/include/arm-common/pci.h |  3 ++-
 arm/kvm.c                    |  8 +++++---
 arm/pci.c                    |  8 ++++++--
 kvm.c                        | 22 ----------------------
 5 files changed, 14 insertions(+), 29 deletions(-)

Comments

Will Deacon Feb. 16, 2022, 4:11 p.m. UTC | #1
On Mon, 14 Feb 2022 16:58:27 +0000, Alexandru Elisei wrote:
> These are a handful of small fixes for random stuff which I found while
> using kvmtool.
> 
> Patch #1 is actually needed to use kvmtool as a test runner for
> kvm-unit-tests (more detailed explanation in the commit message).
> 
> Patch #2 is more like a quality of life improvement for users.
> 
> [...]

Applied to kvmtool (master), thanks!

[1/3] Remove initrd magic check
      https://git.kernel.org/will/kvmtool/c/9b681b0827d7
[2/3] arm: Use pr_debug() to print memory layout when loading a firmware image
      https://git.kernel.org/will/kvmtool/c/c334a68e202e
[3/3] arm: pci: Generate "msi-parent" property only with a MSI controller
      https://git.kernel.org/will/kvmtool/c/95f47968a1d3

Cheers,