[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v4 0/3] x86: QEMU side support on MSR based features
From: |
Robert Hoo |
Subject: |
[Qemu-devel] [PATCH v4 0/3] x86: QEMU side support on MSR based features |
Date: |
Sun, 2 Sep 2018 19:46:04 +0800 |
KVM side has added the framework (kvm.git:d1d93fa90) to support MSR based
features.
Here is the QEMU part, including data structure changes/expanding, referring
functions changes, and the implementations on
KVM_GET_MSR_FEATURE_INDEX_LIST and KVM_GET_MSRS system ioctl.
Changelog:
v4:
Re-organize patch set to conform to request of individually build pass.
Add KVM capability check for KVM_GET_MSR_INDEX_LIST before fetch.
Special treatment for MSR_IA32_ARCH_CAPABILITIES.RSBA.
Use more convenient glib wrapper (g_strdup_printf) instead of native
(sprintf).
v3: patch 2&3 in v2 are corrupted. Re-format patches.
v2: coding style changes to pass ./scripts/checkpatch.pl.
Robert Hoo (3):
x86: Data structure changes to support MSR based features
kvm: Add support to KVM_GET_MSR_FEATURE_INDEX_LIST and
KVM_GET_MSRS system ioctl
x86: define a new MSR based feature word --
FEATURE_WORDS_ARCH_CAPABILITIES
include/sysemu/kvm.h | 2 +
target/i386/cpu.c | 200 +++++++++++++++++++++++++++++++++++++--------------
target/i386/cpu.h | 12 ++++
target/i386/kvm.c | 72 +++++++++++++++++++
4 files changed, 233 insertions(+), 53 deletions(-)
--
1.8.3.1
- [Qemu-devel] [PATCH v4 0/3] x86: QEMU side support on MSR based features,
Robert Hoo <=
[Qemu-devel] [PATCH v4 3/3] x86: define a new MSR based feature word -- FEATURE_WORDS_ARCH_CAPABILITIES, Robert Hoo, 2018/09/02