Advertisement
Guest User

Untitled

a guest
Oct 14th, 2014
474
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. $ cat kvm.sh
  2. QEMU_AUDIO_DRV=alsa \
  3. 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 \
  4. -bios /usr/share/qemu/bios.bin \
  5. -device ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port=1,chassis=1,id=root.1 \
  6. -device vfio-pci,host=06:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on \
  7. -device secondary-vga -net nic,vlan=0,model=virtio -net bridge,br=br0,vlan=0 \
  8. -device virtio-scsi-pci,id=scsi \
  9. -drive file=/dev/local/windows,id=disk,format=raw -device scsi-hd,drive=disk \
  10. -drive file=/dev/local/windata,id=disk2,format=raw -device scsi-hd,drive=disk2 \
  11. -drive file=/home/feanor/dwl/kvm/virtio65.iso,id=isocd -device scsi-cd,drive=isocd \
  12. -soundhw ac97 \
  13. -usb -usbdevice host:045e:0291 -usbdevice host:05ac:12a4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement