Re: [PATCH RFC v2 01/16] vfio-user: introduce vfio-user protocol specification

2021-08-19 Thread Swapnil Ingle
On 18. Aug 2021, at 01:04, Alex Williamson mailto:alex.william...@redhat.com>> wrote: On Mon, 16 Aug 2021 09:42:34 -0700 Elena Ufimtseva mailto:elena.ufimts...@oracle.com>> wrote: +Authentication +-- + +For ``AF_UNIX``, we rely on OS mandatory access controls on the socket files, +

Re: [PATCH v2] block/vhdx: Support vhdx image only with 512 bytes logical sector size

2020-09-10 Thread Swapnil Ingle
Ping On 14.08.20, 11:10, "Swapnil Ingle" wrote: Ping On 07.08.20, 12:03, "Swapnil Ingle" wrote: block/vhdx uses qemu block layer where sector size is always 512 bytes. This may have issues with 4K logical sector sized vhdx image. For e.g

Re: [PATCH v2] block/vhdx: Support vhdx image only with 512 bytes logical sector size

2020-08-14 Thread Swapnil Ingle
Ping On 07.08.20, 12:03, "Swapnil Ingle" wrote: block/vhdx uses qemu block layer where sector size is always 512 bytes. This may have issues with 4K logical sector sized vhdx image. For e.g qemu-img convert on such images fails with following assert: $qemu-img

[PATCH v2] block/vhdx: Support vhdx image only with 512 bytes logical sector size

2020-08-07 Thread Swapnil Ingle
: Assertion `offset + len <= qiov->size' failed. Aborted This patch adds an check to return ENOTSUP for vhdx images which have logical sector size other than 512 bytes. Signed-off-by: Swapnil Ingle --- v2: Fixed commit message, suggested by Philippe Mathieu-Daude --- block/vhdx.c |

[PATCH] block/vhdx: Support vhdx image only with 512 bytes logical sector size

2020-08-05 Thread Swapnil Ingle
: Assertion `offset + len <= qiov->size' failed. Aborted This patch adds an check to return ENOTSUP for vhdx images which has logical sector size other than 512 bytes. Signed-off-by: Swapnil Ingle --- block/vhdx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --

Re: qemu-img convert asserts while converting from vhdx to raw

2020-08-05 Thread Swapnil Ingle
ll send an patch fixing this. Thanks and Regards, -Swapnil On 29.07.20, 12:56, "Max Reitz" wrote: On 28.07.20 18:53, Swapnil Ingle wrote: > Hey Guys, > > > > We are seeing following assert when trying to convert disk image from > vhdx to

qemu-img convert asserts while converting from vhdx to raw

2020-07-28 Thread Swapnil Ingle
Hey Guys, We are seeing following assert when trying to convert disk image from vhdx to raw. This issue is seen only for disk with 4k logical sector size. $ qemu-img convert -f vhdx -O raw 4KTest1.vhdx test.raw qemu-img: util/iov.c:388: qiov_slice: Assertion `offset + len <= qiov->size' failed.