On 10/14/13 14:57, Peter Krempa wrote:
The paravirtual spinlock feature was introduced recently
into the qemu and linux code base. To test it you need
the most recent -rc version of the linux kernel and the
git version of qemu.
As the requirements to activate this feature in the guest
are really volatile (kernel support, qemu support .. .)
I decided to improve the original version so that it detects
if the feature was actually enabled in the guest. This
avoids possible problems with breaking guest ABI when migrating
between two hosts with different kernels. Additionally we may
start enforcin other features too.
This patchset is partialy based on Jiri's work on getting
actual cpu definition from a running qemu.
Jiri Denemark (8):
cpu: Add support for loading and storing CPU data
cpu: x86: Rename struct cpuX86cpuid as virCPUx86CPUID
cpu: x86: Rename struct cpuX86Data as virCPUx86Data
cpu: x86: Rename x86DataFree() as virCPUx86DataFree()
cpu: x86: Rename x86MakeCPUData as virCPUx86MakeData
cpu: x86: Rename x86DataAddCpuid as virCPUx86DataAddCPUID
cpu: Export few x86-specific APIs
qemu: Add monitor APIs to fetch CPUID data from QEMU
Peter Krempa (15):
schema: Rename option to make it reusable
conf: Clean up few error messages
qemu: command: Fix macro indentation
cpu: x86: Rename data_iterator and DATA_ITERATOR_INIT
cpu: x86: Fix return types of x86cpuidMatch and x86cpuidMatchMasked
cpu: x86: Fix function header formatting and whitespace
cpu: x86: Use whitespace to clarify context and use consistent labels
cpu: x86: Clean up error messages in x86VendorLoad()
qemu: Clean up check of maximum cpu count supported by a machine type
cpu_x86: Refactor storage of CPUID data to add support for KVM
features
cpu: x86: Parse the CPU feature map only once
cpu: x86: Add internal CPUID features support and KVM feature bits
conf: Refactor storing and usage of feature flags
qemu: Add support for paravirtual spinlocks in the guest
qemu: process: Validate specific CPUID flags of a guest
Eric's const correctnes series had multiple conflicts with this series.
I will repost it later today to avoid issues with applying these patches.
Peter