qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Re: Question about KVM and PC speaker


From: Jan Kiszka
Subject: Re: [Qemu-devel] Re: Question about KVM and PC speaker
Date: Thu, 23 Apr 2009 19:42:14 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666

Avi Kivity wrote:
> Jan Kiszka wrote:
>> Avi Kivity wrote:
>>  
>>> Jan Kiszka wrote:
>>>    
>>>> Huh, it is! Then the problem is a KVM-only thing: The kernel part hooks
>>>> onto those resources but doesn't communicate changes to this user space
>>>> backend.
>>>>         
>>> In this case, the -no-kvm-pit option should help.
>>>     
>>
>> Probably fine in many cases (where the PIT is no longer used anyway),
>> just a bit unintuitive for users.
>>   
> 
> Yes, it's only a workaround.
> 
>> I wonder why KVM moved port 0x61 handling into kernel space at all. By
>> leaving it in pcspk hands and extending the latter to sync with the
>> in-kernel PIT on sample generation, this speaker regression (of
>> kvm-userspace) should have been avoidable.
>>   
> 
> I'd rather not have partial components in the kernel.  This case is
> particularly icky though.

But you surely don't want to issue the sound from kernel space.
Moreover, these are separate components: the PIT doesn't bother about
the speaker, if it's on or off. We just need to make pcspk KVM-aware. I
think I will post a patch later today.

Jan

-- 
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux




reply via email to

[Prev in Thread] Current Thread [Next in Thread]