virtio: handle > 2 billion page balloon targets
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 18 Mar 2008 03:58:15 +0000 (22:58 -0500)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 17 Mar 2008 11:58:19 +0000 (22:58 +1100)
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: Rusty Russell <rusty@rustcorp.com.au>

No differences found