Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ cat kvm.sh
- QEMU_AUDIO_DRV=alsa \
- qemu-system-x86_64 -runas feanor -enable-kvm -M q35 -mem-path /guestmem -m 4096 -cpu host,kvm=off -smp 6,sockets=1,cores=6,threads=1 -vga none \
- -bios /usr/share/qemu/bios.bin \
- -device ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port=1,chassis=1,id=root.1 \
- -device vfio-pci,host=06:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on \
- -device secondary-vga -net nic,vlan=0,model=virtio -net bridge,br=br0,vlan=0 \
- -device virtio-scsi-pci,id=scsi \
- -drive file=/dev/local/windows,id=disk,format=raw -device scsi-hd,drive=disk \
- -drive file=/dev/local/windata,id=disk2,format=raw -device scsi-hd,drive=disk2 \
- -drive file=/home/feanor/dwl/kvm/virtio65.iso,id=isocd -device scsi-cd,drive=isocd \
- -soundhw ac97 \
- -usb -usbdevice host:045e:0291 -usbdevice host:05ac:12a4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement