[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH v5 1/2] conf: add vapic and spinlocks to hyperv features



On Fri, Jun 21, 2013 at 12:41:53 +0200, Jano Tomko wrote:
> Add new CPU features for HyperV:
> vapic for virtual APIC support
> spinlocks for setting spinlock support
> 
> <features>
>   <hyperv>
>     <vapic state='on'/>
>     <spinlocks state='on' retries='4096'/>
>   </hyperv>
> </features>
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=784836
> ---
>  docs/formatdomain.html.in     | 17 +++++++++++-
>  docs/schemas/domaincommon.rng | 13 +++++++++
>  src/conf/domain_conf.c        | 64 +++++++++++++++++++++++++++++++++++++++++--
>  src/conf/domain_conf.h        |  3 ++
>  src/qemu/qemu_command.c       | 10 +++++++
>  5 files changed, 104 insertions(+), 3 deletions(-)
> 
...
> diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
> index 486682e..52a698e 100644
> --- a/src/qemu/qemu_command.c
> +++ b/src/qemu/qemu_command.c
> @@ -5791,6 +5791,11 @@ qemuBuildCpuArgStr(const virQEMUDriverPtr driver,
>                                        virDomainHypervTypeToString(i));
>                  break;
>  
> +            case VIR_DOMAIN_HYPERV_VAPIC:
> +            case VIR_DOMAIN_HYPERV_SPINLOCKS:
> +                /* implemented in the next commit */
> +                break;
> +

Now I see why you did that in one patch originally :-)

ACK

Jirka


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]