#!/bin/sh

export SPICE_PORT=5924
export QEMU_AUDIO_DRV=alsa
export QEMU_AUDIO_DAC_FIXED_FREQ=48000
export QEMU_AUDIO_ADC_FIXED_FREQ=48000 

qemu-system-x86_64 \
-m 1024 -vga  qxl -spice port=5930,disable-ticketing -cpu core2duo -enable-kvm  -machine type=pc-i440fx-2.10,accel=kvm -smp 2 \
-soundhw ac97 \
-cdrom "/home/login/vm/ReactOS-0.4.11.iso" \
-drive file="/home/login/vm/reactos.qcow2" \
-net nic,model=ne2k_pci -net user \
-rtc base=localtime -daemonize -usb -device usb-tablet -k fr \
-monitor telnet:127.0.0.1:12997,server,nowait,ipv4 \

remote-viewer spice://localhost:5930
