news.xml 25.4 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
<?xml version="1.0"?>

<!-- libvirt release notes

     This file will be processed to produce both HTML and plain text versions
     of the release notes.

     Keep the style consistent with existing entries as much as possible:
     each change should be documented by a short, one-sentence summary
     and optionally a description where it's explained in more detail -->

<libvirt>
13 14
  <release version="v3.2.0" date="unreleased">
    <section title="New features">
15 16 17 18 19
      <change>
        <summary>
          The virt-host-validate tool now supports bhyve hypervisor
        </summary>
      </change>
M
Michal Privoznik 已提交
20 21 22 23 24 25 26 27 28 29 30 31
      <change>
        <summary>
          Introduce NVDIMM memory model
        </summary>
        <description>
          NVDIMM is new type of memory introduced into QEMU 2.6. The idea is
          that we have a non-volatile memory module that keeps the data
          persistent across domain reboots and offers much faster data
          accesses.  However, due to a bug in QEMU, this feature is not enabled
          for QEMUs older than 2.9.0.
        </description>
      </change>
32 33 34 35 36 37 38 39 40 41
      <change>
        <summary>
          qemu: Introduce support for generic PCIe Root Ports
        </summary>
        <description>
          For new controllers, a generic device (pcie-root-port) will be used
          by default instead of the Intel-specific device (ioh3420), provided
          the QEMU binary supports it.
        </description>
      </change>
42 43 44 45 46 47 48 49 50 51 52 53
      <change>
        <summary>
          qemu: Add support for checking guest CPU ABI compatibility
        </summary>
        <description>
          When migrating a domain to a different host, restoring a domain from
          a file or reverting a snapshot libvirt will make sure the guest CPU
          QEMU presents to the guest OS exactly matches the one provided on
          the source host (or before the domain's state was saved). This
          enhanced check may also be requested when starting a new domain to
          ensure the virtual CPU exactly matches the one specified in the XML.
        </description>
J
John Ferlan 已提交
54 55
      </change>
      <change>
56 57 58 59 60 61 62 63
        <summary>
          qemu: Add support to migrate using TLS
        </summary>
        <description>
          Add the ability to migrate QEMU guests using TLS via a new flag
          VIR_MIGRATE_TLS or virsh migrate '--tls' option. Requires using at
          least QEMU 2.9.0 in order to work properly.
        </description>
64
      </change>
65 66 67 68 69 70 71 72 73 74
      <change>
        <summary>
          qemu: add mediated devices framework support
        </summary>
        <description>
          Recent kernel version introduced new mediated device framework, so
          provide an initial support of this framework for libvirt, mainly by
          introducing a new host device type in the XML.
        </description>
      </change>
75 76 77 78 79 80 81 82 83
      <changes>
        <summary>
          qemu: Add support for setting TSC frequency
        </summary>
        <description>
          Setting TSC frequency is required to enable migration for domains
          with 'invtsc' CPU feature turned on.
        </description>
      </changes>
84 85
    </section>
    <section title="Improvements">
86 87 88 89 90 91
      <change>
        <summary>
          qemu: Detect host CPU model by asking QEMU on x86_64
        </summary>
        <description>
          Previously, libvirt detected the host CPU model using CPUID
J
Jiri Denemark 已提交
92
          instruction, which caused libvirt to detect a lot of CPU features
93 94 95 96
          that are not supported by QEMU/KVM. Asking QEMU makes sure we
          don't start it with unsupported features.
        </description>
      </change>
97 98 99 100 101 102 103 104 105 106 107
      <change>
        <summary>
          perf: Add more perf statistics
        </summary>
        <description>
          Add support to get the count of cpu clock time, task clock time,
          page faults, context switches, cpu migrations, minor page faults,
          major page faults, alignment faults, emulation faults by
          applications running on the platform.
        </description>
      </change>
108 109
    </section>
    <section title="Bug fixes">
110 111 112 113 114 115 116 117 118 119 120 121 122 123
      <change>
        <summary>
          QEMU: Use adaptive timeout for connecting to monitor
        </summary>
        <description>
          When starting qemu, libvirt waits for qemu to create the monitor
          socket which libvirt connects to. Historically, there was sharp 30
          second timeout after which the qemu process was killed. This
          approach is suboptimal as in some scenarios with huge amounts of
          guest RAM it can take a minute or more for kernel to allocate and
          zero out pages for qemu. The timeout is now flexible and computed by
          libvirt at domain startup.
        </description>
        </change>
124 125
    </section>
  </release>
D
Daniel Veillard 已提交
126
  <release version="v3.1.0" date="2017-03-03">
127
    <section title="New features">
128 129 130 131 132 133 134 135 136 137 138
      <change>
        <summary>
          storage: Add Virtuozzo storage backend storage pool
        </summary>
        <description>
          Add new storage backend to support pool and volume management
          within the Virtuozzo Storage environment. Virtuozzo Storage is
          a highly available distributed software defined storage with
          built-in replication and disaster recovery.
        </description>
      </change>
139 140 141 142 143 144 145 146 147 148 149 150
      <change>
        <summary>
          qemu: Add support for memory backing with file source
        </summary>
        <description>
          Add support in numa topology for file source inside memory backing
          (hugepages are not needed) Three new elements
          &lt;source/&gt;,&lt;access/&gt; and &lt;allocation/&gt; were added
          to &lt;memoryBacking/&gt; element. Also new configuration parameter
          <code>memory_backing_dir</code> was added to qemu.conf.
        </description>
      </change>
151 152 153 154 155 156 157 158 159
      <change>
        <summary>
          network: make openvswitch call timeout configurable
        </summary>
        <description>
          Adding the ability to specify the timeout value in seconds for
          openvswitch calls in the libvirtd configuration file.
        </description>
      </change>
160 161 162 163 164 165 166 167 168
      <change>
        <summary>
          bhyve: add e1000 NIC support
        </summary>
        <description>
          Add support for e1000 NIC. Previously, the only available option
          was <code>virtio-net</code>.
        </description>
      </change>
169 170
      <change>
        <summary>
J
Jim Fehlig 已提交
171
          libxl: add tunneled migration support
172 173
        </summary>
        <description>
J
Jim Fehlig 已提交
174
          Add tunneled migration to libxl driver, which is always capable of
175 176 177 178
          strong encryption and doesn't require any extra network connection
          other than what's required for remote access of libvirtd.
        </description>
      </change>
179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195
      <change>
        <summary>
          qemu: add rendernode argument
        </summary>
        <description>
          Add a new attribute 'rendernode' to &lt;gl&gt; spice element.
        </description>
      </change>
      <change>
        <summary>
          nodedev: add drm capability
        </summary>
        <description>
          Add a new 'drm' capability for Direct Rendering Manager (DRM)
          devices, providing device type information.
        </description>
      </change>
196 197 198 199 200 201 202 203 204 205
      <change>
        <summary>
          Add API for individual/specific vCPU hotplug
        </summary>
        <description>
          The new API allows selecting specific vCPUs to be added/removed from
          the VM. The existing APIs allowed only adding/removing from the end
          which did not play well with NUMA.
        </description>
      </change>
206 207
    </section>
    <section title="Improvements">
208 209 210 211 212 213 214 215 216
      <change>
        <summary>
           virsh: pool-list: allow both --uuid and --name in one command
        </summary>
        <description>
          Adjust the virsh-pool command to support the --uuid and/or --name
          options in order to print just the --name and/or --uuid of pools.
        </description>
      </change>
217 218
      <change>
        <summary>
219
          Introduce MTU to domain &lt;interface/&gt; and &lt;network&gt;
220 221
        </summary>
        <description>
222 223
          Allow setting MTU size for some types of domain interface
          and network.
224 225
        </description>
      </change>
226 227 228 229 230 231 232 233 234 235
      <change>
        <summary>
          libxl: improve support for &lt;timer&gt; configurations
        </summary>
        <description>
          Add support for multiple timers. Extend the tsc timer to
          support the emulate mode. Improve conversion of timer XML
          to/from xl.cfg.
        </description>
      </change>
236 237 238 239 240 241 242 243 244 245
      <change>
        <summary>
          storage: modularize the storage driver
        </summary>
        <description>
          Split up the storage driver backends into loadable modules so that
          binary distributions don't have to compromise on shipping the storage
          driver with all backends which may pull in too many dependencies.
        </description>
      </change>
246 247
    </section>
    <section title="Bug fixes">
248 249 250 251 252 253 254 255 256 257 258 259
      <change>
        <summary>
          nodedev: Fabric name must not be required for fc_host capability
        </summary>
        <description>
          fabric_name is one of many fc_host attributes in Linux that is
          optional and left to the low-level driver to decide if it is
          implemented. For example the zfcp device driver does not provide a
          fabric name for an fcp host. The requirement for the existence of
          a fabric name has been removed by making it optional.
        </description>
      </change>
260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278
      <change>
        <summary>
          bhyve: change address allocation schema for SATA disks
        </summary>
        <description>
          Previously, the bhyve driver assigned PCI addresses to SATA disks
          directly rather than assigning that to a controller and
          using SATA addresses for disks. It was implemented this way
          because bhyve has no notion of an explicit SATA controller.
          However, as this doesn't match libvirt's understanding of
          disk addresses, the bhyve driver was changed to follow
          the common schema and have PCI addresses for SATA controllers
          and SATA addresses for disks. If you're having issues
          because of this, it's recommended to edit the domain's XML
          and remove &lt;address type='pci'&gt; from the &lt;disk&gt;
          elements with &lt;target bus='sata'/&gt; and let libvirt
          regenerate it properly.
        </description>
      </change>
279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297
      <change>
        <summary>
          libxl: maximum memory fixes
        </summary>
        <description>
          Fix reporting of domain maximum memory. Fix setting dom0
          maximum memory.
        </description>
      </change>
      <change>
        <summary>
          libxl: fix disk detach when &lt;driver&gt; not specified
        </summary>
      </change>
      <change>
        <summary>
          libxl: fix dom0 autoballooning with Xen 4.8
        </summary>
      </change>
298 299 300 301 302 303 304 305 306 307
      <change>
        <summary>
          qemu: Allow empty script path to &lt;interface/&gt;
        </summary>
        <description>
          Historically, this was always allowed. Unfortunately, due to some
          rework done for 1.3.2 release a bug was dragged in which suddenly
          stop allowing domain with such configuration to start.
        </description>
      </change>
308 309
    </section>
  </release>
D
Daniel Veillard 已提交
310
  <release version="v3.0.0" date="2017-01-17">
311
    <section title="New features">
312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330
      <change>
        <summary>
          Domain events for metadata content changes
        </summary>
        <description>
          The domain events framework has a new event ID that can
          be used to get notifications when domain metadata content
          changes.
        </description>
      </change>
      <change>
        <summary>
          Event notifications for the secret object
        </summary>
        <description>
          The secret object now supports event notifications, covering
          lifcycle changes and secret value changes.
        </description>
      </change>
331 332 333 334 335 336 337 338 339 340 341 342
      <change>
        <summary>
          New localPtr attribute for "ip" element in network XML
        </summary>
      </change>
      <change>
        <summary>
          qemu: Support QEMU group I/O throttling
        </summary>
        <description>
          Add the capability to allow group I/O throttling via a new
          domain &lt;disk&gt; &lt;iotune&gt; subelement "group_name"
343
          to allow sharing I/O throttling quota between multiple drives.
344 345 346 347
        </description>
      </change>
      <change>
        <summary>
348
          nss: Introduce <code>libvirt_guest</code>
349 350
        </summary>
        <description>
351
          New <code>libvirt_guest</code> nss module that translates libvirt
352
          guest names into IP addresses.
353 354 355 356 357 358 359 360 361
        </description>
      </change>
      <change>
        <summary>
          daemon: Add support for runtime logging settings adjustment
        </summary>
        <description>
          Logging-related settings like log outputs and filters can now be
          adjusted during runtime using the admin interface without the
362
          necessity of the daemon's restart.
363 364 365 366 367 368 369 370 371 372 373
        </description>
      </change>
      <change>
        <summary>
          storage: Add virStorageVolInfoFlags API
        </summary>
        <description>
          Add the API to support using the VIR_STORAGE_VOL_GET_PHYSICAL
          flag in order to return the host physical size in bytes
          of the image container in the allocation field of the
          _virStorageVolInfo structure. The --physical flag has been
374
          added to the virsh vol-info command to access the data.
375 376 377 378 379 380 381
        </description>
      </change>
      <change>
        <summary>
          libxl: Implement virDomainGetMaxVcpus API
        </summary>
      </change>
382 383 384 385 386 387 388 389 390 391
      <change>
        <summary>
          storage: Add overwrite flag checking for logical pool
        </summary>
        <description>
          Add support for the OVERWRITE flags for the logical storage
          backend including checking for existing data on the target
          volumes when building a new logical pool on target volume(s).
        </description>
      </change>
392 393 394 395 396
      <change>
        <summary>
          qemu: Add support for guest CPU configuration on s390(x)
        </summary>
      </change>
397 398 399 400 401 402 403 404 405 406
    </section>
    <section title="Improvements">
      <change>
        <summary>
          perf: Add more perf statistics
        </summary>
        <description>
          Add support to get the count of branch instructions
          executed, branch misses, bus cycles, stalled frontend
          cpu cycles, stalled backend cpu cycles, and ref cpu
407
          cycles by applications running on the platform.
408 409 410 411 412 413 414 415
        </description>
      </change>
      <change>
        <summary>
          conf: Display &lt;physical&gt; for volume xml
        </summary>
        <description>
          Add a display of the &lt;physical&gt; size of a disk
416
          volume in the output of the volume XML.
417 418 419 420 421 422 423 424 425 426
        </description>
      </change>
      <change>
        <summary>
          qemu: Use virtio-pci by default for aarch64 mach-virt guests
        </summary>
        <description>
          virtio-pci provides several advantages over virtio-mmio, such
          as the ability to hotplug devices and improved performance.
          While opting in to virtio-pci has been possible for a while,
427
          newly-defined guests will now use it automatically.
428 429
        </description>
      </change>
430 431 432 433 434 435 436 437 438 439 440 441 442
      <change>
        <summary>
          vbox: remove support for VirtualBox 3.x and older
        </summary>
        <description>
          Those old VirtualBox versions have been unsupported by
          upstream for a long time and the API of 4.0 and newer has
          diverged enough to require code abstractions to handle differences.
          Removing support for those old versions drops lots of code from
          the driver and simplifies the logic to ease implementation of new
          features going forward.
        </description>
      </change>
443 444 445 446 447 448 449 450 451
      <change>
        <summary>
          virsh: pool-info: introduce option --bytes
        </summary>
        <description>
          Add option --bytes to virsh pool-info in order ti allow display
          of units in bytes rather than default of human readable output.
        </description>
      </change>
452 453 454 455 456 457 458 459 460 461 462 463
      <change>
        <summary>
          scsi: Add parent wwnn/wwpn or fabric capability for createVport
        </summary>
        <description>
          Improve the algorithm searching for the parent scsi_host device
          for vHBA/NPIV scsi_host creation. Rather than supplying the
          "parent" by name, it's now possible to define the parent by
          it's wwnn/wwpn or fabric_wwn in the node device create XML or
          the storage pool XML.
        </description>
      </change>
464 465 466 467 468 469 470 471 472 473 474 475 476 477
      <change>
        <summary>
          qemu: aggregate pcie-root-ports onto multiple functions of a slot
        </summary>
        <description>
          When pcie-root-ports are added to pcie-root in order to
          provide a place to connect PCI Express endpoint devices,
          libvirt now aggregates multiple root ports together onto the
          same slot (up to 8 per slot) in order to conserve slots.
          Using this method, it's possible to connect more than 200
          endpoint devices to a guest that uses PCIe without requiring
          setup of any PCIe switches.
        </description>
      </change>
478 479
    </section>
    <section title="Bug fixes">
480 481 482 483 484 485 486 487 488 489 490
      <change>
        <summary>
          lxc: fix accidental killing of containers during libvirtd restart
        </summary>
        <description>
          The libvirt_lxc process was previously not moved into the
          container scope. As a result, if systemd reloads its config
          after a container is started, when libvirtd is later restarted
          it will accidentally kill the containers.
        </description>
      </change>
491 492 493 494 495 496 497 498
      <change>
        <summary>
          qemu: Correct GetBlockInfo values
        </summary>
        <description>
          For an active domain, correct the physical value provided for
          a raw sparse file backed storage and the allocation value provided
          for a qcow2 file backed storage that hasn't yet been opened on
499
          the domain.
500 501 502 503 504 505 506 507
        </description>
      </change>
      <change>
        <summary>
          qemu: Make virtio console usable on ppc64 guests
        </summary>
        <description>
          The chardev detection code has been improved and can now handle this
508
          configuration properly.
509 510 511 512 513 514 515 516 517 518 519 520
        </description>
      </change>
      <change>
        <summary>
          qemu: Enable mount namespace
        </summary>
        <description>
          To avoid funny races with udev relabelling devices under our hands and
          to enhance security, libvirt now spawns each qemu process with its own
          <code>/dev</code>.
        </description>
      </change>
521 522 523 524 525 526 527 528 529 530 531 532
      <change>
        <summary>
          storage: Fix implementation of no-overwrite for file system backend
        </summary>
        <description>
          Fix file system storage backend implementation of the OVERWRITE
          flags to be consistent between code and documentation. Add checks
          to ensure that when building a new file system on a target volume
          that there is not something already on the disk in a format that
          libvirt can recognize.
        </description>
      </change>
M
Michal Privoznik 已提交
533 534 535 536 537 538 539 540 541 542 543
      <change>
        <summary>
          qemu: Create hugepage path on per domain basis
        </summary>
        <description>
          Historically, all hugepage enabled domains shared the same path under
          hugetlbfs. This left libvirt unable to correctly set security labels
          on it. With this release, however, each domain is put into a
          separate path which is also correctly labeled.
        </description>
      </change>
544 545 546 547 548 549 550 551 552
      <change>
        <summary>
          conf: Reject domains with duplicate drive addresses
        </summary>
        <description>
          Reject duplicate drive addresses for disks and hostdevs at
          domain definition.
        </description>
      </change>
553 554 555 556 557 558 559 560 561 562
      <change>
        <summary>
          libxl: reverse defaults on HVM net device attach
        </summary>
        <description>
          Fixes network interface attach for HVM domains when no model is
          specified. Emulated hotplug isn't yet supported and hence we should
          default to the general working scenario.
        </description>
      </change>
563 564 565 566 567 568 569 570 571 572 573
      <change>
        <summary>
          libxl: always enable pae for x86_64 HVM
        </summary>
        <description>
          By default pae is disabled in libxl. Without an explicit &lt;pae/&gt;
          setting in the domain &lt;features&gt; configuration, an x86_64 HVM
          domain would be get an i686 environment. pae should always be enabled
          for x86_64 HVM domains.
        </description>
      </change>
574 575 576 577 578 579 580 581 582
      <change>
        <summary>
          qemu: Fix XML dump of autogenerated websocket
        </summary>
        <description>
          As a result autogenerated websocket port is regenerated on domain restore,
          migration and such as it should be.
        </description>
      </change>
583 584 585 586 587 588 589 590 591 592
    </section>
  </release>
  <release version="v2.5.0" date="2016-12-04">
    <section title="New features">
      <change>
        <summary>
          shmem: Add support for additional models
        </summary>
        <description>
          The shmem device can now utilize QEMU's ivshmem-plain and
593
          ivshmem-doorbell, more modern versions of ivshmem.
594 595 596 597 598 599 600 601 602 603 604 605 606 607
        </description>
      </change>
      <change>
        <summary>
          vbox: Add VirtualBox 5.1 support
        </summary>
      </change>
      <change>
        <summary>
          libssh: New transport
        </summary>
        <description>
          The new libssh transport allows one to connect to a running
          libvirtd via SSH, using the libssh library; for example:
608
          <tt>qemu+libssh://<i>server</i>/system</tt>.
609 610 611 612 613 614 615 616
        </description>
      </change>
      <change>
        <summary>
          vhost-scsi: Add support scsi_host hostdev passthrough
        </summary>
        <description>
          Add the capability to pass through a scsi_host HBA and the
617
          associated LUNs to the guest.
618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644
        </description>
      </change>
      <change>
        <summary>
          qemu: Users can now enable debug logging for native gluster
          volumes in qemu using the "gluster_debug_level" option in qemu.conf
        </summary>
      </change>
      <change>
        <summary>
          memory hotplug: Slot numbers for memory devices are now
          automatically allocated and thus persistent. In addition slot numbers
          can be specified without providing a base address, which simplifies
          user configuration
        </summary>
      </change>
      <change>
        <summary>
          qemu: Express devices will be placed on PCIe bus by default
        </summary>
        <description>
          For machine types that use a PCI Express root bus
          (e.g. x86_64/Q35 and aarch64/virt), any unaddressed PCI
          device that is an Express device (all virtio-1.0 devices,
          e1000e, nec-xhci, vfio assigned devices) will be placed on
          an Express controller (i.e. a pcie-root-port) instead of a
          legacy PCI controller (i.e. pci-bridge) with the root ports
645
          added as needed.
646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676
        </description>
      </change>
    </section>
    <section title="Improvements">
      <change>
        <summary>
          docs: Better documentation for migration APIs and flags
        </summary>
      </change>
      <change>
        <summary>
          vbox: Address thread safety issues
        </summary>
      </change>
      <change>
        <summary>
          virsh: Add support for passing an alternative persistent XML
          to migrate command
        </summary>
      </change>
      <change>
        <summary>
          vhostuser: Allow hotplug of multiqueue devices
        </summary>
      </change>
      <change>
        <summary>
          NEWS: Switch to an improved format
        </summary>
        <description>
          List user-visible changes instead of single commits for a better
677
          high-level overview of differences between libvirt releases.
678 679 680 681 682 683 684 685 686
        </description>
      </change>
      <change>
        <summary>
          website: Modernize layout and branding
        </summary>
        <description>
          The libvirt website looked very cluttered and outdated; it has now
          been completely overhauled, resulting in a design that's better
687
          organized and more pleasant to look at.
688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706
        </description>
      </change>
    </section>
    <section title="Bug fixes">
      <change>
        <summary>
          vz: Fix migration in P2P mode
        </summary>
      </change>
      <change>
        <summary>
          Forbid newline character in names of some libvirt objects
        </summary>
      </change>
      <change>
        <summary>
          Fix compilation on macOS
        </summary>
      </change>
J
John Ferlan 已提交
707 708
      <change>
        <summary>
709
          Overwrite (clear) 2 KB instead of just 512 bytes when initializing logical device
J
John Ferlan 已提交
710 711
        </summary>
      </change>
712 713 714 715 716
      <change>
        <summary>
          Describe the logical backend requirements better for pool-create-as
        </summary>
      </change>
717 718 719
    </section>
  </release>
</libvirt>