]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemu: command: Drop obsolete comment
authorPeter Krempa <pkrempa@redhat.com>
Wed, 6 Apr 2016 12:34:05 +0000 (14:34 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 15 Apr 2016 12:27:08 +0000 (14:27 +0200)
The change that made qemu not add the memballoon by default happened
prior to 0.12.0. Additionaly the comment was misleading due to the code
that was added below. Since we always need to add a balloon on the
commandline drop the comment.

src/qemu/qemu_command.c

index 0662e3913670d97b49967ebb5ef5982469f60be2..90d577366d0ba716fc89dc764b9db8b7b63f7d44 100644 (file)
@@ -3526,12 +3526,7 @@ qemuBuildMemballoonCommandLine(virCommandPtr cmd,
                                virQEMUCapsPtr qemuCaps)
 {
     char *optstr;
-    /* QEMU changed its default behavior to not include the virtio balloon
-     * device.  Explicitly request it to ensure it will be present.
-     *
-     * NB: Earlier we declared that VirtIO balloon will always be in
-     * slot 0x3 on bus 0x0
-     */
+
     if (STREQLEN(def->os.machine, "s390-virtio", 10) &&
         virQEMUCapsGet(qemuCaps, QEMU_CAPS_VIRTIO_S390) && def->memballoon)
         def->memballoon->model = VIR_DOMAIN_MEMBALLOON_MODEL_NONE;