Re: [Qemu-devel] [PATCHv2] fw_cfg: Define a static signature to be returned on DMA port reads

2015-10-08 Thread Marc MarĂ­
On Tue, 6 Oct 2015 10:29:25 -0400 "Kevin O'Connor" wrote: > On Tue, Oct 06, 2015 at 09:30:18AM +0200, Laszlo Ersek wrote: > > On 10/06/15 01:51, Kevin O'Connor wrote: > > > Return a static signature ("QEMU CFG") if the guest does a read > > > to the DMA address io register. >

Re: [Qemu-devel] [PATCHv2] fw_cfg: Define a static signature to be returned on DMA port reads

2015-10-06 Thread Laszlo Ersek
On 10/06/15 16:29, Kevin O'Connor wrote: > On Tue, Oct 06, 2015 at 09:30:18AM +0200, Laszlo Ersek wrote: >> On 10/06/15 01:51, Kevin O'Connor wrote: >>> Return a static signature ("QEMU CFG") if the guest does a read to the >>> DMA address io register. >>> >>> Signed-off-by: Kevin O'Connor

Re: [Qemu-devel] [PATCHv2] fw_cfg: Define a static signature to be returned on DMA port reads

2015-10-06 Thread Kevin O'Connor
On Tue, Oct 06, 2015 at 09:30:18AM +0200, Laszlo Ersek wrote: > On 10/06/15 01:51, Kevin O'Connor wrote: > > Return a static signature ("QEMU CFG") if the guest does a read to the > > DMA address io register. > > > > Signed-off-by: Kevin O'Connor > > --- > > > > Marc, if you

Re: [Qemu-devel] [PATCHv2] fw_cfg: Define a static signature to be returned on DMA port reads

2015-10-06 Thread Laszlo Ersek
On 10/06/15 01:51, Kevin O'Connor wrote: > Return a static signature ("QEMU CFG") if the guest does a read to the > DMA address io register. > > Signed-off-by: Kevin O'Connor > --- > > Marc, if you decide to respin your fw_cfg series, I've updated the dma > signature patch.

Re: [Qemu-devel] [PATCHv2] fw_cfg: Define a static signature to be returned on DMA port reads

2015-10-06 Thread Stefan Hajnoczi
On Mon, Oct 05, 2015 at 07:51:55PM -0400, Kevin O'Connor wrote: > +static uint64_t fw_cfg_dma_mem_read(void *opaque, hwaddr addr, > +unsigned size) > +{ > +// Return a signature value (and handle various read sizes) > +return

[Qemu-devel] [PATCHv2] fw_cfg: Define a static signature to be returned on DMA port reads

2015-10-05 Thread Kevin O'Connor
Return a static signature ("QEMU CFG") if the guest does a read to the DMA address io register. Signed-off-by: Kevin O'Connor --- Marc, if you decide to respin your fw_cfg series, I've updated the dma signature patch. This addresses the comments from Stefan, and I hope it