Re: [patch 0/2] fix lapic_timer_advance_ns guest triggerable unlimited delays

Paolo Bonzini
2016-06-21T08:22:22Z

On 21/06/2016 03:28, Marcelo Tosatti wrote:
> The host timer which emulates the guest LAPIC TSC deadline
> timer has its expiration diminished by lapic_timer_advance_ns
> nanoseconds. Therefore if, at wait_lapic_expire, a difference
> larger than lapic_timer_advance_ns is encountered, delay at most
> lapic_timer_advance_ns.
>
> This fixes a problem where the guest can cause the host
> to delay for large amounts of time.
>
> Thanks to Alan Jenkins for reporting.

Applying to kvm/master, thanks.

Paolo