Re: [PATCH v8 13/20] multi-process: PCI BAR read/write handling for proxy & remote endpoints

2020-08-11 Thread Stefan Hajnoczi
On Fri, Jul 31, 2020 at 02:20:20PM -0400, Jagannathan Raman wrote: > +static void process_bar_write(QIOChannel *ioc, MPQemuMsg *msg, Error **errp) > +{ > +BarAccessMsg *bar_access = &msg->data1.bar_access; > +AddressSpace *as = > +bar_access->memory ? &address_space_memory : &addres

[PATCH v8 13/20] multi-process: PCI BAR read/write handling for proxy & remote endpoints

2020-07-31 Thread Jagannathan Raman
Proxy device object implements handler for PCI BAR writes and reads. The handler uses BAR_WRITE/BAR_READ message to communicate to the remote process with the BAR address and value to be written/read. The remote process implements handler for BAR_WRITE/BAR_READ message. Signed-off-by: Jagannathan