qemu-stable
[Top][All Lists]
Advanced

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

Re: [Qemu-stable] [Qemu-devel] [PATCH for-1.6] isapc: disable kvmvapic


From: Paolo Bonzini
Subject: Re: [Qemu-stable] [Qemu-devel] [PATCH for-1.6] isapc: disable kvmvapic
Date: Mon, 26 Aug 2013 17:01:31 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8

Il 26/08/2013 16:34, Andreas Färber ha scritto:
> Am 26.08.2013 14:21, schrieb Paolo Bonzini:
>> Il 13/08/2013 00:02, Paolo Bonzini ha scritto:
>>> vapic requires the VAPIC ROM to be mapped into RAM.  This is not
>>> possible without PAM hardware.  This fixes a segmentation fault
>>> running with -M isapc.
>>>
>>> Cc: address@hidden
>>> Signed-off-by: Paolo Bonzini <address@hidden>
>>> ---
>>>
>>> diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
>>> index a19e172..3aa244a 100644
>>> --- a/hw/i386/pc_piix.c
>>> +++ b/hw/i386/pc_piix.c
>>> @@ -743,6 +743,11 @@ static QEMUMachine isapc_machine = {
>>>      .init = pc_init_isa,
>>>      .max_cpus = 1,
>>>      .compat_props = (GlobalProperty[]) {
>>> +        {
>>> +            .driver   = "apic-common",
>>> +            .property = "kvmvapic",
>>> +            .value    = "off",
>>> +        },
>>>          { /* end of list */ }
>>>      },
>>>      DEFAULT_MACHINE_OPTIONS,
>>>
>>
>> Ping.
> 
> I had double-checked that my pending qom-test covers isapc and succeeds
> with and without your patch, so apparently this is visible at runtime only.

Yes, it only happens after kvmvapic is actually enabled by the option ROM.

Paolo




reply via email to

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