Created
June 30, 2021 11:41
-
-
Save abbbi/1b003b88a4ec83d900150f4a16bcece0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
libvirt 5: | |
-drive file=/vm/ata2018/dc01.raw,format=raw,if=none,id=drive-virtio-disk0,cache=none | |
-device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x8,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1,write-cache=on | |
-drive file=/vm/ata2018/dc01-2.raw,format=raw,if=none,id=drive-virtio-disk1,cache=none | |
-device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk1,id=virtio-disk1,write-cache=on | |
libvirt 7: | |
-blockdev {"driver":"file","filename":"/vm/ata2018/dc01.raw","node-name":"libvirt-2-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"} -blockdev {"node-name":"libvirt-2-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"raw","file":"libvirt-2-storage"}· | |
-device virtio-blk-pci,bus=pci.0,addr=0x8,drive=libvirt-2-format,id=virtio-disk0,bootindex=1,write-cache=on· | |
┆ ┆ ┆ ┆ ┆ ┆ ┆ ┆ ┆ ┆ ┆ ^^^^^^^^^^^^^^^^ | |
-blockdev {"driver":"file","filename":"/vm/ata2018/dc01-2.raw","node-name":"libvirt-1-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"} -blockdev {"node-name":"libvirt-1-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"raw","file":"libvirt-1-storage"}· | |
-device virtio-blk-pci,bus=pci.0,addr=0x4,drive=libvirt-1-format,id=virtio-disk1,write-cache=on | |
┆ ┆ ┆ ┆ ┆ ┆ ┆ ┆ ┆ ┆ ┆ ^^^^^^^^^^^^^^^^ | |
~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment