Hi all,
The following patch fixes a few issues reported by coverity in the file
hw/i386/amd_iommu.c
David Kiarie (1):
hw/iommu: Fix problems reported by Coverity scan
hw/i386/amd_iommu.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
--
2.1.4
Paolo Bonzini writes:
> If the is_write argument is true, address_space_rw writes to memory
> and thus reads from the buffer. The opposite holds if is_write is
> false. Fix the model.
>
> Cc: Markus Armbruster
> Signed-off-by: Paolo Bonzini
> ---
> scripts/coverity-model.c | 6 +++---
> 1 fi
If the is_write argument is true, address_space_rw writes to memory
and thus reads from the buffer. The opposite holds if is_write is
false. Fix the model.
Cc: Markus Armbruster
Signed-off-by: Paolo Bonzini
---
scripts/coverity-model.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(
Paolo Bonzini writes:
> On 17/03/2015 09:34, Markus Armbruster wrote:
>> Jan Kiszka writes:
>>
>>> Allocate the calculated overall size, not only the size of a single
>>> element.
>>>
>>> Signed-off-by: Jan Kiszka
>>
>> I'm feeding this to Coverity locally to gauge its impact.
>
> I got no ch
On 17/03/2015 09:34, Markus Armbruster wrote:
> Jan Kiszka writes:
>
>> Allocate the calculated overall size, not only the size of a single
>> element.
>>
>> Signed-off-by: Jan Kiszka
>
> I'm feeding this to Coverity locally to gauge its impact.
I got no changes.
Paolo
Jan Kiszka writes:
> Allocate the calculated overall size, not only the size of a single
> element.
>
> Signed-off-by: Jan Kiszka
I'm feeding this to Coverity locally to gauge its impact.
Allocate the calculated overall size, not only the size of a single
element.
Signed-off-by: Jan Kiszka
---
scripts/coverity-model.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/scripts/coverity-model.c b/scripts/coverity-model.c
index 58356af..cdda259 100644
--- a/sc