Re: [Qemu-devel] [PATCH] i386/acpi: fix gint overflow in crs_range_compare

2019-07-18 Thread no-reply
Patchew URL: https://patchew.org/QEMU/1563464932-24284-1-git-send-email-wr...@yandex-team.ru/ Hi, This series seems to have some coding style problems. See output below for more information: Type: series Subject: [Qemu-devel] [PATCH] i386/acpi: fix gint overflow in crs_range_compare Message

[Qemu-devel] [PATCH] i386/acpi: fix gint overflow in crs_range_compare

2019-07-18 Thread Evgeny Yakovlev
When very large regions (32GB sized in our case, PCI pass-through of GPUs) are compared substraction result does not fit into gint. As a result crs_replace_with_free_ranges does not get sorted ranges and incorrectly computes PCI64 free space regions. Which then makes linux guest complain about dev