]> Git Repo - qemu.git/commit
virtio-iommu: Fix the domain_range end
authorEric Auger <[email protected]>
Sat, 27 Nov 2021 07:29:09 +0000 (08:29 +0100)
committerThomas Huth <[email protected]>
Wed, 15 Dec 2021 07:08:59 +0000 (08:08 +0100)
commit6b77ae0531d1a70a87c08408f6c9cd3389439686
tree1202534701702c45d3827aa6b433a67788e7d1da
parent3a411b2d9660234c8b6855d1b2861085a4ee5943
virtio-iommu: Fix the domain_range end

in old times the domain range was defined by a domain_bits le32.
This was then converted into a domain_range struct. During the
upgrade the original value of '32' (bits) has been kept while
the end field now is the max value of the domain id (UINT32_MAX).
Fix that and also use UINT64_MAX for the input_range.end.

Reported-by: Jean-Philippe Brucker <[email protected]>
Signed-off-by: Eric Auger <[email protected]>
Reviewed-by: Jean-Philippe Brucker <[email protected]>
Message-Id: <20211127072910.1261824[email protected]>
Signed-off-by: Thomas Huth <[email protected]>
hw/virtio/virtio-iommu.c
This page took 0.023545 seconds and 4 git commands to generate.