mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-26 18:41:17 +00:00
* src/qemu_driver.c: apply patch from Charles Duffy fixing erro
messages when trying to crate a domain already defined. Daniel
This commit is contained in:
parent
42e559a324
commit
7711e6858c
@ -1,3 +1,8 @@
|
||||
Fri Aug 1 08:22:08 CEST 2008 Daniel Veillard <veillard@redhat.com>
|
||||
|
||||
* src/qemu_driver.c: apply patch from Charles Duffy fixing erro
|
||||
messages when trying to crate a domain already defined.
|
||||
|
||||
Thu Jul 31 15:37:00 BST 2008 Daniel P. Berrange <berrange@redhat.com>
|
||||
|
||||
* src/domain_conf.c: fix previous patch to ensure port number
|
||||
|
@ -2015,7 +2015,7 @@ static virDomainPtr qemudDomainCreate(virConnectPtr conn, const char *xml,
|
||||
vm = virDomainFindByName(driver->domains, def->name);
|
||||
if (vm) {
|
||||
qemudReportError(conn, NULL, NULL, VIR_ERR_OPERATION_FAILED,
|
||||
_("domain '%s' is already defined and running"),
|
||||
_("domain '%s' is already defined"),
|
||||
def->name);
|
||||
virDomainDefFree(def);
|
||||
return NULL;
|
||||
@ -2026,7 +2026,7 @@ static virDomainPtr qemudDomainCreate(virConnectPtr conn, const char *xml,
|
||||
|
||||
virUUIDFormat(def->uuid, uuidstr);
|
||||
qemudReportError(conn, NULL, NULL, VIR_ERR_OPERATION_FAILED,
|
||||
_("domain with uuid '%s' is already defined and running"),
|
||||
_("domain with uuid '%s' is already defined"),
|
||||
uuidstr);
|
||||
virDomainDefFree(def);
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user