Re: [PATCH] KVM: selftests: Treat %llx like %lx when formatting guest printf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 21 Sep 2023 10:16:41 -0700, Sean Christopherson wrote:
> Treat %ll* formats the same as %l* formats when processing printfs from
> the guest so that using e.g. %llx instead of %lx generates the expected
> output.  Ideally, unexpected formats would generate compile-time warnings
> or errors, but it's not at all obvious how to actually accomplish that.
> 
> Alternatively, guest_vsnprintf() could assert on an unexpected format,
> but since the vast majority of printfs are for failed guest asserts,
> getting *something* printed is better than nothing.
> 
> [...]

Applied to kvm-x86 selftests, thanks!

[1/1] KVM: selftests: Treat %llx like %lx when formatting guest printf
      https://github.com/kvm-x86/linux/commit/b15e7490a1ef

--
https://github.com/kvm-x86/linux/tree/next



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux