======= Tools ======= * QEMU/KVM (packages ''qemu'', ''libvirt'', ''ebtables'', ''dnsmasq'', ''dmidecode'', ''virt-manager'', and possibly ''qemu-arch-extra'') * Windows CD image * [[https://bearwindows.zcm.com.au/vbemp.htm|Universal video drivers]] * [[https://docs.fedoraproject.org/en-US/quick-docs/creating-windows-virtual-machines-using-virtio-drivers/index.html#virtio-win-direct-downloads|Official Fedora Qemu virto drivers]] * [[https://blog.famzah.net/2010/01/09/kvm-qemu-virtio-storage-and-network-drivers-for-32-bit64-bit-windows-7-windows-vista-windows-xp-and-windows-2000/|KVM-Qemu Virtio storage and network drivers]] ====== Notes ====== To use ''virt-manager'', the user needs to be part of the ''libvirt'' group: # gpasswd -a $(whoami) libvirt virt-manager has its own networks, by default it uses the network ''default''. One might need to activate it: # virsh net-start default It is also possible to set it up so it activates automatically: # virsh net-autostart default ====== Useful commands ====== ===== Mount Qemu image ===== Qemu nbd allows to connect qcow2 files with a block device # modprobe --first-time nbd # qemu-nbd -c /dev/nbd0 Now ''/dev/mbd0'' is a block device connected to the qcow2 file. To disconnect use: # qemu-nbd -d /dev/nbd0 ===== To share a directory ===== In Windows share using the GUI and in Linux open the following path with your explorer: smb:/// It needs the ''gvfs-smb'' package. At the moment I managed to make it work only with an empty password. Depending on the Windows version Samba may not support the protocol anymore. If everything fails, one can share via HTTP: http://www.rejetto.com/hfs/