qemu-devel
[Top][All Lists]
Advanced

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

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


From: Jan Kiszka
Subject: Re: [Qemu-devel] [RFC][PATCH 14/16] kvm: x86: Add user space part for in-kernel i8259
Date: Sun, 04 Dec 2011 14:51:24 +0100
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

On 2011-12-04 14:49, Avi Kivity wrote:
> On 12/04/2011 03:42 PM, Jan Kiszka wrote:
>> On 2011-12-04 14:31, Avi Kivity wrote:
>>> On 12/03/2011 01:17 PM, Jan Kiszka wrote:
>>>> From: Jan Kiszka <address@hidden>
>>>>
>>>> Introduce the alternative 'kvm-i8259' device model that exploits KVM
>>>> in-kernel acceleration.
>>>>
>>>> The PIIX3 initialization code is furthermore extended by KVM specific
>>>> IRQ route setup. Moreover, GSI injection differs in KVM mode from the
>>>> user space model. As we can dispatch ISA-range IRQs to both IOAPIC and
>>>> PIC inside the kernel, we do not need to inject them separately. This is
>>>> reflected by a KVM-specific GSI handler.
>>>>
>>>> +
>>>> +qemu_irq *kvm_i8259_init(void)
>>>> +{
>>>> +    ISADevice *dev;
>>>> +
>>>> +    dev = isa_create("kvm-i8259");
>>>>
>>>
>>> Same issue.  Is this a different device, or an different implementation
>>> of the same device?
>>
>> They are theoretically the same from guest perspective (therefore you
>> can migrate between machines that differ in this).
> 
> But the name becomes part of the save/restore ABI, so you can't.

Nope, the vmstate names are identical. That would ruin migration
otherwise. It's just the output of info qtree & co. that changes.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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