qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Query on the dirty bitmap
@ 2025-02-19 10:53 prashant patil
  2025-02-27 22:23 ` Eric Blake
  0 siblings, 1 reply; 8+ messages in thread
From: prashant patil @ 2025-02-19 10:53 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 888 bytes --]

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 I try to read the bitmap using
'qemu-img map' command with 'x-dirty-bitmap=qemu:dirty-bitmap:{bitmap}'
option, I get one single extent which shows that the entire disk is dirty.
Note that the disk size is 5 GB, and has only a few MB of data in it, and
had added very small data after the bitmap was enabled. Bitmap output has
been pasted below.

[{ "start": 0, "length": 5368709120, "depth": 0, "present": true, "zero":
false, "data": true, "compressed": false, "offset": 0}]

Can someone please help me understand why the bitmap content shows the
entire disk as dirty?

Regards
Prashant

[-- Attachment #2: Type: text/html, Size: 1138 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-04-11 16:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-19 10:53 Query on the dirty bitmap prashant patil
2025-02-27 22:23 ` Eric Blake
2025-03-05 10:06   ` prashant patil
2025-03-05 22:14     ` Eric Blake
2025-04-07  9:16       ` prashant patil
2025-04-07 14:53         ` Eric Blake
2025-04-08 11:00           ` prashant patil
2025-04-11 16:04             ` Eric Blake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).