Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 3cf7a644ebd69ac4bfc92f1be27cb9dd7b871b02
      
https://github.com/tianocore/edk2/commit/3cf7a644ebd69ac4bfc92f1be27cb9dd7b871b02
  Author: Anthony PERARD <anthony.per...@vates.tech>
  Date:   2025-01-27 (Mon, 27 Jan 2025)

  Changed paths:
    M OvmfPkg/Include/IndustryStandard/Xen/io/blkif.h

  Log Message:
  -----------
  OvmfPkg/IndustryStandard/Xen: Update io/blkif.h

Import the latest version of blkif.h header from Xen.

Signed-off-by: Anthony PERARD <anthony.per...@vates.tech>


  Commit: 8c1e786e506474bae02f81b48a5644afb324d1bb
      
https://github.com/tianocore/edk2/commit/8c1e786e506474bae02f81b48a5644afb324d1bb
  Author: Anthony PERARD <anthony.per...@vates.tech>
  Date:   2025-01-27 (Mon, 27 Jan 2025)

  Changed paths:
    M OvmfPkg/XenPvBlkDxe/BlockFront.c
    M OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.c

  Log Message:
  -----------
  OvmfPkg/XenPvBlkDxe: Update disk size calculation

The specification wasn't clear and even contradict itself regarding
the calculation of the disk size. This have been clarified by Xen
commit 221f2748e8da ("blkif: reconcile protocol specification with
in-use implementations").

https://xenbits.xenproject.org/gitweb/?p=xen.git;a=commit;h=221f2748e8dabe8361b8cdfcffbeab9102c4c899

The value from the xenstore node "sectors" must be multiplied by 512
to have the size of the disk.

Calculation of LastBlock is now the same for both CD-ROM case and
generic case.

Signed-off-by: Anthony PERARD <anthony.per...@vates.tech>


Compare: https://github.com/tianocore/edk2/compare/7c5ec5117543...8c1e786e5064

To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to