Displaying 2 results from an estimated 2 matches for "_mapping".
Did you mean:
mapping
2007 Nov 30
0
Incorrect update_va_mapping call in interface.tex (Interface Manual).
At the bottom of page 40 of the Interface manual, an "update_va_mapping"
prototype is shown, but it should be an "update_va_mapping_otherdomain"
prototype. (This prototype introduces the
"update_va_mapping_otherdomain"
hypercall documentation, so the association between hypercall and
documentation
is wrong.) Patch below.
- bruce
diff -r e...
2009 Jan 09
5
[PATCH] Enable PCI passthrough with stub domain.
...n) )
- return -EPERM;
-
if ( copy_from_guest(op, u_domctl, 1) )
return -EFAULT;
if ( op->interface_version != XEN_DOMCTL_INTERFACE_VERSION )
return -EACCES;
+
+ switch ( op->cmd )
+ {
+ case XEN_DOMCTL_pin_mem_cacheattr:
+ case XEN_DOMCTL_memory_mapping:
+ case XEN_DOMCTL_ioport_mapping:
+ case XEN_DOMCTL_assign_device:
+ case XEN_DOMCTL_deassign_device:
+ case XEN_DOMCTL_bind_pt_irq:
+ case XEN_DOMCTL_unbind_pt_irq:
+ {
+ struct domain *d;
+
+ if ( op->domain != DOMID_SELF )
+ {
+ d = rcu_lock_...