[libvirt] [PATCH v2 7/7] qemu: parse and create -cpu ..., -kvmclock
Jiri Denemark
jdenemar at redhat.com
Fri Jan 27 15:21:38 UTC 2012
On Fri, Jan 27, 2012 at 14:49:52 +0100, Paolo Bonzini wrote:
> Creating part of the -cpu command-line from something other than the
> <cpu> XML element introduces some ugliness.
>
> Reviewed-by: Jiri Denemark <jdenemar at redhat.com>
> Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
ACK again, although now I noticed the following part of the cover letter would
fit nicely into this commit message...
QEMU supports a bunch of CPUID features that are tied to the kvm CPUID
nodes rather than the processor's. They are "kvmclock", "kvm_nopiodelay",
"kvm_mmu", "kvm_asyncpf". These are not known to libvirt and their
CPUID leaf might move if (for example) the Hyper-V extensions are enabled.
Hence their handling would anyway require some special-casing.
However, among these the most useful is kvmclock; an additional
"property" of this feature is that a <timer> element is a better model
than a CPUID feature.
Jirka
More information about the libvir-list
mailing list