[libvirt] [PATCH] cpu: Add support for CPU vendor
Daniel P. Berrange
berrange at redhat.com
Wed Jul 7 11:33:29 UTC 2010
On Fri, Jul 02, 2010 at 11:16:22PM +0200, Jiri Denemark wrote:
> 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
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
More information about the libvir-list
mailing list