Virtuozzo QEMU development (svt-core@virtuozzo.com)
 help / color / mirror / Atom feed
From: no-reply@sashiko.virtuozzo.com
To: "Denis V. Lunev" <den@openvz.org>, andrey.drobyshev@virtuozzo.com
Cc: den@openvz.org, svt-core@virtuozzo.com
Subject: Re: [PATCH hci-8.1 1/1] target/i386/kvm: fix latched INIT lost in kvm_put_vcpu_events() #VSTOR-153069
Date: Tue, 3 Nov 2026 18:20:04 +0000	[thread overview]
Message-ID: <010701a1a2a3c617-0b2d5968-8281-4f0d-b4e5-aa144745d516-000000@eu-central-1.amazonses.com> (raw)
In-Reply-To: <20261103181817.834166-1-den@openvz.org>

> From: Denis V. Lunev <den@openvz.org>
> 
> CPU_INTERRUPT_INIT is 0x0400, while kvm_vcpu_events.smi.latched_init
> is a __u8. The assignment truncates the masked value to 0, so every
> KVM_SET_VCPU_EVENTS tells KVM to clear an INIT it has latched for a
> vCPU in SMM. smi.pending survives only because CPU_INTERRUPT_SMI is
> 0x0040; normalize both with !! like the neighbouring fields.
> 
> Fixes: fc12d72e1082 ("target-i386: add support for SMBASE MSR and SMIs")
> Cc: qemu-stable@nongnu.org
> Signed-off-by: Denis V. Lunev <den@openvz.org>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261103181817.834166-1-den@openvz.org?part=1


  reply	other threads:[~2026-11-03 18:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-03 18:18 Denis V. Lunev
2026-11-03 18:20 ` no-reply [this message]
2026-11-03 21:28 ` Denis V. Lunev
2026-11-04 11:58 ` Andrey Drobyshev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=010701a1a2a3c617-0b2d5968-8281-4f0d-b4e5-aa144745d516-000000@eu-central-1.amazonses.com \
    --to=no-reply@sashiko.virtuozzo.com \
    --cc=andrey.drobyshev@virtuozzo.com \
    --cc=den@openvz.org \
    --cc=svt-core@virtuozzo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox