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

Re: [libvirt] [PATCH] qemu: Fix up the default machine type for QMP probing



> The default machine type must be stored in the first element of
> the caps->machineTypes array. This was done for help output
> parsing but not for QMP probing.
> 
> Added a helper function qemuSetDefaultMachine to apply the same
> fix up for both probing methods.
> 
> Further, it was necessary to set caps->nmachineTypes after QMP
> probing.
> 
> Signed-off-by: Viktor Mihajlovski <mihajlov linux vnet ibm com>
> ---
>  src/qemu/qemu_capabilities.c |   38
>  ++++++++++++++++++++++++++------------
>  1 files changed, 26 insertions(+), 12 deletions(-)

ACK and pushed.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


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