[libvirt] [PATCH 0/4] Add HAP to domain features

Jim Fehlig jfehlig at novell.com
Wed Jan 12 22:18:40 UTC 2011


Any comments on this patch set?

In hindsight, I probably should have sent this as a single patch but I
wanted to break out #3 since I wasn't sure about the capabilities
advertisement.  In doing so I went a little overboard ...

Thanks,
Jim

Jim Fehlig wrote:
> Hardware features such as Extended Page Table and Nested Page
> Table augment hypervisor software techniques such as shadow
> page table.  Adding HAP (hardware assisted paging) to the
> virDomainFeature enumeration allows users to select between
> hardware and software memory management mechanisms for their
> guests.  I've seen reports [1] of users asking for this
> capability in the past.
>
> Patch 3 is an attempt to advertise the feature in hvm guest
> capabilities for the Xen hypervisor.  I have not found a way
> to discover the presence of HAP support through the xen tools.
> Instead, the feature is only advertised on Xen >= 3.3, which
> sadly won't accommodate distro backports to older Xen versions.
>
> Thanks for your comments,
> Jim
>
> [1] http://www.mail-archive.com/fedora-xen@redhat.com/msg02680.html
>
>
> Jim Fehlig (4):
>   Add HAP to virDomainFeature enum
>   Add support for HAP feature to xen drivers
>   Add HAP to xen hypervisor capabilities
>   Document HAP domain feature
>
>  docs/formatdomain.html.in  |    5 +++++
>  docs/schemas/domain.rng    |    7 ++++++-
>  src/conf/domain_conf.c     |    3 ++-
>  src/conf/domain_conf.h     |    1 +
>  src/xen/xen_hypervisor.c   |   10 ++++++++++
>  src/xen/xend_internal.c    |    4 ++++
>  src/xen/xm_internal.c      |    8 ++++++++
>  src/xenapi/xenapi_driver.c |    2 ++
>  src/xenapi/xenapi_utils.c  |    2 ++
>  9 files changed, 40 insertions(+), 2 deletions(-)
>
>   




More information about the libvir-list mailing list