Skip to content
Commit 40a7d47c authored by P J P's avatar P J P Committed by Michael Roth
Browse files

vmw_pvscsi: check message ring page count at initialisation



A guest could set the message ring page count to zero, resulting in
infinite loop. Add check to avoid it.

Reported-by: default avatarYY Z <bigbird475958471@gmail.com>
Signed-off-by: default avatarP J P <ppandit@redhat.com>
Message-Id: <20170425130623.3649-1-ppandit@redhat.com>
Reviewed-by: default avatarDmitry Fleytman <dmitry@daynix.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit f6882698)
Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent 9b9b4423
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment