From: Paolo Bonzini <pbonzini@redhat.com>
To: Gerd Hoffmann <kraxel@redhat.com>, kvm-devel <kvm@vger.kernel.org>
Cc: kevin <kevin@koconnor.net>, Laszlo Ersek <lersek@redhat.com>
Subject: Re: kvm smm mode support?
Date: Sat, 26 Apr 2014 13:02:42 +0200 [thread overview]
Message-ID: <535B9252.7010406@redhat.com> (raw)
In-Reply-To: <535B7F00.5080803@redhat.com>
Il 26/04/2014 11:40, Paolo Bonzini ha scritto:
> Il 25/04/2014 09:39, Gerd Hoffmann ha scritto:
>> Anyone has plans to add smm support to kvm?
>
> No plans, but it should be a Simple Matter Of Programming...
Well, we need:
- an extra ioctl to inject an SMI (can be modeled after KVM_NMI)
- an extra user exit triggered when SMM is entered or left
- an extra ioctl (or a GET/SET_ONE_REG implementation) to read/write
whether we are in SMM, used to determine whether the #UD produced by RSM
should be forwarded to the guest or trigger emulation.
Paolo
> A good start would be to write unit tests for SMM that work with QEMU.
> Too bad we're late, it could have been a nice summer of code project.
next prev parent reply other threads:[~2014-04-26 11:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-25 7:39 kvm smm mode support? Gerd Hoffmann
2014-04-26 9:40 ` Paolo Bonzini
2014-04-26 11:02 ` Paolo Bonzini [this message]
2014-04-28 13:49 ` Gerd Hoffmann
2014-04-28 14:01 ` Kevin O'Connor
2014-04-28 14:22 ` Paolo Bonzini
2014-04-28 13:40 ` Laszlo Ersek
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=535B9252.7010406@redhat.com \
--to=pbonzini@redhat.com \
--cc=kevin@koconnor.net \
--cc=kraxel@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=lersek@redhat.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