Re: [Qemu-devel] [PATCH v5 11/14] qemu-io: Switch to byte-based block access

2016-05-04 Thread Eric Blake
On 05/04/2016 07:10 AM, Kevin Wolf wrote: > Am 03.05.2016 um 17:42 hat Eric Blake geschrieben: >> blk_write() and blk_read() are now very simple wrappers around >> blk_pwrite() and blk_pread(). There's no reason to require >> the user to pass in aligned numbers. Keep 'read -p' and >> 'write -p' s

Re: [Qemu-devel] [PATCH v5 11/14] qemu-io: Switch to byte-based block access

2016-05-04 Thread Kevin Wolf
Am 03.05.2016 um 17:42 hat Eric Blake geschrieben: > blk_write() and blk_read() are now very simple wrappers around > blk_pwrite() and blk_pread(). There's no reason to require > the user to pass in aligned numbers. Keep 'read -p' and > 'write -p' so that I don't have to hunt down and update all

[Qemu-devel] [PATCH v5 11/14] qemu-io: Switch to byte-based block access

2016-05-03 Thread Eric Blake
blk_write() and blk_read() are now very simple wrappers around blk_pwrite() and blk_pread(). There's no reason to require the user to pass in aligned numbers. Keep 'read -p' and 'write -p' so that I don't have to hunt down and update all users of qemu-io, but make the default 'read' and 'write' n