Messages in this thread | | | From | Roman Kagan <> | Subject | Re: [PATCH v2 2/2] x86/kvm/hyper-v: disallow setting illegal vectors for direct mode stimers | Date | Thu, 13 Dec 2018 12:18:06 +0000 |
| |
On Wed, Dec 12, 2018 at 05:50:17PM +0100, Vitaly Kuznetsov wrote: > APIC vectors used for direct mode stimers should be valid for lAPIC and > just like genuine Hyper-V we should #GP when an illegal one is specified. > > Add the appropriate check to stimer_set_config() > > Suggested-by: Roman Kagan <rkagan@virtuozzo.com> > Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> > --- > arch/x86/kvm/hyperv.c | 5 +++++ > 1 file changed, 5 insertions(+)
Reviewed-by: Roman Kagan <rkagan@virtuozzo.com>
| |