Re: Query on the dirty bitmap

2025-04-11 Thread Eric Blake
On Tue, Apr 08, 2025 at 04:30:38PM +0530, prashant patil wrote: > Thank you, Eric, for the thorough information—truly appreciate it. > > Just to confirm what I understood, when we are reading a bitmap with > 'x-dirty-bitmap' (for powered on vm of course), the 'start' is always a > logical offset

Re: Query on the dirty bitmap

2025-04-08 Thread prashant patil
Thank you, Eric, for the thorough information—truly appreciate it. Just to confirm what I understood, when we are reading a bitmap with 'x-dirty-bitmap' (for powered on vm of course), the 'start' is always a logical offset no matter whether the record has 'offset' value or not. Is this correct?

Re: Query on the dirty bitmap

2025-04-07 Thread Eric Blake
On Mon, Apr 07, 2025 at 02:46:17PM +0530, prashant patil wrote: > Thanks Eric. [top-posting makes conversations harder to follow, so on this list we typically reply inline] > I have a few questions about the bitmap content shown by 'qemu-img map'. > From below sample bitmap data: > 1. Why only so

Re: Query on the dirty bitmap

2025-04-07 Thread prashant patil
Thanks Eric. I have a few questions about the bitmap content shown by 'qemu-img map'. >From below sample bitmap data: 1. Why only some of the extents have start and offset values? And why are they the same values? 2. What does the start value indicate? Is it logical offset or physical offset of dat

Re: Query on the dirty bitmap

2025-03-05 Thread Eric Blake
On Wed, Mar 05, 2025 at 03:36:35PM +0530, prashant patil wrote: > I was trying to read the bitmap of the running vm's disk. When I followed > below mentioned commands, then I was able to read the bitmap properly. > block-dirty-bitmap-add, block-dirty-bitmap-disable, nbd-server-start, > nbd-server-a

Re: Query on the dirty bitmap

2025-03-05 Thread prashant patil
I was trying to read the bitmap of the running vm's disk. When I followed below mentioned commands, then I was able to read the bitmap properly. block-dirty-bitmap-add, block-dirty-bitmap-disable, nbd-server-start, nbd-server-add, qemu-img map with x-dirty-bitmap image-opts. Please let me know if

Re: Query on the dirty bitmap

2025-02-27 Thread Eric Blake
On Wed, Feb 19, 2025 at 04:23:26PM +0530, prashant patil wrote: > Hello All, > Hope this email finds you well. > > I have been trying with qemu for a while now, and have come across a > problem specific to dirty bitmaps. I have enabled bitmap on the qcow2 disk > image using 'qemu-img bitmap' comma

Query on the dirty bitmap

2025-02-19 Thread prashant patil
Hello All, Hope this email finds you well. I have been trying with qemu for a while now, and have come across a problem specific to dirty bitmaps. I have enabled bitmap on the qcow2 disk image using 'qemu-img bitmap' command, exposed the bitmap over a unix socket using 'qemu-nbd' command. Now when