news.xml 145.6 KB
Newer Older
1 2 3 4 5 6 7
<?xml version="1.0"?>

<!-- libvirt release notes

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

8 9 10 11 12 13 14 15 16 17 18
     Keep the style consistent with existing entries as much as possible.

     Each change should be documented by a short, one-sentence summary, which
     should fit in a single line and should not contain any formatting tags.

     You can optionally add a description if you feel like the summary alone is
     not enough to document the change accurately. The description may contain
     a <code> tag for switching to non-proportional font. No other tags are
     allowed.

     Lines should be kept under 80 columns, and should not exceed 100 columns.
19

20
     This file is validated against docs/news.rng schema.
21

22 23 24 25 26 27
     Use the following template to add a new release section:

  <release version="FIXME" date="unreleased">
    <section title="New features">
    </section>
    <section title="Improvements">
28 29 30 31 32 33 34 35 36 37 38 39 40
      <change>
        <summary>
          Remember original owners and SELinux labels of files
        </summary>
        <description>
          When a domain is starting up libvirt changes DAC and
          SELinux labels so that domain can access it. However,
          it never remembered the original labels and therefore
          the file was returned back to <code>root:root</code>.
          With this release, the original labels are remembered
          and restored properly.
        </description>
      </change>
41 42 43 44 45
    </section>
    <section title="Bug fixes">
    </section>
  </release>

46 47 48 49 50 51
    If relevant for a given release, add a section for removed
    features too

    <section title="Removed features">
    </section>

52
     -->
53 54

<libvirt>
55 56 57 58 59 60 61 62
  <release version="v5.6.0" date="unreleased">
    <section title="New features">
    </section>
    <section title="Improvements">
    </section>
    <section title="Bug fixes">
    </section>
  </release>
D
Daniel Veillard 已提交
63
  <release version="v5.5.0" date="2019-07-02">
64 65 66 67 68 69 70 71 72 73 74 75
    <section title="Security">
      <change>
        <summary>
          api: Prevent access to several APIs over read-only connections
        </summary>
        <description>
          Certain APIs give root-equivalent access to the host, and as such
          should be limited to privileged users. CVE-2019-10161,
          CVE-2019-10166, CVE-2019-10167, CVE-2019-10168.
        </description>
      </change>
    </section>
76
    <section title="New features">
77 78 79 80 81 82 83 84
      <change>
        <summary>
          qemu: Support SMMUv3 IOMMU
        </summary>
        <description>
          SMMUv3 is an IOMMU implementation for ARM virt guests.
        </description>
      </change>
85 86 87 88 89 90 91 92 93 94
      <change>
        <summary>
          network: Introduce the network port API
        </summary>
        <description>
          This new public API can be used by virtualization drivers to
          manage network resources associated with guests, and is a further
          step towards splitting libvirtd into multiple daemons.
        </description>
      </change>
95
    </section>
96 97 98 99 100 101 102 103 104 105 106 107
    <section title="Removed features">
      <change>
        <summary>
          qemu: Remove support for virDomainQemuAttach and virConnectDomainXMLFromNative APIs
        </summary>
        <description>
          The qemu implementations for the APIs mentioned above were removed
          and the APIs now return an error. The implementation was stale for a
          long time and did not work with modern QEMU command lines, generated
          from libvirt or otherwise.
        </description>
      </change>
108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124
      <change>
        <summary>
          Stop supporting migration of config files from pre-XDG layout
        </summary>
        <description>
          The new layout was introduced with libvirt 0.9.13 (Jul 2012).
        </description>
      </change>
      <change>
        <summary>
          Remove Avahi mDNS support
        </summary>
        <description>
          This feature was never used outside of virt-manager, which has
          itself stopped using it a while ago.
        </description>
      </change>
125
    </section>
126
    <section title="Improvements">
127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160
      <change>
        <summary>
          sysinfo: Report SMBIOS information on aarch64
        </summary>
        <description>
          While SMBIOS support has historically been limited to x86_64, modern
          aarch64 machines often offer access to the same information as well,
          and libvirt now exposes it to the user when that's the case.
        </description>
      </change>
      <change>
        <summary>
          test driver: Expand API coverage
        </summary>
        <description>
          Even more APIs that were missing from the test driver have now been
          implemented.
        </description>
      </change>
      <change>
        <summary>
          virt-xml-validate: Allow input to be read from stdin
        </summary>
      </change>
      <change>
        <summary>
          qemu: Validate spapr-vio addresses as 32-bit
        </summary>
        <description>
          libvirt has always considered these addresses (used for pSeries
          guests) as 64-bit, but the sPAPR specification says that they're
          32-bit instead.
        </description>
      </change>
161 162
    </section>
    <section title="Bug fixes">
163 164 165 166 167 168 169 170 171 172 173
      <change>
        <summary>
          qemu: Set process affinity correctly when using &lt;numatune&gt;
        </summary>
        <description>
          libvirt would mistakenly interpret the <code>nodeset</code>
          attribute as a list of CPUs instead of as a list of NUMA node, and
          the process affinity would be set incorrectly as a result; this has
          now been fixed.
        </description>
      </change>
174 175
    </section>
  </release>
D
Daniel Veillard 已提交
176
  <release version="v5.4.0" date="2019-06-03">
177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199
    <section title="Security">
      <change>
        <summary>
          cpu: Introduce support for the md-clear CPUID bit
        </summary>
        <description>
          This bit is set when microcode provides the mechanism to invoke a
          flush of various exploitable CPU buffers by invoking the x86
          <code>VERW</code> instruction. CVE-2018-12126, CVE-2018-12127,
          CVE-2018-12130, CVE-2019-11091.
        </description>
      </change>
      <change>
        <summary>
          Restrict user access to virt-admin, virtlogd and virtlockd
        </summary>
        <description>
          The intended users for these facilities are the <code>root</code>
          user and the <code>libvirtd</code> service respectively, but these
          restrictions were not enforced correctly. CVE-2019-10132.
        </description>
      </change>
    </section>
200
    <section title="Improvements">
201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230
      <change>
        <summary>
          test driver: Expand API coverage
        </summary>
        <description>
          Several APIs that were missing from the test driver have now been
          implemented.
        </description>
      </change>
      <change>
        <summary>
          Avoid unnecessary static linking
        </summary>
        <description>
          Most binaries shipped as part of libvirt, for example
          <code>virtlogd</code> and <code>libvirt_iohelper</code>, were
          embedding parts of the library even though they also linked against
          the <code>libvirt.so</code> dynamic library. This is no longer the
          case, which results in both the disk and memory footprint being
          reduced.
        </description>
      </change>
      <change>
        <summary>
          qemu: Report stat-htlb-pgalloc and stat-htlb-pgfail balloon stats
        </summary>
        <description>
          These stats have been introduced in QEMU 3.0.
        </description>
      </change>
231 232
    </section>
    <section title="Bug fixes">
233 234 235 236 237 238 239 240 241
      <change>
        <summary>
          qemu: Fix emulator scheduler support
        </summary>
        <description>
          Setting the scheduler for QEMU's main thread before QEMU had a chance
          to start up other threads was misleading as it would affect other
          threads (vCPU and I/O) as well.  In some particular situations this
          could also lead to an error when the thread for vCPU #0 was being
A
Andrea Bolognani 已提交
242 243
          moved to its cpu,cpuacct cgroup.  This was fixed so that the
          scheduler for the main thread is set after QEMU starts.
244 245
        </description>
      </change>
246 247 248 249 250
      <change>
        <summary>
          apparmor: Allow hotplug of vhost-scsi devices
        </summary>
      </change>
251 252
    </section>
  </release>
D
Daniel Veillard 已提交
253
  <release version="v5.3.0" date="2019-05-04">
254
    <section title="New features">
255 256 257 258 259 260 261 262 263 264 265 266
      <change>
        <summary>
          qemu: Add support for setting the emulator scheduler parameters
        </summary>
        <description>
          I/O threads and vCPU threads already support setting schedulers, but
          until now it was impossible to do so for the main QEMU thread
          (emulator thread in the libvirt naming).  This is, however, requested
          for some very specific scenarios, for example when vCPU threads are
          running at such priority that could starve the main thread.
        </description>
      </change>
267
    </section>
268 269 270 271 272 273 274 275 276 277 278 279
    <section title="Removed features">
      <change>
        <summary>
          vbox: Drop support for VirtualBox 4.x releases
        </summary>
        <description>
          Support for all the 4.x releases was ended by
          VirtualBox maintainers in December 2015. Therefore,
          libvirt support for these releases is dropped.
        </description>
      </change>
    </section>
280
    <section title="Improvements">
281 282 283 284 285 286 287 288 289 290 291 292
      <change>
        <summary>
          qemu: Use PCI by default for RISC-V guests
        </summary>
        <description>
          PCI support for RISC-V guests was already available in libvirt
          5.1.0, but it required the user to opt-in by manually assigning
          PCI addresses: with this release, RISC-V guests will use PCI
          automatically when running against a recent enough (4.0.0+) QEMU
          release.
        </description>
      </change>
293 294 295 296 297 298 299 300 301 302 303 304
      <change>
        <summary>
          qemu: Advertise firmware autoselection in domain capabilities
        </summary>
        <description>
          The firmware autoselection feature is now exposed in
          domain capabilities and management applications can
          query for accepted values, i.e. values that are accepted
          and for which libvirt found firmware descriptor files.
          Firmware Secure Boot support is also advertised.
        </description>
      </change>
305 306 307 308 309 310 311 312 313
      <change>
        <summary>
          Drop YAJL 1 support
        </summary>
        <description>
          YAJL 2 is widely adopted and maintaining side by side
          support for two versions is unnecessary.
        </description>
      </change>
314 315
    </section>
    <section title="Bug fixes">
316 317 318 319 320 321 322 323 324 325
      <change>
        <summary>
          rpc: cleanup in virNetTLSContextNew
        </summary>
        <description>
          Failed new gnutls context allocations in virNetTLSContextNew
          function results in double free and segfault. Occasional memory
          leaks may also occur.
        </description>
      </change>
326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354
      <change>
        <summary>
          virsh: various completers fixes
        </summary>
        <description>
          There were some possible crashers, memory leaks, etc.
          which are now fixed.
        </description>
      </change>
      <change>
        <summary>
          qemu: Make hugepages work with memfd backend
        </summary>
        <description>
          Due to a bug in command line generation libvirt did not
          honor hugepages setting with memfd backend.
        </description>
      </change>
      <change>
        <summary>
          Enforce ACL write permission for getting guest time &amp; hostname
        </summary>
        <description>
          Getting the guest time and hostname both require use of
          guest agent commands. These must not be allowed for
          read-only users, so the permissions check must validate
          "write" permission not "read".
        </description>
      </change>
355 356
    </section>
  </release>
D
Daniel Veillard 已提交
357
  <release version="v5.2.0" date="2019-04-03">
358
    <section title="New features">
J
John Ferlan 已提交
359 360 361 362 363 364 365 366 367 368 369 370
      <change>
        <summary>
          Add Storage Pool Capabilities output
        </summary>
        <description>
          Add support to list an enumerated list of supported Storage
          Pools via the virConnectGetCapabilities API when connected
          via a Storage Driver. Add support to get a more detailed
          list XML output Storage Pool Capabilities vis the
          virConnectGetStoragePoolCapabilites API.
        </description>
      </change>
371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389
      <change>
        <summary>
          qemu: Support virtio-{non-}transitional device models
        </summary>
        <description>
          <code>virtio-transitional</code> and
          <code>virtio-non-transitional</code> <code>model</code> values
          were added to the QEMU driver for the following devices:
          <code>disk</code>, <code>interface</code>, <code>filesystem</code>,
          <code>rng</code>, <code>vsock</code>, <code>memballoon</code>,
          <code>controller</code> type <code>scsi</code>,
          <code>controller</code> type <code>virtio-serial</code>,
          <code>input</code> bus <code>virtio</code>
          type <code>passthrough</code>,
          <code>hostdev</code> type <code>scsi_host</code>. These new
          models can be used to give fine grained control over what
          virtio device version is presented to the guest.
        </description>
      </change>
390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405
      <change>
        <summary>
          qemu: Enable firmware autoselection
        </summary>
        <description>
          Libvirt allows users to provide loader path for some time now.
          However, this puts some burden on users because they need to
          know what firmware meets their requirements. Now that QEMU
          ships firmware description files this burden can be moved onto
          libvirt. It is as easy as setting the <code>firmware</code>
          attribute in the <code>os</code> element (accepted values are
          <code>bios</code> and <code>efi</code>). Moreover, libvirt
          automatically enables domain features needed for firmware it
          chooses.
        </description>
      </change>
406 407 408 409 410 411 412 413 414 415 416 417
      <change>
        <summary>
          snapshots: Add support for topological listings
        </summary>
        <description>
          A new flag VIR_DOMAIN_SNAPSHOT_LIST_TOPOLOGICAL is available
          for the various snapshot listing APIs such as
          virDomainListAllSnapshots(). For drivers that support the
          flag, the listed snapshots are guaranteed to be sorted such
          that parents occur before children.
        </description>
      </change>
418 419 420 421 422 423 424 425 426 427
      <change>
        <summary>
          Xen: Add support for max grant frames setting
        </summary>
        <description>
          Add support for Xen's max_grant_frames setting by adding a
          new xenbus controller type with a maxGrantFrames attribute.
          E.g. <code>&lt;controller type='xenbus' maxGrantFrames='64'/&gt;</code>
        </description>
      </change>
428 429 430 431 432 433 434 435 436 437 438 439
      <change>
        <summary>
          qemu: Add support for parallel migration
        </summary>
        <description>
          With QEMU 4.0.0 libvirt can enable parallel migration which causes
          the memory pages to be processed in parallel by several threads and
          sent to the destination host using several connections at the same
          time. This may increase migration speed in case a single thread is
          unable to saturate the network link.
        </description>
      </change>
440
    </section>
441 442 443 444 445 446 447 448 449 450 451 452 453
    <section title="Removed features">
      <change>
        <summary>
          Drop support for Upstart and "Red Hat" init scripts
        </summary>
        <description>
          Not a single one of the platforms we target still uses Upstart,
          and the Upstart project itself has been abandoned for several years
          now; the same is true for the "Red Hat" (really System V) init
          scripts, since RHEL 7 and later releases use systemd.
        </description>
      </change>
    </section>
454
    <section title="Improvements">
455 456 457 458 459
      <change>
        <summary>
          Report class information for PCI node device capability.
        </summary>
      </change>
460 461 462 463 464 465 466 467 468 469 470 471
      <change>
        <summary>
          Split setup of IPv4 and IPv6 top level chain
        </summary>
        <description>
          The requirement resulting from private chains improvement done
          in <code>v5.1.0</code> was refined so that only tables from
          corresponding IP version are required. This means that if a
          network doesn't have <code>IPv6</code> enabled then those
          tables are not required.
        </description>
      </change>
472 473 474 475 476 477 478 479 480 481 482
      <change>
        <summary>
          Don't default to building the QEMU driver
        </summary>
        <description>
          Historically, the QEMU driver has been special in that it was
          enabled by default, with the option to explicitly opt-out of it;
          starting now, we're enabling it opportunistically if we detect that
          all requirements are available, just like we do with other drivers.
        </description>
      </change>
483 484
    </section>
    <section title="Bug fixes">
485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510
      <change>
        <summary>
          virt-host-validate: Fix IOMMU check on s390x
        </summary>
      </change>
      <change>
        <summary>
          qemu: Allow creating pSeries guests with graphics and no USB mouse
        </summary>
        <description>
          It's now possible to prevent libvirt from automatically adding a
          USB mouse to pSeries guests by including a USB tablet in the input
          XML: doing so is desiderable as using a tablet results in a much
          better user experience when working with GUIs.
        </description>
      </change>
      <change>
        <summary>
          qemu: Set $HOME and XGD variables for qemu:///system guests
        </summary>
        <description>
          This avoids files being accidentally created under <code>/</code> or
          the guests not being able to start because they lack the necessary
          permissions to write to that location.
        </description>
      </change>
511 512
    </section>
  </release>
D
Daniel Veillard 已提交
513
  <release version="v5.1.0" date="2019-03-04">
514
    <section title="New features">
515 516 517 518 519 520 521 522 523 524 525
      <change>
        <summary>
          bhyve: Add support for additional command-line arguments
        </summary>
        <description>
          The bhyve driver now supports passing additional command-line
          arguments to the bhyve process using the new
          <code>&lt;bhyve:commandline&gt;</code> element in domain
          configuration.
        </description>
      </change>
526 527
      <change>
        <summary>
A
Andrea Bolognani 已提交
528
          network: Support setting a firewalld "zone" for virtual network bridges
529 530 531 532 533 534 535 536 537 538
        </summary>
        <description>
          All libvirt virtual networks with bridges managed by libvirt
          (i.e. those with forward mode of "nat", "route", "open", or
          no forward mode) will now be placed in a special firewalld
          zone called "libvirt" by default. The zone of any network
          bridge can be changed using the <code>zone</code> attribute
          of the network's <code>bridge</code> element.
        </description>
      </change>
539 540
      <change>
        <summary>
A
Andrea Bolognani 已提交
541
          bhyve: Support for ignoring unknown MSRs reads and writes
542 543 544 545 546 547 548
        </summary>
        <description>
          A new &lt;features&gt; element &lt;msrs unknown='ignore'/&gt; was
          introduced and the bhyve driver supports it to control unknown
          Model Specific Registers (MSRs) reads and writes.
        </description>
      </change>
549 550
      <change>
        <summary>
A
Andrea Bolognani 已提交
551
          qemu: Add support for encrypted VNC TLS keys
552 553 554 555
        </summary>
        <description>
          Use the password stored in the secret driver under the uuid
          specified by the <code>vnc_tls_x509_secret_uuid</code> option
A
Andrea Bolognani 已提交
556
          in qemu.conf.
557 558 559 560 561 562 563 564 565 566 567 568 569
        </description>
      </change>
      <change>
        <summary>
          Add storage pool namespace options
        </summary>
        <description>
          Allow for adjustment of RBD configuration options via Storage
          Pool XML Namespace adjustments.
        </description>
      </change>
      <change>
        <summary>
A
Andrea Bolognani 已提交
570
          qemu: Add support for setting post-copy migration bandwidth
571 572 573 574 575 576
        </summary>
        <description>
          Users can now limit the bandwidth of post-copy migration, e.g.
          via <code>virsh migrate --postcopy-bandwidth</code>.
        </description>
      </change>
577 578
    </section>
    <section title="Improvements">
579 580 581 582 583 584 585 586
      <change>
        <summary>
          Create private chains for virtual network firewall rules
        </summary>
        <description>
          Historically firewall rules for virtual networks were added
          straight into the base chains. This works but has a number of
          bugs and design limitations. To address them, libvirt now puts
587 588 589
          firewall rules into its own chains. Note that with this change the
          <code>filter</code>, <code>nat</code> and <code>mangle</code> tables
          are required for both <code>IPv4</code> and <code>IPv6</code>.
590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615
        </description>
      </change>
      <change>
        <summary>
          Detect CEPH and GPFS as shared FS
        </summary>
        <description>
          When starting a migration libvirt performs some sanity checks
          to make sure domain will be able to run on the destination.
          One of the requirements is that the disk has to either be
          migrated too or be accessible from a network filesystem. CEPH
          and GPFS weren't detected as a network filesystem.
        </description>
      </change>
      <change>
        <summary>
          Advertise network MTU via DHCP when specified
        </summary>
        <description>
          If network MTU is set and the network has DHCP enabled,
          advertise the MTU in DHCP transaction too so that clients can
          adjust their link accordingly.
        </description>
      </change>
      <change>
        <summary>
A
Andrea Bolognani 已提交
616
          qemu: Allocate memory at the configured NUMA nodes from start
617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638
        </summary>
        <description>
          Libvirt used to just start QEMU, let it allocate memory for
          the guest, and then use CGroups to move the memory to
          configured NUMA nodes. This is suboptimal as huge chunks of
          memory have to be moved. Moreover, this relies on ability to
          move memory later which is not always true. A change was made
          to set process affinity correctly from the start so that memory
          is allocated on the configured nodes from the beginning.
        </description>
      </change>
      <change>
        <summary>
          Support for newer Wireshark
        </summary>
        <description>
          Adapt libvirt to use the more recent release requiring a
          source build configuration of libvirt
          <code>--with-wireshark</code> to upgrade to the more recent
          version.
        </description>
      </change>
E
Eric Blake 已提交
639 640 641 642 643 644 645 646 647 648 649
      <change>
        <summary>
          Batch mode virsh and virt-admin parsing improvements
        </summary>
        <description>
          When parsing a single-argument command_string in batch mode,
          virsh and virt-admin now permit newlines in addition to
          semicolons for splitting commands, and backslash-newline for
          splitting long lines, to be more like shell parsing.
        </description>
      </change>
650 651
    </section>
    <section title="Bug fixes">
652 653 654 655 656 657 658
      <change>
        <summary>
          qemu: Use CAP_DAC_OVERRIDE during QEMU capabilities probing
        </summary>
        <description>
          By default, libvirt runs the QEMU process as <code>qemu:qemu</code>
          which could cause issues during probing as some features like AMD SEV
A
Andrea Bolognani 已提交
659
          might be inaccessible to QEMU because of file system permissions.
660 661 662 663
          Therefore, <code>CAP_DAC_OVERRIDE</code> is granted to overcome these
          for the purposes of probing.
        </description>
      </change>
664 665 666 667 668 669 670 671 672 673 674
      <change>
        <summary>
          storage: Add default mount options for fs/netfs storage pools
        </summary>
        <description>
          Altered the command line generation for fs/netfs storage pools to
          add some default options. For Linux based systems, the options
          added are "nodev, nosuid, noexec". For FreeBSD based systems,
          the options added are "nosuid, noexec".
        </description>
      </change>
675 676 677 678 679 680 681 682 683 684
      <change>
        <summary>
          qemu: Allow use of PCI for RISC-V guests
        </summary>
        <description>
          This works with QEMU 4.0.0+ only and is opt-in at the moment, since
          it requires users to manually assign PCI addresses, but is otherwise
          fully functional.
        </description>
      </change>
685 686
      <change>
        <summary>
A
Andrea Bolognani 已提交
687
          network: Fix virtual networks on systems using firewalld+nftables
688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711
        </summary>
        <description>
          Because of the transitional state of firewalld's new support
          for nftables, not all iptables features required by libvirt
          are yet available, so libvirt must continue to use iptables
          for its own packet filtering rules even when the firewalld
          backend is set to use nftables. However, due to the way
          iptables support is implemented in kernels using nftables
          (iptables rules are converted to nftables rules and
          processed in a separate hook from the native nftables
          rules), guest networking was broken on hosts with firewalld
          configured to use nftables as the backend. This has been
          fixed by putting libvirt-managed bridges in their own
          firewalld zone, so that guest traffic can be forwarded
          beyond the host and host services can be exposed to guests
          on the virtual network without opening up those same
          services to the rest of the physical network. This means
          that host access from virtual machines is no longer
          controlled by the firewalld default zone (usually "public"),
          but rather by the new firewalld zone called "libvirt"
          (unless configured otherwise using the new zone
          attribute of the network bridge element).
        </description>
      </change>
712 713
      <change>
        <summary>
A
Andrea Bolognani 已提交
714
          qemu: Fix i6300esb watchdog hotplug on Q35
715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744
        </summary>
        <description>
          Ensure that libvirt allocates a PCI address for the device so
          that QEMU did not default to an address that would not allow
          for device hotplug.
        </description>
      </change>
      <change>
        <summary>
          lxc: Don't reboot host on virDomainReboot
        </summary>
        <description>
          If the container is really a simple one (init is just bash and
          the whole root is passed through) then virDomainReboot and
          virDomainShutdown would reboot or shutdown the host. The
          solution is to use different method to reboot or shutdown the
          container in that case (e.g. signal).
        </description>
      </change>
      <change>
        <summary>
          rpc: Various stream fixes
        </summary>
        <description>
          One particular race was fixed, one locking problem and error
          reporting from streams was made better.
        </description>
      </change>
      <change>
        <summary>
A
Andrea Bolognani 已提交
745
          qemu: Fix guestfwd hotplug/hotunplug
746 747 748 749 750 751 752 753 754
        </summary>
        <description>
          Fixed the generation of the guestfwd hotplug/unplug command
          sent to QEMU to match the syntax used when creating the
          initial command line.
        </description>
      </change>
      <change>
        <summary>
A
Andrea Bolognani 已提交
755
          qemu: Forbid CDROMs on virtio bus
756 757 758 759 760 761 762 763 764
        </summary>
        <description>
          Attempting to create an empty virtio-blk drive or attempting
          to eject it results into an error.  Forbid configurations
          where users would attempt to use CDROMs in virtio bus.
        </description>
      </change>
      <change>
        <summary>
A
Andrea Bolognani 已提交
765
          qemu: Use 'raw' for 'volume' disks without format
766 767 768 769 770 771 772 773 774 775 776
        </summary>
        <description>
          Storage pools might want to specify format of the image when
          translating the volume thus libvirt can't add any default
          format when parsing the XML. Add an explicit format when
          starting the VM and format is not present neither by user
          specifying it nor by the storage pool translation function.
        </description>
      </change>
      <change>
        <summary>
A
Andrea Bolognani 已提交
777
          qemu: Assume 'raw' default storage format also for network storage
778 779 780 781 782 783 784 785 786
        </summary>
        <description>
          Post parse callback adds the 'raw' type only for local files.
          Remote files can also have backing store (even local) so we
          should do this also for network backed storage.
        </description>
      </change>
      <change>
        <summary>
A
Andrea Bolognani 已提交
787
          qemu: Fix block job progress reporting and advocate for READY event
788 789 790 791 792 793 794 795 796 797 798
        </summary>
        <description>
          In some cases QEMU can get to 100% and still not reach the
          synchronised phase. Initiating a pivot in that case will fail.
          Therefore it is strongly advised to wait for
          <code>VIR_DOMAIN_BLOCK_JOB_READY</code> event which does not
          suffer from this problem.
        </description>
      </change>
      <change>
        <summary>
A
Andrea Bolognani 已提交
799
          qemu: Don't format image properties for empty drive
800 801 802 803 804 805 806 807
        </summary>
        <description>
          If a <code>-drive</code> has no image, then formatting
          attributes such as cache, readonly, etc. would cause errors to
          be reported from QEMU. This was fixed by not supplying the
          attributes for devices without an image.
        </description>
      </change>
E
Eric Blake 已提交
808 809 810 811 812 813 814 815 816 817
      <change>
        <summary>
          External snapshot metadata redefinition is fixed
        </summary>
        <description>
          Attempting to use VIR_DOMAIN_SNAPSHOT_CREATE_REDEFINE to
          reinstate the metadata describing an external snapshot
          created earlier for an offline domain no longer fails.
        </description>
      </change>
818 819
    </section>
  </release>
D
Daniel Veillard 已提交
820
  <release version="v5.0.0" date="2019-01-15">
821
    <section title="New features">
822 823 824 825 826 827 828 829 830 831
      <change>
        <summary>
          Xen: Add support for openvswitch
        </summary>
        <description>
          The libxl driver now supports virtual interfaces that connect to
          an openvswitch bridge, including interfaces with VLAN tagging and
          trunking configuration.
        </description>
      </change>
832 833 834 835 836 837 838 839 840 841
      <change>
        <summary>
          qemu: Report whether KVM nesting is available
        </summary>
        <description>
          Running nested KVM guests requires specific configuration steps to
          be performed on the host; libvirt will now report in the host
          capabilities whether KVM nesting support is available.
        </description>
      </change>
842
    </section>
M
Michal Privoznik 已提交
843 844 845 846 847 848 849 850 851 852 853 854 855 856
    <section title="Removed features">
      <change>
        <summary>
          Drop UML driver
        </summary>
        <description>
          The UML driver was unmaintained and not tested for
          quite some time now. Worse, there is a bug that causes
          it to deadlock on some very basic operations (e.g.
          dumping domain XML). These facts make us believe no one
          uses it.
        </description>
      </change>
    </section>
857
    <section title="Improvements">
858 859 860 861 862
      <change>
        <summary>
          qemu: Add support for ARMv6l guests
        </summary>
      </change>
863 864 865 866 867 868 869 870 871 872
      <change>
        <summary>
          Support more NVDIMM configuration options
        </summary>
        <description>
          Introduce more configuration options. For the source element, add
          the 'alignsize' and 'pmem' subelements. For the target element, add
          the 'readonly' subelement.
        </description>
      </change>
873 874 875 876 877 878 879 880 881 882
      <change>
        <summary>
          cpu: Add support for "stibp" x86_64 feature
        </summary>
        <description>
          Add cpu flag stibp (Single Thread Indirect Branch Predictors) to
          prevent indirect branch predictions from being controlled by the
          sibling Hyperthread.
        </description>
      </change>
883 884 885 886 887 888 889 890 891 892 893
      <change>
        <summary>
          libxl: Handle external domain destroy
        </summary>
        <description>
          Historically, if a domain was destroyed using <code>xl</code>
          rather than through libvirt APIs, libvirt would not be aware of
          the fact and keep considering it as running. This is no longer the
          case.
        </description>
      </change>
894 895 896 897 898 899 900 901 902 903 904 905 906
      <change>
        <summary>
          Start selecting the first available DRI device for OpenGL operations
        </summary>
        <description>
          If OpenGL support is needed (either with SPICE gl enabled or with
          egl-headless), libvirt is now able to pick the first available DRI
          device for the job. At the same time, this improvement is also a
          bugfix as it prevents permission-related issues with regards to our
          mount namespaces and the default DRI render node's permissions which
          would normally prevent QEMU from accessing such a device.
        </description>
      </change>
907 908 909 910 911 912 913 914 915
      <change>
        <summary>
          qemu: Add support for postcopy-requests migration statistics
        </summary>
        <description>
          The <code>virDomainJobInfo</code> can get number page requests
          received from the destination host during post-copy migration.
        </description>
      </change>
916 917
    </section>
    <section title="Bug fixes">
918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934
      <change>
        <summary>
          lxc: Don't forbid interfaces with type=direct
        </summary>
        <description>
          Such interfaces are supported by lxc and should be allowed.
        </description>
      </change>
      <change>
        <summary>
          qemu: Fully clean up RNG devices on detach
        </summary>
        <description>
          Some RNG device types, such as those using EGD, might need extra
          clean up on the host in addition to removing the guest-side device.
        </description>
      </change>
935 936
    </section>
  </release>
D
Daniel Veillard 已提交
937
  <release version="v4.10.0" date="2018-12-03">
938
    <section title="New features">
939 940 941 942 943 944 945 946 947
      <change>
        <summary>
          qemu: Add Hyper-V PV IPI and Enlightened VMCS support
        </summary>
        <description>
          The QEMU driver now has support for Hyper-V PV IPI and Enlightened VMCS
          for Windows and Hyper-V guests.
        </description>
      </change>
948 949 950 951 952 953 954 955 956 957 958
      <change>
        <summary>
          qemu: Added support for PCI devices on S390
        </summary>
        <description>
          PCI addresses can now include the new zpci element which contains
          uid (user-defined identifier) and fid (PCI function identifier)
          attributes and makes the corresponding devices usable by S390
          guests.
        </description>
      </change>
959 960 961 962 963 964 965 966 967 968 969 970 971
      <change>
        <summary>
          Support changing IOThread polling parameters for a live guest
        </summary>
        <description>
          Introduced virDomainSetIOThreadParams which allows dynamically
          setting the IOThread polling parameters used by QEMU to manage
          the thread polling interval and the algorithm for growth or
          shrink of the polling time. The values only affect a running
          guest with IOThreads. The guest's IOThread polling values can
          be viewed via the domain statistics.
        </description>
      </change>
972 973 974 975 976 977 978 979 980 981
      <change>
        <summary>
          Xen: Add support for PVH
        </summary>
        <description>
          The libxl driver now supports Xen's PVH virtual machine type.
          PVH machines are enabled with the new "xenpvh" OS type, e.g.
          <code>&lt;os&gt;&lt;type&gt;xenpvh&lt;/type&gt;&lt;/os&gt;</code>
        </description>
      </change>
W
Wang Huaqiang 已提交
982 983 984 985 986 987 988 989 990 991 992 993
      <change>
        <summary>
          qemu: Added support for CMT (Cache Monitoring Technology)
        </summary>
        <description>
          Introduced cache monitoring using the <code>monitor</code>
          element in <code>cachetune</code> for vCPU threads. Added
          interfaces to get and display the cache utilization statistics
          through the command 'virsh domstats' via the
          virConnectGetAllDomainStats API.
        </description>
      </change>
994 995 996 997 998 999 1000 1001 1002 1003
      <change>
        <summary>
          qemu: Add support for nested HV for pSeries guests
        </summary>
        <description>
          Nested HV support makes it possible to run nested (L2) guests
          with minimal performance penalty when compared to regular (L1)
          guests on ppc64 hardware.
        </description>
      </change>
1004 1005
    </section>
    <section title="Bug fixes">
1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016
      <change>
        <summary>
          Xen: Handle soft reset shutdown event
        </summary>
        <description>
          The pvops Linux kernel uses soft reset to handle the crash
          machine operation. The libxl driver now supports the soft
          reset shutdown event, allowing proper crash handling of
          pvops-based HVM domains.
        </description>
      </change>
1017 1018
    </section>
  </release>
D
Daniel Veillard 已提交
1019
  <release version="v4.9.0" date="2018-11-04">
J
Ján Tomko 已提交
1020
    <section title="New features">
A
Andrea Bolognani 已提交
1021 1022 1023 1024 1025 1026 1027 1028 1029 1030
      <change>
        <summary>
          util: Add cgroup v2 support
        </summary>
        <description>
          cgroup v2 support has been implemented in libvirt, with both
          "unified" (v2 only) and "hybrid" (v2 + v1) setups being usable;
          existing "legacy" (v1 only) setups will keep working.
        </description>
      </change>
1031 1032 1033 1034 1035 1036 1037 1038 1039
      <change>
        <summary>
          qemu: Add vfio AP support
        </summary>
        <description>
          The QEMU driver now has support to passthrough adjunct processors
          into QEMU guests on S390.
        </description>
      </change>
J
Ján Tomko 已提交
1040 1041
    </section>
    <section title="Improvements">
A
Andrea Bolognani 已提交
1042 1043 1044 1045 1046 1047 1048 1049 1050
      <change>
        <summary>
          rpc: Make 'genprotocol' output reproducible
        </summary>
        <description>
          This is another step towards making libvirt builds fully
          reproducible.
        </description>
      </change>
J
Ján Tomko 已提交
1051 1052
    </section>
    <section title="Bug fixes">
A
Andrea Bolognani 已提交
1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082
      <change>
        <summary>
          security: Fix permissions for UNIX sockets
        </summary>
        <description>
          Since 4.5.0, libvirt is using FD passing to hand sockets over to
          QEMU, which in theory removes the need for them to be accessible by
          the user under which the QEMU process is running; however, other
          processes such as vdsm need to access the sockets as well, which
          means adjusting permissions is still necessary.
        </description>
      </change>
      <change>
        <summary>
          cpu_map: Add Icelake model definitions
        </summary>
        <description>
          These CPU models will be available in the upcoming 3.1.0 QEMU
          release.
        </description>
      </change>
      <change>
        <summary>
          util: Properly parse URIs with missing trailing slash
        </summary>
        <description>
          Some storage URIs were not parsed correctly, in which case libvirt
          ended up emitting XML that it would then refuse to parse back.
        </description>
      </change>
J
Ján Tomko 已提交
1083 1084
    </section>
  </release>
D
Daniel Veillard 已提交
1085
  <release version="v4.8.0" date="2018-10-01">
1086
    <section title="New features">
1087 1088 1089 1090 1091 1092 1093 1094
      <change>
        <summary>
          Xen: Support PM Suspend and Wakeup
        </summary>
        <description>
          The libxl driver now supports the virDomainPMSuspendForDuration
          and virDomainPMWakeup APIs.
        </description>
1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105
      </change>
    </section>
    <section title="Removed features">
      <change>
        <summary>
          Xen: Drop support for Xen 4.4 and 4.5
        </summary>
        <description>
          Xen 4.4 and 4.5 are no longer supported by the Xen community.
          Drop support for these older versions and require Xen >= 4.6.
        </description>
1106
      </change>
F
Fabiano Fidêncio 已提交
1107 1108 1109 1110 1111 1112 1113 1114 1115
      <change>
        <summary>
          nwfilter: Disallow binding creation in session mode
        </summary>
        <description>
          Ensure that a filter binding creation is not attempted in session
          mode and generates a proper error message.
        </description>
      </change>
1116 1117
    </section>
    <section title="Improvements">
1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128
      <change>
        <summary>
          qemu: Retrieve guest hostname through QEMU Guest Agent command
        </summary>
	<description>
          QEMU is now able to retrieve the guest hostname using a new QEMU-GA
	  command called 'guest-get-host-name'. Virsh users can execute
          'domhostname' for QEMU driver for domains configured to use the
          Guest Agent.
        </description>
      </change>
F
Fabiano Fidêncio 已提交
1129 1130 1131 1132 1133 1134 1135 1136 1137
      <change>
        <summary>
          virsh: Implement vsh-table in virsh and virsh-admin
        </summary>
        <description>
          The new API fixes problems with table-alignment, making the tables
          more readable and deals with unicode.
        </description>
      </change>
1138 1139
    </section>
    <section title="Bug fixes">
F
Fabiano Fidêncio 已提交
1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168
      <change>
        <summary>
          storage: Allow inputvol to be encrypted
        </summary>
        <description>
          When creating a storage volume based on another volume, the base
          input volume is allowed to be encrypted.
        </description>
      </change>
      <change>
        <summary>
          virsh: Require explicit --domain for domxml-to-native
        </summary>
        <description>
          The --domain option for domxml-to-native virsh command has always
          been documented as required, but commit v4.3.0-127-gd86531daf2
          accidentally made it optional.
        </description>
      </change>
      <change>
        <summary>
          lxc_monitor: Avoid AB / BA lock race
        </summary>
        <description>
          A deadlock situation could occur when autostarting a LXC domain
          'guest' due to two threads attempting to take opposing locks while
          holding opposing locks (AB BA problem).
        </description>
      </change>
1169 1170
    </section>
  </release>
D
Daniel Veillard 已提交
1171
  <release version="v4.7.0" date="2018-09-03">
1172
    <section title="New features">
1173 1174 1175 1176 1177 1178 1179 1180 1181
      <change>
        <summary>
          storage: add storage pool iscsi-direct
        </summary>
        <description>
          Introduce a new storage pool backend that uses libiscsi instead of
          iscsiadm. It support basic pool operations: checkPool and refreshPool.
        </description>
      </change>
1182 1183 1184 1185 1186 1187 1188 1189 1190
      <change>
        <summary>
          Add support for MBA (Memory Bandwidth Allocation technology)
        </summary>
        <description>
          Domain vCPU threads can now have allocated some parts of host memory
          bandwidth by using the <code>memorytune</code> element in <code>cputune</code>.
        </description>
      </change>
1191 1192 1193 1194 1195 1196 1197 1198
      <change>
        <summary>
          qemu: Add support for RISC-V guests
        </summary>
        <description>
          riscv32 and riscv64 guest architectures are now supported.
        </description>
      </change>
1199 1200
    </section>
    <section title="Improvements">
1201 1202 1203 1204 1205 1206 1207 1208
      <change>
        <summary>
          qemu: Add ccw support for vhost-vsock
        </summary>
        <description>
          Support the vhost-vsock-ccw device on S390.
        </description>
      </change>
1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230
      <change>
        <summary>
          qemu: Make default machine type independent of QEMU
        </summary>
        <description>
          We can't control whether or not QEMU will change its default
          machine type in the future, or whether downstream distributions
          will decide to compile out some machine types, so our only option
          to provide a predictable behavior is taking care of the default
          ourselves; management applications and users are encouraged to
          explicitly pick a machine type when creating new guests.
        </description>
      </change>
      <change>
        <summary>
          apparmor: Various improvements
        </summary>
        <description>
          Rules have been added to deal with a number of scenarios that
          didn't work correctly.
        </description>
      </change>
1231 1232
    </section>
    <section title="Bug fixes">
1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255
      <change>
        <summary>
          esx: Truncate CPU model name
        </summary>
        <description>
          Some CPU model names are too long to be stored into the
          corresponding property, and should be explicitly truncated
          to avoid unexpected behavior in users of the
          <code>virNodeGetInfo()</code> API such as
          <code>virsh nodeinfo</code>.
        </description>
      </change>
      <change>
        <summary>
          utils: Remove arbitrary limit on socket_id/core_id
        </summary>
        <description>
          Both values were assumed to be smaller than 4096, but in fact
          they are entirely hardware-dependent and there have been reports
          of machines presenting much bigger values, preventing libvirt from
          working correctly; all such limits have now been removed.
        </description>
      </change>
1256 1257
    </section>
  </release>
D
Daniel Veillard 已提交
1258
  <release version="v4.6.0" date="2018-08-06">
J
John Ferlan 已提交
1259
    <section title="New features">
1260 1261 1262 1263 1264 1265 1266 1267 1268
      <change>
        <summary>
          qemu: Implement the HTM pSeries feature
        </summary>
        <description>
          Users can now decide whether HTM (Hardware Transactional Memory)
          support should be available to the guest.
        </description>
      </change>
1269 1270 1271 1272 1273 1274 1275 1276 1277 1278
      <change>
        <summary>
          qemu: Enable VNC console for mediated devices
        </summary>
        <description>
          Host devices now support a new atribute 'display' which can be used
          to turn on frame buffer rendering on a vgpu mediated device instead of
          on an emulated GPU, like QXL.
        </description>
      </change>
J
John Ferlan 已提交
1279 1280
    </section>
    <section title="Improvements">
1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291
      <change>
        <summary>
          qemu: Introduce a new video model of type 'none'
        </summary>
        <description>
          Introduce a new video model type that disables the automatic addition
          of a video device to domains with 'graphics' specified in their XML.
          This can be useful with GPU mediated devices which can serve as the
          only rendering devices within the guest.
        </description>
      </change>
1292 1293 1294 1295 1296 1297 1298 1299 1300
      <change>
        <summary>
          virsh: Add --alias to attach-disk and attach-interface commands
        </summary>
        <description>
          Add option --alias to set customized device alias name when
          using attach-disk or attach-interface commands.
        </description>
      </change>
1301 1302 1303 1304 1305 1306 1307 1308 1309 1310
      <change>
        <summary>
          virsh: Support usb and sata address to attach-disk
        </summary>
        <description>
          Usb or sata address could be used when attach-disk with --address.
          For example, use usb address as usb:&lt;bus&gt;.&lt;port&gt;, use
          sata address as &lt;controller&gt;.&lt;bus&gt;.&lt;unit&gt;.
        </description>
      </change>
J
John Ferlan 已提交
1311 1312
    </section>
  </release>
D
Daniel Veillard 已提交
1313
  <release version="v4.5.0" date="2018-07-02">
1314
    <section title="New features">
1315 1316 1317 1318 1319 1320 1321 1322 1323
      <change>
        <summary>
          qemu: Provide TPM emulator support
        </summary>
        <description>
          Support QEMU's TPM emulator based on swtpm. Each QEMU guest gets
          its own virtual TPM.
        </description>
      </change>
1324 1325 1326 1327 1328 1329 1330 1331 1332
      <change>
        <summary>
          bhyve: Support specifying guest CPU topology
        </summary>
        <description>
          Bhyve's guest CPU topology could be specified using the
          <code>&lt;cpu&gt;&lt;topology ../&gt;&lt;/cpu&gt;</code> element.
        </description>
      </change>
1333 1334 1335 1336 1337 1338 1339 1340
      <change>
        <summary>
          qemu: Add support for extended TSEG size
        </summary>
        <description>
          Support specifying extended TSEG size for SMM in QEMU.
        </description>
      </change>
1341 1342 1343 1344 1345 1346 1347 1348 1349 1350
      <change>
        <summary>
          qemu: Add support for SEV guests
        </summary>
        <description>
          SEV (Secure Encrypted Virtualization) is a feature available on AMD
          CPUs that encrypts the guest memory and makes it inaccessible even
          to the host OS.
        </description>
      </change>
1351
    </section>
1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365
    <section title="Removed features">
      <change>
        <summary>
          Remove support for qcow/default encrypted volumes
        </summary>
        <description>
          Disallow using a qcow encrypted volume for the guest and
          disallow creation of the qcow or default encrypted volume
          from the storage driver. Support for qcow encrypted volumes
          has been phasing out since QEMU 2.3 and by QEMU 2.9 creation
          of a qcow encrypted volume via qemu-img required usage of
          secret objects, but that support was never added to libvirt.
        </description>
      </change>
1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383
      <change>
        <summary>
          Make GnuTLS mandatory
        </summary>
        <description>
          Building without GnuTLS is no longer possible.
        </description>
      </change>
      <change>
        <summary>
          qemu: Remove allow_disk_format_probing configuration option
        </summary>
        <description>
          The option represented a security risk when used with malicious
          disk images, so users were recommended against enabling it; with
          this release, it's been removed altogether.
        </description>
      </change>
1384
    </section>
1385
    <section title="Improvements">
1386 1387 1388 1389 1390 1391 1392 1393
      <change>
        <summary>
          capabilities: Provide info about host IOMMU support
        </summary>
        <description>
          Capabilities XML now provide information about host IOMMU support.
        </description>
      </change>
1394 1395 1396 1397 1398 1399 1400 1401 1402 1403
      <change>
        <summary>
          virsh: Add --all to domblkinfo command
        </summary>
        <description>
          Alter the <code>domblkinfo</code> command to add the option
          --all in order to display the size details of each domain
          block device from one command in a output table.
        </description>
      </change>
1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416
      <change>
        <summary>
          qemu: Allow concurrent access to monitor and guest agent
        </summary>
        <description>
          Historically libvirt prevented concurrent accesses to
          the qemu monitor and the guest agent. Therefore two
          independent calls (one querying the monitor and the
          other querying guest agent) would serialize which hurts
          performance. The code was reworked to allow two
          independent calls run at the same time.
        </description>
      </change>
1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427
      <change>
        <summary>
          qemu: Allow configuring the page size for HPT pSeries guests
        </summary>
        <description>
          For HPT pSeries guests, the size of the host pages used to back guest
          memory and the usable guest page sizes are connected; the new setting
          can be used to request that a certain page size is available in the
          guest.
        </description>
      </change>
1428 1429 1430 1431 1432 1433 1434 1435 1436 1437
      <change>
        <summary>
          Add support to use an raw input volume for encryption
        </summary>
        <description>
          It is now possible to provide a raw input volume as input for
          to generate a luks encrypted volume via either virsh vol-create-from
          or virStorageVolCreateXMLFrom.
        </description>
      </change>
1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470
      <change>
        <summary>
          qemu: Add support for vsock hot (un)plug and cold (un)plug
        </summary>
      </change>
      <change>
        <summary>
          qemu: Add support for NBD over TLS
        </summary>
        <description>
          NBD volumes can now be accessed securely.
        </description>
      </change>
      <change>
        <summary>
          qemu: Implement FD passing for Unix sockets
        </summary>
        <description>
          Instead of having QEMU open the socket and then connecting to it,
          which is inherently racy, starting with QEMU 2.12 we can open the
          socket ourselves and pass it to QEMU, avoiding race conditions.
        </description>
      </change>
      <change>
        <summary>
          virsh: Introduce --nowait option for domstat command
        </summary>
        <description>
          When this option is specified, virsh will try to fetch the guest
          stats but abort instead of stalling if they can't be retrieved right
          away.
        </description>
      </change>
1471 1472
    </section>
    <section title="Bug fixes">
1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483
      <change>
        <summary>
          qemu: Fix a potential libvirtd crash on VM reconnect
        </summary>
        <description>
          Initialization of the driver worker pool needs to come before libvirtd
          trying to reconnect to all machines, since one of the QEMU processes
          migh have already emitted events which need to be handled prior to
          us getting to the worker pool initialization.
        </description>
      </change>
1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503
      <change>
        <summary>
          qemu: Fix domain resume after failed migration
        </summary>
        <description>
          Recent versions of QEMU activate block devices before the guest CPU
          has been started, which makes it impossible to roll back a failed
          migration. Use the <code>late-block-activate</code> migration
          capability if supported to avoid the issue.
        </description>
      </change>
      <change>
        <summary>
          vmx: Permit guests to have an odd number of vCPUs
        </summary>
        <description>
          An odd number of vCPUs greater than 1 was forbidden in the past,
          but current versions of ESXi have lifted that restriction.
        </description>
      </change>
1504 1505
    </section>
  </release>
D
Daniel Veillard 已提交
1506
  <release version="v4.4.0" date="2018-06-04">
J
Ján Tomko 已提交
1507
    <section title="New features">
1508 1509 1510 1511 1512 1513 1514 1515 1516 1517
      <change>
        <summary>
          bhyve: Support locking guest memory
        </summary>
        <description>
          Bhyve's guest memory may be wired using the
          <code>&lt;memoryBacking&gt;&lt;locked/&gt;&lt;/memoryBacking&gt;</code>
          element.
        </description>
      </change>
1518 1519 1520 1521 1522 1523 1524 1525 1526
      <change>
        <summary>
          qemu: Provide VFIO channel I/O passthrough support
        </summary>
        <description>
          Support passthrough devices that use channel I/O based mechanism in
          a QEMU virtual machine.
        </description>
      </change>
1527 1528 1529 1530 1531 1532 1533 1534 1535 1536
      <change>
        <summary>
          qemu: Add support for migration of VMs with non-shared storage over TLS
        </summary>
        <description>
          It's now possible to use the VIR_MIGRATE_TLS flag together with
          VIR_MIGRATE_NON_SHARED_DISK. The connection is then secured using the
          TLS environment which is setup for the migration connection.
        </description>
      </change>
1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549
      <change>
        <summary>
          Add support for VM Generation ID
        </summary>
        <description>
          The VM Generatation ID exposes a 128-bit, cryptographically
          random, integer value identifier, referred to as a Globally
          Unique Identifier (GUID) to the guest in order to notify the
          guest operating system when the virtual machine is executed
          with a different configuration. Add a new domain XML processing
          and a domain capabilities feature.
        </description>
      </change>
1550 1551 1552 1553 1554 1555 1556 1557
      <change>
        <summary>
          Introduce virDomainDetachDeviceAlias
        </summary>
        <description>
          This new API enables users to detach device using only its alias.
        </description>
      </change>
1558 1559 1560 1561 1562 1563 1564 1565 1566
      <change>
        <summary>
          Introduce new virConnectCompareHypervisorCPU and virConnectBaselineHypervisorCPU APIs
        </summary>
        <description>
          Unlike the old virConnectCompareCPU and virConnectBaselineCPU APIs,
          both new APIs consider capabilities of a specific hypervisor.
        </description>
      </change>
1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585
      <change>
        <summary>
          Introduce SCSI persistent reservations support
        </summary>
        <description>
          The QEMU driver gained support for qemu-pr-helper which enables
          guests to issue SCSI commands for persistent reservation.
        </description>
      </change>
      <change>
        <summary>
          qemu: Implement multiple screen support for virDomainScreenshot
        </summary>
        <description>
          While the virDomainScreenshot API supported multihead video cards,
          the implementation was missing. But now that QEMU implemented it
          libvirt has done as well.
        </description>
      </change>
J
Ján Tomko 已提交
1586 1587 1588 1589 1590 1591 1592 1593 1594
      <change>
        <summary>
          qemu: add support for vhost-vsock-device
        </summary>
        <description>
          A new vsock device was introduced, allowing communication between
          the guest and the host via the AF_VSOCK family.
        </description>
      </change>
J
Ján Tomko 已提交
1595 1596
    </section>
    <section title="Improvements">
1597 1598 1599 1600 1601 1602 1603 1604 1605
      <change>
        <summary>
          qemu: Add suport for OpenGL rendering with SDL
        </summary>
        <description>
          Domains using SDL as a graphics backend will now be able to use
          OpenGL accelerated rendering.
        </description>
      </change>
1606 1607 1608 1609 1610 1611 1612 1613 1614
      <change>
        <summary>
          qemu: Add support for 'output' audio codec
        </summary>
        <description>
          Support QEMU's 'hda-output' codec advertising only a line-out for ich6
          and ich9 sound devices.
        </description>
      </change>
L
Lin Ma 已提交
1615 1616 1617 1618 1619 1620 1621 1622 1623
      <change>
        <summary>
          virsh: Enhance event name completion
        </summary>
        <description>
          Implement event name completion for some commands (e.g. event,
          secret-event, pool-event and nodedev-event)
        </description>
      </change>
J
Ján Tomko 已提交
1624 1625
    </section>
  </release>
D
Daniel Veillard 已提交
1626
  <release version="v4.3.0" date="2018-05-02">
1627
    <section title="New features">
1628 1629 1630 1631 1632 1633 1634 1635 1636
      <change>
        <summary>
          qemu: Add support for the pcie-to-pci-bridge controller
        </summary>
        <description>
          Pure PCIe guests such as x86_64/q35 and aarch64/virt will now
          add this controller when traditional PCI devices are in use.
        </description>
      </change>
1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648
      <change>
        <summary>
          Xen: Support setting CPU features for host-passthrough model
        </summary>
        <description>
          The CPU model presented to Xen HVM domains is equivalent to libvirt's
          host-passthrough model, although individual features can be enabled
          and disabled via the cpuid setting. The libvirt libxl driver now
          supports enabling and disabling individual features of the
          host-passthrough CPU model.
        </description>
      </change>
1649
    </section>
1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661
    <section title="Removed features">
      <change>
        <summary>
          Xen: Drop the legacy xend-based driver
        </summary>
        <description>
          The xm/xend toolstack was deprecated in Xen 4.2 and removed
          from the Xen sources in the 4.5 development cycle. The libvirt
          driver based on xend is now removed from the libvirt sources.
        </description>
      </change>
    </section>
1662
    <section title="Improvements">
1663 1664 1665 1666 1667 1668 1669 1670 1671 1672
      <change>
        <summary>
          qemu: Support hot plug and hot unplug of mediated devices
        </summary>
        <description>
          Libvirt now allows mediated devices to be hot plugged and hot
          unplugged from a guest rather than reporting an error that this isn't
          supported. In fact, kernel has been supporting this since 4.10.
        </description>
      </change>
1673 1674
    </section>
    <section title="Bug fixes">
1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686
      <change>
        <summary>
          Improve handling of device mapper targets
        </summary>
        <description>
          When starting a domain with a disk backed by a device
          mapper volume libvirt also needs to allow the storage
          backing the device mapper in CGroups. In the past
          kernel did not care, but starting from 4.16 CGroups are
          consulted on each access to the device mapper target.
        </description>
      </change>
1687 1688
    </section>
  </release>
D
Daniel Veillard 已提交
1689
  <release version="v4.2.0" date="2018-04-01">
1690
    <section title="New features">
1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701
      <change>
        <summary>
          Support building with Python 3
        </summary>
        <description>
          Python is required to build libvirt, and up until now only Python 2
          could be used as an interpreter. All scripts used during build have
          now been made compatible with Python 3, which means both major
          releases of the language are fully supported.
        </description>
      </change>
1702 1703 1704 1705 1706 1707 1708 1709 1710 1711
      <change>
        <summary>
          qemu: Provide ccw address support for graphics and input devices
        </summary>
        <description>
          Support the virtio-gpu-ccw device as a video device and
          virtio-{keyboard, mouse, tablet}-ccw devices as input devices
          on S390.
        </description>
      </change>
1712 1713
    </section>
    <section title="Improvements">
1714 1715 1716 1717 1718 1719 1720 1721 1722
      <change>
        <summary>
          qemu: Add logging of guest crash information on S390
        </summary>
        <description>
          On S390, when the guest crashes and QEMU exposes the guest crash
          information, log the relevant data to the domain log file.
        </description>
      </change>
1723 1724 1725 1726 1727 1728 1729 1730 1731
      <change>
        <summary>
          qemu: use arp table of host to get the IP address of guests
        </summary>
        <description>
          Find IP address of a VM by arp table on hosts.
          If someone customizing IP address inside VM, it will be helpful.
        </description>
      </change>
1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747
      <change>
        <summary>
          Xen: Remove hard-coded scheduler weight
        </summary>
        <description>
          The libxl driver was accidentally hard-coding the per-domain
          scheduler weight to 1000, silently ignoring any user-provided
          <code>&lt;shares&gt;</code> in <code>&lt;cputune&gt;</code>. The
          driver now honors <code>&lt;shares&gt;</code>, and defers setting
          a default value to Xen. Note that the Xen default is 256, so any
          domains started after this improvement will have one fourth the
          shares of previously started domains. If all domains must have
          equal CPU shares, administrators must manually set the weight of
          previously started domains to 256, or restart them.
        </description>
      </change>
1748 1749
    </section>
    <section title="Bug fixes">
1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761
      <change>
        <summary>
          qemu: TLS migration now enforces use of TLS for the NBD connection
        </summary>
        <description>
          When the VIR_MIGRATE_TLS flag was used with the migration API libvirt
          did not ensure that the NBD connection was using TLS as well. The code
          now rejects such migration as the TLS transport for NBD is not ready
          yet, but prevents a false sense of security that TLS would be used.
          The support TLS for NBD will be added soon.
        </description>
      </change>
1762 1763
    </section>
  </release>
D
Daniel Veillard 已提交
1764
  <release version="v4.1.0" date="2018-03-05">
1765
    <section title="New features">
1766 1767 1768 1769 1770 1771 1772 1773 1774
      <change>
        <summary>
          Added support for CAT (Cache allocation Technology)
        </summary>
        <description>
          Domain vCPU threads can now have allocated some parts of host cache
          using the <code>cachetune</code> element in <code>cputune</code>.
        </description>
      </change>
M
Michal Privoznik 已提交
1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796
      <change>
        <summary>
          Allow opening secondary drivers
        </summary>
        <description>
          Up until now it was possible to connect to only hypervisor drivers
          (e.g. qemu:///system, lxc:///, vbox:///system, and so on). The
          internal drivers (like network driver, node device driver, etc.) were
          hidden from users and users could use them only indirectly. Starting
          with this release new connection URIs are accepted. For instance
          network:///system, storage:///system and so on.
        </description>
      </change>
      <change>
        <summary>
          virtlogd, virtlockd: Add support for admin protocol
        </summary>
        <description>
          These two daemons now support admin protocol through which some admin
          info can be gathered or some configuration tweaked on the fly.
        </description>
      </change>
1797 1798
    </section>
    <section title="Improvements">
1799 1800 1801 1802 1803 1804 1805 1806 1807 1808
      <change>
        <summary>
          virsh: Enhance bash completion
        </summary>
        <description>
          Implement more bash completions so that basic libvirt
          objects can be auto-completed (e.g. networks,
          interfaces, NWFilters, and so on).
        </description>
      </change>
1809 1810 1811 1812 1813
      <change>
        <summary>
          qemu: Use VIR_ERR_DEVICE_MISSING for various hotplug/detach messages
        </summary>
      </change>
1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824
      <change>
        <summary>
          qemu: Allow showing the dump progress for memory only dump
        </summary>
        <description>
          Alter the QEMU dump-guest-memory command processing to check
          for and allow asynchronous completion which then allows for
          the virsh dump --memory-only --verbose command to display percent
          completion data.
        </description>
      </change>
1825 1826 1827 1828 1829
      <change>
        <summary>
          conf: add support for setting Chassis SMBIOS data fields
        </summary>
      </change>
1830 1831 1832 1833 1834
      <change>
        <summary>
          libxl: add support for setting clock offset and adjustment
        </summary>
      </change>
M
Michal Privoznik 已提交
1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850
      <change>
        <summary>
          Make port allocator global
        </summary>
        <description>
          Up until now each driver had their own port allocator module. This
          meant that info on port usage was not shared. Starting with this
          release, the port allocator module is made global and therefore
          drivers allocate ports from global pool.
        </description>
      </change>
      <change>
        <summary>
          Fixed some compiler warnings that appear with GCC 8
        </summary>
      </change>
1851 1852
    </section>
    <section title="Bug fixes">
M
Michal Privoznik 已提交
1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925
      <change>
        <summary>
          qemu: Check for unsafe migration more thoroughly
        </summary>
        <description>
          If a domain disk is stored on local filesystem (e.g. ext4) but is
          not being migrated it is very likely that domain is not able to
          run on destination. Regardless of share/cache mode.
        </description>
      </change>
      <change>
        <summary>
          qemu: Fix updating device with boot order
        </summary>
        <description>
          Starting with 3.7.0 release updating any device with boot order would
          fail with 'boot order X is already used by another device' while in
          fact it was the very same device.
        </description>
      </change>
      <change>
        <summary>
          virlog: determine the hostname on startup CVE-2018-6764
        </summary>
        <description>
          At later point it might not be possible or even safe to use
          getaddrinfo(). It can in turn result in a load of NSS module which
          can even be loaded from unsage guest filesystem and thus escape the
          confinment of its container.
        </description>
      </change>
      <change>
        <summary>
          qemu: Rework vCPU statistics fetching
        </summary>
        <description>
          Fetching vCPU statistics was very expensive because it lead to waking
          up vCPU threads in QEMU and thus it degraded performance. The code
          was reworked so that fetching statistics does not wake up halted
          vCPUs.
        </description>
      </change>
      <change>
        <summary>
          qemu: unlink memory backing file on domain shutdown
        </summary>
        <description>
          Depending on the filesystem where domain memory is stored, some files
          might have been left behind. This is not a problem on hugetlbfs, but
          it is a problem on regular filesystems like ext4.
        </description>
      </change>
      <change>
        <summary>
          qemu: Fix shutting down domains in parallel
        </summary>
        <description>
          If multiple domains were being shut down in parallel, libvirtd might
          have deadlocked.
        </description>
      </change>
      <change>
        <summary>
          nodedev: Update PCI mdev capabilities dynamically
        </summary>
        <description>
          PCI devices may have other nested capabilities, like SRIOV and mdev
          which depend on the device being plugged into the native vendor
          driver. However, in case such a device is directly assigned to a guest
          using VFIO driver, the device will naturally lose these capabilities
          and libvirt needs to reflect that.
        </description>
      </change>
1926 1927
    </section>
  </release>
D
Daniel Veillard 已提交
1928
  <release version="v4.0.0" date="2018-01-19">
1929
    <section title="New features">
A
Andrea Bolognani 已提交
1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953
      <change>
        <summary>
          tools: Provide bash completion support
        </summary>
        <description>
          Both <code>virsh</code> and <code>virt-admin</code> now implement
          basic bash completion support.
        </description>
      </change>
      <change>
        <summary>
          qemu: Refresh capabilities on host microcode update
        </summary>
        <description>
          A microcode update can cause the CPUID bits to change; therefore,
          the capabilities cache should be rebuilt when such an update is
          detected on the host.
        </description>
      </change>
      <change>
        <summary>
          lxc: Set hostname based on container name
        </summary>
      </change>
1954 1955
    </section>
    <section title="Improvements">
A
Andrea Bolognani 已提交
1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971
      <change>
        <summary>
          CPU frequency reporting improvements
        </summary>
        <description>
          The CPU frequency will now be reported by <code>virsh nodeinfo</code>
          and other tools for s390 hosts; at the same time; CPU frequency has
          been disabled on aarch64 hosts because there's no way to detect it
          reliably.
        </description>
      </change>
      <change>
        <summary>
          libxl: Mark domain0 as persistent
        </summary>
      </change>
1972 1973
      <change>
        <summary>
J
John Ferlan 已提交
1974
          Xen: Add support for multiple IP addresses on interface devices
1975 1976
        </summary>
      </change>
1977 1978 1979 1980 1981
      <change>
        <summary>
          qemu: Add support for hot unplugging redirdev device
        </summary>
      </change>
1982 1983
    </section>
    <section title="Bug fixes">
A
Andrea Bolognani 已提交
1984 1985 1986 1987 1988 1989 1990 1991 1992 1993
      <change>
        <summary>
          qemu: Enforce vCPU hotplug granularity constraints
        </summary>
        <description>
          QEMU 2.7 and newer don't allow guests to start unless the initial
          vCPUs count is a multiple of the vCPU hotplug granularity, so
          validate it and report an error if needed.
        </description>
      </change>
1994 1995
    </section>
  </release>
D
Daniel Veillard 已提交
1996
  <release version="v3.10.0" date="2017-12-04">
1997
    <section title="New features">
1998 1999 2000 2001 2002 2003 2004 2005
      <change>
        <summary>
          conf: Support defining distances between virtual NUMA cells
        </summary>
        <description>
          A NUMA hardware architecture supports the notion of distances
          between NUMA cells. This can now be specified using the
          <code>&lt;distances&gt;</code> element within the NUMA cell
2006
          configuration. Drivers which support this include Xen and QEMU.
2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017
        </description>
      </change>
      <change>
        <summary>
          Xen: Support defining vNUMA topology
        </summary>
        <description>
          Xen now supports defining a virtual NUMA topology for VMs,
          including specifying distances between NUMA cells.
        </description>
      </change>
2018 2019 2020 2021 2022 2023 2024 2025 2026 2027
      <change>
        <summary>
          qemu: Add the ability to configure HPT resizing for pSeries guests
        </summary>
        <description>
          The user can now decide whether HPT (Hash Page Table) resizing
          should be enabled, disabled or required instead of leaving it up to
          hypervisor defaults and negotiation between the guest and the host.
        </description>
      </change>
2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038
      <change>
        <summary>
          qemu: Add vmcoreinfo feature
        </summary>
        <description>
          Starting with QEMU 2.11, the guest can save kernel debug
          details when this feature is enabled and the kernel supports
          it. It is useful to process kernel dump with KASLR enabled,
          and also provides various kernel details to crash tools.
        </description>
      </change>
2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051
      <change>
        <summary>
          conf: Move the auth and encryption definitions to disk source
        </summary>
        <description>
          Allow parsing and formatting of the <code>auth</code> and
          <code>encryption</code> sub-elements to be a child of the
          <code>source</code> element. This will allow adding an
          <code>auth</code> sub-element to a <code>backingStore</code>
          or <code>mirror</code> elements as a means to track specific
          authentication and/or encryption needs.
        </description>
      </change>
2052 2053
    </section>
    <section title="Improvements">
D
Dawid Zamirski 已提交
2054 2055 2056 2057 2058
      <change>
        <summary>
          vbox: Add VirtualBox 5.2 support
        </summary>
      </change>
2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099
      <change>
        <summary>
          vbox: Add support for configuring storage controllers
        </summary>
        <description>
          The VirtualBox driver now supports the <code>&lt;controller&gt;</code>
          element in the domain XML for configuring storage controllers in VBOX
          VMs.  Additionally, libvirt's domain XML schema was updated to allow
          optional <code>model</code> attribute for <code>&lt;controller
              type='ide'&gt;</code> which is used by the VBOX driver to set the
          IDE controller model to be one of 'piix4', 'piix4' (default), or
          'ich6'.  Finally, with this change <code>dumpxml</code> generates
          <code>&lt;controller&gt;</code> elements that correspond to current
          VBOX VM storage controller configuration.
        </description>
      </change>
      <change>
        <summary>
          vbox: Add support for attaching empty removable disks
        </summary>
        <description>
          The VirutalBox driver now supports adding CD-ROM and floppy disk
          devices that do not have the disk source specified. Previously such
          devices were silently ignored.
        </description>
      </change>
      <change>
        <summary>
          vbox: Add support for attaching SAS storage controllers
        </summary>
        <description>
          In VirtualBox, SCSI and SAS are distinct controller types whereas
          libvirt does not make such distinction. Therefore, the VBOX driver was
          updated to allow attaching SAS controllers via <code>&lt;controller
              type='scsi' model='lsisas1068'&gt;</code> element. If there are
          both SCSI and SAS controllers present in the VBOX VM, the domain XML
          can associate the disk device using the <code>&lt;address&gt;</code>
          element with the <code>controller</code> attribute, and optionally,
          set the port via <code>unit</code> attribute.
        </description>
      </change>
2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110
      <change>
        <summary>
          qemu: Generate predictable paths for qemu memory backends
        </summary>
        <description>
          In some cases management applications need to know
          paths passed to memory-backend-file objects upfront.
          Libvirt now generates predictable paths so applications
          can prepare the files if they need to do so.
        </description>
      </change>
P
Peter Krempa 已提交
2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123
      <change>
        <summary>
          Shareable disks work properly with recent qemu
        </summary>
        <description>
          Recent qemu versions added image locking to avoid potential corruption
          of disk images. This broke shareable disks with libvirt since the
          feature was turned on by default in qemu. Libvirt now enables sharing
          of those disks in qemu so that the image locking is not applied in
          that case. Additionally libvirt now checks that shareable disks have
          supported format (raw) to avoid metadata corruption.
        </description>
      </change>
2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135
      <change>
        <summary>
          Improve serial console behavior on non-x86 architectures
        </summary>
        <description>
          ppc64, aarch64 and s390x guests were treating the &lt;serial&gt;
          and &lt;console&gt; elements differently from x86, in some cases
          presenting misleading information to the user. The behavior is now
          consistent across all architectures and the information reported
          is always accurate.
        </description>
      </change>
2136 2137
    </section>
    <section title="Bug fixes">
2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170
      <change>
        <summary>
          vbox: Do not ignore failures to attach disk devices when defining
        </summary>
        <description>
          The <code>define</code> now fails and reports an error if any of the
          <code>controller</code> or <code>disk</code> devices specified in the
          domain XML fail to attach to the VirtualBox VM.
        </description>
      </change>
      <change>
        <summary>
          vbox: Fix dumpxml to always output disk devices
        </summary>
        <description>
          The VirtualBox driver was ignoring any disk devices in
          <code>dumpxml</code> output if there was a SAS storage controller
          attached to the VM.
        </description>
      </change>
      <change>
        <summary>
          vbox: Fix dumpxml to always generate valid domain XML
        </summary>
        <description>
          When a VirtualBox VM has multiple disks attached, each to a different
          storage controller that uses 'sd' prefix for block device names e.g.
          one disk attached to SATA and one to SCSI controller, it no longer
          generates XML where both would have 'sda' device name assigned.
          Instead it properly assigns 'sda' and 'sdb' to those disks in the
          order of appearance.
        </description>
      </change>
2171 2172 2173 2174 2175 2176 2177 2178 2179 2180
      <change>
        <summary>
          Securely pass iSCSI authentication data
        </summary>
        <description>
          Rather than supplying the authentication data as part of the
          iSCSI URL for a disk or host device, utilize the encrypted
          secret object to securely pass the authentication data.
        </description>
      </change>
2181 2182
    </section>
  </release>
D
Daniel Veillard 已提交
2183
  <release version="v3.9.0" date="2017-11-02">
P
Peter Krempa 已提交
2184
    <section title="New features">
2185 2186 2187 2188 2189
      <change>
        <summary>
          Add capability to allow hot (un)plug of a domain watchdog device
        </summary>
      </change>
M
Michal Privoznik 已提交
2190 2191 2192 2193 2194 2195 2196 2197 2198
      <change>
        <summary>
          Allow users to set device aliases
        </summary>
        <description>
          Users can set aliases to domain devices and thus identify them
          easily.
        </description>
      </change>
A
Andrea Bolognani 已提交
2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230
      <change>
        <summary>
          qemu: Support multiqueue for virtio-blk
        </summary>
        <description>
          Multiqueue support for <code>virtio-blk</code> has been available
          in QEMU ever since 2.7.0, and now libvirt guests can enable it.
        </description>
      </change>
      <change>
        <summary>
          Add virDomainSetLifecycleAction API
        </summary>
        <description>
          Provided a new API to allow dynamic guest lifecycle control for
          guest reactions to poweroff, restart, or crash type events related
          to the domain XML <code>on_poweroff</code>, <code>on_reboot</code>,
          and <code>on_crash</code> elements. The
          <code>virsh set-lifecycle-action</code> command was created to
          control the actions.
        </description>
      </change>
      <change>
        <summary>
          qemu: Allow cold(un)plugging and hot(un)plugging input devices
        </summary>
      </change>
      <change>
        <summary>
          net: Implement QoS for vhostuser
        </summary>
      </change>
P
Peter Krempa 已提交
2231 2232
    </section>
    <section title="Improvements">
J
John Ferlan 已提交
2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245
      <change>
        <summary>
          Allow a logical volume to be create using LUKS
        </summary>
        <description>
          A logical volume may be created using an <code>encryption</code>
          element using "luks" format. This does require a previously created
          <code>secret</code> to store the passphrase used to encrypt the
          volume Adding the volume to a domain can then either provide the
          secret or allow the consumer in the guest to provide the passphrase
          in order to decrypt the volume.
        </description>
      </change>
A
Andrea Bolognani 已提交
2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324
      <change>
        <summary>
          net: Ignore auto-generated MAC address when detaching an interface
        </summary>
        <description>
          If the MAC address has not been specified by the user, libvirt will
          try and fill in the gaps by generating one; however, for some error
          paths that led to some confusing error messages, so when an
          auto-generated MAC address is specified the error message will not
          include the auto-generated MAC.
        </description>
      </change>
      <change>
        <summary>
          net: Enable MAC address lookup for virDomainInterfaceStats
        </summary>
      </change>
      <change>
        <summary>
          apparmor: Several improvements
        </summary>
        <description>
          Changes include permitting access to data about USB devices and
          <code>dnsmasq</code> instances, allowing spaces in guest names and
          many more.
        </description>
      </change>
      <change>
        <summary>
          cpu: Use CPU information obtained from QEMU when possible
        </summary>
        <description>
          Recent QEMU versions can expose information about which CPU models
          are available and usable on the host; libvirt will now make use of
          such information whenever possible.
        </description>
      </change>
      <change>
        <summary>
          hyperv: Various improvements
        </summary>
        <description>
          The error reported when clients can't connect to Hyper-V has been
          made more descriptive, and memory limits for guests are now mapped
          to more appropriate libvirt equivalents.
        </description>
      </change>
      <change>
        <summary>
          qemu: Report QEMU error on failed migration
        </summary>
        <description>
          Instead of reporting a generic error, ask QEMU for a more detailed
          and thus hopefully more helpful one.
        </description>
      </change>
      <change>
        <summary>
          vbox: Implement autoport for RDP
        </summary>
        <description>
          libvirt will now obtain the (dynamically allocated) RDP port number
          from VirtualBox itself, avoiding conflicts between multiple guests
          wanting to use RDP at the same time.
        </description>
      </change>
      <change>
        <summary>
          qemu: Allow rotation of small logs
        </summary>
        <description>
          On a host where numerous unique instances are executed per day, it's
          quite possible that, even though each of the single log files are
          fairly small, collectively the quantity and volume may add tens of
          thousands of log files to the <code>/var/log/libvirt/qemu/</code>
          directory. Removing the constraints that log have to be bigger than
          100 KiB before they can be rotated solves the issue.
        </description>
      </change>
P
Peter Krempa 已提交
2325 2326
    </section>
    <section title="Bug fixes">
2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337
      <change>
        <summary>
          Fix swapped interface statistics and QoS
        </summary>
        <description>
          Due to internal implementation, reported statistics for
          some types of interfaces were swapped (RX appeared in
          TX and vice versa). Similarly, QoS was set in reversed
          way.
        </description>
      </change>
J
John Ferlan 已提交
2338 2339 2340 2341 2342 2343 2344 2345 2346 2347
      <change>
        <summary>
          Properly resize local LUKS encrypted volume
        </summary>
        <description>
          Resizing of a local LUKS encrypted volume will now use qemu-img
          to resize the volume. This will require configuring a secret for
          the LUKS encrypted volume.
        </description>
      </change>
A
Andrea Bolognani 已提交
2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381
      <change>
        <summary>
          qemu: Reserve PCI addresses for implicit i440fx devices
        </summary>
        <description>
          Failing to do so causes the addresses to be considered usable by
          libvirt, which means they could be assigned to more than one device
          resulting in the guest failing to start.
        </description>
      </change>
      <change>
        <summary>
          spec: Restart libvirtd only at the end of the upgrade process
        </summary>
        <description>
          Use <code>%posttrans</code> to make sure <code>libvirtd</code>
          is not restarted before all other components, such as the library
          itself and storage / hypervisor drivers, have already been upgraded.
        </description>
      </change>
    </section>
    <section title="Security">
      <change>
        <summary>
          qemu: Ensure TLS clients always verify the server certificate
        </summary>
        <description>
          While it's reasonable to turn off client certificate validation,
          as setting it up can be non-trivial, clients should always verify
          the server certificate to avoid MITM attacks. However, libvirt was
          using the same knob to control both checks, leading to
          CVE-2017-1000256 / LSN-2017-0002.
        </description>
      </change>
P
Peter Krempa 已提交
2382 2383
    </section>
  </release>
D
Daniel Veillard 已提交
2384
  <release version="v3.8.0" date="2017-10-04">
2385
    <section title="New features">
2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405
      <change>
        <summary>
          qemu: Added support for cold-(un)plug of watchdog devices
        </summary>
      </change>
      <change>
        <summary>
          qemu: Added support for setting IP address os usernet interfaces
        </summary>
      </change>
      <change>
        <summary>
          qemu: Added support for Veritas Hyperscale (VxHS) block devices
        </summary>
      </change>
      <change>
        <summary>
          storage: Added new events for pool-build and pool-delete
        </summary>
      </change>
2406 2407
    </section>
    <section title="Improvements">
2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419
      <change>
        <summary>
          qemu: Set DAC permissions properly for spice rendernode
        </summary>
        <description>
          When a <code>rendernode</code> path is set for SPICE GL on
          <code>qemu:///system</code>, we now correctly set DAC permissions
          on the device at VM startup. This is the last remaining hurdle to
          let SPICE GL work for <code>qemu:///system</code> without any
          external host changes.
        </description>
      </change>
2420 2421 2422 2423 2424 2425 2426
      <change>
        <summary>
          nodedev: Add switchdev offload query to NIC capabilities
        </summary>
        <description>
            Allow querying the NIC interface capabilities for the
            availability of switchdev offloading (also known as
2427
            kernel-forward-plane-offload).
2428 2429
        </description>
      </change>
2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449
      <change>
        <summary>
          New CPU models for AMD and Intel
        </summary>
        <description>
          AMD EPYC and Intel Skylake-Server CPU models were added together with
          their features
        </description>
      </change>
      <change>
        <summary>
          Improve long waiting when saving a domain
        </summary>
        <description>
          While waiting for a write to disk to be finished, e.g. during save,
          even simple operations like <code>virsh list</code> would be blocking
          due to domain lock. This is now resolved by unlocking the domain
          in places where it is not needed.
        </description>
      </change>
2450 2451
    </section>
    <section title="Bug fixes">
2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492
      <change>
        <summary>
          Proper units are now used in virsh manpage for dom(mem)stats
        </summary>
        <description>
          Previously the documentation used multiples of 1000, but now it is
          fixed to use multiples of 1024.
        </description>
      </change>
      <change>
        <summary>
          qemu: Fix error reporting when disk attachment fails
        </summary>
        <description>
          There was a possibility for the actual error to be overridden or
          cleared during the rollback.
        </description>
      </change>
      <change>
        <summary>
          qemu: Fix assignment of graphics ports after daemon restart
        </summary>
        <description>
          This could be seen with newer kernels that have bug regarding
          SO_REUSEADDR. After libvirtd was restarted it could assign already
          used address to new guests which would make them fail to start. This
          is fixed by marking used ports unavailable when reconnecting to
          running QEMU domains.
        </description>
      </change>
      <change>
        <summary>
          Fix message decoding which was causing a very strange bug
        </summary>
        <description>
          When parsing an RPC message with file descriptors was interrupted and
          had to restart, the offset of the payload was calculated badly causing
          strange issues like not being able to find a domain that was not
          requested.
        </description>
      </change>
2493 2494
    </section>
  </release>
D
Daniel Veillard 已提交
2495
  <release version="v3.7.0" date="2017-09-04">
2496
    <section title="New features">
2497 2498 2499 2500 2501 2502 2503 2504 2505 2506
      <change>
        <summary>
          qemu: Add managedsave-edit commands
        </summary>
        <description>
          Using managedsave-dumpxml, managedsave-define and managedsave-edit
          commands, now we can dump and edit the XML configuration of domain
          which has managedsave image.
        </description>
      </change>
2507 2508
      <change>
        <summary>
2509 2510 2511 2512 2513 2514 2515 2516
          qemu: Add migrate-getmaxdowntime command
        </summary>
        <description>
          Currently, the maximum tolerable downtime for a domain being migrated
          is write-only from libvirt, via migrate-setmaxdowntime. This
          implements a complementary migrate-getmaxdowntime command
        </description>
      </change>
2517 2518 2519 2520 2521 2522 2523 2524 2525 2526
      <change>
        <summary>
          bhyve: Support autoport for VNC ports
        </summary>
        <description>
          It's no longer necessary to explicitly specify VNC port for the bhyve
          guests. With the autoport feature it will be allocated automatically.
          Please refer to the bhyve driver documentation for examples.
        </description>
      </change>
2527 2528 2529 2530 2531
      <change>
        <summary>
          qemu: Added support for setting heads of virtio GPU
        </summary>
      </change>
2532 2533 2534 2535 2536 2537 2538 2539 2540
      <change>
        <summary>
          qemu: Added support to configure reconnect timeout for chardev devices
        </summary>
        <description>
          When you have a TCP or UNIX chardev device and it's connected somewhere
          you can configure reconnect timeout if the connection is closed.
        </description>
      </change>
2541 2542
    </section>
    <section title="Improvements">
P
Peter Krempa 已提交
2543 2544 2545 2546 2547 2548 2549 2550 2551 2552
      <change>
        <summary>
          qemu: Report a clear error when dropping a VM during startup
        </summary>
        <description>
          "Failed to load config for domain 'DOMNAME'" is now reported if a VM
          config can't be parsed for some reason, and thus provides a clear
          indication for users (and devs).
        </description>
      </change>
2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590
      <change>
        <summary>
          apparmor: Update for QEMU 2.10 compatibility
        </summary>
        <description>
          Starting with QEMU 2.10, disk images and NVRAM files get
          automatically locked to prevent them from being corrupted; however,
          file locking needs to be explicitly allowed through
          <code>virt-aa-helper</code> or AppArmor will reject the requests and
          the guest will not be able to run.
        </description>
      </change>
      <change>
        <summary>
          virsh: List Unix sockets in 'domdisplay' output
        </summary>
        <description>
          VNC and SPICE graphics can use Unix sockets instead of TCP/IP sockets
          as connection endpoints, but such a configuration was not handled
          correctly by <code>virsh domdisplay</code>, causing the respective
          endpoints to be missing from the output.
        </description>
      </change>
      <change>
        <summary>
          qemu: Don't check whether offline migration is safe
        </summary>
        <description>
          Since offline migration only copies the guest definition to the
          destination host, data corruption is not a concern and the operation
          can always be performed safely.
        </description>
      </change>
      <change>
        <summary>
          virt-host-validate: Fix IOMMU detection on ppc64
        </summary>
      </change>
2591 2592
    </section>
    <section title="Bug fixes">
2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612
      <change>
        <summary>
          qemu: Better support for international domain names (with wide characters)
        </summary>
        <description>
          There were some issues with multi-byte domains getting lost
          on daemon restart due to truncation, so the code now handles
          multi-byte names a bit better.
        </description>
      </change>
      <change>
        <summary>
          qemu: Support long domain names with namespaces
        </summary>
        <description>
          Domains with extremely long names would fail to start due to
          temporary namespace paths being created with the whole name.
          The path is now generated with shortened name instead.
        </description>
      </change>
P
Peter Krempa 已提交
2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624
      <change>
        <summary>
          qemu: Tolerate missing emulator binary during libvirtd restart
        </summary>
        <description>
          For some time libvirt required qemu capabilities being present when
          parsing VM configs during startup. As a side effect VM configs would
          fail to parse and thus vanish, if the emulator binary would be
          uninstalled or broken. Libvirt now tolerates when capabilities
          are missing during startup.
        </description>
      </change>
2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637
      <change>
        <summary>
          qemu: Prevent pSeries guests from disappearing in some situations
        </summary>
        <description>
          pSeries guest would disappear if any of the host devices they were
          configured to use was not available during libvirtd startup, which
          could easily happen for SR-IOV Virtual Functions. This scenario is
          now handled correctly.
        </description>
      </change>
      <change>
        <summary>
2638
          qemu: Honor &lt;on_reboot/&gt; setting
2639 2640 2641 2642 2643 2644 2645
        </summary>
        <description>
          The setting was accepted by the parser, but not actually implemented.
        </description>
      </change>
      <change>
        <summary>
2646
          Fix --verbose option for all daemons
2647 2648
        </summary>
        <description>
2649
          Since v3.0.0, the option had been ignored by all libvirt daemons
2650 2651 2652 2653
          (<code>libvirtd</code>, <code>virtlogd</code> and
          <code>virtlockd</code>); it's now working as intended once again.
        </description>
      </change>
2654 2655
    </section>
  </release>
D
Daniel Veillard 已提交
2656
  <release version="v3.6.0" date="2017-08-02">
J
John Ferlan 已提交
2657
    <section title="New features">
2658 2659 2660 2661 2662
      <change>
        <summary>
          hyperv: Implement virDomainSetMemory and virDomainSendKey APIs
        </summary>
      </change>
2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673
      <change>
        <summary>
          qemu: Support multiple PHBs for pSeries guests
        </summary>
        <description>
          pSeries guests can now have multiple PHBs (PCI Host Bridges), which
          show up as separate PCI domains in the guest. To create additional
          PHBs, simply add PCI controllers with model <code>pci-root</code>
          to the guest configuration.
        </description>
      </change>
2674 2675 2676 2677 2678 2679 2680 2681 2682 2683
      <change>
        <summary>
          qemu: Isolate hostdevs on pSeries guests
        </summary>
        <description>
          To enable better error reporting and recovery, unrelated hostdevs
          will now be automatically isolated on pSeries guests by placing them
          on separate PHBs (PCI Host Bridges).
        </description>
      </change>
J
John Ferlan 已提交
2684 2685
    </section>
    <section title="Improvements">
2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697
      <change>
        <summary>
          qemu: platform serial devices can now use chardev features
        </summary>
        <description>
          QEMU VMs that depend on platform serial devices can now use
          QEMU's <code>-chardev</code> option, which enables access to
          advanced features like log file configuration. This applies
          to the default serial devices for arm, aarch64, and some ppc
          configurations.
        </description>
      </change>
2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714
      <change>
        <summary>
          Require use of GCC 4.4 or Clang compilers
        </summary>
        <description>
          We only ever test libvirt with GCC or Clang (which
          provides a GCC compatible compilation environment).
          Between them, these compilers cover every supported
          operating system platform, including Windows.
        </description>
      </change>
      <change>
        <summary>
          qemu: shared disks with directsync cache should be safe for migration
        </summary>
        <description>
          At present shared disks can be migrated with either readonly or
2715
          <code>cache=none</code>. But <code>cache=directsync</code> should be
2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728
          safe for migration, because both <code>cache=directsync</code> and
          <code>cache=none</code> don't use the host page cache, and
          <code>cache=direct</code> write through qemu block layer cache.
        </description>
      </change>
      <change>
        <summary>
          Handle hotplug change on VLAN configuration using OVS
        </summary>
        <description>
          Libvirt was taught to handle VLAN change for running OVS interface.
        </description>
      </change>
J
John Ferlan 已提交
2729 2730
    </section>
    <section title="Bug fixes">
2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752
      <change>
        <summary>
          qemu: Use vCPU 'node-id' property and pass it back to qemu
        </summary>
        <description>
          vCPU properties gathered from query-hotpluggable-cpus need to be
          passed back to QEMU. As QEMU did not use the node-id property until
          now and libvirt forgot to pass it back properly (it was parsed but
          not passed around) we did not honor this.
        </description>
      </change>
      <change>
        <summary>
          Miscellaneous stream fixes
        </summary>
        <description>
          After introducing sparse stream features there were still some known
          bugs left. Those are fixed in this release.
        </description>
      </change>
      <change>
        <summary>
A
Andrea Bolognani 已提交
2753
          qemu: Miscellaneous domain NS fixes
2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768
        </summary>
        <description>
          Libvirt starts qemu domains in separate Linux namespaces for a while
          now. However, there were still some bugs lingering. For instance
          libvirt did not know how to handle file based bind mounts.
        </description>
      </change>
      <change>
        <summary>
          Various CPU driver improvements
        </summary>
        <description>
          There were some minor bugs when using 'host-model' CPU.
        </description>
      </change>
J
John Ferlan 已提交
2769 2770
    </section>
  </release>
D
Daniel Veillard 已提交
2771
  <release version="v3.5.0" date="2017-07-04">
2772
    <section title="New features">
2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783
      <change>
        <summary>
          qemu: Add support for loadparm for a boot device
        </summary>
        <description>
          Add an optional boot parameter 'loadparm' for a boot device.
          Loadparm is an 8 byte parameter that, when present, is queried by
          S390 guests via sclp or diag 308. Linux guests on S390 use it to
          select a boot entry.
        </description>
      </change>
2784 2785 2786 2787 2788 2789 2790
      <change>
        <summary>
          Support controlling how video devices are exposed to the bhyve guests
        </summary>
        <description>
          The <code>vgaconf</code> attribute was added to <code>video</code>'s
          <code>driver</code> element. Possible values are: <code>on</code>,
V
Ville Skyttä 已提交
2791
          <code>off</code>, and <code>io</code>. It controls the way how
2792 2793 2794 2795
          bhyve exposes video devices to its guests; various guest OSes might
          require different settings to boot properly.
        </description>
      </change>
2796 2797 2798 2799 2800 2801 2802 2803 2804 2805
      <change>
        <summary>
          qemu: Add support for live updates of coalesce settings
        </summary>
        <description>
          Users can now use <code>virsh update-device</code> to change
          the coalesce settings of an interfaces while the domain is
          running.
        </description>
      </change>
2806 2807 2808 2809 2810 2811 2812 2813 2814
      <change>
        <summary>
          qemu: Allow VirtIO devices to use vIOMMU
        </summary>
        <description>
          It is now possible to turn on IOTBL for the vIOMMU and have VirtIO
          devices use it, provided they have been configured appropriately.
        </description>
      </change>
2815 2816
    </section>
    <section title="Improvements">
2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837
      <change>
        <summary>
          qemu: block copy job can be used with persistent domains
        </summary>
        <description>
          Until now it was not possible to use block copy with persistent VMs.
          In use cases where it's not required to recover the job after VM
          shutdown, it's possible to specify VIR_DOMAIN_BLOCK_COPY_TRANSIENT_JOB
          flag to start the copy job.
        </description>
      </change>
      <change>
        <summary>
          JSON pseudo-protocol backing store parser supports new format of qemu 2.9
        </summary>
        <description>
          QEMU 2.9 modified a few structures corresponding to the JSON format
          of specifying a backing store for a disk image. Libvirt now implements
          the new format.
        </description>
      </change>
2838 2839 2840 2841 2842 2843 2844 2845 2846
      <change>
        <summary>
          Capabilities now include info about host's CAT settings
        </summary>
        <description>
          Various information about resource control from the host is
          gathered and presented in capabilities if available.
        </description>
      </change>
2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860
      <change>
        <summary>
          apparmor: Several improvements
        </summary>
        <description>
          Allow access to Ceph config, EFI firmware on both x86_64 and
          aarch64, device tree on ppc64 and more.
        </description>
      </change>
      <change>
        <summary>
          qemu: Support host-model on POWER9 machines
        </summary>
      </change>
2861 2862
    </section>
    <section title="Bug fixes">
2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875
      <change>
        <summary>
          qemu: snapshot: retrieve image metadata from user provided files
        </summary>
        <description>
          Disk images of an external snapshot created with
          VIR_DOMAIN_SNAPSHOT_CREATE_REUSE_EXT flag specified would not be
          scanned for metadata after recent changes.

          The metadata is necessary to allow keeping relative paths between
          images when doing a block-commit.
        </description>
      </change>
2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934
      <change>
        <summary>
          Parse decimal numbers in a locale-independent way
        </summary>
        <description>
          Some locales, such as <code>de_DE</code> and <code>pt_BR</code>,
          use comma rather than dot to separate the integer part from the
          fractional part of a decimal number; however, several data sources
          such as the kernel use a locale-independent representation and need
          to be treated accordingly.
        </description>
      </change>
      <change>
        <summary>
          Support compilation with newer compiler and libc versions
        </summary>
        <description>
          Several fixes have been included to make compilation with Clang
          4.0.0, GCC 7.1 and glibc >= 2.25.90 possible.
        </description>
      </change>
      <change>
        <summary>
          qemu: Query name for vhost-user interfaces at runtime
        </summary>
        <description>
          This makes it possible to use <code>virsh</code> subcommands such
          as <code>domiflist</code> and <code>domifstat</code> on vhost-user
          interfaces.
        </description>
      </change>
      <change>
        <summary>
          qemu: Set MTU for hotplugged interfaces correctly
        </summary>
        <description>
          When hotplugging a network interface, the MTU was only set on the
          guest side. Set it on the host side as well.
        </description>
      </change>
      <change>
        <summary>
          qemu: Forbid updating MTU for interfaces of running guests
        </summary>
        <description>
          The MTU setting can't be modified while the guest is running, so any
          attempt to alter it at runtime will now result in an error rather
          than being silently ignored.
        </description>
      </change>
      <change>
        <summary>
          qemu: Fix specifying QXL heads with older QEMU releases
        </summary>
        <description>
          Specifying the number of QXL heads was not working correctly for
          QEMU releases older than 1.6.
        </description>
      </change>
2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946
      <change>
        <summary>
          qemu: Fix migration to older libvirt/QEMU versions
        </summary>
        <description>
          When the guest is started, libvirt updates the CPU definition to
          reflect the actual CPU features to enforce ABI. We need to send
          original and updated CPU definition in order to support migration
          to older libvirt/QEMU versions. Only the updated CPU definition
          was sent to destination.
        </description>
      </change>
2947 2948
    </section>
  </release>
D
Daniel Veillard 已提交
2949
  <release version="v3.4.0" date="2017-06-02">
2950
    <section title="New features">
M
Michal Privoznik 已提交
2951 2952 2953 2954 2955 2956 2957 2958 2959 2960
      <change>
        <summary>
          Improved streams to efficiently transfer sparseness
        </summary>
        <description>
          New extension to virStream was implemented so that
          virStorageVolDownload and virStorageVolUpload can preserve file
          sparseness.
        </description>
      </change>
2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981
      <change>
        <summary>
          I/O APIC type can be specified for QEMU/KVM domains
        </summary>
        <description>
          The <code>ioapic</code> tag was added to domain
          <code>features</code>, so the type of the I/O APIC can now
          be specified (e.g. putting it in userspace for KVM domains).
        </description>
      </change>
      <change>
        <summary>
          The reason for VM shutdown is reported, if known
        </summary>
        <description>
          QEMU 2.10 will be able to report the reason for shutting
          down (whether that was caused by the guest or not), and
          libvirt is prepared for that and reports that information in
          its shutdown event as well, if it is known.
        </description>
      </change>
2982 2983
    </section>
    <section title="Improvements">
2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994
      <change>
        <summary>
          Repository now has new README.md file
        </summary>
        <description>
          The new file uses markdown syntax, so it looks better on
          github and possibly other web pages, but it has also more
          useful information. The old README is now symlink to the
          new file.
        </description>
      </change>
2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005
      <change>
        <summary>
          qemu: Use GICv2 by default for aarch64/virt TCG guests
        </summary>
        <description>
          The emulated GICv3 has some limitations that make it unusable as a
          default; use GICv2 until they're sorted out. This change makes it
          once again possible to run aarch64/virt guests on a x86_64 host
          without having to tweak their configuration.
        </description>
      </change>
B
Bjoern Walk 已提交
3006 3007 3008 3009 3010 3011 3012 3013 3014
      <change>
        <summary>
          Additional capabilities for the node_device module
        </summary>
        <description>
          Introduce two new capabilities to the node_device module. The first
          is for CCW devices, most common on the S390 architecture. The second
          is for fibre channel-backed SCSI devices and exposes the
          fc_remote_port sub-capability to SCSI target devices.
M
Martin Kletzander 已提交
3015
        </description>
B
Bjoern Walk 已提交
3016
      </change>
3017 3018 3019 3020 3021 3022 3023
      <change>
        <summary>
          Node devices now report Mediated device capabilities
        </summary>
        <description>
          Endpoint devices support new <code>mdev</code> capability
          and their parents now report the supported types in new
3024
          <code>mdev_types</code> capability.
3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099
        </description>
      </change>
      <change>
        <summary>
          Capabilities now report information about host caches
        </summary>
        <description>
          If supported in the kernel, host capabilities will now list
          L3 caches. The code for other levels was added as well, but
          only L3 caches are reported currently.
        </description>
      </change>
      <change>
        <summary>
          POWER9 CPU model was added
        </summary>
        <description>
          It is now properly reported in host capabilities.
        </description>
      </change>
      <change>
        <summary>
          libxl: NUMA sibling distances are now reported in host capabilities
        </summary>
      </change>
      <change>
        <summary>
          VMDK version 3 files are now properly detected
        </summary>
      </change>
      <change>
        <summary>
          Interrupt remapping and Extended interrupt mode for IOMMU devices
        </summary>
        <description>
          These two new features can now be controlled with new
          <code>&lt;driver intremap='on/off' eim='on/off'/&gt;</code>
          tag for <code>iommu</code> devices.
        </description>
      </change>
      <change>
        <summary>
          Graphics in libxl domains now have default addresses
        </summary>
        <description>
          Even though there were default addresses before this change,
          they were not saved in the XML. It is now possible to see
          and control the listen addresses properly.
        </description>
      </change>
      <change>
        <summary>
          Default USB controllers are now added for devices in libxl domains
        </summary>
        <description>
          Even though they were added automatically when USB device
          was attached, they could've been missing in some other
          cases. The logic is now fixed so there are always USB
          controllers, even if there was none of them in the specified
          XML.
        </description>
      </change>
      <change>
        <summary>
          Limits for RPC messages were increased
        </summary>
        <description>
          Hitting the RPC limits we have is easier every day, so they
          were increased once again and some guessing logic was
          improved as well. It is now possible to get more stats than
          ever using the <code>virConnectGetAllDomainStats()</code>
          call and push through even bigger requests and replies for
          all APIs.
        </description>
      </change>
3100 3101
    </section>
    <section title="Bug fixes">
3102 3103 3104 3105 3106 3107 3108 3109 3110
      <change>
        <summary>
          qemu: Create memory_backing_dir on startup
        </summary>
        <description>
          Libvirt's policy is that directories are created on startup if
          they don't exist. We've missed this one.
        </description>
      </change>
3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156
      <change>
        <summary>
          PCIe 4.0 cards now report proper link speeds
        </summary>
        <description>
          It could happen that the link speed for PCIe devices was not
          properly reported or the nodedev-dumpxml just failed. That
          was due to mistake in the field width, but should now work
          properly.
        </description>
      </change>
      <change>
        <summary>
          qemu: Do not report errors on shutdown
        </summary>
        <description>
          For some users, in some rare cases, it could happen that
          there was an error message "internal error: End of file from
          qemu monitor" in the logs even though no problem happened.
          The detection of these false positives was improved and such
          errors should not show any more.
        </description>
      </change>
      <change>
        <summary>
          User-specified UNIX socket paths for virtio channels should not be reset
        </summary>
        <description>
          It could happen, in some cases, that libvirt would mistake a
          user-specified path for its own generated one and thus
          remove it from the XML. The detection of such addresses was
          improved now.
        </description>
      </change>
      <change>
        <summary>
          Fix address reservation during RNG hot-plug
        </summary>
        <description>
          When error occurred in a specific point in time during the
          hot-plug of an RNG device, it could happen that an address
          was released even though another device was already using
          it, making it possible to hot-plug another device with that
          address, effectively having duplicated addresses in the XML.
        </description>
      </change>
3157 3158
    </section>
  </release>
D
Daniel Veillard 已提交
3159
  <release version="v3.3.0" date="2017-05-05">
3160
    <section title="New features">
A
Andrea Bolognani 已提交
3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183
      <change>
        <summary>
          net: Add support for coalesce settings
        </summary>
        <description>
          Enabling data batching through these settings can improve network
          performance for guests.
        </description>
      </change>
      <change>
        <summary>
          qemu: Add support for guest CPU cache specification
        </summary>
        <description>
          This features allows fine-grained control of the cache behavior
          of the guest CPU.
        </description>
      </change>
      <change>
        <summary>
          qemu: Add support for the qemu-xhci USB controller
        </summary>
      </change>
3184 3185
    </section>
    <section title="Improvements">
3186 3187
      <change>
        <summary>
3188
          hyperv: Support Hyper-V 2012 and newer
3189 3190 3191 3192 3193 3194
        </summary>
        <description>
          Starting with Hyper-V 2012 the API has changed causing the existing
          driver to be unable to send and process requests properly. This has
          been resolved by adding abstractions to handle the differences and
          ease handling such breaks if they happen in the future.
3195
        </description>
3196
      </change>
3197 3198
      <change>
        <summary>
3199
          libxl: Add support for nested HVM domains
3200 3201 3202 3203 3204 3205
        </summary>
        <description>
          Xen has supported nested HVM domains since version 4.4. The
          libvirt libxl driver now supports nested HVM domains by
          specifying the host-passthrough CPU mode when defining a
          domain.
3206
        </description>
3207
      </change>
A
Andrea Bolognani 已提交
3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255
      <change>
        <summary>
          qemu: Implement ACPI support for aarch64 guests
        </summary>
        <description>
          Up until this point, ACPI support was only advertised for x86_64
          guests and disabling it for aarch64 guests was not possible at all.
        </description>
      </change>
      <change>
        <summary>
          vz: Add support for changing the number of vCPUs
        </summary>
      </change>
      <change>
        <summary>
          qemu: Automatically choose the best USB controller for guests
        </summary>
        <description>
          The recently introduced qemu-xhci USB controller is the best choice
          for both ppc64 and aarch64 guests, so use it by default on those
          architectures if available.
        </description>
      </change>
      <change>
        <summary>
          daemon: Increase default task limit for libvirtd
        </summary>
        <description>
          The default number of tasks for the pids cgroup controller is 512,
          which libvirtd can quickly bump into when starting lots of guests.
          Raise the limit to a more reasonable 32768.
        </description>
      </change>
      <change>
        <summary>
          docs: Include man pages describing key code names and values
        </summary>
      </change>
      <change>
        <summary>
          virsh: Report initialization errors
        </summary>
        <description>
          Sometimes virsh might be unable to start: when that happens, report
          useful diagnostics instead of failing silently.
        </description>
      </change>
3256 3257
    </section>
    <section title="Bug fixes">
A
Andrea Bolognani 已提交
3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301
      <change>
        <summary>
          nss: Don't require a network restart for libvirt_guest
        </summary>
        <description>
          Previously, the libvirt_guest NSS module would only work properly
          after the corresponding network had been restarted; now newly
          started guests will be reported correctly right away.
        </description>
      </change>
      <change>
        <summary>
          storage: Remove unavailable transient pools after restart
        </summary>
        <description>
          Solve an issue where transient storage pools would be stuck in an
          unmanageable state if the source disappeared and libvirtd was
          subsequently restarted.
        </description>
      </change>
      <change>
        <summary>
          storage: Fix capacity value for LUKS encrypted volumes
        </summary>
        <description>
          The 'capacity' value (e.g. guest logical size) for a LUKS volume is
          smaller than the 'physical' value of the file in the file system, so
          we need to account for that.
        </description>
      </change>
      <change>
        <summary>
          qemu: Fix regression when hyperv/vendor_id feature is used
        </summary>
        <description>
          Guests using the feature would not be started at all; it is now
          possible to start them as expected.
        </description>
      </change>
      <change>
        <summary>
          qemu: Do not crash on USB address with no port and invalid bus
        </summary>
      </change>
3302 3303 3304 3305 3306 3307 3308
      <change>
        <summary>
          crypto: Always pad data before encrypting it
        </summary>
        <description>
          If this step is not performed, when the data length matches the
          chunk size the decryption routines will misinterpret the last byte
A
Andrea Bolognani 已提交
3309
          of data as the padding length and fail to decode it correctly.
3310 3311
        </description>
      </change>
3312 3313
    </section>
  </release>
D
Daniel Veillard 已提交
3314
  <release version="v3.2.0" date="2017-04-02">
3315
    <section title="New features">
3316 3317 3318 3319 3320
      <change>
        <summary>
          The virt-host-validate tool now supports bhyve hypervisor
        </summary>
      </change>
M
Michal Privoznik 已提交
3321 3322 3323 3324 3325 3326 3327 3328
      <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
M
Martin Kletzander 已提交
3329
          accesses. However, due to a bug in QEMU, this feature is not enabled
M
Michal Privoznik 已提交
3330 3331 3332
          for QEMUs older than 2.9.0.
        </description>
      </change>
3333 3334 3335 3336 3337 3338 3339 3340 3341 3342
      <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>
3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354
      <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 已提交
3355 3356
      </change>
      <change>
3357 3358 3359 3360 3361 3362 3363 3364
        <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>
3365
      </change>
3366 3367 3368 3369 3370 3371 3372 3373 3374 3375
      <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>
J
Jiri Denemark 已提交
3376
      <change>
3377 3378 3379 3380 3381 3382 3383
        <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>
J
Jiri Denemark 已提交
3384
      </change>
P
Peter Krempa 已提交
3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398
      <change>
        <summary>
          Add support for block device threshold event
        </summary>
        <description>
          When using thin provisioning, management tools need to resize the
          disk in certain cases. To avoid having them to poll disk usage
          this version introduces an event which will be fired when a given
          offset of the storage is written by the hypervisor. Together with the
          API it allows registering thresholds for given storage backing
          volumes and this event will then notify management if the threshold
          is exceeded. Currently only the qemu driver supports this.
        </description>
      </change>
3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411
      <change>
        <summary>
           bhyve: Add support for UEFI boot ROM, VNC, and USB tablet
        </summary>
        <description>
          The bhyve driver now supports booting using the UEFI boot ROM,
          so non-FreeBSD guests that support UEFI could be booted without
          using an external boot loader like grub-bhyve. Video is also
          supported now, allowing to connect to guests via VNC and use
          an USB tablet as an input device. Please refer to
          the driver page for domain XML examples.
        </description>
      </change>
3412 3413
    </section>
    <section title="Improvements">
3414 3415 3416 3417 3418 3419
      <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 已提交
3420
          instruction, which caused libvirt to detect a lot of CPU features
3421 3422 3423 3424
          that are not supported by QEMU/KVM. Asking QEMU makes sure we
          don't start it with unsupported features.
        </description>
      </change>
3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435
      <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>
P
Peter Krempa 已提交
3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446
      <change>
        <summary>
          Write hyperv crash information into vm log
        </summary>
        <description>
          qemu's implementation of the hyperv panic notifier now reports
          information about the crash from the guest os. Starting with this
          version, libvirt logs the information to the vm log file for possible
          debugging.
        </description>
      </change>
3447 3448
    </section>
    <section title="Bug fixes">
3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461
      <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>
3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472
      </change>
      <change>
        <summary>
          Overwrite (clear) 2 KB instead of just 512 bytes when initializing logical device
        </summary>
      </change>
      <change>
        <summary>
          Describe the logical backend requirements better for pool-create-as
        </summary>
      </change>
3473 3474
    </section>
  </release>
D
Daniel Veillard 已提交
3475
  <release version="v3.1.0" date="2017-03-03">
3476
    <section title="New features">
3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487
      <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>
3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499
      <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>
3500 3501 3502 3503 3504 3505 3506 3507 3508
      <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>
3509 3510 3511 3512 3513 3514 3515 3516 3517
      <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>
3518 3519
      <change>
        <summary>
J
Jim Fehlig 已提交
3520
          libxl: add tunneled migration support
3521 3522
        </summary>
        <description>
J
Jim Fehlig 已提交
3523
          Add tunneled migration to libxl driver, which is always capable of
3524 3525 3526 3527
          strong encryption and doesn't require any extra network connection
          other than what's required for remote access of libvirtd.
        </description>
      </change>
3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544
      <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>
3545 3546 3547 3548 3549 3550 3551 3552 3553 3554
      <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>
3555 3556
    </section>
    <section title="Improvements">
3557 3558 3559 3560 3561 3562 3563 3564 3565
      <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>
3566 3567
      <change>
        <summary>
3568
          Introduce MTU to domain &lt;interface/&gt; and &lt;network&gt;
3569 3570
        </summary>
        <description>
3571 3572
          Allow setting MTU size for some types of domain interface
          and network.
3573 3574
        </description>
      </change>
3575 3576 3577 3578 3579 3580 3581 3582 3583 3584
      <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>
3585 3586 3587 3588 3589 3590 3591 3592 3593 3594
      <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>
3595 3596
    </section>
    <section title="Bug fixes">
3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608
      <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>
3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627
      <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>
3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646
      <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>
3647 3648 3649 3650 3651 3652 3653 3654 3655 3656
      <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>
3657 3658
    </section>
  </release>
D
Daniel Veillard 已提交
3659
  <release version="v3.0.0" date="2017-01-17">
3660
    <section title="New features">
3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679
      <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>
3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691
      <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"
3692
          to allow sharing I/O throttling quota between multiple drives.
3693 3694 3695 3696
        </description>
      </change>
      <change>
        <summary>
3697
          nss: Introduce libvirt_guest
3698 3699
        </summary>
        <description>
3700
          New <code>libvirt_guest</code> nss module that translates libvirt
3701
          guest names into IP addresses.
3702 3703 3704 3705 3706 3707 3708 3709 3710
        </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
3711
          necessity of the daemon's restart.
3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722
        </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
3723
          added to the virsh vol-info command to access the data.
3724 3725 3726 3727 3728 3729 3730
        </description>
      </change>
      <change>
        <summary>
          libxl: Implement virDomainGetMaxVcpus API
        </summary>
      </change>
3731 3732 3733 3734 3735 3736 3737 3738 3739 3740
      <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>
3741 3742 3743 3744 3745
      <change>
        <summary>
          qemu: Add support for guest CPU configuration on s390(x)
        </summary>
      </change>
3746 3747 3748 3749 3750 3751 3752 3753 3754 3755
    </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
3756
          cycles by applications running on the platform.
3757 3758 3759 3760 3761 3762 3763 3764
        </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
3765
          volume in the output of the volume XML.
3766 3767 3768 3769 3770 3771 3772 3773 3774 3775
        </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,
3776
          newly-defined guests will now use it automatically.
3777 3778
        </description>
      </change>
3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791
      <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>
3792 3793 3794 3795 3796 3797 3798 3799 3800
      <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>
3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812
      <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>
3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826
      <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>
3827 3828
    </section>
    <section title="Bug fixes">
3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839
      <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>
3840 3841 3842 3843 3844 3845 3846 3847
      <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
3848
          the domain.
3849 3850 3851 3852 3853 3854 3855 3856
        </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
3857
          configuration properly.
3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869
        </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>
3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881
      <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 已提交
3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892
      <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>
3893 3894 3895 3896 3897 3898 3899 3900 3901
      <change>
        <summary>
          conf: Reject domains with duplicate drive addresses
        </summary>
        <description>
          Reject duplicate drive addresses for disks and hostdevs at
          domain definition.
        </description>
      </change>
3902 3903 3904 3905 3906 3907 3908 3909 3910 3911
      <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>
3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922
      <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>
3923 3924 3925 3926 3927 3928 3929 3930 3931
      <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>
3932 3933 3934 3935 3936 3937 3938 3939 3940 3941
    </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
3942
          ivshmem-doorbell, more modern versions of ivshmem.
3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956
        </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:
3957
          <code>qemu+libssh://server/system</code>.
3958 3959 3960 3961 3962 3963 3964 3965
        </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
3966
          associated LUNs to the guest.
3967 3968 3969 3970
        </description>
      </change>
      <change>
        <summary>
3971
          Allow debugging of gluster volumes in qemu
3972
        </summary>
3973 3974 3975 3976
        <description>
          Users can now enable debug logging for native gluster
          volumes in qemu using the "gluster_debug_level" option in qemu.conf
        </description>
3977 3978 3979
      </change>
      <change>
        <summary>
3980
          Pre-allocate memory slots for memory hotplug
3981
        </summary>
3982 3983 3984 3985 3986
        <description>
          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
        </description>
3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998
      </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
3999
          added as needed.
4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015
        </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>
4016
          virsh: Add support for passing an alternative persistent XML to migrate command
4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029
        </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
4030
          high-level overview of differences between libvirt releases.
4031 4032 4033 4034 4035 4036 4037 4038 4039
        </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
4040
          organized and more pleasant to look at.
4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062
        </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>
    </section>
  </release>
</libvirt>