dcj123 wrote:
I feel primitive
I am still using this to boot Windows on Linux
Code:
QEMU_AUDIO_DRV=alsa qemu-system-x86_64 \
-soundhw ac97 \
-nographic \
-serial none \
-parallel none \
-name Windows \
-m 16G \
-enable-kvm \
-cpu host,kvm=off,hv_vendor_id=-0000000x10de \
-smp cores=6 \
-machine pc,accel=kvm,kernel_irqchip=on,mem-merge=off \
-drive if=pflash,format=raw,readonly,file=/usr/share/edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd \
-drive if=pflash,format=raw,file=/tmp/my_vars.fd \
-device vfio-pci,host=09:00.0 \
-device vfio-pci,host=09:00.1 \
-rtc base=lo[i][/i]caltime,clock=host,driftfix=none \
-net nic -net bridge,br=br0 \
-hda ~/Windows7.qcow \
-boot order=c
Most people using Arch seem to have those sexy libvirt scripts and its making me feel dumb for using this hacky script kiddie crap code
Of course I am keeping it simple too which is what Arch Linux is about
LibVirt's nice but there are splines in most of its' supported protocols between what said protocols unified beforehand (i.e. NAT to SMB or something) so if you have
virsh & virtio-win frontends for it, you can inflate Windows appliance containers within 5-10 minutes. Might go a bit quicker if you manage to import Fedora's
Boxes GUI for all this (it's really clean), or use more QT & run
Virt-Manager, also from RHEL but with a more generalized hypervisor toolset.
_________________
"Standing on a well-chilled cinder, we see the fading of the suns, and try to recall the vanished brilliance of the origin of the worlds."
-Georges Lemaitre
"I fly through hyperspace, in my green computer interface"
-Gem Tos