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
| qemu-img create -f qcow2 -o compression_type=zstd,preallocation=off,nocow=off,extended_l2=on,cluster_size=128k,size=60G win11-desktop-c.qcow2 |
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
| <interface type="bridge"> | |
| <mac address="52:54:00:52:cb:4c"/> | |
| <source bridge="br0"/> | |
| <model type="virtio"/> | |
| <driver name="vhost" txmode="iothread" ioeventfd="on" event_idx="on" queues="4" rx_queue_size="256" tx_queue_size="256"> | |
| <host csum="on" gso="on" tso4="on" tso6="on" ecn="on" ufo="on" mrg_rxbuf="on"/> | |
| <guest csum="on" tso4="on" tso6="on" ecn="on" ufo="on"/> | |
| </driver> | |
| <coalesce> | |
| <rx> |
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
| #!/bin/bash | |
| shopt -s extglob | |
| NEWLINE=$'\n' | |
| ANSI_ERASE_ENTIRE_SCREEN=$'\e[2J' | |
| ANSI_RESET_CURSOR_POSITION=$'\e[H' | |
| ANSI_CLEAR="${ANSI_ERASE_ENTIRE_SCREEN}${ANSI_RESET_CURSOR_POSITION}" | |
| die() { |