diff options
| author | Paolo Bonzini <[email protected]> | 2021-10-12 15:07:59 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2021-10-15 08:47:36 +0000 |
| commit | 019057bd73d1751fdfec41e43148baf3303d98f9 (patch) | |
| tree | 28dfb7d5ddd48e4d36a5a9c01fd65b3e4ff7789a /scripts/gcc-plugins | |
| parent | Merge tag 'kvm-s390-master-5.15-1' of git://git.kernel.org/pub/scm/linux/kern... (diff) | |
| download | kernel-019057bd73d1751fdfec41e43148baf3303d98f9.tar.gz kernel-019057bd73d1751fdfec41e43148baf3303d98f9.zip | |
KVM: SEV-ES: fix length of string I/O
The size of the data in the scratch buffer is not divided by the size of
each port I/O operation, so vcpu->arch.pio.count ends up being larger
than it should be by a factor of size.
Cc: [email protected]
Fixes: 7ed9abfe8e9f ("KVM: SVM: Support string IO operations for an SEV-ES guest")
Acked-by: Tom Lendacky <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions
