]> xenbits.xensource.com Git - libvirt.git/commitdiff
* src/qemu_driver.c: patch from Kaitlin Rupert, changing vcpu or
authorDaniel Veillard <veillard@redhat.com>
Thu, 12 Jun 2008 08:55:13 +0000 (08:55 +0000)
committerDaniel Veillard <veillard@redhat.com>
Thu, 12 Jun 2008 08:55:13 +0000 (08:55 +0000)
  memory of an active domain is a NO_SUPPORT not INTERNAL_ERROR
Daniel

ChangeLog
src/qemu_driver.c

index fa964a994823e100476f4ddc62e5a81334a77474..1e099d1cebb4e6af7247f44cb1d1e6ef2f0c3da1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,9 @@
-Wed Jun 11 17:21:13 CEST 2008 Daniel P. Berrange <berrange@redhat.com>
+Thu Jun 12 10:53:08 CEST 2008 Daniel Veillard <veillard@redhat.com>
+
+       * src/qemu_driver.c: patch from Kaitlin Rupert, changing vcpu or
+         memory of an active domain is a NO_SUPPORT not INTERNAL_ERROR
+
+Wed Jun 11 17:21:13 CEST 2008 Daniel Veillard <veillard@redhat.com>
 
        * po/*: update and regenerated
 
index 97c6483903242f350a27173bbeacd23ac4b2e8a8..adb4d5892d549bb63ce0548a869a82766e495e51 100644 (file)
@@ -2148,7 +2148,7 @@ static int qemudDomainSetMemory(virDomainPtr dom, unsigned long newmem) {
     }
 
     if (qemudIsActiveVM(vm)) {
-        qemudReportError(dom->conn, dom, NULL, VIR_ERR_INTERNAL_ERROR,
+        qemudReportError(dom->conn, dom, NULL, VIR_ERR_NO_SUPPORT,
                          "%s", _("cannot set memory of an active domain"));
         return -1;
     }
@@ -2404,7 +2404,7 @@ static int qemudDomainSetVcpus(virDomainPtr dom, unsigned int nvcpus) {
     }
 
     if (qemudIsActiveVM(vm)) {
-        qemudReportError(dom->conn, dom, NULL, VIR_ERR_INTERNAL_ERROR, "%s",
+        qemudReportError(dom->conn, dom, NULL, VIR_ERR_NO_SUPPORT, "%s",
                          _("cannot change vcpu count of an active domain"));
         return -1;
     }