This is an old revision of the document!
qemu
, libvirtd
, virt-manager
, and possibly qemu-arch-extra
)
n.b., to use virt-manager
, the user needs to be part of the libvirt
group:
# gpasswd -a $(whoami) libvirt
Mount a Qemu image
# modprobe --first-time nbd # qemu-nbd -c /dev/nbd0 <path of the .qcow2 file>
Now /dev/mbd0
is a block device connected to the qcow2 file.
To disconnect use:
# qemu-nbd -d /dev/nbd0