]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
Add VIR_DIV_UP to divide memory or storage request sizes with round up
authorMatthias Bolte <matthias.bolte@googlemail.com>
Fri, 28 Jan 2011 21:03:24 +0000 (22:03 +0100)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Fri, 28 Jan 2011 23:42:10 +0000 (00:42 +0100)
Use it in all places where a memory or storage request size is converted
to a larger granularity. This avoids requesting too small memory or storage
sizes that could result from the truncation done by a simple division.

This extends the round up fix in 6002e0406c338668ea0ecbfeb6c1ef20a8b67efe
to the whole codebase.

Instead of reporting errors for odd values in the VMX code round them up.

Update the QEMU Argv tests accordingly as the original memory size 219200
isn't a even multiple of 1024 and is rounded up to 215 megabyte now. Change
it to 219100 and 219136. Use two different values intentionally to make
sure that rounding up works.

Update virsh.pod accordingly, as rounding down and rejecting are replaced
by rounding up.

141 files changed:
src/esx/esx_driver.c
src/esx/esx_storage_driver.c
src/internal.h
src/opennebula/one_conf.c
src/qemu/qemu_command.c
src/qemu/qemu_monitor_text.c
src/storage/storage_backend.c
src/storage/storage_backend_logical.c
src/vbox/vbox_tmpl.c
src/vmx/vmx.c
src/xen/xend_internal.c
src/xen/xm_internal.c
tests/qemuxml2argvdata/qemuxml2argv-balloon-device-auto.xml
tests/qemuxml2argvdata/qemuxml2argv-balloon-device.xml
tests/qemuxml2argvdata/qemuxml2argv-boot-cdrom.xml
tests/qemuxml2argvdata/qemuxml2argv-boot-floppy.xml
tests/qemuxml2argvdata/qemuxml2argv-boot-menu-disable.xml
tests/qemuxml2argvdata/qemuxml2argv-boot-multi.xml
tests/qemuxml2argvdata/qemuxml2argv-boot-network.xml
tests/qemuxml2argvdata/qemuxml2argv-boot-order.xml
tests/qemuxml2argvdata/qemuxml2argv-bootloader.xml
tests/qemuxml2argvdata/qemuxml2argv-channel-guestfwd.xml
tests/qemuxml2argvdata/qemuxml2argv-channel-virtio-auto.xml
tests/qemuxml2argvdata/qemuxml2argv-channel-virtio.xml
tests/qemuxml2argvdata/qemuxml2argv-clock-france.xml
tests/qemuxml2argvdata/qemuxml2argv-clock-localtime.xml
tests/qemuxml2argvdata/qemuxml2argv-clock-utc.xml
tests/qemuxml2argvdata/qemuxml2argv-clock-variable.xml
tests/qemuxml2argvdata/qemuxml2argv-console-compat-auto.xml
tests/qemuxml2argvdata/qemuxml2argv-console-compat-chardev.xml
tests/qemuxml2argvdata/qemuxml2argv-console-compat.xml
tests/qemuxml2argvdata/qemuxml2argv-console-virtio.xml
tests/qemuxml2argvdata/qemuxml2argv-cpu-exact1.xml
tests/qemuxml2argvdata/qemuxml2argv-cpu-exact2.xml
tests/qemuxml2argvdata/qemuxml2argv-cpu-minimum1.xml
tests/qemuxml2argvdata/qemuxml2argv-cpu-minimum2.xml
tests/qemuxml2argvdata/qemuxml2argv-cpu-strict1.xml
tests/qemuxml2argvdata/qemuxml2argv-cpu-topology1.xml
tests/qemuxml2argvdata/qemuxml2argv-cpu-topology2.xml
tests/qemuxml2argvdata/qemuxml2argv-cpu-topology3.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-aio.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-empty.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-boot-cdrom.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-boot-disk.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-cache-v1-none.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-cache-v1-wb.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-cache-v1-wt.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-cache-v2-none.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-cache-v2-wb.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-cache-v2-wt.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-error-policy-enospace.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-error-policy-stop.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-fat.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-fmt-qcow.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-network-nbd.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-network-rbd.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-network-sheepdog.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-readonly-disk.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-readonly-no-device.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-shared.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-floppy.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-many.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-scsi-device-auto.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-scsi-device.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-usb-device.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-usb.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-virtio.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-xenvbd.xml
tests/qemuxml2argvdata/qemuxml2argv-floppy-drive-fat.xml
tests/qemuxml2argvdata/qemuxml2argv-fs9p.xml
tests/qemuxml2argvdata/qemuxml2argv-graphics-sdl-fullscreen.xml
tests/qemuxml2argvdata/qemuxml2argv-graphics-sdl.xml
tests/qemuxml2argvdata/qemuxml2argv-graphics-spice.xml
tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-sasl.xml
tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-socket.xml
tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-tls.xml
tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc.xml
tests/qemuxml2argvdata/qemuxml2argv-hostdev-pci-address-device.xml
tests/qemuxml2argvdata/qemuxml2argv-hostdev-pci-address.xml
tests/qemuxml2argvdata/qemuxml2argv-hostdev-usb-address-device.xml
tests/qemuxml2argvdata/qemuxml2argv-hostdev-usb-address.xml
tests/qemuxml2argvdata/qemuxml2argv-hugepages.xml
tests/qemuxml2argvdata/qemuxml2argv-input-usbmouse.xml
tests/qemuxml2argvdata/qemuxml2argv-input-usbtablet.xml
tests/qemuxml2argvdata/qemuxml2argv-input-xen.xml
tests/qemuxml2argvdata/qemuxml2argv-machine-aliases1.xml
tests/qemuxml2argvdata/qemuxml2argv-machine-aliases2.xml
tests/qemuxml2argvdata/qemuxml2argv-memtune.xml
tests/qemuxml2argvdata/qemuxml2argv-migrate.xml
tests/qemuxml2argvdata/qemuxml2argv-minimal.xml
tests/qemuxml2argvdata/qemuxml2argv-misc-acpi.xml
tests/qemuxml2argvdata/qemuxml2argv-misc-no-reboot.xml
tests/qemuxml2argvdata/qemuxml2argv-misc-uuid.xml
tests/qemuxml2argvdata/qemuxml2argv-net-eth-ifname.xml
tests/qemuxml2argvdata/qemuxml2argv-net-eth-names.xml
tests/qemuxml2argvdata/qemuxml2argv-net-eth.xml
tests/qemuxml2argvdata/qemuxml2argv-net-user.xml
tests/qemuxml2argvdata/qemuxml2argv-net-virtio-device.xml
tests/qemuxml2argvdata/qemuxml2argv-net-virtio-netdev.xml
tests/qemuxml2argvdata/qemuxml2argv-net-virtio.xml
tests/qemuxml2argvdata/qemuxml2argv-nographics-vga.xml
tests/qemuxml2argvdata/qemuxml2argv-nographics.xml
tests/qemuxml2argvdata/qemuxml2argv-parallel-tcp-chardev.xml
tests/qemuxml2argvdata/qemuxml2argv-parallel-tcp.xml
tests/qemuxml2argvdata/qemuxml2argv-qemu-ns-no-env.xml
tests/qemuxml2argvdata/qemuxml2argv-qemu-ns.xml
tests/qemuxml2argvdata/qemuxml2argv-restore-v1.xml
tests/qemuxml2argvdata/qemuxml2argv-restore-v2-fd.xml
tests/qemuxml2argvdata/qemuxml2argv-restore-v2.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-dev-chardev.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-dev.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-file-chardev.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-file.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-many-chardev.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-many.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-pty-chardev.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-pty.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-tcp-chardev.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-tcp-telnet-chardev.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-tcp-telnet.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-tcp.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-udp-chardev.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-udp.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-unix-chardev.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-unix.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-vc-chardev.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-vc.xml
tests/qemuxml2argvdata/qemuxml2argv-smbios.xml
tests/qemuxml2argvdata/qemuxml2argv-smp.xml
tests/qemuxml2argvdata/qemuxml2argv-sound-device.xml
tests/qemuxml2argvdata/qemuxml2argv-sound.xml
tests/qemuxml2argvdata/qemuxml2argv-watchdog-device.xml
tests/qemuxml2argvdata/qemuxml2argv-watchdog-dump.xml
tests/qemuxml2argvdata/qemuxml2argv-watchdog.xml
tests/qemuxml2xmloutdata/qemuxml2xmlout-balloon-device-auto.xml
tests/qemuxml2xmloutdata/qemuxml2xmlout-channel-virtio-auto.xml
tests/qemuxml2xmloutdata/qemuxml2xmlout-console-compat-auto.xml
tests/qemuxml2xmloutdata/qemuxml2xmlout-console-virtio.xml
tests/qemuxml2xmloutdata/qemuxml2xmlout-disk-scsi-device-auto.xml
tools/virsh.pod

index 27994873fdbf8475e8a99d66cd7756e154f56318..61c23719d3ffdae463acc06bb4c871571efb93c0 100644 (file)
@@ -2060,7 +2060,7 @@ esxDomainSetMaxMemory(virDomainPtr domain, unsigned long memory)
     }
 
     spec->memoryMB->value =
-      memory / 1024; /* Scale from kilobytes to megabytes */
+      VIR_DIV_UP(memory, 1024); /* Scale from kilobytes to megabytes */
 
     if (esxVI_ReconfigVM_Task(priv->primary, virtualMachine->obj, spec,
                               &task) < 0 ||
@@ -2117,7 +2117,7 @@ esxDomainSetMemory(virDomainPtr domain, unsigned long memory)
     }
 
     spec->memoryAllocation->limit->value =
-      memory / 1024; /* Scale from kilobytes to megabytes */
+      VIR_DIV_UP(memory, 1024); /* Scale from kilobytes to megabytes */
 
     if (esxVI_ReconfigVM_Task(priv->primary, virtualMachine->obj, spec,
                               &task) < 0 ||
@@ -4448,7 +4448,7 @@ esxDomainSetMemoryParameters(virDomainPtr domain, virMemoryParameterPtr params,
             }
 
             spec->memoryAllocation->reservation->value =
-              params[i].value.ul / 1024; /* Scale from kilobytes to megabytes */
+              VIR_DIV_UP(params[i].value.ul, 1024); /* Scale from kilobytes to megabytes */
         } else {
             ESX_ERROR(VIR_ERR_INVALID_ARG, _("Unknown field '%s'"),
                       params[i].field);
index 12c8f5eab9e614683a4efa78c0c0817e46593c6e..136a90b2e4d475603ab81a38fa96703e300fc5e8 100644 (file)
@@ -1106,7 +1106,8 @@ esxStorageVolumeCreateXML(virStoragePoolPtr pool, const char *xmldesc,
          */
         virtualDiskSpec->adapterType = (char *)"busLogic";
 
-        virtualDiskSpec->capacityKb->value = def->capacity / 1024; /* Scale from byte to kilobyte */
+        virtualDiskSpec->capacityKb->value =
+          VIR_DIV_UP(def->capacity, 1024); /* Scale from byte to kilobyte */
 
         if (esxVI_CreateVirtualDisk_Task
               (priv->primary, datastorePath, priv->primary->datacenter->_reference,
index 038b862cc1de9a46f60218c1028697b18b4cd501..11ba45f899c9113d47a601280625725fe8f0a9a3 100644 (file)
         }                                                               \
     } while (0)
 
+/* divide value by size, rounding up */
+# define VIR_DIV_UP(value, size) (((value) + (size) - 1) / (size))
+
 #endif                          /* __VIR_INTERNAL_H__ */
index 0b0a08af116e367b0895ab7181f18b13581e3b7e..60afca529c8d1c13cda89d9cd6aa0d80feb777be 100644 (file)
@@ -175,7 +175,7 @@ char* xmlOneTemplate(virDomainDefPtr def)
                       "by libvirt\nNAME = %s\nCPU = %d\nMEMORY = %ld\n",
                       def->name,
                       def->maxvcpus,
-                      (def->mem.max_balloon)/1024);
+                      VIR_DIV_UP(def->mem.max_balloon, 1024));
 
     /*Optional Booting OpenNebula Information:*/
     if (def->os.kernel) {
index c0ec00b782ee8e0a91dd0477f7afefe6785241c7..a0f86a3c9a41f27df06d456400bc6643ec2c59b1 100644 (file)
@@ -2667,7 +2667,7 @@ qemuBuildCommandLine(virConnectPtr conn,
      * is not supported, then they're out of luck anyway
      */
     virCommandAddArg(cmd, "-m");
-    virCommandAddArgFormat(cmd, "%lu", def->mem.max_balloon / 1024);
+    virCommandAddArgFormat(cmd, "%lu", VIR_DIV_UP(def->mem.max_balloon, 1024));
     if (def->mem.hugepage_backed) {
         if (!driver->hugetlbfs_mount) {
             qemuReportError(VIR_ERR_INTERNAL_ERROR,
index 4cf87fefa9f92996a46f25fa3b479061473a5cb0..6d0ba4c2fd29cb9ddd1f76ad082223ffb109ede6 100644 (file)
@@ -852,7 +852,7 @@ int qemuMonitorTextSetBalloon(qemuMonitorPtr mon,
      * 'newmem' is in KB, QEMU monitor works in MB, and we all wish
      * we just worked in bytes with unsigned long long everywhere.
      */
-    if (virAsprintf(&cmd, "balloon %lu", (newmem / 1024)) < 0) {
+    if (virAsprintf(&cmd, "balloon %lu", VIR_DIV_UP(newmem, 1024)) < 0) {
         virReportOOMError();
         return -1;
     }
index bfe1172c0087ba64c90f18e699bb3360f4ebd27d..2eede74d191be6fd039877507e9b843aee8208ed 100644 (file)
@@ -725,7 +725,7 @@ virStorageBackendCreateQemuImg(virConnectPtr conn,
     }
 
     /* Size in KB */
-    if (virAsprintf(&size, "%lluK", vol->capacity / 1024) < 0) {
+    if (virAsprintf(&size, "%lluK", VIR_DIV_UP(vol->capacity, 1024)) < 0) {
         virReportOOMError();
         goto cleanup;
     }
@@ -870,7 +870,8 @@ virStorageBackendCreateQcowCreate(virConnectPtr conn ATTRIBUTE_UNUSED,
     }
 
     /* Size in MB - yes different units to qemu-img :-( */
-    if (virAsprintf(&size, "%llu", vol->capacity / 1024 / 1024) < 0) {
+    if (virAsprintf(&size, "%llu",
+                    VIR_DIV_UP(vol->capacity, (1024 * 1024))) < 0) {
         virReportOOMError();
         return -1;
     }
index 389ecd7e5dd10cf31301342ee231eb44b4184547..ead35cb1c8f8fa60bb4c8bff53caf6dd25b956d2 100644 (file)
@@ -604,10 +604,7 @@ virStorageBackendLogicalCreateVol(virConnectPtr conn,
         cmdargv = cmdargvsnap;
     }
 
-    unsigned long long int capacity;
-    capacity = (vol->capacity + 1023) /1024;
-
-    snprintf(size, sizeof(size)-1, "%lluK", capacity);
+    snprintf(size, sizeof(size)-1, "%lluK", VIR_DIV_UP(vol->capacity, 1024));
     size[sizeof(size)-1] = '\0';
 
     vol->type = VIR_STORAGE_VOL_BLOCK;
index 77b43f863cdb8a160c2768634758a69aefbd9db9..b5cde1f86368c7a592420b87fd3058f96276ee2c 100644 (file)
@@ -1784,7 +1784,8 @@ static int vboxDomainSetMemory(virDomainPtr dom, unsigned long memory) {
             rc = data->vboxSession->vtbl->GetMachine(data->vboxSession, &machine);
             if (NS_SUCCEEDED(rc) && machine) {
 
-                rc = machine->vtbl->SetMemorySize(machine, memory / 1024);
+                rc = machine->vtbl->SetMemorySize(machine,
+                                                  VIR_DIV_UP(memory, 1024));
                 if (NS_SUCCEEDED(rc)) {
                     machine->vtbl->SaveSettings(machine);
                     ret = 0;
@@ -4398,7 +4399,8 @@ vboxAttachVideo(virDomainDefPtr def, IMachine *machine)
 {
     if ((def->nvideos == 1) &&
         (def->videos[0]->type == VIR_DOMAIN_VIDEO_TYPE_VBOX)) {
-        machine->vtbl->SetVRAMSize(machine, def->videos[0]->vram / 1024);
+        machine->vtbl->SetVRAMSize(machine,
+                                   VIR_DIV_UP(def->videos[0]->vram, 1024));
         machine->vtbl->SetMonitorCount(machine, def->videos[0]->heads);
         if (def->videos[0]->accel) {
             machine->vtbl->SetAccelerate3DEnabled(machine,
@@ -4771,7 +4773,8 @@ static virDomainPtr vboxDomainDefineXML(virConnectPtr conn, const char *xml) {
         goto cleanup;
     }
 
-    rc = machine->vtbl->SetMemorySize(machine, def->mem.cur_balloon / 1024);
+    rc = machine->vtbl->SetMemorySize(machine,
+                                      VIR_DIV_UP(def->mem.cur_balloon, 1024));
     if (NS_FAILED(rc)) {
         vboxError(VIR_ERR_INTERNAL_ERROR,
                   _("could not set the memory size of the domain to: %lu Kb, "
@@ -8072,7 +8075,7 @@ static virStorageVolPtr vboxStorageVolCreateXML(virStoragePoolPtr pool,
         rc = data->vboxObj->vtbl->CreateHardDisk(data->vboxObj, hddFormatUtf16, hddNameUtf16, &hardDisk);
         if (NS_SUCCEEDED(rc)) {
             IProgress *progress    = NULL;
-            PRUint64   logicalSize = def->capacity / 1024 / 1024;
+            PRUint64   logicalSize = VIR_DIV_UP(def->capacity, 1024 * 1024);
             PRUint32   variant     = HardDiskVariant_Standard;
 
             if (def->capacity == def->allocation)
index 44c014f705c278a540bc8935e5c2335fa78ff014..2f574fc4d4876afb8f4ee7bd542f814174704157 100644 (file)
@@ -2818,7 +2818,7 @@ virVMXParseSVGA(virConfPtr conf, virDomainVideoDefPtr *def)
         goto cleanup;
     }
 
-    (*def)->vram = svga_vramSize / 1024; /* Scale from bytes to kilobytes */
+    (*def)->vram = VIR_DIV_UP(svga_vramSize, 1024); /* Scale from bytes to kilobytes */
 
     result = 0;
 
@@ -2849,6 +2849,7 @@ virVMXFormatConfig(virVMXContext *ctx, virCapsPtr caps, virDomainDefPtr def,
     char *preliminaryDisplayName = NULL;
     char *displayName = NULL;
     char *annotation = NULL;
+    unsigned long max_balloon;
     bool scsi_present[4] = { false, false, false, false };
     int scsi_virtualDev[4] = { -1, -1, -1, -1 };
     bool floppy_present[2] = { false, false };
@@ -2940,46 +2941,24 @@ virVMXFormatConfig(virVMXContext *ctx, virCapsPtr caps, virDomainDefPtr def,
     }
 
     /* def:mem.max_balloon -> vmx:memsize */
-    if (def->mem.max_balloon <= 0 || def->mem.max_balloon % 4096 != 0) {
-        VMX_ERROR(VIR_ERR_INTERNAL_ERROR,
-                  _("Expecting domain XML entry 'memory' to be an unsigned "
-                    "integer (multiple of 4096) but found %lld"),
-                  (unsigned long long)def->mem.max_balloon);
-        goto cleanup;
-    }
+    /* max-memory must be a multiple of 4096 kilobyte */
+    max_balloon = VIR_DIV_UP(def->mem.max_balloon, 4096) * 4096;
 
-    /* Scale from kilobytes to megabytes */
-    virBufferVSprintf(&buffer, "memsize = \"%d\"\n",
-                      (int)(def->mem.max_balloon / 1024));
+    virBufferVSprintf(&buffer, "memsize = \"%lu\"\n",
+                      max_balloon / 1024); /* Scale from kilobytes to megabytes */
 
     /* def:mem.cur_balloon -> vmx:sched.mem.max */
-    if (def->mem.cur_balloon < def->mem.max_balloon) {
-        if (def->mem.cur_balloon <= 0 || def->mem.cur_balloon % 1024 != 0) {
-            VMX_ERROR(VIR_ERR_INTERNAL_ERROR,
-                      _("Expecting domain XML entry 'currentMemory' to be an "
-                        "unsigned integer (multiple of 1024) but found %llu"),
-                      (unsigned long long)def->mem.cur_balloon);
-            goto cleanup;
-        }
-
-        /* Scale from kilobytes to megabytes */
-        virBufferVSprintf(&buffer, "sched.mem.max = \"%d\"\n",
-                          (int)(def->mem.cur_balloon / 1024));
+    if (def->mem.cur_balloon < max_balloon) {
+        virBufferVSprintf(&buffer, "sched.mem.max = \"%lu\"\n",
+                          VIR_DIV_UP(def->mem.cur_balloon,
+                                     1024)); /* Scale from kilobytes to megabytes */
     }
 
     /* def:mem.min_guarantee -> vmx:sched.mem.minsize */
     if (def->mem.min_guarantee > 0) {
-        if (def->mem.min_guarantee % 1024 != 0) {
-            VMX_ERROR(VIR_ERR_INTERNAL_ERROR,
-                      _("Expecting domain XML entry 'memtune/min_guarantee' to "
-                        "be an unsigned integer (multiple of 1024) but found %llu"),
-                      (unsigned long long)def->mem.min_guarantee);
-            goto cleanup;
-        }
-
-        /* Scale from kilobytes to megabytes */
-        virBufferVSprintf(&buffer, "sched.mem.minsize = \"%d\"\n",
-                          (int)(def->mem.min_guarantee / 1024));
+        virBufferVSprintf(&buffer, "sched.mem.minsize = \"%lu\"\n",
+                          VIR_DIV_UP(def->mem.min_guarantee,
+                                     1024)); /* Scale from kilobytes to megabytes */
     }
 
     /* def:maxvcpus -> vmx:numvcpus */
@@ -3733,6 +3712,8 @@ virVMXFormatParallel(virVMXContext *ctx, virDomainChrDefPtr def,
 int
 virVMXFormatSVGA(virDomainVideoDefPtr def, virBufferPtr buffer)
 {
+    unsigned long long vram;
+
     if (def->type != VIR_DOMAIN_VIDEO_TYPE_VMVGA) {
         VMX_ERROR(VIR_ERR_CONFIG_UNSUPPORTED,
                   _("Unsupported video device type '%s'"),
@@ -3744,11 +3725,7 @@ virVMXFormatSVGA(virDomainVideoDefPtr def, virBufferPtr buffer)
      * For Windows guests the VRAM size should be a multiple of 64 kilobyte.
      * See http://kb.vmware.com/kb/1003 and http://kb.vmware.com/kb/1001558
      */
-    if (def->vram % 64 != 0) {
-        VMX_ERROR(VIR_ERR_INTERNAL_ERROR, "%s",
-                  _("Video device VRAM size must be a multiple of 64 kilobyte"));
-        return -1;
-    }
+    vram = VIR_DIV_UP(def->vram, 64) * 64;
 
     if (def->heads > 1) {
         VMX_ERROR(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
@@ -3757,7 +3734,7 @@ virVMXFormatSVGA(virDomainVideoDefPtr def, virBufferPtr buffer)
     }
 
     virBufferVSprintf(buffer, "svga.vramSize = \"%lld\"\n",
-                      def->vram * 1024LL); /* Scale from kilobytes to bytes */
+                      vram * 1024); /* kilobyte to byte */
 
     return 0;
 }
index 44d5a22863814685ca5ba36093156244f1e0b6ae..00fcbf2b26344b7d06eca5c4ab6d3e48700fd0ac 100644 (file)
@@ -3111,7 +3111,7 @@ xenDaemonDomainSetMaxMemory(virDomainPtr domain, unsigned long memory)
     if (domain->id < 0 && priv->xendConfigVersion < 3)
         return(-1);
 
-    snprintf(buf, sizeof(buf), "%lu", memory >> 10);
+    snprintf(buf, sizeof(buf), "%lu", VIR_DIV_UP(memory, 1024));
     return xend_op(domain->conn, domain->name, "op", "maxmem_set", "memory",
                    buf, NULL);
 }
@@ -3148,7 +3148,7 @@ xenDaemonDomainSetMemory(virDomainPtr domain, unsigned long memory)
     if (domain->id < 0 && priv->xendConfigVersion < 3)
         return(-1);
 
-    snprintf(buf, sizeof(buf), "%lu", memory >> 10);
+    snprintf(buf, sizeof(buf), "%lu", VIR_DIV_UP(memory, 1024));
     return xend_op(domain->conn, domain->name, "op", "mem_target_set",
                    "target", buf, NULL);
 }
@@ -5778,7 +5778,8 @@ xenDaemonFormatSxpr(virConnectPtr conn,
     virBufferAddLit(&buf, "(vm ");
     virBufferEscapeSexpr(&buf, "(name '%s')", def->name);
     virBufferVSprintf(&buf, "(memory %lu)(maxmem %lu)",
-                      def->mem.cur_balloon/1024, def->mem.max_balloon/1024);
+                      VIR_DIV_UP(def->mem.cur_balloon, 1024),
+                      VIR_DIV_UP(def->mem.max_balloon, 1024));
     virBufferVSprintf(&buf, "(vcpus %u)", def->maxvcpus);
     /* Computing the vcpu_avail bitmask works because MAX_VIRT_CPUS is
        either 32, or 64 on a platform where long is big enough.  */
index bfb669801006d9e8f3072501acab839dce0fa6c0..865805c0591f079f92b5d259bb0cd54001b66183 100644 (file)
@@ -2336,10 +2336,10 @@ virConfPtr xenXMDomainConfigFormat(virConnectPtr conn,
     if (xenXMConfigSetString(conf, "uuid", uuid) < 0)
         goto no_memory;
 
-    if (xenXMConfigSetInt(conf, "maxmem", def->mem.max_balloon / 1024) < 0)
+    if (xenXMConfigSetInt(conf, "maxmem", VIR_DIV_UP(def->mem.max_balloon, 1024)) < 0)
         goto no_memory;
 
-    if (xenXMConfigSetInt(conf, "memory", def->mem.cur_balloon / 1024) < 0)
+    if (xenXMConfigSetInt(conf, "memory", VIR_DIV_UP(def->mem.cur_balloon, 1024)) < 0)
         goto no_memory;
 
     if (xenXMConfigSetInt(conf, "vcpus", def->maxvcpus) < 0)
index 26c9b259431d75a0720cc8b2f1b2e3056ac72965..9315621808f0bcdaa1c1341c0326dae7607138ef 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 274eb8b00838931fa815ab7df052264421bb6e0d..8ac3c091c8b14356c167d5aa79f70a5f7c630690 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 410e6f9551e3dcf7bc289060874c5e24e52b600c..14ccd2342c1eb2188c33e95e8d78068e806e755a 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index ad8bae226de5abec5b42cee0c153732b9a6c605e..db3a94f651d1145fdb34634cad2b3be9520b62de 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index ceb109cfbd3a0fb585ca2e1f3ccb2c5ae0d32510..bc1da8a24eeb9ba4fbc47194dd553510028890bb 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 48f27aa481b0e9bd6b9c675cf8365d533599e5da..44ca0fadfca2e76433e39b558ac4f36dfefbb7b2 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index b1b77218d1baaccbc5d0f793616b8b5f2c1afdda..d3f3369a784c99d1082e313b1c86e06d32f782ca 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index eabbe877fe9216bc8cefba18d6b1b71a930e033a..ba8a9b251343ecab14cd3eeb856d857de34d2aef 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index af19b3b7a00f4737a57af9bce0b9bd5b90dea4c5..6ce846d5d4f808afd99c4b4074d8016bf3653afe 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='kvm'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <bootloader>/usr/bin/pygrub</bootloader>
   <os>
index b3c56b1dcd569984e21843a4d09f5bc7b81423ed..b1d528143fe98c42c232469f0e0ce9a0ebbda36e 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu cpuset='1-4,8-20,525'>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index afd73f42e773c04fc828ae3cff278482e4633600..c127d8429551ca9fb4e6c0168968c6edba0790ec 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu cpuset='1-4,8-20,525'>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 2dbb59697f34af6644ca0dc6514b48fdd29abcca..f612c0262f2de37c711739cd015162b755e1dad4 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu cpuset='1-4,8-20,525'>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 8794492300d724189b7923935f7574f2470c7671..017ef39e34ab42b8fbfcbfb32e739f369bf8ea49 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 786d0c70e8f41e78e9354d6a264a953cd294aff9..ed746c1f812dcfccc9a20e05229402160a3aef86 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index ed91e37a128f1094155e7c114cf81abc25110807..479a1d92e695530547007d5ab338ac90c7af909b 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 41818d25eba74998caa83367d0991afb0fa51c85..9f52ccaf25769220545045f914812ea9431ea60c 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index f0e875e3a7772bd64a127ac5965fcbf6f176afb7..bd199887dd05c98fd83d549d69bbc83dcd55ee7b 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 611ddb8d7b53ca67a3911a7372036d5f76b78c68..0bf52f47a850bb2f88e611f4d6551b2ccb674eef 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 9591c8722b5f3e21fa06686a05f4c876f97398a8..901152259adaf1b685bbcc1f95beed47b6807536 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index fd72421460e37d78ce88597e98038c4e03a74f7d..259af4a63179b5ff07a881fef50f6a9340c7bac4 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu cpuset='1-4,8-20,525'>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 53d3a8deec73999246f33d7b0359bdc81f00df40..d6db442ad94be0a6eb569df4dfa9a289c4c7f00b 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>6</vcpu>
   <os>
     <type arch='x86_64' machine='pc'>hvm</type>
index cd2a506304174fceffcd06b67a4fa9ff8d7557c6..831291aa906b23487c83e3d356a9be6117211e99 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>6</vcpu>
   <os>
     <type arch='x86_64' machine='pc'>hvm</type>
index 2a163d673ccb812950ae4bcc64226e3db7102799..1a2bef6dc6908e67e373600557f59df690ee1efb 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>6</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index b3baed7befb6da27faff201e5b746f58a6012048..795bacabe5447d5702dceeb3e0d8b9434b7412e2 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>6</vcpu>
   <os>
     <type arch='x86_64' machine='pc'>hvm</type>
index 55f6b3c57afa0d5889f4e2386fdaaab37b94777e..3dee11f4949ebba8993197c788a83535d3df15fa 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>6</vcpu>
   <os>
     <type arch='x86_64' machine='pc'>hvm</type>
index ca336b8c7e6200b9146c01266bc0c53c8a3cc0c9..6b37207d90a10773e023886b303bdb51a65d4363 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>6</vcpu>
   <os>
     <type arch='x86_64' machine='pc'>hvm</type>
index 33089657daa6f996492abddeb9306c8173aa1443..9f09e8172981a00e422813ac9eae92dd8ca49885 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>6</vcpu>
   <os>
     <type arch='x86_64' machine='pc'>hvm</type>
index ca336b8c7e6200b9146c01266bc0c53c8a3cc0c9..6b37207d90a10773e023886b303bdb51a65d4363 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>6</vcpu>
   <os>
     <type arch='x86_64' machine='pc'>hvm</type>
index d8937360ca27cb56c19b242fcebc61c697d55338..f6d7633ef7d5239f5d15bf28a7756188554d930d 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 1b18d613d15ecd05a308aa2867e77a67ba60e4d8..bc40d16ac3b0653e97ca98fcb586ad325903225a 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 061b196ba9206ef82cb30a617ac10861ccf1bf7a..2fd2e6abaf90477e4080ff6e670c34327571453b 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 0994a4986e2e3e9db9fd20c6cdcfba18d2603e70..434cd7e60df7cc71a292f18f0bfeef7aa423169c 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 9762f5aef4c09649ffc9e1090b00969ea61defee..452cb822a700a91a8d2ea3aad6de91f9a7071bca 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 0b2f512ecd2fdc2c3e07e5611b66214050503103..3f608711925a1ce6e933aa9f0848845e0babe327 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index a43808618db60d5cbe296956607d803eb9aec416..6a4e8e397be9368890587847d00f3499daed3466 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 29012a854d8509fd7bf330805d2b086c4d9fef98..5f351f5a14e092fff80999c219eb23f73178f1f8 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 0b2f512ecd2fdc2c3e07e5611b66214050503103..da07d5ea2d3fdbedc909530c6ed9b9cd88f242a9 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index a43808618db60d5cbe296956607d803eb9aec416..8c30aecfd37bcf634ed11ef7d12e98fa433ce294 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 29012a854d8509fd7bf330805d2b086c4d9fef98..a9e0c337c4be4c3c63f2dac7aee0a383ace0f91a 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index b3e6de994762d5f803a00282abfdc8fe32093466..f9a56ab4adf3451f88d9ee4d2e2db88baf14e03f 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index a4865026eb07b21a630c55402265f6d2d303c521..6d99607a0a4672b417a6fe179767eff4b1ebc36c 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index a3491e770b92fe11beebfaf4c990994e2bb0b0d7..d473711b487dcef6a8e767ed055b7926da12135e 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index f2643bb09ebb5a378591611fb03ceab1ef3fdec7..cc88ef5ff967ee23645f9961a2777e888404d4ce 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 863165d8bbf45bc6f8d3b509e1e1ebaed51e4183..c0255a8e36d5ea5fa04fa5b257d02bcbba1940b5 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 118d8909369bb3eec66c419b8d96e94476da6353..e920db1bc66f96581c4e9d8e555e242bd1b9fbdf 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 5313d75a5b192108f7ce6f5caef85a2ae6a77ed5..83d6c4eb909d4a4be9d17ebcc089b97d6c3999db 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 1f193c93cb93ab3fae87e124e49789df38f7145e..c0cf6a44acbb660ca4040cf63b703257bebe508e 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 1f193c93cb93ab3fae87e124e49789df38f7145e..c0cf6a44acbb660ca4040cf63b703257bebe508e 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 27e741ae840bede52e09b4a2ab86332fb14fbf84..8dcf4b725824b755cb504cc86f0fb104d0236bfd 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index c0a4a083849ab72b22f75f9e0d8f8456f35a6b9d..6c2a18ddc83b7c61090ee17b0a4c63f9cec3cc48 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 14f85cc72da297eb7168b865a04e0dfc1c97ffec..3b28a3464532093589959055ba3e6c0d02b6c821 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index df50a27d7da5a52d1449d7237ab7d22b39858d72..a7e55b0644312b20c3c7680f1db6d62f95b63ab5 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index a250940fa5942b90f6df8c6e90ee88f43979f73d..530c0a624dc4601978c7d2207fe4cb45858964c2 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 6d35eea5fc52a622b7973baf6c0ada41d4e6deb0..7ad35e3d5f78d951136016270cc951c4001c6d19 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 79ab65422b5262b4d73536a9a024d4bc6b9fdba9..0a9adef6f9760d8d6bdc927b67516557a194567e 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index a8aae71b3922ee223b16836df174b7a41dc9e323..eef9a1bbc1205065d3bb37e3e98ae869363e744f 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index a3dd4c637baa4789e5b6c2e3af42c3e8ccbbbeec..c940847684345b0ada988d461df6ac34746620bb 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index ec74bdddd6e8ac96b3479c3b0980d25b61de4fff..ceee0b8aad141e4ba5fcc8b238ffcad49708595b 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 9072ead4240ccd554cb6d9986b769ffeb51e95dd..62b12bc03e9b994b1a75b384b06be8fcc720c906 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 06b0539894c4489f94c8bfaf18038a179e012d6c..4e11a28ce3642d103dc01fcf79f8a706f3e8a81a 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 16fd3badd4b5788a92299b56c4fc7a01ceb57ecd..cf5aaa9f7229fcfcbcb19a57c309380f8b088a07 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 15a22f30696366952fe4a1b89894b42746e84f38..fc9f3fe14079cece68c619b630fe4e43f98fef2f 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index a07f87b139bd3d0efe77ac3805f466765c848a88..eb6be7d9253afad19ecc40eb5f0ea2a3006f6b19 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index d6ad72b8a4391cc9ed2d818823c81591d01fcac2..19c92137367c6646806c97191b1d5d6759dcf6c9 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index a07f87b139bd3d0efe77ac3805f466765c848a88..eb6be7d9253afad19ecc40eb5f0ea2a3006f6b19 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index a07f87b139bd3d0efe77ac3805f466765c848a88..eb6be7d9253afad19ecc40eb5f0ea2a3006f6b19 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 711e3f8ca95370da43c82ae7e95c9929b6f7057b..4ef8af45631df5fb44ae5f43f022aaa8561fd41b 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest2</name>
   <uuid>c7a5fdbd-edaf-9466-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 0347eeea19d7cca974810a02f6f4cf7b8138d8fb..a88ada4ff8d5cd54c8ed9b14d5d7413710945877 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest2</name>
   <uuid>c7a5fdbd-edaf-9466-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index da2562e825e7167deb6438d798d2017fb24bb08e..04dc7da34545fa23b82f2b8f7904b8fcb795118a 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 4391bf108e8986b09898e3be8a3de34cae12fb5e..c224291a1fd1cb2ab4f32e1429f13cf1c4c98d21 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 8ed7490eca1cab5671f5bfe2538a6cef441cd3cd..78bf4e1e057a4fb9ef64deed1e59169e207bc4c7 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <memoryBacking>
     <hugepages/>
   </memoryBacking>
index b76a895ee424c08b9dff57fb1a82e8bb1dab79d1..b9aff61de916aa0068771b96b516f975f7929993 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index a878f8c9a6e6e838b6bc661802b00ef75d41de8c..18d5cb503172621ecb8ac94171015c9069e0e5ca 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 0ea00c1bef35fd42d49e1def836d604ff36d024d..8a5fcd742c2913c34546361fab37669053d95159 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='kvm'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <bootloader>/foo</bootloader>
   <os>
index 9f3fc85ea8b6028d161818e15837277569686622..a969f8c2e4af7b094107a146b6244742470a1d76 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='x86_64' machine='pc'>hvm</type>
index c57e64ce02254cb120461be958e81bcdbc49233a..424179ee6ae501b172fb2a36dc38c76eb3493d3a 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='kvm'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='x86_64'>hvm</type>
index 9f713f0a07ecb57134e4098081623e623f58e50f..37b5c88ee906c5eb906002c7ddebb10e5b643d91 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <memtune>
     <hard_limit>512000</hard_limit>
     <soft_limit>128000</soft_limit>
index ed91e37a128f1094155e7c114cf81abc25110807..99e81ae00035c7480d40a3a2f2f8949a58093cbd 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 8a13e474287fe62fc42b115b9d06e2e225747f40..2f13d46a005fb9ccc39100fb61bbbaeb6da9d133 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu cpuset='1-4,8-20,525'>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index c8e87b058d8005e03864bb03fa07f6c1f374dd92..d5f8d2ff4848eb725998f0e6e06cf58cf2f52168 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index bb4f5f05a3817424528e0ad4bf8db4b6be71a7fd..b06493fa1eeed6eb8ecaf617620195a314bb8bb4 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index c8e87b058d8005e03864bb03fa07f6c1f374dd92..d5f8d2ff4848eb725998f0e6e06cf58cf2f52168 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 516957fc0233ad07c0b48117dbb490eb1be33651..a638e06faf875bfbd4c91ec42dec00e7d351f74f 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 7875d0ccf8a993c1fa8fb42637ecdaa819037f4a..74db0245765e836802c193ed7e1f1effd30f861a 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 5d410b37537209f9bdcee958d650fca1c07b07e7..d5c4b366e6a6aa7bd29ef1be3c6be2e6f9f45b17 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index ffc4a2ceb9d90e2198ff5c651d44f5ff33ad056e..540808d05b6203739ba71bdba59f5445e242a931 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index e521796f9d36db964e48824a85de6cd778d7b048..572f3cc757ea31897281d1c834a1a06100e33662 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index e521796f9d36db964e48824a85de6cd778d7b048..5f2b12c1013d8234e5af278f76bbffff69ef733e 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 9b9c059ad0680952d4f67cf29334d402ec4dc205..ec930b3660fc4570dd3d17cb07171f700edad810 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index ed91e37a128f1094155e7c114cf81abc25110807..99e81ae00035c7480d40a3a2f2f8949a58093cbd 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index ed91e37a128f1094155e7c114cf81abc25110807..479a1d92e695530547007d5ab338ac90c7af909b 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 1093901da14a52eb29c6b94e448ef046f2fc4bae..328f81ec68f9853579f410da69182379ab7caeed 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 1093901da14a52eb29c6b94e448ef046f2fc4bae..5c50eccd88969266589338d3aba89dcdefef95b6 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 60087f1eb39ed763b00d5f6a84985e8767ef7509..0d9dd98b14a7b121f0d252af01530cdb54378c91 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index c48c2488ce89ffa853394ab41f90c839cdcfa769..c5020a0335592ae0c19833b74afaa3f6b1c1851e 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index ed91e37a128f1094155e7c114cf81abc25110807..479a1d92e695530547007d5ab338ac90c7af909b 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index ed91e37a128f1094155e7c114cf81abc25110807..99e81ae00035c7480d40a3a2f2f8949a58093cbd 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index ed91e37a128f1094155e7c114cf81abc25110807..99e81ae00035c7480d40a3a2f2f8949a58093cbd 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 5d249863414992e65989f9e19fba0224789caae4..ea5a3f8cd1a078f15e9ceb690379ef6b386fcab4 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index cc0ab433c9fcf9c1f361f6583758558ea53d129a..41f473a13cbae97a0e8007476fa585a195ef6c41 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 98bc4ef70f144f8be599b3f786281cb7ae4eaa56..9a3e19759b627fbb54344c6a6a0528124431a91c 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 3e60e9846d3dcc28b0c28b3b4dbf5b4c86068252..975d81eee03a33f7d159a6033a086432f127d98a 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index b121c5c72fe76b17f5d69fd48741bbc9534dfdd0..d6116e85ad3b5d8c605dcc56c74e22222286cf11 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 1d042f123a5c190326da20a72475fa6121610c31..e68ad79643aad698a0e7c56f9d813b2b18d8352c 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 611ddb8d7b53ca67a3911a7372036d5f76b78c68..57d1b7477c7b2a1d9be8c58b928a31f60a7f2636 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 9591c8722b5f3e21fa06686a05f4c876f97398a8..19dd13171fc9cd7ccb0781f88b816f9e1bf33b42 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 286417e18176082398a77bff88382d08a1359cca..cd4338445632ea0ae4124451ee00663166f7e100 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 5aeceb0e8c42220e5ee62fa1e47e885c28409579..14bead469faaead918feab46c96846ae3d8c3ce6 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 5bf6a08aac64637192891cd1a67837e78f2b7602..ad5a0384de403f890e6525c808f0adfd9300f1e8 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 304792e7ae8197ea06c22fba37721e3beb52ba5d..45ad5854976dcb71949d6a4467052f3b880204a1 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 2c447389d59569fbe8c7bb173f0c5cd26e86b1e3..12622d4f755687d3a6a62c88b84da20d7c2c8068 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index e4fe4fd52923b4f510b3d27166a69a855de5fb7a..8697f5a07564c8b5c9d62382499b005de84fa391 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 2c07e94a0a639869bf5210d0a4d600373f07dbf3..4ed72aa0cd113c22b05c2f0823be04bddf7a02df 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 61dff3f819fb7f572c4f0efd22b38c7a10e10dbd..4685ad4b9d059c9746bdb0b5d15221a302e4e0ca 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 5b39736d5bfabe27fa402454be947e57be704e90..fe1fdad031ac228b0e9cc0f3329a952cd988ba8e 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 36bd622861debefa29bd797715a1b92de1337dad..610033217b3b3e430134bc7758f75a3015735c21 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 23ec1a774a9a0005a99f5090cee1190e0829891d..9f0ea7b0388c8a3f887049828601a4b0ae02988c 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <sysinfo type='smbios'>
     <bios>
index 975f87392115c59e211d0d40750f4c10bf969c1a..cba15dc3c9d8b99f45df9f0fbaf67ba1f76ef83d 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu current='1'>2</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index fbca4fe8902178cb86285412f624711be141e4bc..0f5df4d6dc8cdeef6472c378ebcae5280fe65157 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index d34e0b341141efb8540d75c4ac17fa351dce6c3d..57cabb42359d44f432cb9fcb7d709e72dd0914f1 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 2dfc37e22e640e816841b57d27b40012059951f7..48e969f14af54e0783cfd1fa45ddc78cfb7395aa 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 4314ec4429a7dc80ba1a05fdebfad1c2be58cb3d..d7c1f848c6e0fc944f47b9ef4c70e700d5dae19f 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 804dfd89355c758af5f88baaf142c1368b93702a..06da70bb093cbb5bf8e3260042b6444a12f69438 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index ed91e37a128f1094155e7c114cf81abc25110807..479a1d92e695530547007d5ab338ac90c7af909b 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index ea79fbacc19ce65d29272988d787e879e285f0d0..a52ea8e8ad2ac0538c70f2a8925ce8ac9ecd8a5c 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu cpuset='1-4,8-20,525'>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 9591c8722b5f3e21fa06686a05f4c876f97398a8..901152259adaf1b685bbcc1f95beed47b6807536 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index 431dd34b6b3de34b75ab4ed5183ab51beefc21a2..b64c7e501658f53c776998aa8212911f567414a5 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219100</memory>
+  <currentMemory>219100</currentMemory>
   <vcpu cpuset='1-4,8-20,525'>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index a250940fa5942b90f6df8c6e90ee88f43979f73d..530c0a624dc4601978c7d2207fe4cb45858964c2 100644 (file)
@@ -1,8 +1,8 @@
 <domain type='qemu'>
   <name>QEMUGuest1</name>
   <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
+  <memory>219136</memory>
+  <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
index c00cc8aba27943e4664f84b3a9c4a1401dcbbe23..441ca8a4acc60a9b933cf9d392334015e760ce93 100644 (file)
@@ -576,9 +576,9 @@ XEN_CREDIT scheduler and are now I<DEPRECATED>.
 Immediately change the current memory allocation for an active guest domain.
 
 Some hypervisors require a larger granularity than kilobytes, and requests
-that are not an even multiple will either be rounded down or rejected.  For
-example, vSphere/ESX rejects the parameter unless the kB argument is evenly
-divisible by 1024 (that is, the kB argument happens to represent megabytes).
+that are not an even multiple will be rounded up.  For example, vSphere/ESX
+rounds the parameter up unless the kB argument is evenly divisible by 1024
+(that is, the kB argument happens to represent megabytes).
 
 For Xen, you can only adjust the memory of a running domain if the domain is
 paravirtualized or running the PV balloon driver.
@@ -594,11 +594,11 @@ Change the maximum memory allocation limit for an inactive guest domain.
 This command works for at least the Xen and vSphere/ESX hypervisors,
 but not for QEMU/KVM.
 
-Some hypervisors require a larger granularity than kilobytes, rounding down
-or rejecting requests that are not an even multiple of the desired amount.
-vSphere/ESX is one of these, requiring the parameter to be evenly divisible
-by 4MB.  For vSphere/ESX, 263168 (257MB) would be rejected because it's not
-a multiple of 4MB, while 266240 (260MB) is valid.
+Some hypervisors require a larger granularity than kilobytes, rounding up
+requests that are not an even multiple of the desired amount.  vSphere/ESX
+is one of these, requiring the parameter to be evenly divisible by 4MB.  For
+vSphere/ESX, 263168 (257MB) would be rounded up because it's not a multiple
+of 4MB, while 266240 (260MB) is valid without rounding.
 
 Note, to change the maximum memory allocation for a QEMU/KVM guest domain,
 use the virsh B<edit> command instead to update its XML <memory> element.