qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PULL 13/21] apic_common: vapic_paddr synchronization f


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PULL 13/21] apic_common: vapic_paddr synchronization fix
Date: Fri, 19 Sep 2014 14:04:14 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0

Il 19/09/2014 12:43, Pavel Dovgaluk ha scritto:
> I've tested this patch with replay. I enabled VM reset (which was previously 
> disabled for replay)
> while loading the VM state and discovered the following problem.
> vapic_enable function in kvmapic.c retrieves cpu number with the 
> get_kpcr_number() function.
> When cpu number is -1 vapic_enable exits and does not call apic_enable_vapic, 
> which should 
> setup vapic_paddr field.
> Without this call vapic_paddr remains initialized with default value and 
> behavior of the virtual
> machine becomes different.

IIUC the fix would be to move part of vapic_enable out to its separate
function, and call it from do_vapic_enable?  Could you prepare a patch?

Paolo



reply via email to

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