Re: qemu polling KVM_IRQ_LINE_STATUS when stopped

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

 



On 20/10/2017 16:09, Andi Kleen wrote:
>> Unfortunately that's not possible in general.  Windows uses the periodic
>> timer to track wall time (!), so if you do that your clock is going to
>> be late when you resume the guest.
> 
> But when the guest cannot execute instructions 
> it cannot see whatever the handler does.
> 
> So the handler could always catch up after stopping for longer,
> without making any difference.

You may be right... you should get the interrupt storm *after
continuing* the guest, but not while it's stopped.

Paolo

>>
>> But yeah, we might have to figure out a way to do that for non-Windows
>> guests.  But why is the RTC periodic timer on at all in your setup?
> 
> Sorry this one was actually a Windows guest.
> 
> I'll check the Linux guests too.
> 
> -Andi
> 




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux