全文検索:
- 08 qcow2 バックアップ 外部へ取得する場合(online external)
- ode> # virsh dumpxml testvm . . . <disk type='file' device='disk'> <driver name='qemu' type='qcow2'/> <source file='/var/lib/libvirt/images/testvm.testsnap' index='3'/> <backingStore type='file' index='2'> <format type='qcow2'/> <source file='/var/lib/libvirt/images/testvm.qcow2'/>
- 09 qcow2 backing file
- ====== 09 qcow2 backing file ====== ===== backing fileを使って、create ===== from.qcow2 から to.qcow2 を作成 <c... <code> # qemu-img info to.qcow2 image: to.qcow2 file format: qcow2 virtual size: 15G (16106127360 bytes) disk size: 196K cluster_size: 65536 backing file: from.qcow2 Format specific information: comp... .qcow2 # qemu-img info to.qcow2 image: to.qcow2 file format: qcow2 virtual size: 15G (16106127360 byte
- 07 qemuでserial接続
- -vga cirrus \ -name VM1 \ -object memory-backend-file,id=mem0,size=1G,mem-path=/dev/hugepages,share=on ... -numa node,memdev=mem0 \ -boot strict=on \ -drive file=/var/lib/libvirt/images/TESTVM.qcow2,format=qcow2
- 04 KVM cdrom attach
- tach-disk [domain-id] [source] [target] --driver file --type cdrom --mode readonly ===== 例 ===== <cod
- 33 qcow2 中身確認
- xport LIBGUESTFS_BACKEND=direct guestfish --rw -a file.img -i ### -i を指定すればmountまで自動でやってくれる ### ><fs>
- 34 疑似NVMe Drive
- <qemu:arg value='-drive'/> <qemu:arg value='file=/var/lib/libvirt/images/test.qcow2,format=qcow2,i