summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2021-01-13 08:14:28 +0200
committerVille Skyttä <ville.skytta@iki.fi>2021-01-13 08:26:15 +0200
commit10b7aa69ac672cdbf9f640cc565b3b2c1cf7b32a (patch)
treec7301a7f3537458ae2e36911907cf2c4e12d049c
parent59926a627104ff529d18bbeda72fe47fa6166715 (diff)
downloadshared-mime-info-10b7aa69ac672cdbf9f640cc565b3b2c1cf7b32a.tar.gz
application/x-qed-disk: new
https://wiki.qemu.org/Features/QED
-rw-r--r--data/freedesktop.org.xml.in9
-rw-r--r--tests/mime-detection/disk.qedbin0 -> 327680 bytes
-rw-r--r--tests/mime-detection/list2
3 files changed, 11 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in
index b4b279ae..e30da96a 100644
--- a/data/freedesktop.org.xml.in
+++ b/data/freedesktop.org.xml.in
@@ -7465,6 +7465,15 @@ command to generate the output files.
</magic>
</mime-type>
+ <mime-type type="application/x-qed-disk">
+ <comment>QEMU QED disk image</comment>
+ <acronym>QED</acronym>
+ <expanded-acronym>QEMU Enhanced Disk</expanded-acronym>
+ <glob pattern="*.qed"/>
+ <magic>
+ <match type="string" value="QED\0" offset="0"/>
+ </magic>
+ </mime-type>
<mime-type type="application/x-qemu-disk">
<comment>QEMU QCOW disk image</comment>
<acronym>QCOW</acronym>
diff --git a/tests/mime-detection/disk.qed b/tests/mime-detection/disk.qed
new file mode 100644
index 00000000..ba3313a8
--- /dev/null
+++ b/tests/mime-detection/disk.qed
Binary files differ
diff --git a/tests/mime-detection/list b/tests/mime-detection/list
index bbb8c792..9007c51e 100644
--- a/tests/mime-detection/list
+++ b/tests/mime-detection/list
@@ -791,6 +791,8 @@ test.gcode text/x.gcode ox
# Virtualization disk images
disk.qcow2 application/x-qemu-disk
+# qemu-img convert -O qed disk.qcow2 disk.qed
+disk.qed application/x-qed-disk
# qemu-img convert -O vpc disk.qcow2 disk.vhd
disk.vhd application/x-vhd-disk x
# qemu-img convert -O vhdx disk.qcow2 disk.vhdx # (first 1024 bytes of 128MB)