|
|
|
|
|
|
|
|
|
|
xen-users
RE: [Xen-users] Setting enviroment variables for qemu, when calling xm f
> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
> Theo Cabrerizo Diem
> Sent: 29 June 2007 17:46
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-users] Setting enviroment variables for qemu,
> when calling xm for a hvm guest
>
> Hi all,
>
> I have a working xen setup (3.0.4 hypervisor, 2.6.18 debian kernel),
> which I can create my hvm hosts with no problem at all ...
>
> But I decided do enable soundcard support .. and enabling the
> soundhw='es1370' config I have a soundcard listed ... but (at least in
> my debian box) it uses the OSS emulation (yes, I have alsa
> modules, and
> it loads the ALSA oss emulation) .. and that locks the sound
> device once
> the hvm guest is running :( .
>
> In QEmu docs, there's an option, by running "export
> QEMU_AUDIO_DRV=alsa"
> should switch it's driver to use alsa instead of OSS ... but
> .. how can
> this be done on Xen ? How can I set enviroment variables to qemu
> backend ? :( ..
You can replace the qemu-dm module with a script that calls qemu-dm.
There is a "qemu-dm.debug" next to qemu-dm that demonstrates how this
can be done. So in simple terms, take the qemu-dm.debug (you may need to
point it at the right /usr/lib or /usr/lib64 depending on architecture,
unless someone has fixed that lately) - either way, modify it to have
the "export" line in it, and if you feel like that, remove the dump of
the command-line args.
--
Mats
>
> Thanks,
>
> Theo Diem
>
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>
>
>
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- RE: [Xen-users] Setting enviroment variables for qemu, when calling xm for a hvm guest,
Petersson, Mats <=
|
|
|
|
|