Skip to content
Snippets Groups Projects
Commit bdc1681c authored by Rusty Russell's avatar Rusty Russell
Browse files

virtio: handle > 2 billion page balloon targets


If the host asks for a huge target towards_target() can overflow, and
we up oops as we try to release more pages than we have.  The simple
fix is to use a 64-bit value.

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent c4839346
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment