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>
|
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
|
* 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);
|
vm = virDomainFindByName(driver->domains, def->name);
|
||||||
if (vm) {
|
if (vm) {
|
||||||
qemudReportError(conn, NULL, NULL, VIR_ERR_OPERATION_FAILED,
|
qemudReportError(conn, NULL, NULL, VIR_ERR_OPERATION_FAILED,
|
||||||
_("domain '%s' is already defined and running"),
|
_("domain '%s' is already defined"),
|
||||||
def->name);
|
def->name);
|
||||||
virDomainDefFree(def);
|
virDomainDefFree(def);
|
||||||
return NULL;
|
return NULL;
|
||||||
@ -2026,7 +2026,7 @@ static virDomainPtr qemudDomainCreate(virConnectPtr conn, const char *xml,
|
|||||||
|
|
||||||
virUUIDFormat(def->uuid, uuidstr);
|
virUUIDFormat(def->uuid, uuidstr);
|
||||||
qemudReportError(conn, NULL, NULL, VIR_ERR_OPERATION_FAILED,
|
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);
|
uuidstr);
|
||||||
virDomainDefFree(def);
|
virDomainDefFree(def);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user