Re: [Xen-devel] [PATCH v2] xen/pvh: use a custom IO bitmap for PVH hardware domains

2015-04-29 Thread Roger Pau Monné
El 29/04/15 a les 15.44, Andrew Cooper ha escrit: > On 29/04/15 12:05, Roger Pau Monné wrote: >> El 29/04/15 a les 2.38, Andrew Cooper ha escrit: >>> + +if ( is_pvh_domain(d) ) +{ +for ( i = 0; i < 0x1; i++ ) +/* NB: 0xcf8 has special treatme

Re: [Xen-devel] [PATCH v2] xen/pvh: use a custom IO bitmap for PVH hardware domains

2015-04-29 Thread Andrew Cooper
On 29/04/15 12:05, Roger Pau Monné wrote: El 29/04/15 a les 2.38, Andrew Cooper ha escrit: + +if ( is_pvh_domain(d) ) +{ +for ( i = 0; i < 0x1; i++ ) +/* NB: 0xcf8 has special treatment so we need to trap it. */ Why? (and irrespective of my question, cf8 expec

Re: [Xen-devel] [PATCH v2] xen/pvh: use a custom IO bitmap for PVH hardware domains

2015-04-29 Thread Roger Pau Monné
El 29/04/15 a les 2.38, Andrew Cooper ha escrit: > On 28/04/15 16:44, Roger Pau Monne wrote: >> Since a PVH hardware domain has access to the physical hardware create a >> custom more permissive IO bitmap. The permissions set on the bitmap are >> populated based on the contents of the ioports range

Re: [Xen-devel] [PATCH v2] xen/pvh: use a custom IO bitmap for PVH hardware domains

2015-04-29 Thread Andrew Cooper
On 28/04/15 16:44, Roger Pau Monne wrote: Since a PVH hardware domain has access to the physical hardware create a custom more permissive IO bitmap. The permissions set on the bitmap are populated based on the contents of the ioports rangeset. Signed-off-by: Roger Pau Monné Cc: Jan Beulich Cc:

[Xen-devel] [PATCH v2] xen/pvh: use a custom IO bitmap for PVH hardware domains

2015-04-28 Thread Roger Pau Monne
Since a PVH hardware domain has access to the physical hardware create a custom more permissive IO bitmap. The permissions set on the bitmap are populated based on the contents of the ioports rangeset. Signed-off-by: Roger Pau Monné Cc: Jan Beulich Cc: Andrew Cooper Cc: Boris Ostrovsky Cc: Sur