Displaying 1 result from an estimated 1 matches for "deflate_balloon".
2004 Jul 16
1
/proc/xen/memory_target patch
...turn -EPERM;
! if ( copy_from_user(&bop, buffer, sizeof(bop)) )
return -EFAULT;
! switch ( bop.op )
! {
! case USER_INFLATE_BALLOON:
! if ( inflate_balloon(bop.size) < bop.size )
! return -EAGAIN;
! break;
!
! case USER_DEFLATE_BALLOON:
! deflate_balloon(bop.size);
! break;
! default:
! printk("Unknown command to balloon driver.");
! return -EFAULT;
}
! return sizeof(bop);
}
static int __init init_module(void)
{
printk(KERN_ALERT "Starting Xen Ballo...