[PATCH 4/6] kvmppc: magic page hypercall - host part

2008-07-23 Thread ehrhardt
From: Christian Ehrhardt <[EMAIL PROTECTED]> This adds the host part of the magic page registration. This is a memory area of the guest granted to the host. The patch just introduces the infrastruture to receive the guest paddr. This is work in progress and it is intended to later on use this memo

Re: [PATCH 4/6] kvmppc: magic page hypercall - host part

2008-07-23 Thread Tony Breeds
On Wed, Jul 23, 2008 at 10:36:45AM +0200, [EMAIL PROTECTED] wrote: Hi Christian, > long kvm_arch_dev_ioctl(struct file *filp, > unsigned int ioctl, unsigned long arg) > { > - return -EINVAL; > + long r = -EINVAL; > + > + switch (ioctl) { > + case KVM_GET