Re: [Qemu-devel] Question on ioeventfd behavior

2016-02-26 Thread Paolo Bonzini
On 26/02/2016 10:58, Markus Armbruster wrote: > Double-checking: can i rely on ivshmem_io_write() getting called on a > write of a non-matching value? That for sure. Paolo

Re: [Qemu-devel] Question on ioeventfd behavior

2016-02-26 Thread Markus Armbruster
Paolo Bonzini writes: > On 26/02/2016 08:51, Markus Armbruster wrote: >> /** >> * memory_region_add_eventfd: Request an eventfd to be triggered when a word >> *is written to a location. >> * >> * Marks a word in an IO region (initialized with memory_region_init_io(

Re: [Qemu-devel] Question on ioeventfd behavior

2016-02-26 Thread Paolo Bonzini
On 26/02/2016 08:51, Markus Armbruster wrote: > /** > * memory_region_add_eventfd: Request an eventfd to be triggered when a word > *is written to a location. > * > * Marks a word in an IO region (initialized with memory_region_init_io()) > * as a trigger for an e

[Qemu-devel] Question on ioeventfd behavior

2016-02-25 Thread Markus Armbruster
Unlike much of QEMU, memory.h actually has useful contracts, much appreciated. Here's the one in question: /** * memory_region_add_eventfd: Request an eventfd to be triggered when a word *is written to a location. * * Marks a word in an IO region (initialized with