Re: [kvm-unit-tests PATCH v5 1/8] lib: s390x: sie: Fix sie_get_validity() no validity handling

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

 



Quoting Janosch Frank (2023-06-19 10:33:22)
> Rather than asserting, we can return a value that's designated as a
> programming only value to indicate that there has been no validity.
> 
> The SIE instruction will never write 0xffff as a validity code so
> let's just use that constant.
> 
> Signed-off-by: Janosch Frank <frankja@xxxxxxxxxxxxx>

That's a good solution.

Reviewed-by: Nico Boehr <nrb@xxxxxxxxxxxxx>




[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