Re: [libvirt] [PATCH 09/10] Simplify and fix qemudCanonicalizeMachine()

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

 



On Thu, Sep 10, 2009 at 12:35:17PM +0100, Mark McLoughlin wrote:
> The algorithm is quite simple:
> 
>   If the emulator matches a guest's domain:
>     if domain has machine type info:
>       check the domain's machine type info
>     else
>       check the guest's default machine type info
>   else if the emulator matches the guest's default emulator:
>      check the guest's default machine type info
> 
> The previous implementation was incorrectly falling back to the default
> machine type info if the domain's machine type info didn't have an
> alias.
> 
> * src/qemu_driver.c: simplify and fix qemudCanonicalizeMachine()
> ---
>  src/qemu_driver.c |   33 +++++++++++++++------------------
>  1 files changed, 15 insertions(+), 18 deletions(-)

  That looks simpler, I'm a bit worried about landing this so close to
0.7.1 release though, but I guess we have good reasons,

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]