Re: [PATCH v1 1/1] lib: s390: fix guest length in uv_create_guest()

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

 



Quoting Claudio Imbrenda (2024-04-18 13:01:40)
> The current code creates secure guests with significantly more memory
> than expected, but since none of that memory is ever touched,
> everything still works.
> 
> Fix the issue by specifying the actual guest length.
> 
> The MSL does not contain the length of the guest, but the address of
> the last 1M block of guest memory. In order to get the length, MSO
> needs to be subtracted, and 1M needs to be added.
> 
> Signed-off-by: Claudio Imbrenda <imbrenda@xxxxxxxxxxxxx>

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