On Monday 12 November 2007 21:25:22 Joerg Roedel wrote:
> On Wed, Nov 07, 2007 at 04:21:02PM +0200, Amit Shah wrote:
> > @@ -1649,6 +1913,15 @@ int kvm_emulate_hypercall(struct kvm_vcpu *vcpu)
> > }
> >
> > switch (nr) {
> > + case KVM_PV_DMA_MAP:
> > + ret = pv_map_hypercall(vc
On Wed, Nov 07, 2007 at 04:21:02PM +0200, Amit Shah wrote:
> @@ -1649,6 +1913,15 @@ int kvm_emulate_hypercall(struct kvm_vcpu *vcpu)
> }
>
> switch (nr) {
> + case KVM_PV_DMA_MAP:
> + ret = pv_map_hypercall(vcpu, a0, a1);
> + break;
> + case KVM_PV_DMA_
Introduce three hypercalls and one ioctl for enabling guest
DMA mappings.
An ioctl comes from userspace (qemu) to notify of a physical
device being assigned to a guest. Guests make a hypercall (once
per device) to find out if the device is a passthrough device
and if any DMA translations are neces