[File] [PATCH] Magdir/virtual QEMU replay image

Alexandre IOOSS erdnaxe at crans.org
Tue Aug 13 15:12:00 UTC 2024


Hello,

QEMU can generate replay files to deterministically replay virtual 
machine execution later. I seem that file doesn't recognize QEMU replay 
files.

As QEMU is opensource, I looked at ./replay/replay.c in QEMU source tree 
and notice that there is a magic with version.

Attached, you will find a patch to add QEMU replay image format to file.

Example with a replay generated using QEMU master:
```
$ file replay.bin
replay.bin: QEMU replay, version 12 (QEMU 7.1+)
```

Thanks a lot,
Best regards,
-- 
Alexandre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qemu-replay.diff
Type: text/x-patch
Size: 727 bytes
Desc: not available
URL: <https://mailman.astron.com/pipermail/file/attachments/20240813/8d8e16bd/attachment.bin>


More information about the File mailing list