Re: [libvirt] PATCH: More robust name & UUID uniqueness checking for QEMU

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

 



On Thu, Apr 30, 2009 at 03:05:01PM +0100, Daniel P. Berrange wrote:
> When defining a VM config, we need to apply the following logi
> 
>  - If existing VM has same UUID
>       - If name also matches => allow
>       - Else => raise error
> 
>  - Else
>       - If name matches => raise error
>       - Else => allow
> 
> When creating a live VM, or restoring a VM we need to apply similar,
> but slightly different logic
> 
>  - If existing VM has same UUID
>       - If name also matches
>            - If existing VM is running => raise error
>            - Else => allow
>       - Else => raise error
> 
>  - Else
>       - If name matches => raise error
>       - Else => allow
> 
> This patch applies those checks for the QEMU driver

  Yes this makes sense and the patch looks fine,

    ACK,

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]