Pducharme Posted August 27, 2014 Share Posted August 27, 2014 Hi, I need to have a Windows VM for the sole purpose to run the Bitcasa Client and have it upload ("sync") my User Shares to Bitcasa (Unlimited). I know KVM is pretty powerful and can passthru stuff like GPU, NIC, etc., but I just need basic Windows that i'll RDP to it and it will only run the Bitcasa client. I don't have any experience on KVM. Where to start?? Any easy cli commands to build the VM ? Also, Is it possible to "connect" User Shares directly in the KVM XML instead of accessing thru SMB or other slower network protocol ? Thanks ! Quote Link to comment
Pducharme Posted August 28, 2014 Author Share Posted August 28, 2014 Where to download the virtio-win-0.1-81.iso ? Quote Link to comment
Pducharme Posted August 28, 2014 Author Share Posted August 28, 2014 Ok, I found the VirtIO ISO file online. I edited one of the XML found here. When I try to run my command, I get : root@Unraid:/mnt/cache/VM/Win81# virsh create win81.xml error: Failed to create domain from win81.xml error: internal error: unexpected domain type kvm, expecting xen root@Unraid:/mnt/cache/VM/Win81# Here is my XML : <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> <name>windows_8.1</name> <uuid>cc411d70-4463-4db7-bf36-d364c0cdaa9d</uuid> <memory unit='GB'>8</memory> <currentMemory unit='GB'>8</currentMemory> <vcpu placement='static'>4</vcpu> <resource> <partition>/machine</partition> </resource> <os> <type arch='x86_64' machine='q35'>hvm</type> <boot dev='cdrom'/> </os> <features> <acpi/> <apic/> </features> <cpu mode='host-passthrough'> </cpu> <clock offset='localtime'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <devices> <emulator>/usr/bin/qemu-system-x86_64</emulator> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/cache/VM/Win81/win81.iso'/> <target dev='sdc' bus='sata'/> <readonly/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/cache/VM/Win81/virtio-win-0.1-81.iso'/> <target dev='sdd' bus='sata'/> <readonly/> </disk> <disk type="file" device="disk"> <driver name="qemu" type="qcow2" /> <source file="/mnt/cache/VM/Win81/Win81.qcow2" /> <target dev="vda" bus="virtio" /> </disk> <controller type='sata' index='0'> </controller> <controller type='pci' index='0' model='pcie-root'/> <controller type='pci' index='1' model='dmi-to-pci-bridge'> </controller> <controller type='pci' index='2' model='pci-bridge'> </controller> <controller type='usb' index='0' model='none'> </controller> <interface type='bridge'> <source bridge='br0'/> <model type='virtio'/> </interface> <graphics type='vnc' port='5900'> <listen type='address' address='0.0.0.0'/> </graphics> <input type='mouse' bus='ps2'/> <memballoon model='virtio'/> </devices> </domain> Any idea ?? Quote Link to comment
Pducharme Posted August 30, 2014 Author Share Posted August 30, 2014 In case anyone got the same, It was because my Unraid was booted with Xen Kernel; they can't co-habit. So I just rebooted on the default... Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.