aboutsummaryrefslogtreecommitdiff
path: root/magic/Magdir/virtual
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2024-12-07 23:01:45 +0000
committerXin LI <delphij@FreeBSD.org>2024-12-07 23:01:45 +0000
commit995a16e0c2eb64b0875bccf37e696bddf35c3846 (patch)
tree148abd89b24da103d417cf36ec01e9fb9c766b62 /magic/Magdir/virtual
parent72d4668c77f014e21af1db10648768e4843ce5d2 (diff)
Diffstat (limited to 'magic/Magdir/virtual')
-rw-r--r--magic/Magdir/virtual38
1 files changed, 35 insertions, 3 deletions
diff --git a/magic/Magdir/virtual b/magic/Magdir/virtual
index 3372020421a7..295dbd025d52 100644
--- a/magic/Magdir/virtual
+++ b/magic/Magdir/virtual
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
-# $File: virtual,v 1.17 2022/08/23 08:00:54 christos Exp $
+# $File: virtual,v 1.21 2024/09/04 19:09:00 christos Exp $
# From: James Nobis <quel@quelrod.net>
# Microsoft hard disk images for:
# Virtual Server
@@ -135,8 +135,8 @@
# Reserved[4016]
#>>0x10050 ulequad >0 \b, Reserved %#llx
# VHDX_REGION_TABLE_HEADER Signature 0x69676572~regi at offset 192 KB and 256 KB
->0x30000 ulelong !0x69676572 \b, 1st region INVALID
->0x30000 ulelong =0x69676572 \b; region
+>0x30000 ulelong !0x69676572 Microsoft Disk Image Extended, 1st region INVALID
+>0x30000 ulelong =0x69676572 Microsoft Disk Image Extended; region
# region Checksum. CRC-32C hash over the entire 64-KB table
#>>0x30004 ulelong x \b, CRC %#x
# The EntryCount specifies number of valid entries; Found 2; This must be =< 2047.
@@ -299,9 +299,41 @@
>0 string >\0 (%s)
>368 lequad x \b, %lld bytes
+# From: Joerg Jenderek
+# URL: https://www.virtualbox.org/manual/ch08.html#vboxmanage-modifynvram
+# Reference: http://mark0.net/download/triddefs_xml.7z/defs/n/nvram-virtualbox.trid.xml
+# Note: called "VirtualBox saved (U)EFI BIOS settings" by TrID and
+# verfied partly by VirtualBox version 7.0.12 `VBoxManage modifynvram <uuid|vmname> listvars`
+# first 64 bytes seems to be constant
+0 long 0
+>0x28 string _FVH
+>>0x64 beshort 0xAA55
+>>>0 use virtualbox-nvram
+# display information of virtualbox *.nvram
+0 name virtualbox-nvram
+>0x64 beshort x VirtualBox NVRAM file
+#!:mime application/octet-stream
+!:mime application/x-virtualbox-nvram
+!:ext nvram
+
0 string/b Bochs\ Virtual\ HD\ Image Bochs disk image,
>32 string x type %s,
>48 string x subtype %s
0 lelong 0x02468ace Bochs Sparse disk image
+# QEMU replay image
+# From: Alexandre Iooss <erdnaxe@crans.org>
+# URL: https://www.qemu.org/docs/master/system/replay.html
+# Reference: https://gitlab.com/qemu/qemu/-/blob/master/replay/replay.c
+0 ubelong&0xFFFFFFF0 0x00e02000
+>3 byte >5
+>>4 quad 0
+>>>12 ulelong <40 QEMU replay
+>>>>3 byte x \b, version %d
+>>>>3 byte 6 (QEMU 2.10-2.11)
+>>>>3 byte 7 (QEMU 2.12-4.1)
+>>>>3 byte 8 (QEMU 4.2)
+>>>>3 byte 9 (QEMU 5.0)
+>>>>3 byte 10 (QEMU 5.1-7.0)
+>>>>3 byte 12 (QEMU 7.1+)