qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC][PATCH 13/16] kvm: x86: Add user space part for in


From: Avi Kivity
Subject: Re: [Qemu-devel] [RFC][PATCH 13/16] kvm: x86: Add user space part for in-kernel APIC
Date: Sun, 04 Dec 2011 15:24:56 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111115 Thunderbird/8.0

On 12/03/2011 01:17 PM, Jan Kiszka wrote:
> From: Jan Kiszka <address@hidden>
>
> This introduces the alternative APIC model 'kvm-apic' which makes use of
> KVM's in-kernel device model. MSI is not yet supported, so we disable
> this when the in-kernel model is in use.
>
>  
> -    dev = qdev_create(NULL, "apic");
> +    if (kvm_enabled() && kvm_irqchip_in_kernel()) {
> +        dev = qdev_create(NULL, "kvm-apic");
> +    } else {
> +        dev = qdev_create(NULL, "apic");
> +    }

Is there anything that makes those two devices incompatible?


-- 
error compiling committee.c: too many arguments to function




reply via email to

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