Re: [PATCH v3 05/16] fuzz: Declare DMA Read callback function

2020-10-12 Thread Paolo Bonzini
On 11/10/20 17:45, Alexander Bulekov wrote: > On 201008 0939, Paolo Bonzini wrote: >> On 21/09/20 04:24, Alexander Bulekov wrote: >>> This patch declares the fuzz_dma_read_cb function and uses the >>> preprocessor and linker(weak symbols) to handle these cases: >>> >>> When we build softmmu/all wit

Re: [PATCH v3 05/16] fuzz: Declare DMA Read callback function

2020-10-11 Thread Alexander Bulekov
On 201008 0939, Paolo Bonzini wrote: > On 21/09/20 04:24, Alexander Bulekov wrote: > > This patch declares the fuzz_dma_read_cb function and uses the > > preprocessor and linker(weak symbols) to handle these cases: > > > > When we build softmmu/all with --enable-fuzzing, there should be no > > str

Re: [PATCH v3 05/16] fuzz: Declare DMA Read callback function

2020-10-08 Thread Paolo Bonzini
On 21/09/20 04:24, Alexander Bulekov wrote: > This patch declares the fuzz_dma_read_cb function and uses the > preprocessor and linker(weak symbols) to handle these cases: > > When we build softmmu/all with --enable-fuzzing, there should be no > strong symbol defined for fuzz_dma_read_cb, and we l

[PATCH v3 05/16] fuzz: Declare DMA Read callback function

2020-09-20 Thread Alexander Bulekov
This patch declares the fuzz_dma_read_cb function and uses the preprocessor and linker(weak symbols) to handle these cases: When we build softmmu/all with --enable-fuzzing, there should be no strong symbol defined for fuzz_dma_read_cb, and we link against a weak stub function. When we build softm