qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH 8/8] kvm: Rework VCPU reset


From: Jan Kiszka
Subject: [Qemu-devel] Re: [PATCH 8/8] kvm: Rework VCPU reset
Date: Mon, 04 May 2009 10:54:06 +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:
>> Use standard callback with highest order to synchronize VCPU on reset
>> after all device callbacks were execute. This allows to remove the
>> special kvm hook in qemu_system_reset.
>>   
> 
> Is this needed for the lapic reset callback?
> 
> If so, we can express the dependency explicitly rather than with a
> priority, by having cpu reset notifiers invoked when the cpu is reset. 
> In the case of the lapic, I don't think we need an abstract mechanism;
> the lapic is part of the cpu, not some random device.
> 
> Maybe we should even save/load it as part of the cpu.
> 

QEMU is not only providing the LAPIC, but also covering the old
dedicated version. That makes at least HW instantiating a bit more complex.

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]