On 07/12/2015 06:20, Andrew Baumann wrote: > Yeah, I considered doing that, but figured that those cases > (incorrectly-sized register writes in 16-bit mode) are indicative of > a pretty badly screwed-up guest, and was going for a minimal patch. > It probably makes sense to change them for consistency, though.
I think those should be fixed by modifying lan9118_*_mem_ops and adding .valid.{min,max}_access_size. Not for 2.5, however. (Probably these patches should also be 2.6 + qemu-stable rather than 2.5). Paolo