Re: [Qemu-devel] [PATCH v4 3/6] qemu-io: Allow unaligned access by default

2016-05-06 Thread Eric Blake
On 05/06/2016 09:59 AM, Max Reitz wrote: > On 05.05.2016 05:42, Eric Blake wrote: >> There's no reason to require the user to specify a flag just so >> they can pass in unaligned numbers. Keep 'read -p' and 'write -p' >> as no-ops so that I don't have to hunt down and update all users >> of qemu-i

Re: [Qemu-devel] [PATCH v4 3/6] qemu-io: Allow unaligned access by default

2016-05-06 Thread Max Reitz
On 05.05.2016 05:42, Eric Blake wrote: > There's no reason to require the user to specify a flag just so > they can pass in unaligned numbers. Keep 'read -p' and 'write -p' > as no-ops so that I don't have to hunt down and update all users > of qemu-io, but otherwise make their behavior default as

[Qemu-devel] [PATCH v4 3/6] qemu-io: Allow unaligned access by default

2016-05-04 Thread Eric Blake
There's no reason to require the user to specify a flag just so they can pass in unaligned numbers. Keep 'read -p' and 'write -p' as no-ops so that I don't have to hunt down and update all users of qemu-io, but otherwise make their behavior default as 'read' and 'write'. Also fix 'write -z', 'rea