|
发表于 2009-11-16 09:00:30
|
显示全部楼层
我启动kvm的命令行如下:
kvm -localtime -hda /home/crob/kvm/winxp/winxp.img -hdb /home/crob/kvm/diskd.img -hdc /home/crob/kvm/crob.img -m 1024 -vga std -usb -usbdevice host:0781:5151 -usb -usbdevice host:08ff:2810 -soundhw ac97
注意其中最后的 -soundhw ac97,就是为了让KVM虚拟出一个ac97声卡。
查看自己kvm支持模拟哪些声卡,可以敲以下命令。
crob@localhost ~ $ kvm -soundhw ?
Valid sound card names (comma separated):
pcspk PC speaker
sb16 Creative Sound Blaster 16
ac97 Intel 82801AA AC97 Audio
es1370 ENSONIQ AudioPCI ES1370
-soundhw all will enable all of the above
emerge -pv kvm结果如下:
$ emerge -pv kvm
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] app-emulation/kvm-88-r1 USE="alsa gnutls modules sdl -bluetooth -esd -havekernel -ncurses -pulseaudio -vde" 0 kB |
|