maplevef.blogg.se

Add files to qemu system
Add files to qemu system















No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept. When I try to connect to the qemu shared folder I get following message: #!/usr/bin/bash vm_name="WindowsXP" qemu-system-x86_64 \ -name "$vm_name" \ -enable-kvm \ -rtc base=localtime \ -cpu host \ -smp 4 \ -m 4096 \ -net user,smb=/home/ssdData/ \ -net nic,macaddr=$(/usr/lib/qemu/qemu-mac-hasher.py "$vm_name"),model=virtio \ -net nic,model=virtio \ -drive file=/home/data/WindowsVM/winxp.img,format=raw,if=ide\ -drive file=/home/ssdData/iso/virtio-win-0.1.173.iso,index=2,media=cdrom \ -drive file=/home/ssdData/iso/en_windows_xp_professional_with_service_pack_3_x86_cd.iso,index=3,media=cdrom \ -usb \ -device usb-tablet \ -vga none -device qxl-vga

Add files to qemu system windows#

Now, I would have the same setup with a Windows XP, here is the setup: #!/usr/bin/bash vm_name="DailyWindows" qemu-system-x86_64 \ -name "$vm_name" \ -bios /usr/share/edk2-ovmf/圆4/OVMF_CODE.fd \ -machine q35,accel=kvm,vmport=off \ -enable-kvm \ -rtc base=localtime \ -cpu host \ -smp 4 \ -m 8192 \ -net user,smb=/home/ssdData/ \ -net nic,macaddr=$(/usr/lib/qemu/qemu-mac-hasher.py "$vm_name"),model=virtio \ -net nic,model=virtio \ -drive file=/home/data/WindowsVM/Win10.raw,format=raw,if=ide\ -usb \ -device usb-tablet \ -vga none -device qxl-vga #!/usr/bin/bash vm_name="DailyArch" qemu-system-x86_64 \ -name "$vm_name" \ -bios /usr/share/edk2-ovmf/圆4/OVMF_CODE.fd \ -machine pc,accel=kvm,vmport=off \ -enable-kvm \ -cpu host \ -smp 4 \ -m 8092 \ -net user,smb=/home/ssdData/ \ -net nic,macaddr=$(/usr/lib/qemu/qemu-mac-hasher.py "$vm_name"),model=virtio \ -drive file=/vm/dailyArch/arch-clone.qcow2,format=qcow2 \ -usb \ -device usb-tablet \ -device virtio-serial \ -vga virtio \ -soundhw hda Here two examples with working shared folder. All I have to do is enter username and password.

add files to qemu system add files to qemu system

Also connection to my NAS (also samba) works as expected. On the guests, I simply add a network drive \\ 10.0.2.4\qemu and it gets connected. I'm running several VM (Windows 10, Arch Linux, Ubuntu) on my arch linux host.















Add files to qemu system