Re: [PATCH v3 04/16] fuzz: Add DMA support to the generic-fuzzer

2020-10-08 Thread Alexander Bulekov
On 201008 0943, Paolo Bonzini wrote: > On 21/09/20 04:24, Alexander Bulekov wrote: > > +if (qtest_log_enabled) { > > +/* > > + * With QTEST_LOG, use a normal, slow QTest memwrite. Prefix the > > log > > + * that will be written by qtest.c with a DMA tag, so we can > >

Re: [PATCH v3 04/16] fuzz: Add DMA support to the generic-fuzzer

2020-10-08 Thread Paolo Bonzini
On 21/09/20 04:24, Alexander Bulekov wrote: > +if (qtest_log_enabled) { > +/* > + * With QTEST_LOG, use a normal, slow QTest memwrite. Prefix the log > + * that will be written by qtest.c with a DMA tag, so we can reorder > + * the resulting QTest trace so the DM

[PATCH v3 04/16] fuzz: Add DMA support to the generic-fuzzer

2020-09-20 Thread Alexander Bulekov
When a virtual-device tries to access some buffer in memory over DMA, we add call-backs into the fuzzer(next commit). The fuzzer checks verifies that the DMA request maps to a physical RAM address and fills the memory with fuzzer-provided data. The patterns that we use to fill this memory are speci