Re: [RFC PATCH v2 05/22] xen-platform-pci: allow its creation with XEN_EMULATE mode

2022-12-12 Thread David Woodhouse
On Mon, 2022-12-12 at 13:24 +, Paul Durrant wrote: > On 09/12/2022 09:55, David Woodhouse wrote: > > --- a/hw/i386/xen/xen_platform.c > > +++ b/hw/i386/xen/xen_platform.c > > @@ -271,7 +271,10 @@ static void platform_fixed_ioport_writeb(void *opaque, > > uint32_t addr, uint32_t v > >ca

Re: [RFC PATCH v2 05/22] xen-platform-pci: allow its creation with XEN_EMULATE mode

2022-12-12 Thread Paul Durrant
On 09/12/2022 09:55, David Woodhouse wrote: From: Joao Martins The only thing we need to handle on KVM side is to change the pfn from R/W to R/O. Signed-off-by: Joao Martins Signed-off-by: David Woodhouse --- hw/i386/xen/xen_platform.c | 11 --- 1 file changed, 4 insertions(+), 7

[RFC PATCH v2 05/22] xen-platform-pci: allow its creation with XEN_EMULATE mode

2022-12-09 Thread David Woodhouse
From: Joao Martins The only thing we need to handle on KVM side is to change the pfn from R/W to R/O. Signed-off-by: Joao Martins Signed-off-by: David Woodhouse --- hw/i386/xen/xen_platform.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/hw/i386/xen/xen_platf