
To set up networking, you need to put 2 new scripts in your
/etc. Check: http://david-latham.blogspot.com/2008/04/qemu-networking.html
To use ALSA instead of the default Pulseaudio (I have removed that),
make a script for starting your virtual machine. E.g.:
#!/bin/sh
export QEMU_AUDIO_DRV=alsa
#export QEMU_AUDIO_DAC_FIXED_FREQ=48000
#export QEMU_AUDIO_ADC_FIXED_FREQ=48000
qemu-kvm \
-name spartacus \
-uuid 30587b87-bbed-b794-27fc-47a03ec828d8 \
-M pc \
-smp 2 \
-m 512 \
-monitor pty \
-sdl \
-vnc 127.0.0.1:1 \
-usb \
-usbdevice tablet \
-usbdevice host:0d9a:0004 \
-soundhw es1370 \
-net nic,macaddr=54:52:00:5f:4a:24,vlan=0 \
-net tap,vlan=0 \
-serial none \
-parallel none \
-hdc /share/kvm/spartacus.img \
-boot c \
-localtime \
-pidfile /var/run/libvirt/qemu/spartacus.pid \
-daemonize \
$@
Comments
Post new comment