
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@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/