Re: [Xen-devel] [PATCH v2] VMX: don't allow PVH to reach handle_mmio()

2014-12-10 Thread Konrad Rzeszutek Wilk
On Tue, Dec 09, 2014 at 06:01:54PM +0100, Roger Pau Monné wrote: > El 08/12/14 a les 10.12, Jan Beulich ha escrit: > > PVH guests accessing I/O ports via string ops is not supported yet. > > > > Reported-by: Roger Pau Monné > > Signed-off-by: Jan Beulich > > This looks fine to me (at least it do

Re: [Xen-devel] [PATCH v2] VMX: don't allow PVH to reach handle_mmio()

2014-12-10 Thread Jan Beulich
>>> On 09.12.14 at 18:49, wrote: > El 09/12/14 a les 18.19, Jan Beulich ha escrit: > On 09.12.14 at 18:01, wrote: >>> For 4.6 I think we need to start using a different hvm_io_bitmap for PVH >>> Dom0 that allows direct access to the IO ports, bypassing the vmexit and >>> simplifying the code

Re: [Xen-devel] [PATCH v2] VMX: don't allow PVH to reach handle_mmio()

2014-12-09 Thread Tian, Kevin
> From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Monday, December 08, 2014 5:13 PM > > PVH guests accessing I/O ports via string ops is not supported yet. > > Reported-by: Roger Pau Monné > Signed-off-by: Jan Beulich Acked-by: Kevin Tian > --- > v2: handle_pio() is already safe (pointed

Re: [Xen-devel] [PATCH v2] VMX: don't allow PVH to reach handle_mmio()

2014-12-09 Thread Roger Pau Monné
El 09/12/14 a les 18.19, Jan Beulich ha escrit: On 09.12.14 at 18:01, wrote: >> For 4.6 I think we need to start using a different hvm_io_bitmap for PVH >> Dom0 that allows direct access to the IO ports, bypassing the vmexit and >> simplifying the code in Xen (this would also fix INS/OUTS). S

Re: [Xen-devel] [PATCH v2] VMX: don't allow PVH to reach handle_mmio()

2014-12-09 Thread Jan Beulich
>>> On 09.12.14 at 18:01, wrote: > For 4.6 I think we need to start using a different hvm_io_bitmap for PVH > Dom0 that allows direct access to the IO ports, bypassing the vmexit and > simplifying the code in Xen (this would also fix INS/OUTS). Still not > sure what should be done for PVH DomUs, s

Re: [Xen-devel] [PATCH v2] VMX: don't allow PVH to reach handle_mmio()

2014-12-09 Thread Roger Pau Monné
El 08/12/14 a les 10.12, Jan Beulich ha escrit: > PVH guests accessing I/O ports via string ops is not supported yet. > > Reported-by: Roger Pau Monné > Signed-off-by: Jan Beulich This looks fine to me (at least it doesn't break the existing IN/OUT users), and seems the best solution 4.5 wise:

Re: [Xen-devel] [PATCH v2] VMX: don't allow PVH to reach handle_mmio()

2014-12-08 Thread Mukesh Rathor
On Mon, 08 Dec 2014 09:12:37 + "Jan Beulich" wrote: > PVH guests accessing I/O ports via string ops is not supported yet. > > Reported-by: Roger Pau Monné > Signed-off-by: Jan Beulich > --- > v2: handle_pio() is already safe (pointed out by Mukesh), so only > refuse entering handle_mmio().

[Xen-devel] [PATCH v2] VMX: don't allow PVH to reach handle_mmio()

2014-12-08 Thread Jan Beulich
PVH guests accessing I/O ports via string ops is not supported yet. Reported-by: Roger Pau Monné Signed-off-by: Jan Beulich --- v2: handle_pio() is already safe (pointed out by Mukesh), so only refuse entering handle_mmio(). Note: Only compile tested so far. --- unstable.orig/xen/arch/x86/hv