[libvirt] [PATCH] cpu: Add support for CPU vendor
Jiri Denemark
jdenemar at redhat.com
Wed Jul 7 15:54:59 UTC 2010
> > By specifying <vendor> element in CPU requirements a guest can be
> > restricted to run only on CPUs by a given vendor. Host CPU vendor is
> > also specified in capabilities XML.
> >
> > The vendor is checked when migrating a guest but it's not forced, i.e.,
> > a guest configured without <vendor> element can be freely migrated.
> > ---
> >
> > Sorry for such a big patch but the bulk of it is in cpu/ which is not so easy
> > to be splitted reasonably.
> >
> >
> > docs/formatcaps.html.in | 1 +
> > docs/formatdomain.html.in | 8 +
> > docs/schemas/capability.rng | 5 +
> > docs/schemas/domain.rng | 7 +
> > src/conf/cpu_conf.c | 14 ++
> > src/conf/cpu_conf.h | 1 +
> > src/cpu/cpu.c | 9 +-
> > src/cpu/cpu.h | 6 +-
> > src/cpu/cpu_map.c | 36 ++++--
> > src/cpu/cpu_map.h | 20 ++-
> > src/cpu/cpu_map.xml | 6 +
> > src/cpu/cpu_x86.c | 307 +++++++++++++++++++++++++++++++++++++++++--
> > tests/testutilsqemu.c | 1 +
> > 13 files changed, 389 insertions(+), 32 deletions(-)
>
> ACK
Thanks, I updated the documentation to state <vendor> is supported since 0.8.3
instead of 0.8.2 and pushed.
Jirka
More information about the libvir-list
mailing list